]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[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_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info *swig_types[171];
2637 static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640
2641 /* -------- TYPES TABLE (END) -------- */
2642
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2646 # endif
2647 #endif
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2650 #endif
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 #endif
2654 #ifndef METH_O
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 #endif
2657
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2662
2663 #define SWIG_name "_windows_"
2664
2665 #define SWIGVERSION 0x010329
2666
2667
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670
2671
2672 #include <stdexcept>
2673
2674
2675 namespace swig {
2676 class PyObject_ptr {
2677 protected:
2678 PyObject *_obj;
2679
2680 public:
2681 PyObject_ptr() :_obj(0)
2682 {
2683 }
2684
2685 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2686 {
2687 Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2691 {
2692 if (initial_ref) Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr & operator=(const PyObject_ptr& item)
2696 {
2697 Py_XINCREF(item._obj);
2698 Py_XDECREF(_obj);
2699 _obj = item._obj;
2700 return *this;
2701 }
2702
2703 ~PyObject_ptr()
2704 {
2705 Py_XDECREF(_obj);
2706 }
2707
2708 operator PyObject *() const
2709 {
2710 return _obj;
2711 }
2712
2713 PyObject *operator->() const
2714 {
2715 return _obj;
2716 }
2717 };
2718 }
2719
2720
2721 namespace swig {
2722 struct PyObject_var : PyObject_ptr {
2723 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2724
2725 PyObject_var & operator = (PyObject* obj)
2726 {
2727 Py_XDECREF(_obj);
2728 _obj = obj;
2729 return *this;
2730 }
2731 };
2732 }
2733
2734
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2737
2738
2739 static const wxString wxPyEmptyString(wxEmptyString);
2740 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2741
2742
2743
2744 #include <limits.h>
2745 #ifndef LLONG_MIN
2746 # define LLONG_MIN LONG_LONG_MIN
2747 #endif
2748 #ifndef LLONG_MAX
2749 # define LLONG_MAX LONG_LONG_MAX
2750 #endif
2751 #ifndef ULLONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2753 #endif
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_long (PyObject* obj, long* val)
2758 {
2759 if (PyNumber_Check(obj)) {
2760 if (val) *val = PyInt_AsLong(obj);
2761 return SWIG_OK;
2762 }
2763 return SWIG_TypeError;
2764 }
2765
2766
2767 SWIGINTERN int
2768 SWIG_AsVal_int (PyObject * obj, int *val)
2769 {
2770 long v;
2771 int res = SWIG_AsVal_long (obj, &v);
2772 if (SWIG_IsOK(res)) {
2773 if ((v < INT_MIN || v > INT_MAX)) {
2774 return SWIG_OverflowError;
2775 } else {
2776 if (val) *val = static_cast< int >(v);
2777 }
2778 }
2779 return res;
2780 }
2781
2782
2783 SWIGINTERN int
2784 SWIG_AsVal_bool (PyObject *obj, bool *val)
2785 {
2786 if (obj == Py_True) {
2787 if (val) *val = true;
2788 return SWIG_OK;
2789 } else if (obj == Py_False) {
2790 if (val) *val = false;
2791 return SWIG_OK;
2792 } else {
2793 long v = 0;
2794 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2795 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2796 return res;
2797 }
2798 }
2799
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 SWIGINTERN int
2812 SWIG_AsVal_double (PyObject *obj, double* val)
2813 {
2814 if (PyNumber_Check(obj)) {
2815 if (val) *val = PyFloat_AsDouble(obj);
2816 return SWIG_OK;
2817 }
2818 return SWIG_TypeError;
2819 }
2820
2821
2822 #define SWIG_From_double PyFloat_FromDouble
2823
2824 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2825 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2826 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2827 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2828 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2829 int style = self->GetExtraStyle();
2830 if ( on )
2831 style |= wxFRAME_EX_METAL;
2832 else
2833 style &= ~wxFRAME_EX_METAL;
2834 self->SetExtraStyle(style);
2835 }
2836
2837 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2838
2839
2840
2841 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2842 wxRect r;
2843 self->GetFieldRect(i, r);
2844 return r;
2845 }
2846 static const wxString wxPySplitterNameStr(wxT("splitter"));
2847 static const wxString wxPySashNameStr(wxT("sashWindow"));
2848 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2849
2850 #include <wx/popupwin.h>
2851
2852
2853 class wxPopupWindow : public wxWindow {
2854 public:
2855 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2856 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2857 };
2858
2859 class wxPyPopupTransientWindow : public wxPopupWindow
2860 {
2861 public:
2862 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2863 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2864 };
2865
2866
2867 #include <wx/tipwin.h>
2868
2869 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2870 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2871 }
2872
2873 #include <wx/tipwin.h>
2874
2875
2876 #include <wx/vscroll.h>
2877
2878
2879 class wxPyVScrolledWindow : public wxVScrolledWindow
2880 {
2881 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2882 public:
2883 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2884
2885 wxPyVScrolledWindow(wxWindow *parent,
2886 wxWindowID id = wxID_ANY,
2887 const wxPoint& pos = wxDefaultPosition,
2888 const wxSize& size = wxDefaultSize,
2889 long style = 0,
2890 const wxString& name = wxPyPanelNameStr)
2891 : wxVScrolledWindow(parent, id, pos, size, style, name)
2892 {}
2893
2894 // Overridable virtuals
2895
2896 // this function must be overridden in the derived class and it should
2897 // return the height of the given line in pixels
2898 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2899
2900
2901 // this function doesn't have to be overridden but it may be useful to do
2902 // it if calculating the lines heights is a relatively expensive operation
2903 // as it gives the user code a possibility to calculate several of them at
2904 // once
2905 //
2906 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2907 // shouldn't rely on the latter being called for all lines in the interval
2908 // specified here. It is also possible that OnGetLineHeight() will be
2909 // called for the lines outside of this interval, so this is really just a
2910 // hint, not a promise.
2911 //
2912 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2913 // usual
2914 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2915
2916
2917 // when the number of lines changes, we try to estimate the total height
2918 // of all lines which is a rather expensive operation in terms of lines
2919 // access, so if the user code may estimate the average height
2920 // better/faster than we do, it should override this function to implement
2921 // its own logic
2922 //
2923 // this function should return the best guess for the total height it may
2924 // make
2925 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2926
2927
2928 // Also expose some other interesting protected methods
2929
2930
2931 // find the index of the line we need to show at the top of the window such
2932 // that the last (fully or partially) visible line is the given one
2933 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2934 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2935
2936 // get the total height of the lines between lineMin (inclusive) and
2937 // lineMax (exclusive)
2938 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2939 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2940
2941 // update the thumb size shown by the scrollbar
2942 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2943
2944 // remove the scrollbar completely because we don't need it
2945 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2946
2947 PYPRIVATE;
2948 };
2949
2950 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2951
2952 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2953 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2954 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2955
2956
2957 SWIGINTERN int
2958 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2959 {
2960 long v = 0;
2961 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2962 return SWIG_TypeError;
2963 }
2964 else if (val)
2965 *val = (unsigned long)v;
2966 return SWIG_OK;
2967 }
2968
2969
2970 SWIGINTERNINLINE int
2971 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2972 {
2973 unsigned long v;
2974 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2975 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2976 return res;
2977 }
2978
2979
2980 SWIGINTERNINLINE PyObject*
2981 SWIG_From_unsigned_SS_long (unsigned long value)
2982 {
2983 return (value > LONG_MAX) ?
2984 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2985 }
2986
2987
2988 SWIGINTERNINLINE PyObject *
2989 SWIG_From_size_t (size_t value)
2990 {
2991 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2992 }
2993
2994
2995 #include <wx/vlbox.h>
2996
2997 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2998
2999 class wxPyVListBox : public wxVListBox
3000 {
3001 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3002 public:
3003 wxPyVListBox() : wxVListBox() {}
3004
3005 wxPyVListBox(wxWindow *parent,
3006 wxWindowID id = wxID_ANY,
3007 const wxPoint& pos = wxDefaultPosition,
3008 const wxSize& size = wxDefaultSize,
3009 long style = 0,
3010 const wxString& name = wxPyVListBoxNameStr)
3011 : wxVListBox(parent, id, pos, size, style, name)
3012 {}
3013
3014 // Overridable virtuals
3015
3016 // the derived class must implement this function to actually draw the item
3017 // with the given index on the provided DC
3018 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3019 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3020
3021
3022 // the derived class must implement this method to return the height of the
3023 // specified item
3024 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3025 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3026
3027
3028 // this method may be used to draw separators between the lines; note that
3029 // the rectangle may be modified, typically to deflate it a bit before
3030 // passing to OnDrawItem()
3031 //
3032 // the base class version doesn't do anything
3033 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3035
3036
3037 // this method is used to draw the items background and, maybe, a border
3038 // around it
3039 //
3040 // the base class version implements a reasonable default behaviour which
3041 // consists in drawing the selected item with the standard background
3042 // colour and drawing a border around the item if it is either selected or
3043 // current
3044 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3045 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3046
3047
3048 PYPRIVATE;
3049 };
3050
3051 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3052
3053 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3054 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3055 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3056 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3057
3058
3059 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3060 unsigned long cookie = 0;
3061 int selected = self->GetFirstSelected(cookie);
3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
3069 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3070 int selected = self->GetNextSelected(cookie);
3071 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3072 PyObject* tup = PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3074 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3075 wxPyEndBlockThreads(blocked);
3076 return tup;
3077 }
3078
3079 #include <wx/htmllbox.h>
3080
3081
3082 class wxPyHtmlListBox : public wxHtmlListBox
3083 {
3084 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3085 public:
3086 wxPyHtmlListBox() : wxHtmlListBox() {}
3087
3088 wxPyHtmlListBox(wxWindow *parent,
3089 wxWindowID id = wxID_ANY,
3090 const wxPoint& pos = wxDefaultPosition,
3091 const wxSize& size = wxDefaultSize,
3092 long style = 0,
3093 const wxString& name = wxPyVListBoxNameStr)
3094 : wxHtmlListBox(parent, id, pos, size, style, name)
3095 {}
3096
3097 // Overridable virtuals
3098
3099 // this method must be implemented in the derived class and should return
3100 // the body (i.e. without <html>) of the HTML for the given item
3101 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3102
3103 // this function may be overridden to decorate HTML returned by OnGetItem()
3104 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3105
3106 // These are from wxVListBox
3107 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3108 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3109
3110 // TODO:
3111 // // this method allows to customize the selection appearance: it may be used
3112 // // to specify the colour of the text which normally has the given colour
3113 // // colFg when it is inside the selection
3114 // //
3115 // // by default, the original colour is not used at all and all text has the
3116 // // same (default for this system) colour inside selection
3117 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3118
3119 // // this is the same as GetSelectedTextColour() but allows to customize the
3120 // // background colour -- this is even more rarely used as you can change it
3121 // // globally using SetSelectionBackground()
3122 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3123
3124
3125 // This method may be overriden to handle clicking on a link in
3126 // the listbox. By default, clicking links is ignored.
3127 virtual void OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link);
3129
3130 PYPRIVATE;
3131 };
3132
3133
3134 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3135
3136 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3137 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3138 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3139 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3140
3141
3142 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3143 const wxHtmlLinkInfo& link) {
3144 bool found;
3145 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3146 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3147 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3148 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3149 Py_DECREF(obj);
3150 }
3151 wxPyEndBlockThreads(blocked);
3152 if (! found)
3153 wxPyHtmlListBox::OnLinkClicked(n, link);
3154 }
3155
3156
3157
3158 const wxArrayString wxPyEmptyStringArray;
3159
3160 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3161
3162
3163
3164 #ifndef wxHAS_TASK_BAR_ICON
3165 // implement dummy classes for platforms that don't have it
3166
3167 class wxTaskBarIcon : public wxEvtHandler
3168 {
3169 public:
3170 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3171 };
3172
3173
3174 class wxTaskBarIconEvent : public wxEvent
3175 {
3176 public:
3177 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3178 { wxPyRaiseNotImplemented(); }
3179 virtual wxEvent* Clone() const { return NULL; }
3180 bool IsOk() const { return false; }
3181 bool IsIconInstalled() const { return false; }
3182 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3183 bool RemoveIcon() { return false; }
3184 bool PopupMenu(wxMenu *menu) { return false; }
3185 };
3186
3187 enum {
3188 wxEVT_TASKBAR_MOVE = 0,
3189 wxEVT_TASKBAR_LEFT_DOWN = 0,
3190 wxEVT_TASKBAR_LEFT_UP = 0,
3191 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3192 wxEVT_TASKBAR_RIGHT_UP = 0,
3193 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3194 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3195 };
3196
3197
3198 #else
3199 // Otherwise make a class that can virtualize CreatePopupMenu
3200 class wxPyTaskBarIcon : public wxTaskBarIcon
3201 {
3202 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3203 public:
3204 wxPyTaskBarIcon() : wxTaskBarIcon()
3205 {}
3206
3207 wxMenu* CreatePopupMenu() {
3208 wxMenu *rval = NULL;
3209 bool found;
3210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3211 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3212 PyObject* ro;
3213 wxMenu* ptr;
3214 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3215 if (ro) {
3216 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3217 rval = ptr;
3218 Py_DECREF(ro);
3219 }
3220 }
3221 wxPyEndBlockThreads(blocked);
3222 if (! found)
3223 rval = wxTaskBarIcon::CreatePopupMenu();
3224 return rval;
3225 }
3226
3227 PYPRIVATE;
3228 };
3229
3230 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3231
3232 #endif
3233
3234 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3235 self->RemoveIcon();
3236 delete self;
3237 }
3238 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3239 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3240 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3241 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3242 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3243 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3244
3245 // for compatibility only
3246 #define wxHIDE_READONLY 0
3247
3248 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3249 wxArrayString arr;
3250 self->GetFilenames(arr);
3251 return wxArrayString2PyList_helper(arr);
3252 }
3253 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3254 wxArrayString arr;
3255 self->GetPaths(arr);
3256 return wxArrayString2PyList_helper(arr);
3257 }
3258 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3259 return wxArrayInt2PyList_helper(self->GetSelections());
3260 }
3261 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){
3262 return new wxSingleChoiceDialog(parent, message, caption,
3263 choices, choices_array, NULL, style, pos);
3264 }
3265 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3266
3267 SWIGINTERNINLINE PyObject*
3268 SWIG_From_bool (bool value)
3269 {
3270 return PyBool_FromLong(value ? 1 : 0);
3271 }
3272
3273
3274 #include <wx/mdi.h>
3275
3276 // C++ version of Python aware wxWindow
3277 class wxPyWindow : public wxWindow
3278 {
3279 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3280 public:
3281 wxPyWindow() : wxWindow() {}
3282 wxPyWindow(wxWindow* parent, const wxWindowID id,
3283 const wxPoint& pos = wxDefaultPosition,
3284 const wxSize& size = wxDefaultSize,
3285 long style = 0,
3286 const wxString& name = wxPyPanelNameStr)
3287 : wxWindow(parent, id, pos, size, style, name) {}
3288
3289
3290 bool DoEraseBackground(wxDC* dc) {
3291 #ifdef __WXMSW__
3292 return wxWindow::DoEraseBackground(dc->GetHDC());
3293 #else
3294 dc->SetBackground(wxBrush(GetBackgroundColour()));
3295 dc->Clear();
3296 return true;
3297 #endif
3298 }
3299
3300 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3301 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3303 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3304
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3308
3309 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3310 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3311
3312 DEC_PYCALLBACK__(InitDialog);
3313 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3314 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3315 DEC_PYCALLBACK_BOOL_(Validate);
3316
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3318 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3319 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3320
3321 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3322 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3323
3324 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3325 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3326
3327 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3328
3329 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3330
3331 PYPRIVATE;
3332 };
3333
3334 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3335
3336 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3337 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3339 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3340
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3343 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3344
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3347
3348 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3352
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3354 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3355 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3356
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3358 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3359
3360 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3361 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3362
3363 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3364
3365 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3366
3367 // C++ version of Python aware wxPanel
3368 class wxPyPanel : public wxPanel
3369 {
3370 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3371 public:
3372 wxPyPanel() : wxPanel() {}
3373 wxPyPanel(wxWindow* parent, const wxWindowID id,
3374 const wxPoint& pos = wxDefaultPosition,
3375 const wxSize& size = wxDefaultSize,
3376 long style = 0,
3377 const wxString& name = wxPyPanelNameStr)
3378 : wxPanel(parent, id, pos, size, style, name) {}
3379
3380 bool DoEraseBackground(wxDC* dc) {
3381 #ifdef __WXMSW__
3382 return wxWindow::DoEraseBackground(dc->GetHDC());
3383 #else
3384 dc->SetBackground(wxBrush(GetBackgroundColour()));
3385 dc->Clear();
3386 return true;
3387 #endif
3388 }
3389
3390
3391 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3392 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3394 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3395
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3398 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3399
3400 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3401 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3402
3403 DEC_PYCALLBACK__(InitDialog);
3404 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3405 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3406 DEC_PYCALLBACK_BOOL_(Validate);
3407
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3409 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3410 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3411
3412 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3413 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3414
3415 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3416 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3417
3418 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3419
3420 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3421
3422 PYPRIVATE;
3423 };
3424
3425 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3426
3427 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3428 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3430 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3431
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3434 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3435
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3438
3439 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3443
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3445 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3446 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3447
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3449 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3450
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3452 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3453
3454 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3455
3456 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3457
3458 // C++ version of Python aware wxScrolledWindow
3459 class wxPyScrolledWindow : public wxScrolledWindow
3460 {
3461 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3462 public:
3463 wxPyScrolledWindow() : wxScrolledWindow() {}
3464 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3465 const wxPoint& pos = wxDefaultPosition,
3466 const wxSize& size = wxDefaultSize,
3467 long style = 0,
3468 const wxString& name = wxPyPanelNameStr)
3469 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3470
3471 bool DoEraseBackground(wxDC* dc) {
3472 #ifdef __WXMSW__
3473 return wxWindow::DoEraseBackground(dc->GetHDC());
3474 #else
3475 dc->SetBackground(wxBrush(GetBackgroundColour()));
3476 dc->Clear();
3477 return true;
3478 #endif
3479 }
3480
3481 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3482 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3484 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3485
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3488 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3489
3490 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3491 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3492
3493 DEC_PYCALLBACK__(InitDialog);
3494 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3495 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3496 DEC_PYCALLBACK_BOOL_(Validate);
3497
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3499 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3500 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3501
3502 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3503 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3504
3505 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3506 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3507
3508 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3509
3510 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3511
3512 PYPRIVATE;
3513 };
3514
3515 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3516
3517 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3518 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3520 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3521
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3524 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3525
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3528
3529 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3533
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3535 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3536 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3537
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3539 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3540
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3542 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3543
3544 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3545
3546 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3547
3548
3549 #include "wx/wxPython/printfw.h"
3550
3551
3552 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3553 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3554 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3555 PyObject* data;
3556 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3557 data = PyString_FromStringAndSize(self->GetPrivData(),
3558 self->GetPrivDataLen());
3559 wxPyEndBlockThreads(blocked);
3560 return data;
3561 }
3562 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3563 if (! PyString_Check(data)) {
3564 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3565 "Expected string object"));
3566 return /* NULL */ ;
3567 }
3568
3569 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3570 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3571 wxPyEndBlockThreads(blocked);
3572 }
3573
3574
3575 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3576
3577 // Since this one would be tough and ugly to do with the Macros...
3578 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3579 bool hadErr = false;
3580 bool found;
3581
3582 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3583 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3584 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3585 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3586 PyObject* val;
3587
3588 val = PyTuple_GetItem(result, 0);
3589 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3590 else hadErr = true;
3591
3592 val = PyTuple_GetItem(result, 1);
3593 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3594 else hadErr = true;
3595
3596 val = PyTuple_GetItem(result, 2);
3597 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3598 else hadErr = true;
3599
3600 val = PyTuple_GetItem(result, 3);
3601 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3602 else hadErr = true;
3603 }
3604 else
3605 hadErr = true;
3606
3607 if (hadErr) {
3608 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3609 PyErr_Print();
3610 }
3611 Py_DECREF(result);
3612 }
3613 wxPyEndBlockThreads(blocked);
3614 if (! found)
3615 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3616 }
3617
3618
3619
3620 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3623 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3624 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3625 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3626 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3627
3628
3629
3630
3631
3632 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3633 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3634
3635
3636 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3637 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3638 bool rval=false; \
3639 bool found; \
3640 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3642 PyObject* win = wxPyMake_wxObject(a,false); \
3643 PyObject* dc = wxPyMake_wxObject(&b,false); \
3644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3645 Py_DECREF(win); \
3646 Py_DECREF(dc); \
3647 } \
3648 wxPyEndBlockThreads(blocked); \
3649 if (! found) \
3650 rval = PCLASS::CBNAME(a, b); \
3651 return rval; \
3652 }
3653
3654
3655
3656
3657 class wxPyPrintPreview : public wxPrintPreview
3658 {
3659 DECLARE_CLASS(wxPyPrintPreview)
3660 public:
3661 wxPyPrintPreview(wxPyPrintout* printout,
3662 wxPyPrintout* printoutForPrinting,
3663 wxPrintDialogData* data=NULL)
3664 : wxPrintPreview(printout, printoutForPrinting, data)
3665 {}
3666 wxPyPrintPreview(wxPyPrintout* printout,
3667 wxPyPrintout* printoutForPrinting,
3668 wxPrintData* data)
3669 : wxPrintPreview(printout, printoutForPrinting, data)
3670 {}
3671
3672 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3674 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3675 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3676 DEC_PYCALLBACK_VOID_INT(SetZoom);
3677 DEC_PYCALLBACK_BOOL_BOOL(Print);
3678 DEC_PYCALLBACK_VOID_(DetermineScaling);
3679
3680 PYPRIVATE;
3681 };
3682
3683 // Stupid renamed classes... Fix this in 2.5...
3684 #if defined(__WXMSW__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3686 #elif defined(__WXMAC__)
3687 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3688 #else
3689 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3690 #endif
3691
3692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3694 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3695 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3696 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3697 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3698 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3699
3700
3701 class wxPyPreviewFrame : public wxPreviewFrame
3702 {
3703 DECLARE_CLASS(wxPyPreviewFrame)
3704 public:
3705 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3706 const wxString& title,
3707 const wxPoint& pos = wxDefaultPosition,
3708 const wxSize& size = wxDefaultSize,
3709 long style = wxDEFAULT_FRAME_STYLE,
3710 const wxString& name = wxPyFrameNameStr)
3711 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3712 {}
3713
3714 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3715 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3716
3717 DEC_PYCALLBACK_VOID_(Initialize);
3718 DEC_PYCALLBACK_VOID_(CreateCanvas);
3719 DEC_PYCALLBACK_VOID_(CreateControlBar);
3720
3721 PYPRIVATE;
3722 };
3723
3724 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3725
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3728 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3729
3730
3731 class wxPyPreviewControlBar : public wxPreviewControlBar
3732 {
3733 DECLARE_CLASS(wxPyPreviewControlBar)
3734 public:
3735 wxPyPreviewControlBar(wxPrintPreview *preview,
3736 long buttons,
3737 wxWindow *parent,
3738 const wxPoint& pos = wxDefaultPosition,
3739 const wxSize& size = wxDefaultSize,
3740 long style = 0,
3741 const wxString& name = wxPyPanelNameStr)
3742 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3743 {}
3744
3745 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3746
3747 DEC_PYCALLBACK_VOID_(CreateButtons);
3748 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3749
3750 PYPRIVATE;
3751 };
3752
3753 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3754 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3755 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3756
3757 #ifdef __cplusplus
3758 extern "C" {
3759 #endif
3760 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3761 PyObject *resultobj = 0;
3762 wxWindow *arg1 = (wxWindow *) 0 ;
3763 int arg2 = (int) (int)-1 ;
3764 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3765 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3766 wxSize const &arg4_defvalue = wxDefaultSize ;
3767 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3768 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3769 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3770 wxString *arg6 = (wxString *) &arg6_defvalue ;
3771 wxPanel *result = 0 ;
3772 void *argp1 = 0 ;
3773 int res1 = 0 ;
3774 int val2 ;
3775 int ecode2 = 0 ;
3776 wxPoint temp3 ;
3777 wxSize temp4 ;
3778 long val5 ;
3779 int ecode5 = 0 ;
3780 bool temp6 = false ;
3781 PyObject * obj0 = 0 ;
3782 PyObject * obj1 = 0 ;
3783 PyObject * obj2 = 0 ;
3784 PyObject * obj3 = 0 ;
3785 PyObject * obj4 = 0 ;
3786 PyObject * obj5 = 0 ;
3787 char * kwnames[] = {
3788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 };
3790
3791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3793 if (!SWIG_IsOK(res1)) {
3794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3795 }
3796 arg1 = reinterpret_cast< wxWindow * >(argp1);
3797 if (obj1) {
3798 ecode2 = SWIG_AsVal_int(obj1, &val2);
3799 if (!SWIG_IsOK(ecode2)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3801 }
3802 arg2 = static_cast< int >(val2);
3803 }
3804 if (obj2) {
3805 {
3806 arg3 = &temp3;
3807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3808 }
3809 }
3810 if (obj3) {
3811 {
3812 arg4 = &temp4;
3813 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3814 }
3815 }
3816 if (obj4) {
3817 ecode5 = SWIG_AsVal_long(obj4, &val5);
3818 if (!SWIG_IsOK(ecode5)) {
3819 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3820 }
3821 arg5 = static_cast< long >(val5);
3822 }
3823 if (obj5) {
3824 {
3825 arg6 = wxString_in_helper(obj5);
3826 if (arg6 == NULL) SWIG_fail;
3827 temp6 = true;
3828 }
3829 }
3830 {
3831 if (!wxPyCheckForApp()) SWIG_fail;
3832 PyThreadState* __tstate = wxPyBeginAllowThreads();
3833 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3838 {
3839 if (temp6)
3840 delete arg6;
3841 }
3842 return resultobj;
3843 fail:
3844 {
3845 if (temp6)
3846 delete arg6;
3847 }
3848 return NULL;
3849 }
3850
3851
3852 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3853 PyObject *resultobj = 0;
3854 wxPanel *result = 0 ;
3855
3856 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3857 {
3858 if (!wxPyCheckForApp()) SWIG_fail;
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (wxPanel *)new wxPanel();
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj = 0;
3873 wxPanel *arg1 = (wxPanel *) 0 ;
3874 wxWindow *arg2 = (wxWindow *) 0 ;
3875 int arg3 = (int) (int)-1 ;
3876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3878 wxSize const &arg5_defvalue = wxDefaultSize ;
3879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3880 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3881 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3882 wxString *arg7 = (wxString *) &arg7_defvalue ;
3883 bool result;
3884 void *argp1 = 0 ;
3885 int res1 = 0 ;
3886 void *argp2 = 0 ;
3887 int res2 = 0 ;
3888 int val3 ;
3889 int ecode3 = 0 ;
3890 wxPoint temp4 ;
3891 wxSize temp5 ;
3892 long val6 ;
3893 int ecode6 = 0 ;
3894 bool temp7 = false ;
3895 PyObject * obj0 = 0 ;
3896 PyObject * obj1 = 0 ;
3897 PyObject * obj2 = 0 ;
3898 PyObject * obj3 = 0 ;
3899 PyObject * obj4 = 0 ;
3900 PyObject * obj5 = 0 ;
3901 PyObject * obj6 = 0 ;
3902 char * kwnames[] = {
3903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3904 };
3905
3906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3908 if (!SWIG_IsOK(res1)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3910 }
3911 arg1 = reinterpret_cast< wxPanel * >(argp1);
3912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3913 if (!SWIG_IsOK(res2)) {
3914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3915 }
3916 arg2 = reinterpret_cast< wxWindow * >(argp2);
3917 if (obj2) {
3918 ecode3 = SWIG_AsVal_int(obj2, &val3);
3919 if (!SWIG_IsOK(ecode3)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3921 }
3922 arg3 = static_cast< int >(val3);
3923 }
3924 if (obj3) {
3925 {
3926 arg4 = &temp4;
3927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3928 }
3929 }
3930 if (obj4) {
3931 {
3932 arg5 = &temp5;
3933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3934 }
3935 }
3936 if (obj5) {
3937 ecode6 = SWIG_AsVal_long(obj5, &val6);
3938 if (!SWIG_IsOK(ecode6)) {
3939 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3940 }
3941 arg6 = static_cast< long >(val6);
3942 }
3943 if (obj6) {
3944 {
3945 arg7 = wxString_in_helper(obj6);
3946 if (arg7 == NULL) SWIG_fail;
3947 temp7 = true;
3948 }
3949 }
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 {
3957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3958 }
3959 {
3960 if (temp7)
3961 delete arg7;
3962 }
3963 return resultobj;
3964 fail:
3965 {
3966 if (temp7)
3967 delete arg7;
3968 }
3969 return NULL;
3970 }
3971
3972
3973 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3974 PyObject *resultobj = 0;
3975 wxPanel *arg1 = (wxPanel *) 0 ;
3976 void *argp1 = 0 ;
3977 int res1 = 0 ;
3978 PyObject *swig_obj[1] ;
3979
3980 if (!args) SWIG_fail;
3981 swig_obj[0] = args;
3982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3983 if (!SWIG_IsOK(res1)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3985 }
3986 arg1 = reinterpret_cast< wxPanel * >(argp1);
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 (arg1)->SetFocusIgnoringChildren();
3990 wxPyEndAllowThreads(__tstate);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 }
3993 resultobj = SWIG_Py_Void();
3994 return resultobj;
3995 fail:
3996 return NULL;
3997 }
3998
3999
4000 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj = 0;
4002 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4003 SwigValueWrapper<wxVisualAttributes > result;
4004 int val1 ;
4005 int ecode1 = 0 ;
4006 PyObject * obj0 = 0 ;
4007 char * kwnames[] = {
4008 (char *) "variant", NULL
4009 };
4010
4011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4012 if (obj0) {
4013 ecode1 = SWIG_AsVal_int(obj0, &val1);
4014 if (!SWIG_IsOK(ecode1)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4016 }
4017 arg1 = static_cast< wxWindowVariant >(val1);
4018 }
4019 {
4020 if (!wxPyCheckForApp()) SWIG_fail;
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = wxPanel::GetClassDefaultAttributes(arg1);
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4027 return resultobj;
4028 fail:
4029 return NULL;
4030 }
4031
4032
4033 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4034 PyObject *obj;
4035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4037 return SWIG_Py_Void();
4038 }
4039
4040 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 return SWIG_Python_InitShadowInstance(args);
4042 }
4043
4044 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj = 0;
4046 wxWindow *arg1 = (wxWindow *) 0 ;
4047 int arg2 = (int) (int)-1 ;
4048 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4049 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4050 wxSize const &arg4_defvalue = wxDefaultSize ;
4051 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4052 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4053 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4054 wxString *arg6 = (wxString *) &arg6_defvalue ;
4055 wxScrolledWindow *result = 0 ;
4056 void *argp1 = 0 ;
4057 int res1 = 0 ;
4058 int val2 ;
4059 int ecode2 = 0 ;
4060 wxPoint temp3 ;
4061 wxSize temp4 ;
4062 long val5 ;
4063 int ecode5 = 0 ;
4064 bool temp6 = false ;
4065 PyObject * obj0 = 0 ;
4066 PyObject * obj1 = 0 ;
4067 PyObject * obj2 = 0 ;
4068 PyObject * obj3 = 0 ;
4069 PyObject * obj4 = 0 ;
4070 PyObject * obj5 = 0 ;
4071 char * kwnames[] = {
4072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4073 };
4074
4075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4077 if (!SWIG_IsOK(res1)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4079 }
4080 arg1 = reinterpret_cast< wxWindow * >(argp1);
4081 if (obj1) {
4082 ecode2 = SWIG_AsVal_int(obj1, &val2);
4083 if (!SWIG_IsOK(ecode2)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4085 }
4086 arg2 = static_cast< int >(val2);
4087 }
4088 if (obj2) {
4089 {
4090 arg3 = &temp3;
4091 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4092 }
4093 }
4094 if (obj3) {
4095 {
4096 arg4 = &temp4;
4097 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4098 }
4099 }
4100 if (obj4) {
4101 ecode5 = SWIG_AsVal_long(obj4, &val5);
4102 if (!SWIG_IsOK(ecode5)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4104 }
4105 arg5 = static_cast< long >(val5);
4106 }
4107 if (obj5) {
4108 {
4109 arg6 = wxString_in_helper(obj5);
4110 if (arg6 == NULL) SWIG_fail;
4111 temp6 = true;
4112 }
4113 }
4114 {
4115 if (!wxPyCheckForApp()) SWIG_fail;
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4122 {
4123 if (temp6)
4124 delete arg6;
4125 }
4126 return resultobj;
4127 fail:
4128 {
4129 if (temp6)
4130 delete arg6;
4131 }
4132 return NULL;
4133 }
4134
4135
4136 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4137 PyObject *resultobj = 0;
4138 wxScrolledWindow *result = 0 ;
4139
4140 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4141 {
4142 if (!wxPyCheckForApp()) SWIG_fail;
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxScrolledWindow *)new wxScrolledWindow();
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj = 0;
4157 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4158 wxWindow *arg2 = (wxWindow *) 0 ;
4159 int arg3 = (int) (int)-1 ;
4160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4162 wxSize const &arg5_defvalue = wxDefaultSize ;
4163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4164 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4165 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4166 wxString *arg7 = (wxString *) &arg7_defvalue ;
4167 bool result;
4168 void *argp1 = 0 ;
4169 int res1 = 0 ;
4170 void *argp2 = 0 ;
4171 int res2 = 0 ;
4172 int val3 ;
4173 int ecode3 = 0 ;
4174 wxPoint temp4 ;
4175 wxSize temp5 ;
4176 long val6 ;
4177 int ecode6 = 0 ;
4178 bool temp7 = false ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
4182 PyObject * obj3 = 0 ;
4183 PyObject * obj4 = 0 ;
4184 PyObject * obj5 = 0 ;
4185 PyObject * obj6 = 0 ;
4186 char * kwnames[] = {
4187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 };
4189
4190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4192 if (!SWIG_IsOK(res1)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4194 }
4195 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4196 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4197 if (!SWIG_IsOK(res2)) {
4198 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4199 }
4200 arg2 = reinterpret_cast< wxWindow * >(argp2);
4201 if (obj2) {
4202 ecode3 = SWIG_AsVal_int(obj2, &val3);
4203 if (!SWIG_IsOK(ecode3)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4205 }
4206 arg3 = static_cast< int >(val3);
4207 }
4208 if (obj3) {
4209 {
4210 arg4 = &temp4;
4211 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4212 }
4213 }
4214 if (obj4) {
4215 {
4216 arg5 = &temp5;
4217 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4218 }
4219 }
4220 if (obj5) {
4221 ecode6 = SWIG_AsVal_long(obj5, &val6);
4222 if (!SWIG_IsOK(ecode6)) {
4223 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4224 }
4225 arg6 = static_cast< long >(val6);
4226 }
4227 if (obj6) {
4228 {
4229 arg7 = wxString_in_helper(obj6);
4230 if (arg7 == NULL) SWIG_fail;
4231 temp7 = true;
4232 }
4233 }
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4242 }
4243 {
4244 if (temp7)
4245 delete arg7;
4246 }
4247 return resultobj;
4248 fail:
4249 {
4250 if (temp7)
4251 delete arg7;
4252 }
4253 return NULL;
4254 }
4255
4256
4257 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj = 0;
4259 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4260 int arg2 ;
4261 int arg3 ;
4262 int arg4 ;
4263 int arg5 ;
4264 int arg6 = (int) 0 ;
4265 int arg7 = (int) 0 ;
4266 bool arg8 = (bool) false ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 int val2 ;
4270 int ecode2 = 0 ;
4271 int val3 ;
4272 int ecode3 = 0 ;
4273 int val4 ;
4274 int ecode4 = 0 ;
4275 int val5 ;
4276 int ecode5 = 0 ;
4277 int val6 ;
4278 int ecode6 = 0 ;
4279 int val7 ;
4280 int ecode7 = 0 ;
4281 bool val8 ;
4282 int ecode8 = 0 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 PyObject * obj2 = 0 ;
4286 PyObject * obj3 = 0 ;
4287 PyObject * obj4 = 0 ;
4288 PyObject * obj5 = 0 ;
4289 PyObject * obj6 = 0 ;
4290 PyObject * obj7 = 0 ;
4291 char * kwnames[] = {
4292 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4293 };
4294
4295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4297 if (!SWIG_IsOK(res1)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4299 }
4300 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4301 ecode2 = SWIG_AsVal_int(obj1, &val2);
4302 if (!SWIG_IsOK(ecode2)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4304 }
4305 arg2 = static_cast< int >(val2);
4306 ecode3 = SWIG_AsVal_int(obj2, &val3);
4307 if (!SWIG_IsOK(ecode3)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4309 }
4310 arg3 = static_cast< int >(val3);
4311 ecode4 = SWIG_AsVal_int(obj3, &val4);
4312 if (!SWIG_IsOK(ecode4)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4314 }
4315 arg4 = static_cast< int >(val4);
4316 ecode5 = SWIG_AsVal_int(obj4, &val5);
4317 if (!SWIG_IsOK(ecode5)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4319 }
4320 arg5 = static_cast< int >(val5);
4321 if (obj5) {
4322 ecode6 = SWIG_AsVal_int(obj5, &val6);
4323 if (!SWIG_IsOK(ecode6)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4325 }
4326 arg6 = static_cast< int >(val6);
4327 }
4328 if (obj6) {
4329 ecode7 = SWIG_AsVal_int(obj6, &val7);
4330 if (!SWIG_IsOK(ecode7)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4332 }
4333 arg7 = static_cast< int >(val7);
4334 }
4335 if (obj7) {
4336 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4337 if (!SWIG_IsOK(ecode8)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4339 }
4340 arg8 = static_cast< bool >(val8);
4341 }
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 resultobj = SWIG_Py_Void();
4349 return resultobj;
4350 fail:
4351 return NULL;
4352 }
4353
4354
4355 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj = 0;
4357 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4358 int arg2 ;
4359 int arg3 ;
4360 void *argp1 = 0 ;
4361 int res1 = 0 ;
4362 int val2 ;
4363 int ecode2 = 0 ;
4364 int val3 ;
4365 int ecode3 = 0 ;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4368 PyObject * obj2 = 0 ;
4369 char * kwnames[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4371 };
4372
4373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4375 if (!SWIG_IsOK(res1)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4377 }
4378 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4379 ecode2 = SWIG_AsVal_int(obj1, &val2);
4380 if (!SWIG_IsOK(ecode2)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4382 }
4383 arg2 = static_cast< int >(val2);
4384 ecode3 = SWIG_AsVal_int(obj2, &val3);
4385 if (!SWIG_IsOK(ecode3)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4387 }
4388 arg3 = static_cast< int >(val3);
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 (arg1)->Scroll(arg2,arg3);
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 resultobj = SWIG_Py_Void();
4396 return resultobj;
4397 fail:
4398 return NULL;
4399 }
4400
4401
4402 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj = 0;
4404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4405 int arg2 ;
4406 int result;
4407 void *argp1 = 0 ;
4408 int res1 = 0 ;
4409 int val2 ;
4410 int ecode2 = 0 ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 char * kwnames[] = {
4414 (char *) "self",(char *) "orient", NULL
4415 };
4416
4417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4419 if (!SWIG_IsOK(res1)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4421 }
4422 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4423 ecode2 = SWIG_AsVal_int(obj1, &val2);
4424 if (!SWIG_IsOK(ecode2)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4426 }
4427 arg2 = static_cast< int >(val2);
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 resultobj = SWIG_From_int(static_cast< int >(result));
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj = 0;
4443 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4444 int arg2 ;
4445 int arg3 ;
4446 void *argp1 = 0 ;
4447 int res1 = 0 ;
4448 int val2 ;
4449 int ecode2 = 0 ;
4450 int val3 ;
4451 int ecode3 = 0 ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 PyObject * obj2 = 0 ;
4455 char * kwnames[] = {
4456 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4457 };
4458
4459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4461 if (!SWIG_IsOK(res1)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4463 }
4464 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4465 ecode2 = SWIG_AsVal_int(obj1, &val2);
4466 if (!SWIG_IsOK(ecode2)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4468 }
4469 arg2 = static_cast< int >(val2);
4470 ecode3 = SWIG_AsVal_int(obj2, &val3);
4471 if (!SWIG_IsOK(ecode3)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4473 }
4474 arg3 = static_cast< int >(val3);
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetScrollPageSize(arg2,arg3);
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 resultobj = SWIG_Py_Void();
4482 return resultobj;
4483 fail:
4484 return NULL;
4485 }
4486
4487
4488 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj = 0;
4490 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4491 int arg2 ;
4492 int arg3 ;
4493 void *argp1 = 0 ;
4494 int res1 = 0 ;
4495 int val2 ;
4496 int ecode2 = 0 ;
4497 int val3 ;
4498 int ecode3 = 0 ;
4499 PyObject * obj0 = 0 ;
4500 PyObject * obj1 = 0 ;
4501 PyObject * obj2 = 0 ;
4502 char * kwnames[] = {
4503 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4504 };
4505
4506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4508 if (!SWIG_IsOK(res1)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4510 }
4511 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4512 ecode2 = SWIG_AsVal_int(obj1, &val2);
4513 if (!SWIG_IsOK(ecode2)) {
4514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4515 }
4516 arg2 = static_cast< int >(val2);
4517 ecode3 = SWIG_AsVal_int(obj2, &val3);
4518 if (!SWIG_IsOK(ecode3)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4520 }
4521 arg3 = static_cast< int >(val3);
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 (arg1)->SetScrollRate(arg2,arg3);
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 resultobj = SWIG_Py_Void();
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4536 PyObject *resultobj = 0;
4537 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4538 int *arg2 = (int *) 0 ;
4539 int *arg3 = (int *) 0 ;
4540 void *argp1 = 0 ;
4541 int res1 = 0 ;
4542 int temp2 ;
4543 int res2 = SWIG_TMPOBJ ;
4544 int temp3 ;
4545 int res3 = SWIG_TMPOBJ ;
4546 PyObject *swig_obj[1] ;
4547
4548 arg2 = &temp2;
4549 arg3 = &temp3;
4550 if (!args) SWIG_fail;
4551 swig_obj[0] = args;
4552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4553 if (!SWIG_IsOK(res1)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4555 }
4556 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 resultobj = SWIG_Py_Void();
4564 if (SWIG_IsTmpObj(res2)) {
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4566 } else {
4567 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4568 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4569 }
4570 if (SWIG_IsTmpObj(res3)) {
4571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4572 } else {
4573 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4575 }
4576 return resultobj;
4577 fail:
4578 return NULL;
4579 }
4580
4581
4582 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj = 0;
4584 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4585 bool arg2 ;
4586 bool arg3 ;
4587 void *argp1 = 0 ;
4588 int res1 = 0 ;
4589 bool val2 ;
4590 int ecode2 = 0 ;
4591 bool val3 ;
4592 int ecode3 = 0 ;
4593 PyObject * obj0 = 0 ;
4594 PyObject * obj1 = 0 ;
4595 PyObject * obj2 = 0 ;
4596 char * kwnames[] = {
4597 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4598 };
4599
4600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4602 if (!SWIG_IsOK(res1)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4604 }
4605 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4606 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4607 if (!SWIG_IsOK(ecode2)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4609 }
4610 arg2 = static_cast< bool >(val2);
4611 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4612 if (!SWIG_IsOK(ecode3)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4614 }
4615 arg3 = static_cast< bool >(val3);
4616 {
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 (arg1)->EnableScrolling(arg2,arg3);
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 resultobj = SWIG_Py_Void();
4623 return resultobj;
4624 fail:
4625 return NULL;
4626 }
4627
4628
4629 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4630 PyObject *resultobj = 0;
4631 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4632 int *arg2 = (int *) 0 ;
4633 int *arg3 = (int *) 0 ;
4634 void *argp1 = 0 ;
4635 int res1 = 0 ;
4636 int temp2 ;
4637 int res2 = SWIG_TMPOBJ ;
4638 int temp3 ;
4639 int res3 = SWIG_TMPOBJ ;
4640 PyObject *swig_obj[1] ;
4641
4642 arg2 = &temp2;
4643 arg3 = &temp3;
4644 if (!args) SWIG_fail;
4645 swig_obj[0] = args;
4646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4647 if (!SWIG_IsOK(res1)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4649 }
4650 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_Py_Void();
4658 if (SWIG_IsTmpObj(res2)) {
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4660 } else {
4661 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4662 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4663 }
4664 if (SWIG_IsTmpObj(res3)) {
4665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4666 } else {
4667 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4669 }
4670 return resultobj;
4671 fail:
4672 return NULL;
4673 }
4674
4675
4676 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj = 0;
4678 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4679 double arg2 ;
4680 double arg3 ;
4681 void *argp1 = 0 ;
4682 int res1 = 0 ;
4683 double val2 ;
4684 int ecode2 = 0 ;
4685 double val3 ;
4686 int ecode3 = 0 ;
4687 PyObject * obj0 = 0 ;
4688 PyObject * obj1 = 0 ;
4689 PyObject * obj2 = 0 ;
4690 char * kwnames[] = {
4691 (char *) "self",(char *) "xs",(char *) "ys", NULL
4692 };
4693
4694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4696 if (!SWIG_IsOK(res1)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4698 }
4699 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4700 ecode2 = SWIG_AsVal_double(obj1, &val2);
4701 if (!SWIG_IsOK(ecode2)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4703 }
4704 arg2 = static_cast< double >(val2);
4705 ecode3 = SWIG_AsVal_double(obj2, &val3);
4706 if (!SWIG_IsOK(ecode3)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4708 }
4709 arg3 = static_cast< double >(val3);
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 (arg1)->SetScale(arg2,arg3);
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 resultobj = SWIG_Py_Void();
4717 return resultobj;
4718 fail:
4719 return NULL;
4720 }
4721
4722
4723 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4724 PyObject *resultobj = 0;
4725 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4726 double result;
4727 void *argp1 = 0 ;
4728 int res1 = 0 ;
4729 PyObject *swig_obj[1] ;
4730
4731 if (!args) SWIG_fail;
4732 swig_obj[0] = args;
4733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4734 if (!SWIG_IsOK(res1)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4736 }
4737 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 resultobj = SWIG_From_double(static_cast< double >(result));
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4752 PyObject *resultobj = 0;
4753 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4754 double result;
4755 void *argp1 = 0 ;
4756 int res1 = 0 ;
4757 PyObject *swig_obj[1] ;
4758
4759 if (!args) SWIG_fail;
4760 swig_obj[0] = args;
4761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4762 if (!SWIG_IsOK(res1)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4764 }
4765 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 resultobj = SWIG_From_double(static_cast< double >(result));
4773 return resultobj;
4774 fail:
4775 return NULL;
4776 }
4777
4778
4779 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4780 PyObject *resultobj = 0;
4781 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4782 wxPoint *arg2 = 0 ;
4783 wxPoint result;
4784 void *argp1 = 0 ;
4785 int res1 = 0 ;
4786 wxPoint temp2 ;
4787
4788 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4790 if (!SWIG_IsOK(res1)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4792 }
4793 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4794 {
4795 arg2 = &temp2;
4796 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4797 }
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4812 PyObject *resultobj = 0;
4813 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4814 int arg2 ;
4815 int arg3 ;
4816 int *arg4 = (int *) 0 ;
4817 int *arg5 = (int *) 0 ;
4818 void *argp1 = 0 ;
4819 int res1 = 0 ;
4820 int val2 ;
4821 int ecode2 = 0 ;
4822 int val3 ;
4823 int ecode3 = 0 ;
4824 int temp4 ;
4825 int res4 = SWIG_TMPOBJ ;
4826 int temp5 ;
4827 int res5 = SWIG_TMPOBJ ;
4828
4829 arg4 = &temp4;
4830 arg5 = &temp5;
4831 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4833 if (!SWIG_IsOK(res1)) {
4834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4835 }
4836 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4837 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4838 if (!SWIG_IsOK(ecode2)) {
4839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4840 }
4841 arg2 = static_cast< int >(val2);
4842 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4843 if (!SWIG_IsOK(ecode3)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4845 }
4846 arg3 = static_cast< int >(val3);
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 resultobj = SWIG_Py_Void();
4854 if (SWIG_IsTmpObj(res4)) {
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4856 } else {
4857 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4858 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4859 }
4860 if (SWIG_IsTmpObj(res5)) {
4861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4862 } else {
4863 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4865 }
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4873 int argc;
4874 PyObject *argv[4];
4875
4876 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4877 --argc;
4878 if (argc == 2) {
4879 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4880 }
4881 if (argc == 3) {
4882 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4883 }
4884
4885 fail:
4886 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4887 return NULL;
4888 }
4889
4890
4891 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4892 PyObject *resultobj = 0;
4893 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4894 wxPoint *arg2 = 0 ;
4895 wxPoint result;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 wxPoint temp2 ;
4899
4900 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4902 if (!SWIG_IsOK(res1)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4904 }
4905 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4906 {
4907 arg2 = &temp2;
4908 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4917 return resultobj;
4918 fail:
4919 return NULL;
4920 }
4921
4922
4923 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4924 PyObject *resultobj = 0;
4925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4926 int arg2 ;
4927 int arg3 ;
4928 int *arg4 = (int *) 0 ;
4929 int *arg5 = (int *) 0 ;
4930 void *argp1 = 0 ;
4931 int res1 = 0 ;
4932 int val2 ;
4933 int ecode2 = 0 ;
4934 int val3 ;
4935 int ecode3 = 0 ;
4936 int temp4 ;
4937 int res4 = SWIG_TMPOBJ ;
4938 int temp5 ;
4939 int res5 = SWIG_TMPOBJ ;
4940
4941 arg4 = &temp4;
4942 arg5 = &temp5;
4943 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4945 if (!SWIG_IsOK(res1)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4947 }
4948 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4949 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4950 if (!SWIG_IsOK(ecode2)) {
4951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4952 }
4953 arg2 = static_cast< int >(val2);
4954 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4955 if (!SWIG_IsOK(ecode3)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4957 }
4958 arg3 = static_cast< int >(val3);
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 resultobj = SWIG_Py_Void();
4966 if (SWIG_IsTmpObj(res4)) {
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4968 } else {
4969 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4970 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4971 }
4972 if (SWIG_IsTmpObj(res5)) {
4973 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4974 } else {
4975 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4977 }
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4985 int argc;
4986 PyObject *argv[4];
4987
4988 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4989 --argc;
4990 if (argc == 2) {
4991 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4992 }
4993 if (argc == 3) {
4994 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4995 }
4996
4997 fail:
4998 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4999 return NULL;
5000 }
5001
5002
5003 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5004 PyObject *resultobj = 0;
5005 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 PyObject *swig_obj[1] ;
5009
5010 if (!args) SWIG_fail;
5011 swig_obj[0] = args;
5012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5013 if (!SWIG_IsOK(res1)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5015 }
5016 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->AdjustScrollbars();
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 resultobj = SWIG_Py_Void();
5024 return resultobj;
5025 fail:
5026 return NULL;
5027 }
5028
5029
5030 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5031 PyObject *resultobj = 0;
5032 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5033 wxScrollWinEvent *arg2 = 0 ;
5034 int result;
5035 void *argp1 = 0 ;
5036 int res1 = 0 ;
5037 void *argp2 = 0 ;
5038 int res2 = 0 ;
5039 PyObject * obj0 = 0 ;
5040 PyObject * obj1 = 0 ;
5041 char * kwnames[] = {
5042 (char *) "self",(char *) "event", NULL
5043 };
5044
5045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5047 if (!SWIG_IsOK(res1)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5049 }
5050 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5052 if (!SWIG_IsOK(res2)) {
5053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5054 }
5055 if (!argp2) {
5056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5057 }
5058 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 result = (int)(arg1)->CalcScrollInc(*arg2);
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 resultobj = SWIG_From_int(static_cast< int >(result));
5066 return resultobj;
5067 fail:
5068 return NULL;
5069 }
5070
5071
5072 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj = 0;
5074 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5075 wxWindow *arg2 = (wxWindow *) 0 ;
5076 void *argp1 = 0 ;
5077 int res1 = 0 ;
5078 void *argp2 = 0 ;
5079 int res2 = 0 ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 char * kwnames[] = {
5083 (char *) "self",(char *) "target", NULL
5084 };
5085
5086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5088 if (!SWIG_IsOK(res1)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5090 }
5091 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5092 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5093 if (!SWIG_IsOK(res2)) {
5094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5095 }
5096 arg2 = reinterpret_cast< wxWindow * >(argp2);
5097 {
5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
5099 (arg1)->SetTargetWindow(arg2);
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 resultobj = SWIG_Py_Void();
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5111 PyObject *resultobj = 0;
5112 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5113 wxWindow *result = 0 ;
5114 void *argp1 = 0 ;
5115 int res1 = 0 ;
5116 PyObject *swig_obj[1] ;
5117
5118 if (!args) SWIG_fail;
5119 swig_obj[0] = args;
5120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5121 if (!SWIG_IsOK(res1)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5123 }
5124 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 {
5132 resultobj = wxPyMake_wxObject(result, 0);
5133 }
5134 return resultobj;
5135 fail:
5136 return NULL;
5137 }
5138
5139
5140 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj = 0;
5142 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5143 wxRect *arg2 = 0 ;
5144 void *argp1 = 0 ;
5145 int res1 = 0 ;
5146 wxRect temp2 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char * kwnames[] = {
5150 (char *) "self",(char *) "rect", NULL
5151 };
5152
5153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5155 if (!SWIG_IsOK(res1)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 }
5158 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5159 {
5160 arg2 = &temp2;
5161 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5162 }
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 (arg1)->SetTargetRect((wxRect const &)*arg2);
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 resultobj = SWIG_Py_Void();
5170 return resultobj;
5171 fail:
5172 return NULL;
5173 }
5174
5175
5176 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5177 PyObject *resultobj = 0;
5178 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5179 wxRect result;
5180 void *argp1 = 0 ;
5181 int res1 = 0 ;
5182 PyObject *swig_obj[1] ;
5183
5184 if (!args) SWIG_fail;
5185 swig_obj[0] = args;
5186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5187 if (!SWIG_IsOK(res1)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5189 }
5190 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5198 return resultobj;
5199 fail:
5200 return NULL;
5201 }
5202
5203
5204 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5205 PyObject *resultobj = 0;
5206 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5207 wxDC *arg2 = 0 ;
5208 void *argp1 = 0 ;
5209 int res1 = 0 ;
5210 void *argp2 = 0 ;
5211 int res2 = 0 ;
5212 PyObject * obj0 = 0 ;
5213 PyObject * obj1 = 0 ;
5214 char * kwnames[] = {
5215 (char *) "self",(char *) "dc", NULL
5216 };
5217
5218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5220 if (!SWIG_IsOK(res1)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5222 }
5223 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5224 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5225 if (!SWIG_IsOK(res2)) {
5226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5227 }
5228 if (!argp2) {
5229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5230 }
5231 arg2 = reinterpret_cast< wxDC * >(argp2);
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 (arg1)->DoPrepareDC(*arg2);
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 resultobj = SWIG_Py_Void();
5239 return resultobj;
5240 fail:
5241 return NULL;
5242 }
5243
5244
5245 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj = 0;
5247 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5248 SwigValueWrapper<wxVisualAttributes > result;
5249 int val1 ;
5250 int ecode1 = 0 ;
5251 PyObject * obj0 = 0 ;
5252 char * kwnames[] = {
5253 (char *) "variant", NULL
5254 };
5255
5256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5257 if (obj0) {
5258 ecode1 = SWIG_AsVal_int(obj0, &val1);
5259 if (!SWIG_IsOK(ecode1)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5261 }
5262 arg1 = static_cast< wxWindowVariant >(val1);
5263 }
5264 {
5265 if (!wxPyCheckForApp()) SWIG_fail;
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5268 wxPyEndAllowThreads(__tstate);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 }
5271 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5272 return resultobj;
5273 fail:
5274 return NULL;
5275 }
5276
5277
5278 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5279 PyObject *obj;
5280 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5281 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5282 return SWIG_Py_Void();
5283 }
5284
5285 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5286 return SWIG_Python_InitShadowInstance(args);
5287 }
5288
5289 SWIGINTERN int FrameNameStr_set(PyObject *) {
5290 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5291 return 1;
5292 }
5293
5294
5295 SWIGINTERN PyObject *FrameNameStr_get(void) {
5296 PyObject *pyobj = 0;
5297
5298 {
5299 #if wxUSE_UNICODE
5300 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5301 #else
5302 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5303 #endif
5304 }
5305 return pyobj;
5306 }
5307
5308
5309 SWIGINTERN int DialogNameStr_set(PyObject *) {
5310 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5311 return 1;
5312 }
5313
5314
5315 SWIGINTERN PyObject *DialogNameStr_get(void) {
5316 PyObject *pyobj = 0;
5317
5318 {
5319 #if wxUSE_UNICODE
5320 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5321 #else
5322 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5323 #endif
5324 }
5325 return pyobj;
5326 }
5327
5328
5329 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5330 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5331 return 1;
5332 }
5333
5334
5335 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5336 PyObject *pyobj = 0;
5337
5338 {
5339 #if wxUSE_UNICODE
5340 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5341 #else
5342 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5343 #endif
5344 }
5345 return pyobj;
5346 }
5347
5348
5349 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5350 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5351 return 1;
5352 }
5353
5354
5355 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5356 PyObject *pyobj = 0;
5357
5358 {
5359 #if wxUSE_UNICODE
5360 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5361 #else
5362 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5363 #endif
5364 }
5365 return pyobj;
5366 }
5367
5368
5369 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj = 0;
5371 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5372 bool arg2 = (bool) true ;
5373 void *argp1 = 0 ;
5374 int res1 = 0 ;
5375 bool val2 ;
5376 int ecode2 = 0 ;
5377 PyObject * obj0 = 0 ;
5378 PyObject * obj1 = 0 ;
5379 char * kwnames[] = {
5380 (char *) "self",(char *) "maximize", NULL
5381 };
5382
5383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5385 if (!SWIG_IsOK(res1)) {
5386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5387 }
5388 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5389 if (obj1) {
5390 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5391 if (!SWIG_IsOK(ecode2)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5393 }
5394 arg2 = static_cast< bool >(val2);
5395 }
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 (arg1)->Maximize(arg2);
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 resultobj = SWIG_Py_Void();
5403 return resultobj;
5404 fail:
5405 return NULL;
5406 }
5407
5408
5409 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5410 PyObject *resultobj = 0;
5411 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5412 void *argp1 = 0 ;
5413 int res1 = 0 ;
5414 PyObject *swig_obj[1] ;
5415
5416 if (!args) SWIG_fail;
5417 swig_obj[0] = args;
5418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5419 if (!SWIG_IsOK(res1)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5421 }
5422 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 (arg1)->Restore();
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 resultobj = SWIG_Py_Void();
5430 return resultobj;
5431 fail:
5432 return NULL;
5433 }
5434
5435
5436 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj = 0;
5438 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5439 bool arg2 = (bool) true ;
5440 void *argp1 = 0 ;
5441 int res1 = 0 ;
5442 bool val2 ;
5443 int ecode2 = 0 ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char * kwnames[] = {
5447 (char *) "self",(char *) "iconize", NULL
5448 };
5449
5450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5452 if (!SWIG_IsOK(res1)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5454 }
5455 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5456 if (obj1) {
5457 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5458 if (!SWIG_IsOK(ecode2)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5460 }
5461 arg2 = static_cast< bool >(val2);
5462 }
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 (arg1)->Iconize(arg2);
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 resultobj = SWIG_Py_Void();
5470 return resultobj;
5471 fail:
5472 return NULL;
5473 }
5474
5475
5476 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5477 PyObject *resultobj = 0;
5478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5479 bool result;
5480 void *argp1 = 0 ;
5481 int res1 = 0 ;
5482 PyObject *swig_obj[1] ;
5483
5484 if (!args) SWIG_fail;
5485 swig_obj[0] = args;
5486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5487 if (!SWIG_IsOK(res1)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5489 }
5490 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 {
5498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5499 }
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5507 PyObject *resultobj = 0;
5508 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5509 bool result;
5510 void *argp1 = 0 ;
5511 int res1 = 0 ;
5512 PyObject *swig_obj[1] ;
5513
5514 if (!args) SWIG_fail;
5515 swig_obj[0] = args;
5516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5517 if (!SWIG_IsOK(res1)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5519 }
5520 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 {
5528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5529 }
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5537 PyObject *resultobj = 0;
5538 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5539 bool result;
5540 void *argp1 = 0 ;
5541 int res1 = 0 ;
5542 PyObject *swig_obj[1] ;
5543
5544 if (!args) SWIG_fail;
5545 swig_obj[0] = args;
5546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5547 if (!SWIG_IsOK(res1)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5549 }
5550 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 {
5558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5559 }
5560 return resultobj;
5561 fail:
5562 return NULL;
5563 }
5564
5565
5566 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5567 PyObject *resultobj = 0;
5568 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5569 wxIcon result;
5570 void *argp1 = 0 ;
5571 int res1 = 0 ;
5572 PyObject *swig_obj[1] ;
5573
5574 if (!args) SWIG_fail;
5575 swig_obj[0] = args;
5576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5577 if (!SWIG_IsOK(res1)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5579 }
5580 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5595 PyObject *resultobj = 0;
5596 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5597 wxIcon *arg2 = 0 ;
5598 void *argp1 = 0 ;
5599 int res1 = 0 ;
5600 void *argp2 = 0 ;
5601 int res2 = 0 ;
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 char * kwnames[] = {
5605 (char *) "self",(char *) "icon", NULL
5606 };
5607
5608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5610 if (!SWIG_IsOK(res1)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5612 }
5613 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5614 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5615 if (!SWIG_IsOK(res2)) {
5616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5617 }
5618 if (!argp2) {
5619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5620 }
5621 arg2 = reinterpret_cast< wxIcon * >(argp2);
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->SetIcon((wxIcon const &)*arg2);
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = SWIG_Py_Void();
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj = 0;
5637 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5638 wxIconBundle *arg2 = 0 ;
5639 void *argp1 = 0 ;
5640 int res1 = 0 ;
5641 void *argp2 = 0 ;
5642 int res2 = 0 ;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 char * kwnames[] = {
5646 (char *) "self",(char *) "icons", NULL
5647 };
5648
5649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5651 if (!SWIG_IsOK(res1)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5653 }
5654 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5656 if (!SWIG_IsOK(res2)) {
5657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5658 }
5659 if (!argp2) {
5660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5661 }
5662 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 resultobj = SWIG_Py_Void();
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj = 0;
5678 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5679 bool arg2 ;
5680 long arg3 = (long) wxFULLSCREEN_ALL ;
5681 bool result;
5682 void *argp1 = 0 ;
5683 int res1 = 0 ;
5684 bool val2 ;
5685 int ecode2 = 0 ;
5686 long val3 ;
5687 int ecode3 = 0 ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 PyObject * obj2 = 0 ;
5691 char * kwnames[] = {
5692 (char *) "self",(char *) "show",(char *) "style", NULL
5693 };
5694
5695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5697 if (!SWIG_IsOK(res1)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5699 }
5700 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5701 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5702 if (!SWIG_IsOK(ecode2)) {
5703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5704 }
5705 arg2 = static_cast< bool >(val2);
5706 if (obj2) {
5707 ecode3 = SWIG_AsVal_long(obj2, &val3);
5708 if (!SWIG_IsOK(ecode3)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5710 }
5711 arg3 = static_cast< long >(val3);
5712 }
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 {
5720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5721 }
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5729 PyObject *resultobj = 0;
5730 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5731 bool result;
5732 void *argp1 = 0 ;
5733 int res1 = 0 ;
5734 PyObject *swig_obj[1] ;
5735
5736 if (!args) SWIG_fail;
5737 swig_obj[0] = args;
5738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5739 if (!SWIG_IsOK(res1)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 }
5742 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 {
5750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5751 }
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj = 0;
5760 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5761 wxString *arg2 = 0 ;
5762 void *argp1 = 0 ;
5763 int res1 = 0 ;
5764 bool temp2 = false ;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 char * kwnames[] = {
5768 (char *) "self",(char *) "title", NULL
5769 };
5770
5771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5773 if (!SWIG_IsOK(res1)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5775 }
5776 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5777 {
5778 arg2 = wxString_in_helper(obj1);
5779 if (arg2 == NULL) SWIG_fail;
5780 temp2 = true;
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 (arg1)->SetTitle((wxString const &)*arg2);
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 resultobj = SWIG_Py_Void();
5789 {
5790 if (temp2)
5791 delete arg2;
5792 }
5793 return resultobj;
5794 fail:
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return NULL;
5800 }
5801
5802
5803 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5804 PyObject *resultobj = 0;
5805 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5806 wxString result;
5807 void *argp1 = 0 ;
5808 int res1 = 0 ;
5809 PyObject *swig_obj[1] ;
5810
5811 if (!args) SWIG_fail;
5812 swig_obj[0] = args;
5813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5814 if (!SWIG_IsOK(res1)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5816 }
5817 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 {
5825 #if wxUSE_UNICODE
5826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5827 #else
5828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5829 #endif
5830 }
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj = 0;
5839 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5840 bool arg2 ;
5841 bool result;
5842 void *argp1 = 0 ;
5843 int res1 = 0 ;
5844 bool val2 ;
5845 int ecode2 = 0 ;
5846 PyObject * obj0 = 0 ;
5847 PyObject * obj1 = 0 ;
5848 char * kwnames[] = {
5849 (char *) "self",(char *) "enable", NULL
5850 };
5851
5852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5854 if (!SWIG_IsOK(res1)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5856 }
5857 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5858 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5859 if (!SWIG_IsOK(ecode2)) {
5860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5861 }
5862 arg2 = static_cast< bool >(val2);
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)(arg1)->EnableCloseButton(arg2);
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 {
5870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5871 }
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj = 0;
5880 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5881 wxRegion *arg2 = 0 ;
5882 bool result;
5883 void *argp1 = 0 ;
5884 int res1 = 0 ;
5885 void *argp2 = 0 ;
5886 int res2 = 0 ;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 char * kwnames[] = {
5890 (char *) "self",(char *) "region", NULL
5891 };
5892
5893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5895 if (!SWIG_IsOK(res1)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5897 }
5898 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5899 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5900 if (!SWIG_IsOK(res2)) {
5901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5902 }
5903 if (!argp2) {
5904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5905 }
5906 arg2 = reinterpret_cast< wxRegion * >(argp2);
5907 {
5908 PyThreadState* __tstate = wxPyBeginAllowThreads();
5909 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5915 }
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj = 0;
5924 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5925 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5926 void *argp1 = 0 ;
5927 int res1 = 0 ;
5928 int val2 ;
5929 int ecode2 = 0 ;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 char * kwnames[] = {
5933 (char *) "self",(char *) "flags", NULL
5934 };
5935
5936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5938 if (!SWIG_IsOK(res1)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 }
5941 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5942 if (obj1) {
5943 ecode2 = SWIG_AsVal_int(obj1, &val2);
5944 if (!SWIG_IsOK(ecode2)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5946 }
5947 arg2 = static_cast< int >(val2);
5948 }
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 (arg1)->RequestUserAttention(arg2);
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = SWIG_Py_Void();
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5963 PyObject *resultobj = 0;
5964 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5965 bool result;
5966 void *argp1 = 0 ;
5967 int res1 = 0 ;
5968 PyObject *swig_obj[1] ;
5969
5970 if (!args) SWIG_fail;
5971 swig_obj[0] = args;
5972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5973 if (!SWIG_IsOK(res1)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 }
5976 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (bool)(arg1)->IsActive();
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 {
5984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5985 }
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj = 0;
5994 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5995 bool arg2 ;
5996 void *argp1 = 0 ;
5997 int res1 = 0 ;
5998 bool val2 ;
5999 int ecode2 = 0 ;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 char * kwnames[] = {
6003 (char *) "self",(char *) "on", NULL
6004 };
6005
6006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6008 if (!SWIG_IsOK(res1)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6010 }
6011 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6012 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6013 if (!SWIG_IsOK(ecode2)) {
6014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6015 }
6016 arg2 = static_cast< bool >(val2);
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 resultobj = SWIG_Py_Void();
6024 return resultobj;
6025 fail:
6026 return NULL;
6027 }
6028
6029
6030 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6031 PyObject *resultobj = 0;
6032 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6033 bool result;
6034 void *argp1 = 0 ;
6035 int res1 = 0 ;
6036 PyObject *swig_obj[1] ;
6037
6038 if (!args) SWIG_fail;
6039 swig_obj[0] = args;
6040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6041 if (!SWIG_IsOK(res1)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6043 }
6044 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 {
6052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6053 }
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj = 0;
6062 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6063 int arg2 = (int) wxBOTH ;
6064 void *argp1 = 0 ;
6065 int res1 = 0 ;
6066 int val2 ;
6067 int ecode2 = 0 ;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 char * kwnames[] = {
6071 (char *) "self",(char *) "dir", NULL
6072 };
6073
6074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6076 if (!SWIG_IsOK(res1)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6078 }
6079 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6080 if (obj1) {
6081 ecode2 = SWIG_AsVal_int(obj1, &val2);
6082 if (!SWIG_IsOK(ecode2)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6084 }
6085 arg2 = static_cast< int >(val2);
6086 }
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 (arg1)->CenterOnScreen(arg2);
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 resultobj = SWIG_Py_Void();
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6101 PyObject *resultobj = 0;
6102 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6103 wxWindow *result = 0 ;
6104 void *argp1 = 0 ;
6105 int res1 = 0 ;
6106 PyObject *swig_obj[1] ;
6107
6108 if (!args) SWIG_fail;
6109 swig_obj[0] = args;
6110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6111 if (!SWIG_IsOK(res1)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6113 }
6114 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 {
6122 resultobj = wxPyMake_wxObject(result, 0);
6123 }
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj = 0;
6132 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6133 wxWindow *arg2 = (wxWindow *) 0 ;
6134 wxWindow *result = 0 ;
6135 void *argp1 = 0 ;
6136 int res1 = 0 ;
6137 void *argp2 = 0 ;
6138 int res2 = 0 ;
6139 PyObject * obj0 = 0 ;
6140 PyObject * obj1 = 0 ;
6141 char * kwnames[] = {
6142 (char *) "self",(char *) "child", NULL
6143 };
6144
6145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6147 if (!SWIG_IsOK(res1)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6149 }
6150 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6151 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6152 if (!SWIG_IsOK(res2)) {
6153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6154 }
6155 arg2 = reinterpret_cast< wxWindow * >(argp2);
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 {
6163 resultobj = wxPyMake_wxObject(result, 0);
6164 }
6165 return resultobj;
6166 fail:
6167 return NULL;
6168 }
6169
6170
6171 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj = 0;
6173 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6174 wxWindow *arg2 = (wxWindow *) 0 ;
6175 void *argp1 = 0 ;
6176 int res1 = 0 ;
6177 void *argp2 = 0 ;
6178 int res2 = 0 ;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 char * kwnames[] = {
6182 (char *) "self",(char *) "win", NULL
6183 };
6184
6185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6189 }
6190 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6192 if (!SWIG_IsOK(res2)) {
6193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6194 }
6195 arg2 = reinterpret_cast< wxWindow * >(argp2);
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 (arg1)->SetTmpDefaultItem(arg2);
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_Py_Void();
6203 return resultobj;
6204 fail:
6205 return NULL;
6206 }
6207
6208
6209 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6210 PyObject *resultobj = 0;
6211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6212 wxWindow *result = 0 ;
6213 void *argp1 = 0 ;
6214 int res1 = 0 ;
6215 PyObject *swig_obj[1] ;
6216
6217 if (!args) SWIG_fail;
6218 swig_obj[0] = args;
6219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6220 if (!SWIG_IsOK(res1)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6222 }
6223 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 {
6231 resultobj = wxPyMake_wxObject(result, 0);
6232 }
6233 return resultobj;
6234 fail:
6235 return NULL;
6236 }
6237
6238
6239 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6240 PyObject *obj;
6241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6242 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6243 return SWIG_Py_Void();
6244 }
6245
6246 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj = 0;
6248 wxWindow *arg1 = (wxWindow *) 0 ;
6249 int arg2 = (int) (int)-1 ;
6250 wxString const &arg3_defvalue = wxPyEmptyString ;
6251 wxString *arg3 = (wxString *) &arg3_defvalue ;
6252 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6253 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6254 wxSize const &arg5_defvalue = wxDefaultSize ;
6255 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6256 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6257 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6258 wxString *arg7 = (wxString *) &arg7_defvalue ;
6259 wxFrame *result = 0 ;
6260 void *argp1 = 0 ;
6261 int res1 = 0 ;
6262 int val2 ;
6263 int ecode2 = 0 ;
6264 bool temp3 = false ;
6265 wxPoint temp4 ;
6266 wxSize temp5 ;
6267 long val6 ;
6268 int ecode6 = 0 ;
6269 bool temp7 = false ;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 PyObject * obj2 = 0 ;
6273 PyObject * obj3 = 0 ;
6274 PyObject * obj4 = 0 ;
6275 PyObject * obj5 = 0 ;
6276 PyObject * obj6 = 0 ;
6277 char * kwnames[] = {
6278 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6279 };
6280
6281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6283 if (!SWIG_IsOK(res1)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6285 }
6286 arg1 = reinterpret_cast< wxWindow * >(argp1);
6287 if (obj1) {
6288 ecode2 = SWIG_AsVal_int(obj1, &val2);
6289 if (!SWIG_IsOK(ecode2)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6291 }
6292 arg2 = static_cast< int >(val2);
6293 }
6294 if (obj2) {
6295 {
6296 arg3 = wxString_in_helper(obj2);
6297 if (arg3 == NULL) SWIG_fail;
6298 temp3 = true;
6299 }
6300 }
6301 if (obj3) {
6302 {
6303 arg4 = &temp4;
6304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6305 }
6306 }
6307 if (obj4) {
6308 {
6309 arg5 = &temp5;
6310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6311 }
6312 }
6313 if (obj5) {
6314 ecode6 = SWIG_AsVal_long(obj5, &val6);
6315 if (!SWIG_IsOK(ecode6)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6317 }
6318 arg6 = static_cast< long >(val6);
6319 }
6320 if (obj6) {
6321 {
6322 arg7 = wxString_in_helper(obj6);
6323 if (arg7 == NULL) SWIG_fail;
6324 temp7 = true;
6325 }
6326 }
6327 {
6328 if (!wxPyCheckForApp()) SWIG_fail;
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6335 {
6336 if (temp3)
6337 delete arg3;
6338 }
6339 {
6340 if (temp7)
6341 delete arg7;
6342 }
6343 return resultobj;
6344 fail:
6345 {
6346 if (temp3)
6347 delete arg3;
6348 }
6349 {
6350 if (temp7)
6351 delete arg7;
6352 }
6353 return NULL;
6354 }
6355
6356
6357 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6358 PyObject *resultobj = 0;
6359 wxFrame *result = 0 ;
6360
6361 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6362 {
6363 if (!wxPyCheckForApp()) SWIG_fail;
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (wxFrame *)new wxFrame();
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj = 0;
6378 wxFrame *arg1 = (wxFrame *) 0 ;
6379 wxWindow *arg2 = (wxWindow *) 0 ;
6380 int arg3 = (int) (int)-1 ;
6381 wxString const &arg4_defvalue = wxPyEmptyString ;
6382 wxString *arg4 = (wxString *) &arg4_defvalue ;
6383 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6384 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6385 wxSize const &arg6_defvalue = wxDefaultSize ;
6386 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6387 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6388 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6389 wxString *arg8 = (wxString *) &arg8_defvalue ;
6390 bool result;
6391 void *argp1 = 0 ;
6392 int res1 = 0 ;
6393 void *argp2 = 0 ;
6394 int res2 = 0 ;
6395 int val3 ;
6396 int ecode3 = 0 ;
6397 bool temp4 = false ;
6398 wxPoint temp5 ;
6399 wxSize temp6 ;
6400 long val7 ;
6401 int ecode7 = 0 ;
6402 bool temp8 = false ;
6403 PyObject * obj0 = 0 ;
6404 PyObject * obj1 = 0 ;
6405 PyObject * obj2 = 0 ;
6406 PyObject * obj3 = 0 ;
6407 PyObject * obj4 = 0 ;
6408 PyObject * obj5 = 0 ;
6409 PyObject * obj6 = 0 ;
6410 PyObject * obj7 = 0 ;
6411 char * kwnames[] = {
6412 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6413 };
6414
6415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6417 if (!SWIG_IsOK(res1)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6419 }
6420 arg1 = reinterpret_cast< wxFrame * >(argp1);
6421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6422 if (!SWIG_IsOK(res2)) {
6423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6424 }
6425 arg2 = reinterpret_cast< wxWindow * >(argp2);
6426 if (obj2) {
6427 ecode3 = SWIG_AsVal_int(obj2, &val3);
6428 if (!SWIG_IsOK(ecode3)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6430 }
6431 arg3 = static_cast< int >(val3);
6432 }
6433 if (obj3) {
6434 {
6435 arg4 = wxString_in_helper(obj3);
6436 if (arg4 == NULL) SWIG_fail;
6437 temp4 = true;
6438 }
6439 }
6440 if (obj4) {
6441 {
6442 arg5 = &temp5;
6443 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6444 }
6445 }
6446 if (obj5) {
6447 {
6448 arg6 = &temp6;
6449 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6450 }
6451 }
6452 if (obj6) {
6453 ecode7 = SWIG_AsVal_long(obj6, &val7);
6454 if (!SWIG_IsOK(ecode7)) {
6455 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6456 }
6457 arg7 = static_cast< long >(val7);
6458 }
6459 if (obj7) {
6460 {
6461 arg8 = wxString_in_helper(obj7);
6462 if (arg8 == NULL) SWIG_fail;
6463 temp8 = true;
6464 }
6465 }
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 {
6473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6474 }
6475 {
6476 if (temp4)
6477 delete arg4;
6478 }
6479 {
6480 if (temp8)
6481 delete arg8;
6482 }
6483 return resultobj;
6484 fail:
6485 {
6486 if (temp4)
6487 delete arg4;
6488 }
6489 {
6490 if (temp8)
6491 delete arg8;
6492 }
6493 return NULL;
6494 }
6495
6496
6497 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6498 PyObject *resultobj = 0;
6499 wxFrame *arg1 = (wxFrame *) 0 ;
6500 void *argp1 = 0 ;
6501 int res1 = 0 ;
6502 PyObject *swig_obj[1] ;
6503
6504 if (!args) SWIG_fail;
6505 swig_obj[0] = args;
6506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6507 if (!SWIG_IsOK(res1)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6509 }
6510 arg1 = reinterpret_cast< wxFrame * >(argp1);
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->SendSizeEvent();
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 resultobj = SWIG_Py_Void();
6518 return resultobj;
6519 fail:
6520 return NULL;
6521 }
6522
6523
6524 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6525 PyObject *resultobj = 0;
6526 wxFrame *arg1 = (wxFrame *) 0 ;
6527 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6528 void *argp1 = 0 ;
6529 int res1 = 0 ;
6530 void *argp2 = 0 ;
6531 int res2 = 0 ;
6532 PyObject * obj0 = 0 ;
6533 PyObject * obj1 = 0 ;
6534 char * kwnames[] = {
6535 (char *) "self",(char *) "menubar", NULL
6536 };
6537
6538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 }
6543 arg1 = reinterpret_cast< wxFrame * >(argp1);
6544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6545 if (!SWIG_IsOK(res2)) {
6546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6547 }
6548 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SetMenuBar(arg2);
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 resultobj = SWIG_Py_Void();
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6563 PyObject *resultobj = 0;
6564 wxFrame *arg1 = (wxFrame *) 0 ;
6565 wxMenuBar *result = 0 ;
6566 void *argp1 = 0 ;
6567 int res1 = 0 ;
6568 PyObject *swig_obj[1] ;
6569
6570 if (!args) SWIG_fail;
6571 swig_obj[0] = args;
6572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6573 if (!SWIG_IsOK(res1)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6575 }
6576 arg1 = reinterpret_cast< wxFrame * >(argp1);
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 {
6584 resultobj = wxPyMake_wxObject(result, 0);
6585 }
6586 return resultobj;
6587 fail:
6588 return NULL;
6589 }
6590
6591
6592 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj = 0;
6594 wxFrame *arg1 = (wxFrame *) 0 ;
6595 int arg2 ;
6596 bool result;
6597 void *argp1 = 0 ;
6598 int res1 = 0 ;
6599 int val2 ;
6600 int ecode2 = 0 ;
6601 PyObject * obj0 = 0 ;
6602 PyObject * obj1 = 0 ;
6603 char * kwnames[] = {
6604 (char *) "self",(char *) "winid", NULL
6605 };
6606
6607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6609 if (!SWIG_IsOK(res1)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6611 }
6612 arg1 = reinterpret_cast< wxFrame * >(argp1);
6613 ecode2 = SWIG_AsVal_int(obj1, &val2);
6614 if (!SWIG_IsOK(ecode2)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6616 }
6617 arg2 = static_cast< int >(val2);
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (bool)(arg1)->ProcessCommand(arg2);
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6626 }
6627 return resultobj;
6628 fail:
6629 return NULL;
6630 }
6631
6632
6633 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj = 0;
6635 wxFrame *arg1 = (wxFrame *) 0 ;
6636 int arg2 = (int) 1 ;
6637 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6638 int arg4 = (int) 0 ;
6639 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6640 wxString *arg5 = (wxString *) &arg5_defvalue ;
6641 wxStatusBar *result = 0 ;
6642 void *argp1 = 0 ;
6643 int res1 = 0 ;
6644 int val2 ;
6645 int ecode2 = 0 ;
6646 long val3 ;
6647 int ecode3 = 0 ;
6648 int val4 ;
6649 int ecode4 = 0 ;
6650 bool temp5 = false ;
6651 PyObject * obj0 = 0 ;
6652 PyObject * obj1 = 0 ;
6653 PyObject * obj2 = 0 ;
6654 PyObject * obj3 = 0 ;
6655 PyObject * obj4 = 0 ;
6656 char * kwnames[] = {
6657 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6658 };
6659
6660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6662 if (!SWIG_IsOK(res1)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6664 }
6665 arg1 = reinterpret_cast< wxFrame * >(argp1);
6666 if (obj1) {
6667 ecode2 = SWIG_AsVal_int(obj1, &val2);
6668 if (!SWIG_IsOK(ecode2)) {
6669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6670 }
6671 arg2 = static_cast< int >(val2);
6672 }
6673 if (obj2) {
6674 ecode3 = SWIG_AsVal_long(obj2, &val3);
6675 if (!SWIG_IsOK(ecode3)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6677 }
6678 arg3 = static_cast< long >(val3);
6679 }
6680 if (obj3) {
6681 ecode4 = SWIG_AsVal_int(obj3, &val4);
6682 if (!SWIG_IsOK(ecode4)) {
6683 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6684 }
6685 arg4 = static_cast< int >(val4);
6686 }
6687 if (obj4) {
6688 {
6689 arg5 = wxString_in_helper(obj4);
6690 if (arg5 == NULL) SWIG_fail;
6691 temp5 = true;
6692 }
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 {
6701 resultobj = wxPyMake_wxObject(result, (bool)0);
6702 }
6703 {
6704 if (temp5)
6705 delete arg5;
6706 }
6707 return resultobj;
6708 fail:
6709 {
6710 if (temp5)
6711 delete arg5;
6712 }
6713 return NULL;
6714 }
6715
6716
6717 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6718 PyObject *resultobj = 0;
6719 wxFrame *arg1 = (wxFrame *) 0 ;
6720 wxStatusBar *result = 0 ;
6721 void *argp1 = 0 ;
6722 int res1 = 0 ;
6723 PyObject *swig_obj[1] ;
6724
6725 if (!args) SWIG_fail;
6726 swig_obj[0] = args;
6727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6728 if (!SWIG_IsOK(res1)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6730 }
6731 arg1 = reinterpret_cast< wxFrame * >(argp1);
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 resultobj = wxPyMake_wxObject(result, (bool)0);
6740 }
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj = 0;
6749 wxFrame *arg1 = (wxFrame *) 0 ;
6750 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6751 void *argp1 = 0 ;
6752 int res1 = 0 ;
6753 void *argp2 = 0 ;
6754 int res2 = 0 ;
6755 PyObject * obj0 = 0 ;
6756 PyObject * obj1 = 0 ;
6757 char * kwnames[] = {
6758 (char *) "self",(char *) "statBar", NULL
6759 };
6760
6761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6763 if (!SWIG_IsOK(res1)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6765 }
6766 arg1 = reinterpret_cast< wxFrame * >(argp1);
6767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6768 if (!SWIG_IsOK(res2)) {
6769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6770 }
6771 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 (arg1)->SetStatusBar(arg2);
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_Py_Void();
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj = 0;
6787 wxFrame *arg1 = (wxFrame *) 0 ;
6788 wxString *arg2 = 0 ;
6789 int arg3 = (int) 0 ;
6790 void *argp1 = 0 ;
6791 int res1 = 0 ;
6792 bool temp2 = false ;
6793 int val3 ;
6794 int ecode3 = 0 ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 char * kwnames[] = {
6799 (char *) "self",(char *) "text",(char *) "number", NULL
6800 };
6801
6802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6804 if (!SWIG_IsOK(res1)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6806 }
6807 arg1 = reinterpret_cast< wxFrame * >(argp1);
6808 {
6809 arg2 = wxString_in_helper(obj1);
6810 if (arg2 == NULL) SWIG_fail;
6811 temp2 = true;
6812 }
6813 if (obj2) {
6814 ecode3 = SWIG_AsVal_int(obj2, &val3);
6815 if (!SWIG_IsOK(ecode3)) {
6816 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6817 }
6818 arg3 = static_cast< int >(val3);
6819 }
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = SWIG_Py_Void();
6827 {
6828 if (temp2)
6829 delete arg2;
6830 }
6831 return resultobj;
6832 fail:
6833 {
6834 if (temp2)
6835 delete arg2;
6836 }
6837 return NULL;
6838 }
6839
6840
6841 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj = 0;
6843 wxFrame *arg1 = (wxFrame *) 0 ;
6844 int arg2 ;
6845 int *arg3 = (int *) 0 ;
6846 void *argp1 = 0 ;
6847 int res1 = 0 ;
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char * kwnames[] = {
6851 (char *) "self",(char *) "widths", NULL
6852 };
6853
6854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6856 if (!SWIG_IsOK(res1)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6858 }
6859 arg1 = reinterpret_cast< wxFrame * >(argp1);
6860 {
6861 arg2 = PyList_Size(obj1);
6862 arg3 = int_LIST_helper(obj1);
6863 if (arg3 == NULL) SWIG_fail;
6864 }
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = SWIG_Py_Void();
6872 {
6873 if (arg3) delete [] arg3;
6874 }
6875 return resultobj;
6876 fail:
6877 {
6878 if (arg3) delete [] arg3;
6879 }
6880 return NULL;
6881 }
6882
6883
6884 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj = 0;
6886 wxFrame *arg1 = (wxFrame *) 0 ;
6887 wxString *arg2 = 0 ;
6888 int arg3 = (int) 0 ;
6889 void *argp1 = 0 ;
6890 int res1 = 0 ;
6891 bool temp2 = false ;
6892 int val3 ;
6893 int ecode3 = 0 ;
6894 PyObject * obj0 = 0 ;
6895 PyObject * obj1 = 0 ;
6896 PyObject * obj2 = 0 ;
6897 char * kwnames[] = {
6898 (char *) "self",(char *) "text",(char *) "number", NULL
6899 };
6900
6901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6903 if (!SWIG_IsOK(res1)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6905 }
6906 arg1 = reinterpret_cast< wxFrame * >(argp1);
6907 {
6908 arg2 = wxString_in_helper(obj1);
6909 if (arg2 == NULL) SWIG_fail;
6910 temp2 = true;
6911 }
6912 if (obj2) {
6913 ecode3 = SWIG_AsVal_int(obj2, &val3);
6914 if (!SWIG_IsOK(ecode3)) {
6915 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6916 }
6917 arg3 = static_cast< int >(val3);
6918 }
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 resultobj = SWIG_Py_Void();
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return resultobj;
6931 fail:
6932 {
6933 if (temp2)
6934 delete arg2;
6935 }
6936 return NULL;
6937 }
6938
6939
6940 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj = 0;
6942 wxFrame *arg1 = (wxFrame *) 0 ;
6943 int arg2 = (int) 0 ;
6944 void *argp1 = 0 ;
6945 int res1 = 0 ;
6946 int val2 ;
6947 int ecode2 = 0 ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 char * kwnames[] = {
6951 (char *) "self",(char *) "number", NULL
6952 };
6953
6954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6956 if (!SWIG_IsOK(res1)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6958 }
6959 arg1 = reinterpret_cast< wxFrame * >(argp1);
6960 if (obj1) {
6961 ecode2 = SWIG_AsVal_int(obj1, &val2);
6962 if (!SWIG_IsOK(ecode2)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6964 }
6965 arg2 = static_cast< int >(val2);
6966 }
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 (arg1)->PopStatusText(arg2);
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 resultobj = SWIG_Py_Void();
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6981 PyObject *resultobj = 0;
6982 wxFrame *arg1 = (wxFrame *) 0 ;
6983 int arg2 ;
6984 void *argp1 = 0 ;
6985 int res1 = 0 ;
6986 int val2 ;
6987 int ecode2 = 0 ;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 char * kwnames[] = {
6991 (char *) "self",(char *) "n", NULL
6992 };
6993
6994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6996 if (!SWIG_IsOK(res1)) {
6997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6998 }
6999 arg1 = reinterpret_cast< wxFrame * >(argp1);
7000 ecode2 = SWIG_AsVal_int(obj1, &val2);
7001 if (!SWIG_IsOK(ecode2)) {
7002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7003 }
7004 arg2 = static_cast< int >(val2);
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 (arg1)->SetStatusBarPane(arg2);
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 resultobj = SWIG_Py_Void();
7012 return resultobj;
7013 fail:
7014 return NULL;
7015 }
7016
7017
7018 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7019 PyObject *resultobj = 0;
7020 wxFrame *arg1 = (wxFrame *) 0 ;
7021 int result;
7022 void *argp1 = 0 ;
7023 int res1 = 0 ;
7024 PyObject *swig_obj[1] ;
7025
7026 if (!args) SWIG_fail;
7027 swig_obj[0] = args;
7028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7029 if (!SWIG_IsOK(res1)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7031 }
7032 arg1 = reinterpret_cast< wxFrame * >(argp1);
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = SWIG_From_int(static_cast< int >(result));
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj = 0;
7048 wxFrame *arg1 = (wxFrame *) 0 ;
7049 long arg2 = (long) -1 ;
7050 int arg3 = (int) -1 ;
7051 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7052 wxString *arg4 = (wxString *) &arg4_defvalue ;
7053 wxToolBar *result = 0 ;
7054 void *argp1 = 0 ;
7055 int res1 = 0 ;
7056 long val2 ;
7057 int ecode2 = 0 ;
7058 int val3 ;
7059 int ecode3 = 0 ;
7060 bool temp4 = false ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 PyObject * obj2 = 0 ;
7064 PyObject * obj3 = 0 ;
7065 char * kwnames[] = {
7066 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7067 };
7068
7069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7071 if (!SWIG_IsOK(res1)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7073 }
7074 arg1 = reinterpret_cast< wxFrame * >(argp1);
7075 if (obj1) {
7076 ecode2 = SWIG_AsVal_long(obj1, &val2);
7077 if (!SWIG_IsOK(ecode2)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7079 }
7080 arg2 = static_cast< long >(val2);
7081 }
7082 if (obj2) {
7083 ecode3 = SWIG_AsVal_int(obj2, &val3);
7084 if (!SWIG_IsOK(ecode3)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7086 }
7087 arg3 = static_cast< int >(val3);
7088 }
7089 if (obj3) {
7090 {
7091 arg4 = wxString_in_helper(obj3);
7092 if (arg4 == NULL) SWIG_fail;
7093 temp4 = true;
7094 }
7095 }
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7099 wxPyEndAllowThreads(__tstate);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 }
7102 {
7103 resultobj = wxPyMake_wxObject(result, (bool)0);
7104 }
7105 {
7106 if (temp4)
7107 delete arg4;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp4)
7113 delete arg4;
7114 }
7115 return NULL;
7116 }
7117
7118
7119 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7120 PyObject *resultobj = 0;
7121 wxFrame *arg1 = (wxFrame *) 0 ;
7122 wxToolBar *result = 0 ;
7123 void *argp1 = 0 ;
7124 int res1 = 0 ;
7125 PyObject *swig_obj[1] ;
7126
7127 if (!args) SWIG_fail;
7128 swig_obj[0] = args;
7129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7130 if (!SWIG_IsOK(res1)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7132 }
7133 arg1 = reinterpret_cast< wxFrame * >(argp1);
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 {
7141 resultobj = wxPyMake_wxObject(result, (bool)0);
7142 }
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj = 0;
7151 wxFrame *arg1 = (wxFrame *) 0 ;
7152 wxToolBar *arg2 = (wxToolBar *) 0 ;
7153 void *argp1 = 0 ;
7154 int res1 = 0 ;
7155 void *argp2 = 0 ;
7156 int res2 = 0 ;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 char * kwnames[] = {
7160 (char *) "self",(char *) "toolbar", NULL
7161 };
7162
7163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7165 if (!SWIG_IsOK(res1)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7167 }
7168 arg1 = reinterpret_cast< wxFrame * >(argp1);
7169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7170 if (!SWIG_IsOK(res2)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7172 }
7173 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetToolBar(arg2);
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 resultobj = SWIG_Py_Void();
7181 return resultobj;
7182 fail:
7183 return NULL;
7184 }
7185
7186
7187 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj = 0;
7189 wxFrame *arg1 = (wxFrame *) 0 ;
7190 wxString *arg2 = 0 ;
7191 bool arg3 ;
7192 void *argp1 = 0 ;
7193 int res1 = 0 ;
7194 bool temp2 = false ;
7195 bool val3 ;
7196 int ecode3 = 0 ;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 PyObject * obj2 = 0 ;
7200 char * kwnames[] = {
7201 (char *) "self",(char *) "text",(char *) "show", NULL
7202 };
7203
7204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7208 }
7209 arg1 = reinterpret_cast< wxFrame * >(argp1);
7210 {
7211 arg2 = wxString_in_helper(obj1);
7212 if (arg2 == NULL) SWIG_fail;
7213 temp2 = true;
7214 }
7215 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7216 if (!SWIG_IsOK(ecode3)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7218 }
7219 arg3 = static_cast< bool >(val3);
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 resultobj = SWIG_Py_Void();
7227 {
7228 if (temp2)
7229 delete arg2;
7230 }
7231 return resultobj;
7232 fail:
7233 {
7234 if (temp2)
7235 delete arg2;
7236 }
7237 return NULL;
7238 }
7239
7240
7241 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj = 0;
7243 wxFrame *arg1 = (wxFrame *) 0 ;
7244 wxMenu *arg2 = (wxMenu *) NULL ;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 void *argp2 = 0 ;
7248 int res2 = 0 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char * kwnames[] = {
7252 (char *) "self",(char *) "menu", NULL
7253 };
7254
7255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7257 if (!SWIG_IsOK(res1)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7259 }
7260 arg1 = reinterpret_cast< wxFrame * >(argp1);
7261 if (obj1) {
7262 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7263 if (!SWIG_IsOK(res2)) {
7264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7265 }
7266 arg2 = reinterpret_cast< wxMenu * >(argp2);
7267 }
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 (arg1)->DoMenuUpdates(arg2);
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 resultobj = SWIG_Py_Void();
7275 return resultobj;
7276 fail:
7277 return NULL;
7278 }
7279
7280
7281 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj = 0;
7283 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7284 SwigValueWrapper<wxVisualAttributes > result;
7285 int val1 ;
7286 int ecode1 = 0 ;
7287 PyObject * obj0 = 0 ;
7288 char * kwnames[] = {
7289 (char *) "variant", NULL
7290 };
7291
7292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7293 if (obj0) {
7294 ecode1 = SWIG_AsVal_int(obj0, &val1);
7295 if (!SWIG_IsOK(ecode1)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7297 }
7298 arg1 = static_cast< wxWindowVariant >(val1);
7299 }
7300 {
7301 if (!wxPyCheckForApp()) SWIG_fail;
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 result = wxFrame::GetClassDefaultAttributes(arg1);
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7308 return resultobj;
7309 fail:
7310 return NULL;
7311 }
7312
7313
7314 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7315 PyObject *obj;
7316 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7317 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7318 return SWIG_Py_Void();
7319 }
7320
7321 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7322 return SWIG_Python_InitShadowInstance(args);
7323 }
7324
7325 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj = 0;
7327 wxWindow *arg1 = (wxWindow *) 0 ;
7328 int arg2 = (int) (int)-1 ;
7329 wxString const &arg3_defvalue = wxPyEmptyString ;
7330 wxString *arg3 = (wxString *) &arg3_defvalue ;
7331 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7332 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7333 wxSize const &arg5_defvalue = wxDefaultSize ;
7334 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7335 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7336 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7337 wxString *arg7 = (wxString *) &arg7_defvalue ;
7338 wxDialog *result = 0 ;
7339 void *argp1 = 0 ;
7340 int res1 = 0 ;
7341 int val2 ;
7342 int ecode2 = 0 ;
7343 bool temp3 = false ;
7344 wxPoint temp4 ;
7345 wxSize temp5 ;
7346 long val6 ;
7347 int ecode6 = 0 ;
7348 bool temp7 = false ;
7349 PyObject * obj0 = 0 ;
7350 PyObject * obj1 = 0 ;
7351 PyObject * obj2 = 0 ;
7352 PyObject * obj3 = 0 ;
7353 PyObject * obj4 = 0 ;
7354 PyObject * obj5 = 0 ;
7355 PyObject * obj6 = 0 ;
7356 char * kwnames[] = {
7357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7358 };
7359
7360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7362 if (!SWIG_IsOK(res1)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7364 }
7365 arg1 = reinterpret_cast< wxWindow * >(argp1);
7366 if (obj1) {
7367 ecode2 = SWIG_AsVal_int(obj1, &val2);
7368 if (!SWIG_IsOK(ecode2)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7370 }
7371 arg2 = static_cast< int >(val2);
7372 }
7373 if (obj2) {
7374 {
7375 arg3 = wxString_in_helper(obj2);
7376 if (arg3 == NULL) SWIG_fail;
7377 temp3 = true;
7378 }
7379 }
7380 if (obj3) {
7381 {
7382 arg4 = &temp4;
7383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7384 }
7385 }
7386 if (obj4) {
7387 {
7388 arg5 = &temp5;
7389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7390 }
7391 }
7392 if (obj5) {
7393 ecode6 = SWIG_AsVal_long(obj5, &val6);
7394 if (!SWIG_IsOK(ecode6)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7396 }
7397 arg6 = static_cast< long >(val6);
7398 }
7399 if (obj6) {
7400 {
7401 arg7 = wxString_in_helper(obj6);
7402 if (arg7 == NULL) SWIG_fail;
7403 temp7 = true;
7404 }
7405 }
7406 {
7407 if (!wxPyCheckForApp()) SWIG_fail;
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7414 {
7415 if (temp3)
7416 delete arg3;
7417 }
7418 {
7419 if (temp7)
7420 delete arg7;
7421 }
7422 return resultobj;
7423 fail:
7424 {
7425 if (temp3)
7426 delete arg3;
7427 }
7428 {
7429 if (temp7)
7430 delete arg7;
7431 }
7432 return NULL;
7433 }
7434
7435
7436 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7437 PyObject *resultobj = 0;
7438 wxDialog *result = 0 ;
7439
7440 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7441 {
7442 if (!wxPyCheckForApp()) SWIG_fail;
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (wxDialog *)new wxDialog();
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj = 0;
7457 wxDialog *arg1 = (wxDialog *) 0 ;
7458 wxWindow *arg2 = (wxWindow *) 0 ;
7459 int arg3 = (int) (int)-1 ;
7460 wxString const &arg4_defvalue = wxPyEmptyString ;
7461 wxString *arg4 = (wxString *) &arg4_defvalue ;
7462 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7463 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7464 wxSize const &arg6_defvalue = wxDefaultSize ;
7465 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7466 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7467 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7468 wxString *arg8 = (wxString *) &arg8_defvalue ;
7469 bool result;
7470 void *argp1 = 0 ;
7471 int res1 = 0 ;
7472 void *argp2 = 0 ;
7473 int res2 = 0 ;
7474 int val3 ;
7475 int ecode3 = 0 ;
7476 bool temp4 = false ;
7477 wxPoint temp5 ;
7478 wxSize temp6 ;
7479 long val7 ;
7480 int ecode7 = 0 ;
7481 bool temp8 = false ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7484 PyObject * obj2 = 0 ;
7485 PyObject * obj3 = 0 ;
7486 PyObject * obj4 = 0 ;
7487 PyObject * obj5 = 0 ;
7488 PyObject * obj6 = 0 ;
7489 PyObject * obj7 = 0 ;
7490 char * kwnames[] = {
7491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7492 };
7493
7494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7496 if (!SWIG_IsOK(res1)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7498 }
7499 arg1 = reinterpret_cast< wxDialog * >(argp1);
7500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7501 if (!SWIG_IsOK(res2)) {
7502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7503 }
7504 arg2 = reinterpret_cast< wxWindow * >(argp2);
7505 if (obj2) {
7506 ecode3 = SWIG_AsVal_int(obj2, &val3);
7507 if (!SWIG_IsOK(ecode3)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7509 }
7510 arg3 = static_cast< int >(val3);
7511 }
7512 if (obj3) {
7513 {
7514 arg4 = wxString_in_helper(obj3);
7515 if (arg4 == NULL) SWIG_fail;
7516 temp4 = true;
7517 }
7518 }
7519 if (obj4) {
7520 {
7521 arg5 = &temp5;
7522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7523 }
7524 }
7525 if (obj5) {
7526 {
7527 arg6 = &temp6;
7528 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7529 }
7530 }
7531 if (obj6) {
7532 ecode7 = SWIG_AsVal_long(obj6, &val7);
7533 if (!SWIG_IsOK(ecode7)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7535 }
7536 arg7 = static_cast< long >(val7);
7537 }
7538 if (obj7) {
7539 {
7540 arg8 = wxString_in_helper(obj7);
7541 if (arg8 == NULL) SWIG_fail;
7542 temp8 = true;
7543 }
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 {
7552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7553 }
7554 {
7555 if (temp4)
7556 delete arg4;
7557 }
7558 {
7559 if (temp8)
7560 delete arg8;
7561 }
7562 return resultobj;
7563 fail:
7564 {
7565 if (temp4)
7566 delete arg4;
7567 }
7568 {
7569 if (temp8)
7570 delete arg8;
7571 }
7572 return NULL;
7573 }
7574
7575
7576 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj = 0;
7578 wxDialog *arg1 = (wxDialog *) 0 ;
7579 int arg2 ;
7580 void *argp1 = 0 ;
7581 int res1 = 0 ;
7582 int val2 ;
7583 int ecode2 = 0 ;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586 char * kwnames[] = {
7587 (char *) "self",(char *) "returnCode", NULL
7588 };
7589
7590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7592 if (!SWIG_IsOK(res1)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 }
7595 arg1 = reinterpret_cast< wxDialog * >(argp1);
7596 ecode2 = SWIG_AsVal_int(obj1, &val2);
7597 if (!SWIG_IsOK(ecode2)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7599 }
7600 arg2 = static_cast< int >(val2);
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 (arg1)->SetReturnCode(arg2);
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 resultobj = SWIG_Py_Void();
7608 return resultobj;
7609 fail:
7610 return NULL;
7611 }
7612
7613
7614 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7615 PyObject *resultobj = 0;
7616 wxDialog *arg1 = (wxDialog *) 0 ;
7617 int result;
7618 void *argp1 = 0 ;
7619 int res1 = 0 ;
7620 PyObject *swig_obj[1] ;
7621
7622 if (!args) SWIG_fail;
7623 swig_obj[0] = args;
7624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7625 if (!SWIG_IsOK(res1)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7627 }
7628 arg1 = reinterpret_cast< wxDialog * >(argp1);
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_From_int(static_cast< int >(result));
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj = 0;
7644 wxDialog *arg1 = (wxDialog *) 0 ;
7645 int arg2 ;
7646 void *argp1 = 0 ;
7647 int res1 = 0 ;
7648 int val2 ;
7649 int ecode2 = 0 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char * kwnames[] = {
7653 (char *) "self",(char *) "affirmativeId", NULL
7654 };
7655
7656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7658 if (!SWIG_IsOK(res1)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 }
7661 arg1 = reinterpret_cast< wxDialog * >(argp1);
7662 ecode2 = SWIG_AsVal_int(obj1, &val2);
7663 if (!SWIG_IsOK(ecode2)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7665 }
7666 arg2 = static_cast< int >(val2);
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->SetAffirmativeId(arg2);
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 resultobj = SWIG_Py_Void();
7674 return resultobj;
7675 fail:
7676 return NULL;
7677 }
7678
7679
7680 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7681 PyObject *resultobj = 0;
7682 wxDialog *arg1 = (wxDialog *) 0 ;
7683 int result;
7684 void *argp1 = 0 ;
7685 int res1 = 0 ;
7686 PyObject *swig_obj[1] ;
7687
7688 if (!args) SWIG_fail;
7689 swig_obj[0] = args;
7690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7691 if (!SWIG_IsOK(res1)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7693 }
7694 arg1 = reinterpret_cast< wxDialog * >(argp1);
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7698 wxPyEndAllowThreads(__tstate);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 resultobj = SWIG_From_int(static_cast< int >(result));
7702 return resultobj;
7703 fail:
7704 return NULL;
7705 }
7706
7707
7708 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj = 0;
7710 wxDialog *arg1 = (wxDialog *) 0 ;
7711 int arg2 ;
7712 void *argp1 = 0 ;
7713 int res1 = 0 ;
7714 int val2 ;
7715 int ecode2 = 0 ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 char * kwnames[] = {
7719 (char *) "self",(char *) "escapeId", NULL
7720 };
7721
7722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7724 if (!SWIG_IsOK(res1)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7726 }
7727 arg1 = reinterpret_cast< wxDialog * >(argp1);
7728 ecode2 = SWIG_AsVal_int(obj1, &val2);
7729 if (!SWIG_IsOK(ecode2)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7731 }
7732 arg2 = static_cast< int >(val2);
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 (arg1)->SetEscapeId(arg2);
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 resultobj = SWIG_Py_Void();
7740 return resultobj;
7741 fail:
7742 return NULL;
7743 }
7744
7745
7746 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7747 PyObject *resultobj = 0;
7748 wxDialog *arg1 = (wxDialog *) 0 ;
7749 int result;
7750 void *argp1 = 0 ;
7751 int res1 = 0 ;
7752 PyObject *swig_obj[1] ;
7753
7754 if (!args) SWIG_fail;
7755 swig_obj[0] = args;
7756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7757 if (!SWIG_IsOK(res1)) {
7758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7759 }
7760 arg1 = reinterpret_cast< wxDialog * >(argp1);
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = SWIG_From_int(static_cast< int >(result));
7768 return resultobj;
7769 fail:
7770 return NULL;
7771 }
7772
7773
7774 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj = 0;
7776 wxDialog *arg1 = (wxDialog *) 0 ;
7777 wxString *arg2 = 0 ;
7778 wxSizer *result = 0 ;
7779 void *argp1 = 0 ;
7780 int res1 = 0 ;
7781 bool temp2 = false ;
7782 PyObject * obj0 = 0 ;
7783 PyObject * obj1 = 0 ;
7784 char * kwnames[] = {
7785 (char *) "self",(char *) "message", NULL
7786 };
7787
7788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7790 if (!SWIG_IsOK(res1)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7792 }
7793 arg1 = reinterpret_cast< wxDialog * >(argp1);
7794 {
7795 arg2 = wxString_in_helper(obj1);
7796 if (arg2 == NULL) SWIG_fail;
7797 temp2 = true;
7798 }
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 {
7806 resultobj = wxPyMake_wxObject(result, (bool)0);
7807 }
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return resultobj;
7813 fail:
7814 {
7815 if (temp2)
7816 delete arg2;
7817 }
7818 return NULL;
7819 }
7820
7821
7822 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj = 0;
7824 wxDialog *arg1 = (wxDialog *) 0 ;
7825 long arg2 ;
7826 wxSizer *result = 0 ;
7827 void *argp1 = 0 ;
7828 int res1 = 0 ;
7829 long val2 ;
7830 int ecode2 = 0 ;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 char * kwnames[] = {
7834 (char *) "self",(char *) "flags", NULL
7835 };
7836
7837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7839 if (!SWIG_IsOK(res1)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7841 }
7842 arg1 = reinterpret_cast< wxDialog * >(argp1);
7843 ecode2 = SWIG_AsVal_long(obj1, &val2);
7844 if (!SWIG_IsOK(ecode2)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7846 }
7847 arg2 = static_cast< long >(val2);
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 {
7855 resultobj = wxPyMake_wxObject(result, (bool)0);
7856 }
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj = 0;
7865 wxDialog *arg1 = (wxDialog *) 0 ;
7866 long arg2 ;
7867 wxSizer *result = 0 ;
7868 void *argp1 = 0 ;
7869 int res1 = 0 ;
7870 long val2 ;
7871 int ecode2 = 0 ;
7872 PyObject * obj0 = 0 ;
7873 PyObject * obj1 = 0 ;
7874 char * kwnames[] = {
7875 (char *) "self",(char *) "flags", NULL
7876 };
7877
7878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7880 if (!SWIG_IsOK(res1)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7882 }
7883 arg1 = reinterpret_cast< wxDialog * >(argp1);
7884 ecode2 = SWIG_AsVal_long(obj1, &val2);
7885 if (!SWIG_IsOK(ecode2)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7887 }
7888 arg2 = static_cast< long >(val2);
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 {
7896 resultobj = wxPyMake_wxObject(result, (bool)0);
7897 }
7898 return resultobj;
7899 fail:
7900 return NULL;
7901 }
7902
7903
7904 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj = 0;
7906 wxDialog *arg1 = (wxDialog *) 0 ;
7907 long arg2 ;
7908 wxStdDialogButtonSizer *result = 0 ;
7909 void *argp1 = 0 ;
7910 int res1 = 0 ;
7911 long val2 ;
7912 int ecode2 = 0 ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 char * kwnames[] = {
7916 (char *) "self",(char *) "flags", NULL
7917 };
7918
7919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7921 if (!SWIG_IsOK(res1)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7923 }
7924 arg1 = reinterpret_cast< wxDialog * >(argp1);
7925 ecode2 = SWIG_AsVal_long(obj1, &val2);
7926 if (!SWIG_IsOK(ecode2)) {
7927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7928 }
7929 arg2 = static_cast< long >(val2);
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7937 return resultobj;
7938 fail:
7939 return NULL;
7940 }
7941
7942
7943 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7944 PyObject *resultobj = 0;
7945 wxDialog *arg1 = (wxDialog *) 0 ;
7946 bool result;
7947 void *argp1 = 0 ;
7948 int res1 = 0 ;
7949 PyObject *swig_obj[1] ;
7950
7951 if (!args) SWIG_fail;
7952 swig_obj[0] = args;
7953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7954 if (!SWIG_IsOK(res1)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7956 }
7957 arg1 = reinterpret_cast< wxDialog * >(argp1);
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 result = (bool)((wxDialog const *)arg1)->IsModal();
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 {
7965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7966 }
7967 return resultobj;
7968 fail:
7969 return NULL;
7970 }
7971
7972
7973 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7974 PyObject *resultobj = 0;
7975 wxDialog *arg1 = (wxDialog *) 0 ;
7976 int result;
7977 void *argp1 = 0 ;
7978 int res1 = 0 ;
7979 PyObject *swig_obj[1] ;
7980
7981 if (!args) SWIG_fail;
7982 swig_obj[0] = args;
7983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7984 if (!SWIG_IsOK(res1)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7986 }
7987 arg1 = reinterpret_cast< wxDialog * >(argp1);
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (int)(arg1)->ShowModal();
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 resultobj = SWIG_From_int(static_cast< int >(result));
7995 return resultobj;
7996 fail:
7997 return NULL;
7998 }
7999
8000
8001 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj = 0;
8003 wxDialog *arg1 = (wxDialog *) 0 ;
8004 int arg2 ;
8005 void *argp1 = 0 ;
8006 int res1 = 0 ;
8007 int val2 ;
8008 int ecode2 = 0 ;
8009 PyObject * obj0 = 0 ;
8010 PyObject * obj1 = 0 ;
8011 char * kwnames[] = {
8012 (char *) "self",(char *) "retCode", NULL
8013 };
8014
8015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8017 if (!SWIG_IsOK(res1)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8019 }
8020 arg1 = reinterpret_cast< wxDialog * >(argp1);
8021 ecode2 = SWIG_AsVal_int(obj1, &val2);
8022 if (!SWIG_IsOK(ecode2)) {
8023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8024 }
8025 arg2 = static_cast< int >(val2);
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->EndModal(arg2);
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 resultobj = SWIG_Py_Void();
8033 return resultobj;
8034 fail:
8035 return NULL;
8036 }
8037
8038
8039 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj = 0;
8041 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8042 SwigValueWrapper<wxVisualAttributes > result;
8043 int val1 ;
8044 int ecode1 = 0 ;
8045 PyObject * obj0 = 0 ;
8046 char * kwnames[] = {
8047 (char *) "variant", NULL
8048 };
8049
8050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8051 if (obj0) {
8052 ecode1 = SWIG_AsVal_int(obj0, &val1);
8053 if (!SWIG_IsOK(ecode1)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8055 }
8056 arg1 = static_cast< wxWindowVariant >(val1);
8057 }
8058 {
8059 if (!wxPyCheckForApp()) SWIG_fail;
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = wxDialog::GetClassDefaultAttributes(arg1);
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8073 PyObject *obj;
8074 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8075 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8076 return SWIG_Py_Void();
8077 }
8078
8079 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8080 return SWIG_Python_InitShadowInstance(args);
8081 }
8082
8083 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj = 0;
8085 wxWindow *arg1 = (wxWindow *) 0 ;
8086 int arg2 = (int) (int)-1 ;
8087 wxString const &arg3_defvalue = wxPyEmptyString ;
8088 wxString *arg3 = (wxString *) &arg3_defvalue ;
8089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8091 wxSize const &arg5_defvalue = wxDefaultSize ;
8092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8093 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8094 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8095 wxString *arg7 = (wxString *) &arg7_defvalue ;
8096 wxMiniFrame *result = 0 ;
8097 void *argp1 = 0 ;
8098 int res1 = 0 ;
8099 int val2 ;
8100 int ecode2 = 0 ;
8101 bool temp3 = false ;
8102 wxPoint temp4 ;
8103 wxSize temp5 ;
8104 long val6 ;
8105 int ecode6 = 0 ;
8106 bool temp7 = false ;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 PyObject * obj2 = 0 ;
8110 PyObject * obj3 = 0 ;
8111 PyObject * obj4 = 0 ;
8112 PyObject * obj5 = 0 ;
8113 PyObject * obj6 = 0 ;
8114 char * kwnames[] = {
8115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8116 };
8117
8118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8120 if (!SWIG_IsOK(res1)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8122 }
8123 arg1 = reinterpret_cast< wxWindow * >(argp1);
8124 if (obj1) {
8125 ecode2 = SWIG_AsVal_int(obj1, &val2);
8126 if (!SWIG_IsOK(ecode2)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8128 }
8129 arg2 = static_cast< int >(val2);
8130 }
8131 if (obj2) {
8132 {
8133 arg3 = wxString_in_helper(obj2);
8134 if (arg3 == NULL) SWIG_fail;
8135 temp3 = true;
8136 }
8137 }
8138 if (obj3) {
8139 {
8140 arg4 = &temp4;
8141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8142 }
8143 }
8144 if (obj4) {
8145 {
8146 arg5 = &temp5;
8147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8148 }
8149 }
8150 if (obj5) {
8151 ecode6 = SWIG_AsVal_long(obj5, &val6);
8152 if (!SWIG_IsOK(ecode6)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8154 }
8155 arg6 = static_cast< long >(val6);
8156 }
8157 if (obj6) {
8158 {
8159 arg7 = wxString_in_helper(obj6);
8160 if (arg7 == NULL) SWIG_fail;
8161 temp7 = true;
8162 }
8163 }
8164 {
8165 if (!wxPyCheckForApp()) SWIG_fail;
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8172 {
8173 if (temp3)
8174 delete arg3;
8175 }
8176 {
8177 if (temp7)
8178 delete arg7;
8179 }
8180 return resultobj;
8181 fail:
8182 {
8183 if (temp3)
8184 delete arg3;
8185 }
8186 {
8187 if (temp7)
8188 delete arg7;
8189 }
8190 return NULL;
8191 }
8192
8193
8194 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8195 PyObject *resultobj = 0;
8196 wxMiniFrame *result = 0 ;
8197
8198 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8199 {
8200 if (!wxPyCheckForApp()) SWIG_fail;
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (wxMiniFrame *)new wxMiniFrame();
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8207 return resultobj;
8208 fail:
8209 return NULL;
8210 }
8211
8212
8213 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8214 PyObject *resultobj = 0;
8215 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8216 wxWindow *arg2 = (wxWindow *) 0 ;
8217 int arg3 = (int) (int)-1 ;
8218 wxString const &arg4_defvalue = wxPyEmptyString ;
8219 wxString *arg4 = (wxString *) &arg4_defvalue ;
8220 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8221 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8222 wxSize const &arg6_defvalue = wxDefaultSize ;
8223 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8224 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8225 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8226 wxString *arg8 = (wxString *) &arg8_defvalue ;
8227 bool result;
8228 void *argp1 = 0 ;
8229 int res1 = 0 ;
8230 void *argp2 = 0 ;
8231 int res2 = 0 ;
8232 int val3 ;
8233 int ecode3 = 0 ;
8234 bool temp4 = false ;
8235 wxPoint temp5 ;
8236 wxSize temp6 ;
8237 long val7 ;
8238 int ecode7 = 0 ;
8239 bool temp8 = false ;
8240 PyObject * obj0 = 0 ;
8241 PyObject * obj1 = 0 ;
8242 PyObject * obj2 = 0 ;
8243 PyObject * obj3 = 0 ;
8244 PyObject * obj4 = 0 ;
8245 PyObject * obj5 = 0 ;
8246 PyObject * obj6 = 0 ;
8247 PyObject * obj7 = 0 ;
8248 char * kwnames[] = {
8249 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8250 };
8251
8252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8254 if (!SWIG_IsOK(res1)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8256 }
8257 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8259 if (!SWIG_IsOK(res2)) {
8260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8261 }
8262 arg2 = reinterpret_cast< wxWindow * >(argp2);
8263 if (obj2) {
8264 ecode3 = SWIG_AsVal_int(obj2, &val3);
8265 if (!SWIG_IsOK(ecode3)) {
8266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8267 }
8268 arg3 = static_cast< int >(val3);
8269 }
8270 if (obj3) {
8271 {
8272 arg4 = wxString_in_helper(obj3);
8273 if (arg4 == NULL) SWIG_fail;
8274 temp4 = true;
8275 }
8276 }
8277 if (obj4) {
8278 {
8279 arg5 = &temp5;
8280 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8281 }
8282 }
8283 if (obj5) {
8284 {
8285 arg6 = &temp6;
8286 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8287 }
8288 }
8289 if (obj6) {
8290 ecode7 = SWIG_AsVal_long(obj6, &val7);
8291 if (!SWIG_IsOK(ecode7)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8293 }
8294 arg7 = static_cast< long >(val7);
8295 }
8296 if (obj7) {
8297 {
8298 arg8 = wxString_in_helper(obj7);
8299 if (arg8 == NULL) SWIG_fail;
8300 temp8 = true;
8301 }
8302 }
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 {
8310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8311 }
8312 {
8313 if (temp4)
8314 delete arg4;
8315 }
8316 {
8317 if (temp8)
8318 delete arg8;
8319 }
8320 return resultobj;
8321 fail:
8322 {
8323 if (temp4)
8324 delete arg4;
8325 }
8326 {
8327 if (temp8)
8328 delete arg8;
8329 }
8330 return NULL;
8331 }
8332
8333
8334 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8335 PyObject *obj;
8336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8337 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8338 return SWIG_Py_Void();
8339 }
8340
8341 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8342 return SWIG_Python_InitShadowInstance(args);
8343 }
8344
8345 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj = 0;
8347 wxBitmap *arg1 = 0 ;
8348 wxWindow *arg2 = (wxWindow *) 0 ;
8349 int arg3 ;
8350 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8351 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8352 wxSize const &arg5_defvalue = wxDefaultSize ;
8353 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8354 long arg6 = (long) wxNO_BORDER ;
8355 wxSplashScreenWindow *result = 0 ;
8356 void *argp1 = 0 ;
8357 int res1 = 0 ;
8358 void *argp2 = 0 ;
8359 int res2 = 0 ;
8360 int val3 ;
8361 int ecode3 = 0 ;
8362 wxPoint temp4 ;
8363 wxSize temp5 ;
8364 long val6 ;
8365 int ecode6 = 0 ;
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
8368 PyObject * obj2 = 0 ;
8369 PyObject * obj3 = 0 ;
8370 PyObject * obj4 = 0 ;
8371 PyObject * obj5 = 0 ;
8372 char * kwnames[] = {
8373 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8374 };
8375
8376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8377 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8378 if (!SWIG_IsOK(res1)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 }
8381 if (!argp1) {
8382 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8383 }
8384 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8385 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8386 if (!SWIG_IsOK(res2)) {
8387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8388 }
8389 arg2 = reinterpret_cast< wxWindow * >(argp2);
8390 ecode3 = SWIG_AsVal_int(obj2, &val3);
8391 if (!SWIG_IsOK(ecode3)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8393 }
8394 arg3 = static_cast< int >(val3);
8395 if (obj3) {
8396 {
8397 arg4 = &temp4;
8398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8399 }
8400 }
8401 if (obj4) {
8402 {
8403 arg5 = &temp5;
8404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8405 }
8406 }
8407 if (obj5) {
8408 ecode6 = SWIG_AsVal_long(obj5, &val6);
8409 if (!SWIG_IsOK(ecode6)) {
8410 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8411 }
8412 arg6 = static_cast< long >(val6);
8413 }
8414 {
8415 if (!wxPyCheckForApp()) SWIG_fail;
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8422 return resultobj;
8423 fail:
8424 return NULL;
8425 }
8426
8427
8428 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj = 0;
8430 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8431 wxBitmap *arg2 = 0 ;
8432 void *argp1 = 0 ;
8433 int res1 = 0 ;
8434 void *argp2 = 0 ;
8435 int res2 = 0 ;
8436 PyObject * obj0 = 0 ;
8437 PyObject * obj1 = 0 ;
8438 char * kwnames[] = {
8439 (char *) "self",(char *) "bitmap", NULL
8440 };
8441
8442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8444 if (!SWIG_IsOK(res1)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8446 }
8447 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8448 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8449 if (!SWIG_IsOK(res2)) {
8450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8451 }
8452 if (!argp2) {
8453 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8454 }
8455 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8459 wxPyEndAllowThreads(__tstate);
8460 if (PyErr_Occurred()) SWIG_fail;
8461 }
8462 resultobj = SWIG_Py_Void();
8463 return resultobj;
8464 fail:
8465 return NULL;
8466 }
8467
8468
8469 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8470 PyObject *resultobj = 0;
8471 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8472 wxBitmap *result = 0 ;
8473 void *argp1 = 0 ;
8474 int res1 = 0 ;
8475 PyObject *swig_obj[1] ;
8476
8477 if (!args) SWIG_fail;
8478 swig_obj[0] = args;
8479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8480 if (!SWIG_IsOK(res1)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8482 }
8483 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 {
8487 wxBitmap &_result_ref = (arg1)->GetBitmap();
8488 result = (wxBitmap *) &_result_ref;
8489 }
8490 wxPyEndAllowThreads(__tstate);
8491 if (PyErr_Occurred()) SWIG_fail;
8492 }
8493 {
8494 wxBitmap* resultptr = new wxBitmap(*result);
8495 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8496 }
8497 return resultobj;
8498 fail:
8499 return NULL;
8500 }
8501
8502
8503 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8504 PyObject *obj;
8505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8506 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8507 return SWIG_Py_Void();
8508 }
8509
8510 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8511 return SWIG_Python_InitShadowInstance(args);
8512 }
8513
8514 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj = 0;
8516 wxBitmap *arg1 = 0 ;
8517 long arg2 ;
8518 int arg3 ;
8519 wxWindow *arg4 = (wxWindow *) 0 ;
8520 int arg5 = (int) -1 ;
8521 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8522 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8523 wxSize const &arg7_defvalue = wxDefaultSize ;
8524 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8525 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8526 wxSplashScreen *result = 0 ;
8527 void *argp1 = 0 ;
8528 int res1 = 0 ;
8529 long val2 ;
8530 int ecode2 = 0 ;
8531 int val3 ;
8532 int ecode3 = 0 ;
8533 void *argp4 = 0 ;
8534 int res4 = 0 ;
8535 int val5 ;
8536 int ecode5 = 0 ;
8537 wxPoint temp6 ;
8538 wxSize temp7 ;
8539 long val8 ;
8540 int ecode8 = 0 ;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 PyObject * obj2 = 0 ;
8544 PyObject * obj3 = 0 ;
8545 PyObject * obj4 = 0 ;
8546 PyObject * obj5 = 0 ;
8547 PyObject * obj6 = 0 ;
8548 PyObject * obj7 = 0 ;
8549 char * kwnames[] = {
8550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8551 };
8552
8553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8554 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8555 if (!SWIG_IsOK(res1)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8557 }
8558 if (!argp1) {
8559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8560 }
8561 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8562 ecode2 = SWIG_AsVal_long(obj1, &val2);
8563 if (!SWIG_IsOK(ecode2)) {
8564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8565 }
8566 arg2 = static_cast< long >(val2);
8567 ecode3 = SWIG_AsVal_int(obj2, &val3);
8568 if (!SWIG_IsOK(ecode3)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8570 }
8571 arg3 = static_cast< int >(val3);
8572 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8573 if (!SWIG_IsOK(res4)) {
8574 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8575 }
8576 arg4 = reinterpret_cast< wxWindow * >(argp4);
8577 if (obj4) {
8578 ecode5 = SWIG_AsVal_int(obj4, &val5);
8579 if (!SWIG_IsOK(ecode5)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8581 }
8582 arg5 = static_cast< int >(val5);
8583 }
8584 if (obj5) {
8585 {
8586 arg6 = &temp6;
8587 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8588 }
8589 }
8590 if (obj6) {
8591 {
8592 arg7 = &temp7;
8593 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8594 }
8595 }
8596 if (obj7) {
8597 ecode8 = SWIG_AsVal_long(obj7, &val8);
8598 if (!SWIG_IsOK(ecode8)) {
8599 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8600 }
8601 arg8 = static_cast< long >(val8);
8602 }
8603 {
8604 if (!wxPyCheckForApp()) SWIG_fail;
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8611 return resultobj;
8612 fail:
8613 return NULL;
8614 }
8615
8616
8617 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8618 PyObject *resultobj = 0;
8619 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8620 long result;
8621 void *argp1 = 0 ;
8622 int res1 = 0 ;
8623 PyObject *swig_obj[1] ;
8624
8625 if (!args) SWIG_fail;
8626 swig_obj[0] = args;
8627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8628 if (!SWIG_IsOK(res1)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8630 }
8631 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 resultobj = SWIG_From_long(static_cast< long >(result));
8639 return resultobj;
8640 fail:
8641 return NULL;
8642 }
8643
8644
8645 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8646 PyObject *resultobj = 0;
8647 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8648 wxSplashScreenWindow *result = 0 ;
8649 void *argp1 = 0 ;
8650 int res1 = 0 ;
8651 PyObject *swig_obj[1] ;
8652
8653 if (!args) SWIG_fail;
8654 swig_obj[0] = args;
8655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8656 if (!SWIG_IsOK(res1)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8658 }
8659 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8667 return resultobj;
8668 fail:
8669 return NULL;
8670 }
8671
8672
8673 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8674 PyObject *resultobj = 0;
8675 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8676 int result;
8677 void *argp1 = 0 ;
8678 int res1 = 0 ;
8679 PyObject *swig_obj[1] ;
8680
8681 if (!args) SWIG_fail;
8682 swig_obj[0] = args;
8683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8684 if (!SWIG_IsOK(res1)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8686 }
8687 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 resultobj = SWIG_From_int(static_cast< int >(result));
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8702 PyObject *obj;
8703 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8704 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8705 return SWIG_Py_Void();
8706 }
8707
8708 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8709 return SWIG_Python_InitShadowInstance(args);
8710 }
8711
8712 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj = 0;
8714 wxWindow *arg1 = (wxWindow *) 0 ;
8715 int arg2 = (int) -1 ;
8716 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8717 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8718 wxString *arg4 = (wxString *) &arg4_defvalue ;
8719 wxStatusBar *result = 0 ;
8720 void *argp1 = 0 ;
8721 int res1 = 0 ;
8722 int val2 ;
8723 int ecode2 = 0 ;
8724 long val3 ;
8725 int ecode3 = 0 ;
8726 bool temp4 = false ;
8727 PyObject * obj0 = 0 ;
8728 PyObject * obj1 = 0 ;
8729 PyObject * obj2 = 0 ;
8730 PyObject * obj3 = 0 ;
8731 char * kwnames[] = {
8732 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8733 };
8734
8735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8737 if (!SWIG_IsOK(res1)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8739 }
8740 arg1 = reinterpret_cast< wxWindow * >(argp1);
8741 if (obj1) {
8742 ecode2 = SWIG_AsVal_int(obj1, &val2);
8743 if (!SWIG_IsOK(ecode2)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8745 }
8746 arg2 = static_cast< int >(val2);
8747 }
8748 if (obj2) {
8749 ecode3 = SWIG_AsVal_long(obj2, &val3);
8750 if (!SWIG_IsOK(ecode3)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8752 }
8753 arg3 = static_cast< long >(val3);
8754 }
8755 if (obj3) {
8756 {
8757 arg4 = wxString_in_helper(obj3);
8758 if (arg4 == NULL) SWIG_fail;
8759 temp4 = true;
8760 }
8761 }
8762 {
8763 if (!wxPyCheckForApp()) SWIG_fail;
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8770 {
8771 if (temp4)
8772 delete arg4;
8773 }
8774 return resultobj;
8775 fail:
8776 {
8777 if (temp4)
8778 delete arg4;
8779 }
8780 return NULL;
8781 }
8782
8783
8784 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8785 PyObject *resultobj = 0;
8786 wxStatusBar *result = 0 ;
8787
8788 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8789 {
8790 if (!wxPyCheckForApp()) SWIG_fail;
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (wxStatusBar *)new wxStatusBar();
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj = 0;
8805 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8806 wxWindow *arg2 = (wxWindow *) 0 ;
8807 int arg3 = (int) -1 ;
8808 long arg4 = (long) wxST_SIZEGRIP ;
8809 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8810 wxString *arg5 = (wxString *) &arg5_defvalue ;
8811 bool result;
8812 void *argp1 = 0 ;
8813 int res1 = 0 ;
8814 void *argp2 = 0 ;
8815 int res2 = 0 ;
8816 int val3 ;
8817 int ecode3 = 0 ;
8818 long val4 ;
8819 int ecode4 = 0 ;
8820 bool temp5 = false ;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 PyObject * obj2 = 0 ;
8824 PyObject * obj3 = 0 ;
8825 PyObject * obj4 = 0 ;
8826 char * kwnames[] = {
8827 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8828 };
8829
8830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8832 if (!SWIG_IsOK(res1)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8834 }
8835 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8836 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8837 if (!SWIG_IsOK(res2)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8839 }
8840 arg2 = reinterpret_cast< wxWindow * >(argp2);
8841 if (obj2) {
8842 ecode3 = SWIG_AsVal_int(obj2, &val3);
8843 if (!SWIG_IsOK(ecode3)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8845 }
8846 arg3 = static_cast< int >(val3);
8847 }
8848 if (obj3) {
8849 ecode4 = SWIG_AsVal_long(obj3, &val4);
8850 if (!SWIG_IsOK(ecode4)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8852 }
8853 arg4 = static_cast< long >(val4);
8854 }
8855 if (obj4) {
8856 {
8857 arg5 = wxString_in_helper(obj4);
8858 if (arg5 == NULL) SWIG_fail;
8859 temp5 = true;
8860 }
8861 }
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 {
8869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8870 }
8871 {
8872 if (temp5)
8873 delete arg5;
8874 }
8875 return resultobj;
8876 fail:
8877 {
8878 if (temp5)
8879 delete arg5;
8880 }
8881 return NULL;
8882 }
8883
8884
8885 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8886 PyObject *resultobj = 0;
8887 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8888 int arg2 = (int) 1 ;
8889 void *argp1 = 0 ;
8890 int res1 = 0 ;
8891 int val2 ;
8892 int ecode2 = 0 ;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 char * kwnames[] = {
8896 (char *) "self",(char *) "number", NULL
8897 };
8898
8899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8901 if (!SWIG_IsOK(res1)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8903 }
8904 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8905 if (obj1) {
8906 ecode2 = SWIG_AsVal_int(obj1, &val2);
8907 if (!SWIG_IsOK(ecode2)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8909 }
8910 arg2 = static_cast< int >(val2);
8911 }
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 (arg1)->SetFieldsCount(arg2);
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 resultobj = SWIG_Py_Void();
8919 return resultobj;
8920 fail:
8921 return NULL;
8922 }
8923
8924
8925 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8926 PyObject *resultobj = 0;
8927 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8928 int result;
8929 void *argp1 = 0 ;
8930 int res1 = 0 ;
8931 PyObject *swig_obj[1] ;
8932
8933 if (!args) SWIG_fail;
8934 swig_obj[0] = args;
8935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8936 if (!SWIG_IsOK(res1)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8938 }
8939 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 resultobj = SWIG_From_int(static_cast< int >(result));
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj = 0;
8955 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8956 wxString *arg2 = 0 ;
8957 int arg3 = (int) 0 ;
8958 void *argp1 = 0 ;
8959 int res1 = 0 ;
8960 bool temp2 = false ;
8961 int val3 ;
8962 int ecode3 = 0 ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 PyObject * obj2 = 0 ;
8966 char * kwnames[] = {
8967 (char *) "self",(char *) "text",(char *) "number", NULL
8968 };
8969
8970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8972 if (!SWIG_IsOK(res1)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 }
8975 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8976 {
8977 arg2 = wxString_in_helper(obj1);
8978 if (arg2 == NULL) SWIG_fail;
8979 temp2 = true;
8980 }
8981 if (obj2) {
8982 ecode3 = SWIG_AsVal_int(obj2, &val3);
8983 if (!SWIG_IsOK(ecode3)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8985 }
8986 arg3 = static_cast< int >(val3);
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = SWIG_Py_Void();
8995 {
8996 if (temp2)
8997 delete arg2;
8998 }
8999 return resultobj;
9000 fail:
9001 {
9002 if (temp2)
9003 delete arg2;
9004 }
9005 return NULL;
9006 }
9007
9008
9009 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj = 0;
9011 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9012 int arg2 = (int) 0 ;
9013 wxString result;
9014 void *argp1 = 0 ;
9015 int res1 = 0 ;
9016 int val2 ;
9017 int ecode2 = 0 ;
9018 PyObject * obj0 = 0 ;
9019 PyObject * obj1 = 0 ;
9020 char * kwnames[] = {
9021 (char *) "self",(char *) "number", NULL
9022 };
9023
9024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9026 if (!SWIG_IsOK(res1)) {
9027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9028 }
9029 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9030 if (obj1) {
9031 ecode2 = SWIG_AsVal_int(obj1, &val2);
9032 if (!SWIG_IsOK(ecode2)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9034 }
9035 arg2 = static_cast< int >(val2);
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 {
9044 #if wxUSE_UNICODE
9045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9046 #else
9047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9048 #endif
9049 }
9050 return resultobj;
9051 fail:
9052 return NULL;
9053 }
9054
9055
9056 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9057 PyObject *resultobj = 0;
9058 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9059 wxString *arg2 = 0 ;
9060 int arg3 = (int) 0 ;
9061 void *argp1 = 0 ;
9062 int res1 = 0 ;
9063 bool temp2 = false ;
9064 int val3 ;
9065 int ecode3 = 0 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 PyObject * obj2 = 0 ;
9069 char * kwnames[] = {
9070 (char *) "self",(char *) "text",(char *) "number", NULL
9071 };
9072
9073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9075 if (!SWIG_IsOK(res1)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 }
9078 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9079 {
9080 arg2 = wxString_in_helper(obj1);
9081 if (arg2 == NULL) SWIG_fail;
9082 temp2 = true;
9083 }
9084 if (obj2) {
9085 ecode3 = SWIG_AsVal_int(obj2, &val3);
9086 if (!SWIG_IsOK(ecode3)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9088 }
9089 arg3 = static_cast< int >(val3);
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 resultobj = SWIG_Py_Void();
9098 {
9099 if (temp2)
9100 delete arg2;
9101 }
9102 return resultobj;
9103 fail:
9104 {
9105 if (temp2)
9106 delete arg2;
9107 }
9108 return NULL;
9109 }
9110
9111
9112 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj = 0;
9114 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9115 int arg2 = (int) 0 ;
9116 void *argp1 = 0 ;
9117 int res1 = 0 ;
9118 int val2 ;
9119 int ecode2 = 0 ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 char * kwnames[] = {
9123 (char *) "self",(char *) "number", NULL
9124 };
9125
9126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9128 if (!SWIG_IsOK(res1)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9130 }
9131 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9132 if (obj1) {
9133 ecode2 = SWIG_AsVal_int(obj1, &val2);
9134 if (!SWIG_IsOK(ecode2)) {
9135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9136 }
9137 arg2 = static_cast< int >(val2);
9138 }
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 (arg1)->PopStatusText(arg2);
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = SWIG_Py_Void();
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj = 0;
9154 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9155 int arg2 ;
9156 int *arg3 = (int *) 0 ;
9157 void *argp1 = 0 ;
9158 int res1 = 0 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 char * kwnames[] = {
9162 (char *) "self",(char *) "widths", NULL
9163 };
9164
9165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9167 if (!SWIG_IsOK(res1)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9169 }
9170 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9171 {
9172 arg2 = PyList_Size(obj1);
9173 arg3 = int_LIST_helper(obj1);
9174 if (arg3 == NULL) SWIG_fail;
9175 }
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = SWIG_Py_Void();
9183 {
9184 if (arg3) delete [] arg3;
9185 }
9186 return resultobj;
9187 fail:
9188 {
9189 if (arg3) delete [] arg3;
9190 }
9191 return NULL;
9192 }
9193
9194
9195 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj = 0;
9197 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9198 int arg2 ;
9199 int *arg3 = (int *) 0 ;
9200 void *argp1 = 0 ;
9201 int res1 = 0 ;
9202 PyObject * obj0 = 0 ;
9203 PyObject * obj1 = 0 ;
9204 char * kwnames[] = {
9205 (char *) "self",(char *) "styles", NULL
9206 };
9207
9208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9210 if (!SWIG_IsOK(res1)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9212 }
9213 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9214 {
9215 arg2 = PyList_Size(obj1);
9216 arg3 = int_LIST_helper(obj1);
9217 if (arg3 == NULL) SWIG_fail;
9218 }
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_Py_Void();
9226 {
9227 if (arg3) delete [] arg3;
9228 }
9229 return resultobj;
9230 fail:
9231 {
9232 if (arg3) delete [] arg3;
9233 }
9234 return NULL;
9235 }
9236
9237
9238 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj = 0;
9240 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9241 int arg2 ;
9242 wxRect result;
9243 void *argp1 = 0 ;
9244 int res1 = 0 ;
9245 int val2 ;
9246 int ecode2 = 0 ;
9247 PyObject * obj0 = 0 ;
9248 PyObject * obj1 = 0 ;
9249 char * kwnames[] = {
9250 (char *) "self",(char *) "i", NULL
9251 };
9252
9253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9255 if (!SWIG_IsOK(res1)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9257 }
9258 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9259 ecode2 = SWIG_AsVal_int(obj1, &val2);
9260 if (!SWIG_IsOK(ecode2)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9262 }
9263 arg2 = static_cast< int >(val2);
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = wxStatusBar_GetFieldRect(arg1,arg2);
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9271 return resultobj;
9272 fail:
9273 return NULL;
9274 }
9275
9276
9277 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj = 0;
9279 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9280 int arg2 ;
9281 void *argp1 = 0 ;
9282 int res1 = 0 ;
9283 int val2 ;
9284 int ecode2 = 0 ;
9285 PyObject * obj0 = 0 ;
9286 PyObject * obj1 = 0 ;
9287 char * kwnames[] = {
9288 (char *) "self",(char *) "height", NULL
9289 };
9290
9291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9293 if (!SWIG_IsOK(res1)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9295 }
9296 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9297 ecode2 = SWIG_AsVal_int(obj1, &val2);
9298 if (!SWIG_IsOK(ecode2)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9300 }
9301 arg2 = static_cast< int >(val2);
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 (arg1)->SetMinHeight(arg2);
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = SWIG_Py_Void();
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9316 PyObject *resultobj = 0;
9317 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9318 int result;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 PyObject *swig_obj[1] ;
9322
9323 if (!args) SWIG_fail;
9324 swig_obj[0] = args;
9325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9326 if (!SWIG_IsOK(res1)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9328 }
9329 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 resultobj = SWIG_From_int(static_cast< int >(result));
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9344 PyObject *resultobj = 0;
9345 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9346 int result;
9347 void *argp1 = 0 ;
9348 int res1 = 0 ;
9349 PyObject *swig_obj[1] ;
9350
9351 if (!args) SWIG_fail;
9352 swig_obj[0] = args;
9353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9354 if (!SWIG_IsOK(res1)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9356 }
9357 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 resultobj = SWIG_From_int(static_cast< int >(result));
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj = 0;
9373 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9374 SwigValueWrapper<wxVisualAttributes > result;
9375 int val1 ;
9376 int ecode1 = 0 ;
9377 PyObject * obj0 = 0 ;
9378 char * kwnames[] = {
9379 (char *) "variant", NULL
9380 };
9381
9382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9383 if (obj0) {
9384 ecode1 = SWIG_AsVal_int(obj0, &val1);
9385 if (!SWIG_IsOK(ecode1)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9387 }
9388 arg1 = static_cast< wxWindowVariant >(val1);
9389 }
9390 {
9391 if (!wxPyCheckForApp()) SWIG_fail;
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9405 PyObject *obj;
9406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9407 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9408 return SWIG_Py_Void();
9409 }
9410
9411 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9412 return SWIG_Python_InitShadowInstance(args);
9413 }
9414
9415 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9416 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9417 return 1;
9418 }
9419
9420
9421 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9422 PyObject *pyobj = 0;
9423
9424 {
9425 #if wxUSE_UNICODE
9426 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9427 #else
9428 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9429 #endif
9430 }
9431 return pyobj;
9432 }
9433
9434
9435 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj = 0;
9437 wxWindow *arg1 = (wxWindow *) 0 ;
9438 int arg2 = (int) -1 ;
9439 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9440 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9441 wxSize const &arg4_defvalue = wxDefaultSize ;
9442 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9443 long arg5 = (long) wxSP_3D ;
9444 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9445 wxString *arg6 = (wxString *) &arg6_defvalue ;
9446 wxSplitterWindow *result = 0 ;
9447 void *argp1 = 0 ;
9448 int res1 = 0 ;
9449 int val2 ;
9450 int ecode2 = 0 ;
9451 wxPoint temp3 ;
9452 wxSize temp4 ;
9453 long val5 ;
9454 int ecode5 = 0 ;
9455 bool temp6 = false ;
9456 PyObject * obj0 = 0 ;
9457 PyObject * obj1 = 0 ;
9458 PyObject * obj2 = 0 ;
9459 PyObject * obj3 = 0 ;
9460 PyObject * obj4 = 0 ;
9461 PyObject * obj5 = 0 ;
9462 char * kwnames[] = {
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9464 };
9465
9466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9468 if (!SWIG_IsOK(res1)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9470 }
9471 arg1 = reinterpret_cast< wxWindow * >(argp1);
9472 if (obj1) {
9473 ecode2 = SWIG_AsVal_int(obj1, &val2);
9474 if (!SWIG_IsOK(ecode2)) {
9475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9476 }
9477 arg2 = static_cast< int >(val2);
9478 }
9479 if (obj2) {
9480 {
9481 arg3 = &temp3;
9482 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9483 }
9484 }
9485 if (obj3) {
9486 {
9487 arg4 = &temp4;
9488 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9489 }
9490 }
9491 if (obj4) {
9492 ecode5 = SWIG_AsVal_long(obj4, &val5);
9493 if (!SWIG_IsOK(ecode5)) {
9494 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9495 }
9496 arg5 = static_cast< long >(val5);
9497 }
9498 if (obj5) {
9499 {
9500 arg6 = wxString_in_helper(obj5);
9501 if (arg6 == NULL) SWIG_fail;
9502 temp6 = true;
9503 }
9504 }
9505 {
9506 if (!wxPyCheckForApp()) SWIG_fail;
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9513 {
9514 if (temp6)
9515 delete arg6;
9516 }
9517 return resultobj;
9518 fail:
9519 {
9520 if (temp6)
9521 delete arg6;
9522 }
9523 return NULL;
9524 }
9525
9526
9527 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9528 PyObject *resultobj = 0;
9529 wxSplitterWindow *result = 0 ;
9530
9531 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9532 {
9533 if (!wxPyCheckForApp()) SWIG_fail;
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (wxSplitterWindow *)new wxSplitterWindow();
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9540 return resultobj;
9541 fail:
9542 return NULL;
9543 }
9544
9545
9546 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj = 0;
9548 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9549 wxWindow *arg2 = (wxWindow *) 0 ;
9550 int arg3 = (int) -1 ;
9551 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9552 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9553 wxSize const &arg5_defvalue = wxDefaultSize ;
9554 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9555 long arg6 = (long) wxSP_3D ;
9556 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9557 wxString *arg7 = (wxString *) &arg7_defvalue ;
9558 bool result;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 void *argp2 = 0 ;
9562 int res2 = 0 ;
9563 int val3 ;
9564 int ecode3 = 0 ;
9565 wxPoint temp4 ;
9566 wxSize temp5 ;
9567 long val6 ;
9568 int ecode6 = 0 ;
9569 bool temp7 = false ;
9570 PyObject * obj0 = 0 ;
9571 PyObject * obj1 = 0 ;
9572 PyObject * obj2 = 0 ;
9573 PyObject * obj3 = 0 ;
9574 PyObject * obj4 = 0 ;
9575 PyObject * obj5 = 0 ;
9576 PyObject * obj6 = 0 ;
9577 char * kwnames[] = {
9578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9579 };
9580
9581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9583 if (!SWIG_IsOK(res1)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9585 }
9586 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9588 if (!SWIG_IsOK(res2)) {
9589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9590 }
9591 arg2 = reinterpret_cast< wxWindow * >(argp2);
9592 if (obj2) {
9593 ecode3 = SWIG_AsVal_int(obj2, &val3);
9594 if (!SWIG_IsOK(ecode3)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9596 }
9597 arg3 = static_cast< int >(val3);
9598 }
9599 if (obj3) {
9600 {
9601 arg4 = &temp4;
9602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9603 }
9604 }
9605 if (obj4) {
9606 {
9607 arg5 = &temp5;
9608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9609 }
9610 }
9611 if (obj5) {
9612 ecode6 = SWIG_AsVal_long(obj5, &val6);
9613 if (!SWIG_IsOK(ecode6)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9615 }
9616 arg6 = static_cast< long >(val6);
9617 }
9618 if (obj6) {
9619 {
9620 arg7 = wxString_in_helper(obj6);
9621 if (arg7 == NULL) SWIG_fail;
9622 temp7 = true;
9623 }
9624 }
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 {
9632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9633 }
9634 {
9635 if (temp7)
9636 delete arg7;
9637 }
9638 return resultobj;
9639 fail:
9640 {
9641 if (temp7)
9642 delete arg7;
9643 }
9644 return NULL;
9645 }
9646
9647
9648 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9649 PyObject *resultobj = 0;
9650 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9651 wxWindow *result = 0 ;
9652 void *argp1 = 0 ;
9653 int res1 = 0 ;
9654 PyObject *swig_obj[1] ;
9655
9656 if (!args) SWIG_fail;
9657 swig_obj[0] = args;
9658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9659 if (!SWIG_IsOK(res1)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9661 }
9662 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 {
9670 resultobj = wxPyMake_wxObject(result, 0);
9671 }
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9679 PyObject *resultobj = 0;
9680 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9681 wxWindow *result = 0 ;
9682 void *argp1 = 0 ;
9683 int res1 = 0 ;
9684 PyObject *swig_obj[1] ;
9685
9686 if (!args) SWIG_fail;
9687 swig_obj[0] = args;
9688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9689 if (!SWIG_IsOK(res1)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9691 }
9692 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 {
9700 resultobj = wxPyMake_wxObject(result, 0);
9701 }
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj = 0;
9710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9711 int arg2 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 int val2 ;
9715 int ecode2 = 0 ;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 char * kwnames[] = {
9719 (char *) "self",(char *) "mode", NULL
9720 };
9721
9722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res1)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 }
9727 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9728 ecode2 = SWIG_AsVal_int(obj1, &val2);
9729 if (!SWIG_IsOK(ecode2)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9731 }
9732 arg2 = static_cast< int >(val2);
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 (arg1)->SetSplitMode(arg2);
9736 wxPyEndAllowThreads(__tstate);
9737 if (PyErr_Occurred()) SWIG_fail;
9738 }
9739 resultobj = SWIG_Py_Void();
9740 return resultobj;
9741 fail:
9742 return NULL;
9743 }
9744
9745
9746 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9747 PyObject *resultobj = 0;
9748 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9749 wxSplitMode result;
9750 void *argp1 = 0 ;
9751 int res1 = 0 ;
9752 PyObject *swig_obj[1] ;
9753
9754 if (!args) SWIG_fail;
9755 swig_obj[0] = args;
9756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9757 if (!SWIG_IsOK(res1)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9759 }
9760 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = SWIG_From_int(static_cast< int >(result));
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj = 0;
9776 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9777 wxWindow *arg2 = (wxWindow *) 0 ;
9778 void *argp1 = 0 ;
9779 int res1 = 0 ;
9780 void *argp2 = 0 ;
9781 int res2 = 0 ;
9782 PyObject * obj0 = 0 ;
9783 PyObject * obj1 = 0 ;
9784 char * kwnames[] = {
9785 (char *) "self",(char *) "window", NULL
9786 };
9787
9788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9790 if (!SWIG_IsOK(res1)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9792 }
9793 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9794 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9795 if (!SWIG_IsOK(res2)) {
9796 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9797 }
9798 arg2 = reinterpret_cast< wxWindow * >(argp2);
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 (arg1)->Initialize(arg2);
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_Py_Void();
9806 return resultobj;
9807 fail:
9808 return NULL;
9809 }
9810
9811
9812 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj = 0;
9814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9815 wxWindow *arg2 = (wxWindow *) 0 ;
9816 wxWindow *arg3 = (wxWindow *) 0 ;
9817 int arg4 = (int) 0 ;
9818 bool result;
9819 void *argp1 = 0 ;
9820 int res1 = 0 ;
9821 void *argp2 = 0 ;
9822 int res2 = 0 ;
9823 void *argp3 = 0 ;
9824 int res3 = 0 ;
9825 int val4 ;
9826 int ecode4 = 0 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 PyObject * obj3 = 0 ;
9831 char * kwnames[] = {
9832 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9833 };
9834
9835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9837 if (!SWIG_IsOK(res1)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9839 }
9840 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9841 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9842 if (!SWIG_IsOK(res2)) {
9843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9844 }
9845 arg2 = reinterpret_cast< wxWindow * >(argp2);
9846 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9847 if (!SWIG_IsOK(res3)) {
9848 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9849 }
9850 arg3 = reinterpret_cast< wxWindow * >(argp3);
9851 if (obj3) {
9852 ecode4 = SWIG_AsVal_int(obj3, &val4);
9853 if (!SWIG_IsOK(ecode4)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9855 }
9856 arg4 = static_cast< int >(val4);
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 {
9865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9866 }
9867 return resultobj;
9868 fail:
9869 return NULL;
9870 }
9871
9872
9873 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj = 0;
9875 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9876 wxWindow *arg2 = (wxWindow *) 0 ;
9877 wxWindow *arg3 = (wxWindow *) 0 ;
9878 int arg4 = (int) 0 ;
9879 bool result;
9880 void *argp1 = 0 ;
9881 int res1 = 0 ;
9882 void *argp2 = 0 ;
9883 int res2 = 0 ;
9884 void *argp3 = 0 ;
9885 int res3 = 0 ;
9886 int val4 ;
9887 int ecode4 = 0 ;
9888 PyObject * obj0 = 0 ;
9889 PyObject * obj1 = 0 ;
9890 PyObject * obj2 = 0 ;
9891 PyObject * obj3 = 0 ;
9892 char * kwnames[] = {
9893 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9894 };
9895
9896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9898 if (!SWIG_IsOK(res1)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9900 }
9901 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9903 if (!SWIG_IsOK(res2)) {
9904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9905 }
9906 arg2 = reinterpret_cast< wxWindow * >(argp2);
9907 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9908 if (!SWIG_IsOK(res3)) {
9909 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9910 }
9911 arg3 = reinterpret_cast< wxWindow * >(argp3);
9912 if (obj3) {
9913 ecode4 = SWIG_AsVal_int(obj3, &val4);
9914 if (!SWIG_IsOK(ecode4)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9916 }
9917 arg4 = static_cast< int >(val4);
9918 }
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 {
9926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9927 }
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9937 wxWindow *arg2 = (wxWindow *) NULL ;
9938 bool result;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 void *argp2 = 0 ;
9942 int res2 = 0 ;
9943 PyObject * obj0 = 0 ;
9944 PyObject * obj1 = 0 ;
9945 char * kwnames[] = {
9946 (char *) "self",(char *) "toRemove", NULL
9947 };
9948
9949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9951 if (!SWIG_IsOK(res1)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9953 }
9954 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9955 if (obj1) {
9956 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9957 if (!SWIG_IsOK(res2)) {
9958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9959 }
9960 arg2 = reinterpret_cast< wxWindow * >(argp2);
9961 }
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (bool)(arg1)->Unsplit(arg2);
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
9969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9970 }
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj = 0;
9979 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9980 wxWindow *arg2 = (wxWindow *) 0 ;
9981 wxWindow *arg3 = (wxWindow *) 0 ;
9982 bool result;
9983 void *argp1 = 0 ;
9984 int res1 = 0 ;
9985 void *argp2 = 0 ;
9986 int res2 = 0 ;
9987 void *argp3 = 0 ;
9988 int res3 = 0 ;
9989 PyObject * obj0 = 0 ;
9990 PyObject * obj1 = 0 ;
9991 PyObject * obj2 = 0 ;
9992 char * kwnames[] = {
9993 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9994 };
9995
9996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9998 if (!SWIG_IsOK(res1)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10000 }
10001 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10002 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10003 if (!SWIG_IsOK(res2)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10005 }
10006 arg2 = reinterpret_cast< wxWindow * >(argp2);
10007 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10008 if (!SWIG_IsOK(res3)) {
10009 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10010 }
10011 arg3 = reinterpret_cast< wxWindow * >(argp3);
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 {
10019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10020 }
10021 return resultobj;
10022 fail:
10023 return NULL;
10024 }
10025
10026
10027 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10028 PyObject *resultobj = 0;
10029 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10030 void *argp1 = 0 ;
10031 int res1 = 0 ;
10032 PyObject *swig_obj[1] ;
10033
10034 if (!args) SWIG_fail;
10035 swig_obj[0] = args;
10036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10037 if (!SWIG_IsOK(res1)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10039 }
10040 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 (arg1)->UpdateSize();
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 resultobj = SWIG_Py_Void();
10048 return resultobj;
10049 fail:
10050 return NULL;
10051 }
10052
10053
10054 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10055 PyObject *resultobj = 0;
10056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10057 bool result;
10058 void *argp1 = 0 ;
10059 int res1 = 0 ;
10060 PyObject *swig_obj[1] ;
10061
10062 if (!args) SWIG_fail;
10063 swig_obj[0] = args;
10064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10065 if (!SWIG_IsOK(res1)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10067 }
10068 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 {
10076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10077 }
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj = 0;
10086 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10087 int arg2 ;
10088 void *argp1 = 0 ;
10089 int res1 = 0 ;
10090 int val2 ;
10091 int ecode2 = 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 char * kwnames[] = {
10095 (char *) "self",(char *) "width", NULL
10096 };
10097
10098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10100 if (!SWIG_IsOK(res1)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 }
10103 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10104 ecode2 = SWIG_AsVal_int(obj1, &val2);
10105 if (!SWIG_IsOK(ecode2)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10107 }
10108 arg2 = static_cast< int >(val2);
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 (arg1)->SetSashSize(arg2);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_Py_Void();
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj = 0;
10124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10125 int arg2 ;
10126 void *argp1 = 0 ;
10127 int res1 = 0 ;
10128 int val2 ;
10129 int ecode2 = 0 ;
10130 PyObject * obj0 = 0 ;
10131 PyObject * obj1 = 0 ;
10132 char * kwnames[] = {
10133 (char *) "self",(char *) "width", NULL
10134 };
10135
10136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10138 if (!SWIG_IsOK(res1)) {
10139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10140 }
10141 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10142 ecode2 = SWIG_AsVal_int(obj1, &val2);
10143 if (!SWIG_IsOK(ecode2)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10145 }
10146 arg2 = static_cast< int >(val2);
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 (arg1)->SetBorderSize(arg2);
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 resultobj = SWIG_Py_Void();
10154 return resultobj;
10155 fail:
10156 return NULL;
10157 }
10158
10159
10160 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10161 PyObject *resultobj = 0;
10162 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10163 int result;
10164 void *argp1 = 0 ;
10165 int res1 = 0 ;
10166 PyObject *swig_obj[1] ;
10167
10168 if (!args) SWIG_fail;
10169 swig_obj[0] = args;
10170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10171 if (!SWIG_IsOK(res1)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10173 }
10174 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 resultobj = SWIG_From_int(static_cast< int >(result));
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10189 PyObject *resultobj = 0;
10190 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10191 int result;
10192 void *argp1 = 0 ;
10193 int res1 = 0 ;
10194 PyObject *swig_obj[1] ;
10195
10196 if (!args) SWIG_fail;
10197 swig_obj[0] = args;
10198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10199 if (!SWIG_IsOK(res1)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 }
10202 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 resultobj = SWIG_From_int(static_cast< int >(result));
10210 return resultobj;
10211 fail:
10212 return NULL;
10213 }
10214
10215
10216 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj = 0;
10218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10219 int arg2 ;
10220 bool arg3 = (bool) true ;
10221 void *argp1 = 0 ;
10222 int res1 = 0 ;
10223 int val2 ;
10224 int ecode2 = 0 ;
10225 bool val3 ;
10226 int ecode3 = 0 ;
10227 PyObject * obj0 = 0 ;
10228 PyObject * obj1 = 0 ;
10229 PyObject * obj2 = 0 ;
10230 char * kwnames[] = {
10231 (char *) "self",(char *) "position",(char *) "redraw", NULL
10232 };
10233
10234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10236 if (!SWIG_IsOK(res1)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 }
10239 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10240 ecode2 = SWIG_AsVal_int(obj1, &val2);
10241 if (!SWIG_IsOK(ecode2)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10243 }
10244 arg2 = static_cast< int >(val2);
10245 if (obj2) {
10246 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10247 if (!SWIG_IsOK(ecode3)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10249 }
10250 arg3 = static_cast< bool >(val3);
10251 }
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->SetSashPosition(arg2,arg3);
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = SWIG_Py_Void();
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10266 PyObject *resultobj = 0;
10267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10268 int result;
10269 void *argp1 = 0 ;
10270 int res1 = 0 ;
10271 PyObject *swig_obj[1] ;
10272
10273 if (!args) SWIG_fail;
10274 swig_obj[0] = args;
10275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10276 if (!SWIG_IsOK(res1)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 }
10279 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = SWIG_From_int(static_cast< int >(result));
10287 return resultobj;
10288 fail:
10289 return NULL;
10290 }
10291
10292
10293 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj = 0;
10295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10296 double arg2 ;
10297 void *argp1 = 0 ;
10298 int res1 = 0 ;
10299 double val2 ;
10300 int ecode2 = 0 ;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 char * kwnames[] = {
10304 (char *) "self",(char *) "gravity", NULL
10305 };
10306
10307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10309 if (!SWIG_IsOK(res1)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10311 }
10312 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10313 ecode2 = SWIG_AsVal_double(obj1, &val2);
10314 if (!SWIG_IsOK(ecode2)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10316 }
10317 arg2 = static_cast< double >(val2);
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 (arg1)->SetSashGravity(arg2);
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_Py_Void();
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10332 PyObject *resultobj = 0;
10333 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10334 double result;
10335 void *argp1 = 0 ;
10336 int res1 = 0 ;
10337 PyObject *swig_obj[1] ;
10338
10339 if (!args) SWIG_fail;
10340 swig_obj[0] = args;
10341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10342 if (!SWIG_IsOK(res1)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10344 }
10345 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = SWIG_From_double(static_cast< double >(result));
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj = 0;
10361 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10362 int arg2 ;
10363 void *argp1 = 0 ;
10364 int res1 = 0 ;
10365 int val2 ;
10366 int ecode2 = 0 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 char * kwnames[] = {
10370 (char *) "self",(char *) "min", NULL
10371 };
10372
10373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10375 if (!SWIG_IsOK(res1)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10377 }
10378 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10379 ecode2 = SWIG_AsVal_int(obj1, &val2);
10380 if (!SWIG_IsOK(ecode2)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10382 }
10383 arg2 = static_cast< int >(val2);
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 (arg1)->SetMinimumPaneSize(arg2);
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_Py_Void();
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10398 PyObject *resultobj = 0;
10399 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10400 int result;
10401 void *argp1 = 0 ;
10402 int res1 = 0 ;
10403 PyObject *swig_obj[1] ;
10404
10405 if (!args) SWIG_fail;
10406 swig_obj[0] = args;
10407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10408 if (!SWIG_IsOK(res1)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10410 }
10411 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = SWIG_From_int(static_cast< int >(result));
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj = 0;
10427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10428 int arg2 ;
10429 int arg3 ;
10430 int arg4 = (int) 5 ;
10431 bool result;
10432 void *argp1 = 0 ;
10433 int res1 = 0 ;
10434 int val2 ;
10435 int ecode2 = 0 ;
10436 int val3 ;
10437 int ecode3 = 0 ;
10438 int val4 ;
10439 int ecode4 = 0 ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 PyObject * obj2 = 0 ;
10443 PyObject * obj3 = 0 ;
10444 char * kwnames[] = {
10445 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10446 };
10447
10448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10450 if (!SWIG_IsOK(res1)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10452 }
10453 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10454 ecode2 = SWIG_AsVal_int(obj1, &val2);
10455 if (!SWIG_IsOK(ecode2)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10457 }
10458 arg2 = static_cast< int >(val2);
10459 ecode3 = SWIG_AsVal_int(obj2, &val3);
10460 if (!SWIG_IsOK(ecode3)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10462 }
10463 arg3 = static_cast< int >(val3);
10464 if (obj3) {
10465 ecode4 = SWIG_AsVal_int(obj3, &val4);
10466 if (!SWIG_IsOK(ecode4)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10468 }
10469 arg4 = static_cast< int >(val4);
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 {
10478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10479 }
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10487 PyObject *resultobj = 0;
10488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10489 void *argp1 = 0 ;
10490 int res1 = 0 ;
10491 PyObject *swig_obj[1] ;
10492
10493 if (!args) SWIG_fail;
10494 swig_obj[0] = args;
10495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10496 if (!SWIG_IsOK(res1)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10498 }
10499 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 (arg1)->SizeWindows();
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_Py_Void();
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj = 0;
10515 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10516 bool arg2 ;
10517 void *argp1 = 0 ;
10518 int res1 = 0 ;
10519 bool val2 ;
10520 int ecode2 = 0 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char * kwnames[] = {
10524 (char *) "self",(char *) "needUpdating", NULL
10525 };
10526
10527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10529 if (!SWIG_IsOK(res1)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10531 }
10532 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10533 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10534 if (!SWIG_IsOK(ecode2)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10536 }
10537 arg2 = static_cast< bool >(val2);
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 (arg1)->SetNeedUpdating(arg2);
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = SWIG_Py_Void();
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10552 PyObject *resultobj = 0;
10553 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10554 bool result;
10555 void *argp1 = 0 ;
10556 int res1 = 0 ;
10557 PyObject *swig_obj[1] ;
10558
10559 if (!args) SWIG_fail;
10560 swig_obj[0] = args;
10561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10562 if (!SWIG_IsOK(res1)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10564 }
10565 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 {
10573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10574 }
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj = 0;
10583 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10584 SwigValueWrapper<wxVisualAttributes > result;
10585 int val1 ;
10586 int ecode1 = 0 ;
10587 PyObject * obj0 = 0 ;
10588 char * kwnames[] = {
10589 (char *) "variant", NULL
10590 };
10591
10592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10593 if (obj0) {
10594 ecode1 = SWIG_AsVal_int(obj0, &val1);
10595 if (!SWIG_IsOK(ecode1)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10597 }
10598 arg1 = static_cast< wxWindowVariant >(val1);
10599 }
10600 {
10601 if (!wxPyCheckForApp()) SWIG_fail;
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10608 return resultobj;
10609 fail:
10610 return NULL;
10611 }
10612
10613
10614 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10615 PyObject *obj;
10616 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10617 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10618 return SWIG_Py_Void();
10619 }
10620
10621 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10622 return SWIG_Python_InitShadowInstance(args);
10623 }
10624
10625 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj = 0;
10627 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10628 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10629 wxSplitterEvent *result = 0 ;
10630 int val1 ;
10631 int ecode1 = 0 ;
10632 void *argp2 = 0 ;
10633 int res2 = 0 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10636 char * kwnames[] = {
10637 (char *) "type",(char *) "splitter", NULL
10638 };
10639
10640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10641 if (obj0) {
10642 ecode1 = SWIG_AsVal_int(obj0, &val1);
10643 if (!SWIG_IsOK(ecode1)) {
10644 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10645 }
10646 arg1 = static_cast< wxEventType >(val1);
10647 }
10648 if (obj1) {
10649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10650 if (!SWIG_IsOK(res2)) {
10651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10652 }
10653 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj = 0;
10670 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10671 int arg2 ;
10672 void *argp1 = 0 ;
10673 int res1 = 0 ;
10674 int val2 ;
10675 int ecode2 = 0 ;
10676 PyObject * obj0 = 0 ;
10677 PyObject * obj1 = 0 ;
10678 char * kwnames[] = {
10679 (char *) "self",(char *) "pos", NULL
10680 };
10681
10682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10684 if (!SWIG_IsOK(res1)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10686 }
10687 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10688 ecode2 = SWIG_AsVal_int(obj1, &val2);
10689 if (!SWIG_IsOK(ecode2)) {
10690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10691 }
10692 arg2 = static_cast< int >(val2);
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 (arg1)->SetSashPosition(arg2);
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = SWIG_Py_Void();
10700 return resultobj;
10701 fail:
10702 return NULL;
10703 }
10704
10705
10706 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10707 PyObject *resultobj = 0;
10708 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10709 int result;
10710 void *argp1 = 0 ;
10711 int res1 = 0 ;
10712 PyObject *swig_obj[1] ;
10713
10714 if (!args) SWIG_fail;
10715 swig_obj[0] = args;
10716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10717 if (!SWIG_IsOK(res1)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10719 }
10720 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_From_int(static_cast< int >(result));
10728 return resultobj;
10729 fail:
10730 return NULL;
10731 }
10732
10733
10734 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10735 PyObject *resultobj = 0;
10736 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10737 wxWindow *result = 0 ;
10738 void *argp1 = 0 ;
10739 int res1 = 0 ;
10740 PyObject *swig_obj[1] ;
10741
10742 if (!args) SWIG_fail;
10743 swig_obj[0] = args;
10744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10745 if (!SWIG_IsOK(res1)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10747 }
10748 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 {
10756 resultobj = wxPyMake_wxObject(result, 0);
10757 }
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10765 PyObject *resultobj = 0;
10766 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10767 int result;
10768 void *argp1 = 0 ;
10769 int res1 = 0 ;
10770 PyObject *swig_obj[1] ;
10771
10772 if (!args) SWIG_fail;
10773 swig_obj[0] = args;
10774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10775 if (!SWIG_IsOK(res1)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10777 }
10778 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 resultobj = SWIG_From_int(static_cast< int >(result));
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10793 PyObject *resultobj = 0;
10794 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10795 int result;
10796 void *argp1 = 0 ;
10797 int res1 = 0 ;
10798 PyObject *swig_obj[1] ;
10799
10800 if (!args) SWIG_fail;
10801 swig_obj[0] = args;
10802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10803 if (!SWIG_IsOK(res1)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10805 }
10806 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 resultobj = SWIG_From_int(static_cast< int >(result));
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10821 PyObject *obj;
10822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10824 return SWIG_Py_Void();
10825 }
10826
10827 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10828 return SWIG_Python_InitShadowInstance(args);
10829 }
10830
10831 SWIGINTERN int SashNameStr_set(PyObject *) {
10832 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10833 return 1;
10834 }
10835
10836
10837 SWIGINTERN PyObject *SashNameStr_get(void) {
10838 PyObject *pyobj = 0;
10839
10840 {
10841 #if wxUSE_UNICODE
10842 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10843 #else
10844 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10845 #endif
10846 }
10847 return pyobj;
10848 }
10849
10850
10851 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10852 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10853 return 1;
10854 }
10855
10856
10857 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10858 PyObject *pyobj = 0;
10859
10860 {
10861 #if wxUSE_UNICODE
10862 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10863 #else
10864 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10865 #endif
10866 }
10867 return pyobj;
10868 }
10869
10870
10871 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj = 0;
10873 wxWindow *arg1 = (wxWindow *) 0 ;
10874 int arg2 = (int) -1 ;
10875 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10876 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10877 wxSize const &arg4_defvalue = wxDefaultSize ;
10878 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10879 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10880 wxString const &arg6_defvalue = wxPySashNameStr ;
10881 wxString *arg6 = (wxString *) &arg6_defvalue ;
10882 wxSashWindow *result = 0 ;
10883 void *argp1 = 0 ;
10884 int res1 = 0 ;
10885 int val2 ;
10886 int ecode2 = 0 ;
10887 wxPoint temp3 ;
10888 wxSize temp4 ;
10889 long val5 ;
10890 int ecode5 = 0 ;
10891 bool temp6 = false ;
10892 PyObject * obj0 = 0 ;
10893 PyObject * obj1 = 0 ;
10894 PyObject * obj2 = 0 ;
10895 PyObject * obj3 = 0 ;
10896 PyObject * obj4 = 0 ;
10897 PyObject * obj5 = 0 ;
10898 char * kwnames[] = {
10899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10900 };
10901
10902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10904 if (!SWIG_IsOK(res1)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10906 }
10907 arg1 = reinterpret_cast< wxWindow * >(argp1);
10908 if (obj1) {
10909 ecode2 = SWIG_AsVal_int(obj1, &val2);
10910 if (!SWIG_IsOK(ecode2)) {
10911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10912 }
10913 arg2 = static_cast< int >(val2);
10914 }
10915 if (obj2) {
10916 {
10917 arg3 = &temp3;
10918 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10919 }
10920 }
10921 if (obj3) {
10922 {
10923 arg4 = &temp4;
10924 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10925 }
10926 }
10927 if (obj4) {
10928 ecode5 = SWIG_AsVal_long(obj4, &val5);
10929 if (!SWIG_IsOK(ecode5)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10931 }
10932 arg5 = static_cast< long >(val5);
10933 }
10934 if (obj5) {
10935 {
10936 arg6 = wxString_in_helper(obj5);
10937 if (arg6 == NULL) SWIG_fail;
10938 temp6 = true;
10939 }
10940 }
10941 {
10942 if (!wxPyCheckForApp()) SWIG_fail;
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10949 {
10950 if (temp6)
10951 delete arg6;
10952 }
10953 return resultobj;
10954 fail:
10955 {
10956 if (temp6)
10957 delete arg6;
10958 }
10959 return NULL;
10960 }
10961
10962
10963 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10964 PyObject *resultobj = 0;
10965 wxSashWindow *result = 0 ;
10966
10967 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10968 {
10969 if (!wxPyCheckForApp()) SWIG_fail;
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (wxSashWindow *)new wxSashWindow();
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj = 0;
10984 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10985 wxWindow *arg2 = (wxWindow *) 0 ;
10986 int arg3 = (int) -1 ;
10987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10989 wxSize const &arg5_defvalue = wxDefaultSize ;
10990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10991 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10992 wxString const &arg7_defvalue = wxPySashNameStr ;
10993 wxString *arg7 = (wxString *) &arg7_defvalue ;
10994 bool result;
10995 void *argp1 = 0 ;
10996 int res1 = 0 ;
10997 void *argp2 = 0 ;
10998 int res2 = 0 ;
10999 int val3 ;
11000 int ecode3 = 0 ;
11001 wxPoint temp4 ;
11002 wxSize temp5 ;
11003 long val6 ;
11004 int ecode6 = 0 ;
11005 bool temp7 = false ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 PyObject * obj2 = 0 ;
11009 PyObject * obj3 = 0 ;
11010 PyObject * obj4 = 0 ;
11011 PyObject * obj5 = 0 ;
11012 PyObject * obj6 = 0 ;
11013 char * kwnames[] = {
11014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11015 };
11016
11017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11019 if (!SWIG_IsOK(res1)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11021 }
11022 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11023 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11024 if (!SWIG_IsOK(res2)) {
11025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11026 }
11027 arg2 = reinterpret_cast< wxWindow * >(argp2);
11028 if (obj2) {
11029 ecode3 = SWIG_AsVal_int(obj2, &val3);
11030 if (!SWIG_IsOK(ecode3)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11032 }
11033 arg3 = static_cast< int >(val3);
11034 }
11035 if (obj3) {
11036 {
11037 arg4 = &temp4;
11038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11039 }
11040 }
11041 if (obj4) {
11042 {
11043 arg5 = &temp5;
11044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11045 }
11046 }
11047 if (obj5) {
11048 ecode6 = SWIG_AsVal_long(obj5, &val6);
11049 if (!SWIG_IsOK(ecode6)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11051 }
11052 arg6 = static_cast< long >(val6);
11053 }
11054 if (obj6) {
11055 {
11056 arg7 = wxString_in_helper(obj6);
11057 if (arg7 == NULL) SWIG_fail;
11058 temp7 = true;
11059 }
11060 }
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
11070 {
11071 if (temp7)
11072 delete arg7;
11073 }
11074 return resultobj;
11075 fail:
11076 {
11077 if (temp7)
11078 delete arg7;
11079 }
11080 return NULL;
11081 }
11082
11083
11084 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj = 0;
11086 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11087 wxSashEdgePosition arg2 ;
11088 bool arg3 ;
11089 void *argp1 = 0 ;
11090 int res1 = 0 ;
11091 int val2 ;
11092 int ecode2 = 0 ;
11093 bool val3 ;
11094 int ecode3 = 0 ;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 PyObject * obj2 = 0 ;
11098 char * kwnames[] = {
11099 (char *) "self",(char *) "edge",(char *) "sash", NULL
11100 };
11101
11102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11104 if (!SWIG_IsOK(res1)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11106 }
11107 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11108 ecode2 = SWIG_AsVal_int(obj1, &val2);
11109 if (!SWIG_IsOK(ecode2)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11111 }
11112 arg2 = static_cast< wxSashEdgePosition >(val2);
11113 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11114 if (!SWIG_IsOK(ecode3)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11116 }
11117 arg3 = static_cast< bool >(val3);
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 (arg1)->SetSashVisible(arg2,arg3);
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 resultobj = SWIG_Py_Void();
11125 return resultobj;
11126 fail:
11127 return NULL;
11128 }
11129
11130
11131 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11132 PyObject *resultobj = 0;
11133 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11134 wxSashEdgePosition arg2 ;
11135 bool result;
11136 void *argp1 = 0 ;
11137 int res1 = 0 ;
11138 int val2 ;
11139 int ecode2 = 0 ;
11140 PyObject * obj0 = 0 ;
11141 PyObject * obj1 = 0 ;
11142 char * kwnames[] = {
11143 (char *) "self",(char *) "edge", NULL
11144 };
11145
11146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11148 if (!SWIG_IsOK(res1)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11150 }
11151 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11152 ecode2 = SWIG_AsVal_int(obj1, &val2);
11153 if (!SWIG_IsOK(ecode2)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11155 }
11156 arg2 = static_cast< wxSashEdgePosition >(val2);
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 {
11164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11165 }
11166 return resultobj;
11167 fail:
11168 return NULL;
11169 }
11170
11171
11172 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj = 0;
11174 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11175 wxSashEdgePosition arg2 ;
11176 bool arg3 ;
11177 void *argp1 = 0 ;
11178 int res1 = 0 ;
11179 int val2 ;
11180 int ecode2 = 0 ;
11181 bool val3 ;
11182 int ecode3 = 0 ;
11183 PyObject * obj0 = 0 ;
11184 PyObject * obj1 = 0 ;
11185 PyObject * obj2 = 0 ;
11186 char * kwnames[] = {
11187 (char *) "self",(char *) "edge",(char *) "border", NULL
11188 };
11189
11190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11192 if (!SWIG_IsOK(res1)) {
11193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11194 }
11195 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11196 ecode2 = SWIG_AsVal_int(obj1, &val2);
11197 if (!SWIG_IsOK(ecode2)) {
11198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11199 }
11200 arg2 = static_cast< wxSashEdgePosition >(val2);
11201 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11202 if (!SWIG_IsOK(ecode3)) {
11203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11204 }
11205 arg3 = static_cast< bool >(val3);
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->SetSashBorder(arg2,arg3);
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = SWIG_Py_Void();
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj = 0;
11221 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11222 wxSashEdgePosition arg2 ;
11223 bool result;
11224 void *argp1 = 0 ;
11225 int res1 = 0 ;
11226 int val2 ;
11227 int ecode2 = 0 ;
11228 PyObject * obj0 = 0 ;
11229 PyObject * obj1 = 0 ;
11230 char * kwnames[] = {
11231 (char *) "self",(char *) "edge", NULL
11232 };
11233
11234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11236 if (!SWIG_IsOK(res1)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11238 }
11239 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11240 ecode2 = SWIG_AsVal_int(obj1, &val2);
11241 if (!SWIG_IsOK(ecode2)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11243 }
11244 arg2 = static_cast< wxSashEdgePosition >(val2);
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 {
11252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11253 }
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj = 0;
11262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11263 wxSashEdgePosition arg2 ;
11264 int result;
11265 void *argp1 = 0 ;
11266 int res1 = 0 ;
11267 int val2 ;
11268 int ecode2 = 0 ;
11269 PyObject * obj0 = 0 ;
11270 PyObject * obj1 = 0 ;
11271 char * kwnames[] = {
11272 (char *) "self",(char *) "edge", NULL
11273 };
11274
11275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11277 if (!SWIG_IsOK(res1)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11279 }
11280 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11281 ecode2 = SWIG_AsVal_int(obj1, &val2);
11282 if (!SWIG_IsOK(ecode2)) {
11283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11284 }
11285 arg2 = static_cast< wxSashEdgePosition >(val2);
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = SWIG_From_int(static_cast< int >(result));
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj = 0;
11301 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11302 int arg2 ;
11303 void *argp1 = 0 ;
11304 int res1 = 0 ;
11305 int val2 ;
11306 int ecode2 = 0 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 char * kwnames[] = {
11310 (char *) "self",(char *) "width", NULL
11311 };
11312
11313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11315 if (!SWIG_IsOK(res1)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11317 }
11318 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11319 ecode2 = SWIG_AsVal_int(obj1, &val2);
11320 if (!SWIG_IsOK(ecode2)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11322 }
11323 arg2 = static_cast< int >(val2);
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->SetDefaultBorderSize(arg2);
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 resultobj = SWIG_Py_Void();
11331 return resultobj;
11332 fail:
11333 return NULL;
11334 }
11335
11336
11337 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11338 PyObject *resultobj = 0;
11339 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11340 int result;
11341 void *argp1 = 0 ;
11342 int res1 = 0 ;
11343 PyObject *swig_obj[1] ;
11344
11345 if (!args) SWIG_fail;
11346 swig_obj[0] = args;
11347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11348 if (!SWIG_IsOK(res1)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11350 }
11351 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_From_int(static_cast< int >(result));
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj = 0;
11367 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11368 int arg2 ;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 int val2 ;
11372 int ecode2 = 0 ;
11373 PyObject * obj0 = 0 ;
11374 PyObject * obj1 = 0 ;
11375 char * kwnames[] = {
11376 (char *) "self",(char *) "width", NULL
11377 };
11378
11379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11381 if (!SWIG_IsOK(res1)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11383 }
11384 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11385 ecode2 = SWIG_AsVal_int(obj1, &val2);
11386 if (!SWIG_IsOK(ecode2)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11388 }
11389 arg2 = static_cast< int >(val2);
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 (arg1)->SetExtraBorderSize(arg2);
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 resultobj = SWIG_Py_Void();
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11404 PyObject *resultobj = 0;
11405 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11406 int result;
11407 void *argp1 = 0 ;
11408 int res1 = 0 ;
11409 PyObject *swig_obj[1] ;
11410
11411 if (!args) SWIG_fail;
11412 swig_obj[0] = args;
11413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11414 if (!SWIG_IsOK(res1)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11416 }
11417 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = SWIG_From_int(static_cast< int >(result));
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj = 0;
11433 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11434 int arg2 ;
11435 void *argp1 = 0 ;
11436 int res1 = 0 ;
11437 int val2 ;
11438 int ecode2 = 0 ;
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441 char * kwnames[] = {
11442 (char *) "self",(char *) "min", NULL
11443 };
11444
11445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11447 if (!SWIG_IsOK(res1)) {
11448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11449 }
11450 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11451 ecode2 = SWIG_AsVal_int(obj1, &val2);
11452 if (!SWIG_IsOK(ecode2)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11454 }
11455 arg2 = static_cast< int >(val2);
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 (arg1)->SetMinimumSizeX(arg2);
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = SWIG_Py_Void();
11463 return resultobj;
11464 fail:
11465 return NULL;
11466 }
11467
11468
11469 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11470 PyObject *resultobj = 0;
11471 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11472 int arg2 ;
11473 void *argp1 = 0 ;
11474 int res1 = 0 ;
11475 int val2 ;
11476 int ecode2 = 0 ;
11477 PyObject * obj0 = 0 ;
11478 PyObject * obj1 = 0 ;
11479 char * kwnames[] = {
11480 (char *) "self",(char *) "min", NULL
11481 };
11482
11483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11485 if (!SWIG_IsOK(res1)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11487 }
11488 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11489 ecode2 = SWIG_AsVal_int(obj1, &val2);
11490 if (!SWIG_IsOK(ecode2)) {
11491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11492 }
11493 arg2 = static_cast< int >(val2);
11494 {
11495 PyThreadState* __tstate = wxPyBeginAllowThreads();
11496 (arg1)->SetMinimumSizeY(arg2);
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 resultobj = SWIG_Py_Void();
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11508 PyObject *resultobj = 0;
11509 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11510 int result;
11511 void *argp1 = 0 ;
11512 int res1 = 0 ;
11513 PyObject *swig_obj[1] ;
11514
11515 if (!args) SWIG_fail;
11516 swig_obj[0] = args;
11517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11518 if (!SWIG_IsOK(res1)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11520 }
11521 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_From_int(static_cast< int >(result));
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11536 PyObject *resultobj = 0;
11537 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11538 int result;
11539 void *argp1 = 0 ;
11540 int res1 = 0 ;
11541 PyObject *swig_obj[1] ;
11542
11543 if (!args) SWIG_fail;
11544 swig_obj[0] = args;
11545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11548 }
11549 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 resultobj = SWIG_From_int(static_cast< int >(result));
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11564 PyObject *resultobj = 0;
11565 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11566 int arg2 ;
11567 void *argp1 = 0 ;
11568 int res1 = 0 ;
11569 int val2 ;
11570 int ecode2 = 0 ;
11571 PyObject * obj0 = 0 ;
11572 PyObject * obj1 = 0 ;
11573 char * kwnames[] = {
11574 (char *) "self",(char *) "max", NULL
11575 };
11576
11577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11579 if (!SWIG_IsOK(res1)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11581 }
11582 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11583 ecode2 = SWIG_AsVal_int(obj1, &val2);
11584 if (!SWIG_IsOK(ecode2)) {
11585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11586 }
11587 arg2 = static_cast< int >(val2);
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 (arg1)->SetMaximumSizeX(arg2);
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 resultobj = SWIG_Py_Void();
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj = 0;
11603 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11604 int arg2 ;
11605 void *argp1 = 0 ;
11606 int res1 = 0 ;
11607 int val2 ;
11608 int ecode2 = 0 ;
11609 PyObject * obj0 = 0 ;
11610 PyObject * obj1 = 0 ;
11611 char * kwnames[] = {
11612 (char *) "self",(char *) "max", NULL
11613 };
11614
11615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11617 if (!SWIG_IsOK(res1)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11619 }
11620 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11621 ecode2 = SWIG_AsVal_int(obj1, &val2);
11622 if (!SWIG_IsOK(ecode2)) {
11623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11624 }
11625 arg2 = static_cast< int >(val2);
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 (arg1)->SetMaximumSizeY(arg2);
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = SWIG_Py_Void();
11633 return resultobj;
11634 fail:
11635 return NULL;
11636 }
11637
11638
11639 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11640 PyObject *resultobj = 0;
11641 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11642 int result;
11643 void *argp1 = 0 ;
11644 int res1 = 0 ;
11645 PyObject *swig_obj[1] ;
11646
11647 if (!args) SWIG_fail;
11648 swig_obj[0] = args;
11649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11650 if (!SWIG_IsOK(res1)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11652 }
11653 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_From_int(static_cast< int >(result));
11661 return resultobj;
11662 fail:
11663 return NULL;
11664 }
11665
11666
11667 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11668 PyObject *resultobj = 0;
11669 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11670 int result;
11671 void *argp1 = 0 ;
11672 int res1 = 0 ;
11673 PyObject *swig_obj[1] ;
11674
11675 if (!args) SWIG_fail;
11676 swig_obj[0] = args;
11677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11678 if (!SWIG_IsOK(res1)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11680 }
11681 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 resultobj = SWIG_From_int(static_cast< int >(result));
11689 return resultobj;
11690 fail:
11691 return NULL;
11692 }
11693
11694
11695 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11696 PyObject *resultobj = 0;
11697 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11698 int arg2 ;
11699 int arg3 ;
11700 int arg4 = (int) 2 ;
11701 wxSashEdgePosition result;
11702 void *argp1 = 0 ;
11703 int res1 = 0 ;
11704 int val2 ;
11705 int ecode2 = 0 ;
11706 int val3 ;
11707 int ecode3 = 0 ;
11708 int val4 ;
11709 int ecode4 = 0 ;
11710 PyObject * obj0 = 0 ;
11711 PyObject * obj1 = 0 ;
11712 PyObject * obj2 = 0 ;
11713 PyObject * obj3 = 0 ;
11714 char * kwnames[] = {
11715 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11716 };
11717
11718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11720 if (!SWIG_IsOK(res1)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11722 }
11723 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11724 ecode2 = SWIG_AsVal_int(obj1, &val2);
11725 if (!SWIG_IsOK(ecode2)) {
11726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11727 }
11728 arg2 = static_cast< int >(val2);
11729 ecode3 = SWIG_AsVal_int(obj2, &val3);
11730 if (!SWIG_IsOK(ecode3)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11732 }
11733 arg3 = static_cast< int >(val3);
11734 if (obj3) {
11735 ecode4 = SWIG_AsVal_int(obj3, &val4);
11736 if (!SWIG_IsOK(ecode4)) {
11737 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11738 }
11739 arg4 = static_cast< int >(val4);
11740 }
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
11747 resultobj = SWIG_From_int(static_cast< int >(result));
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11755 PyObject *resultobj = 0;
11756 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11757 void *argp1 = 0 ;
11758 int res1 = 0 ;
11759 PyObject *swig_obj[1] ;
11760
11761 if (!args) SWIG_fail;
11762 swig_obj[0] = args;
11763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11764 if (!SWIG_IsOK(res1)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11766 }
11767 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 (arg1)->SizeWindows();
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = SWIG_Py_Void();
11775 return resultobj;
11776 fail:
11777 return NULL;
11778 }
11779
11780
11781 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11782 PyObject *obj;
11783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11784 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11785 return SWIG_Py_Void();
11786 }
11787
11788 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11789 return SWIG_Python_InitShadowInstance(args);
11790 }
11791
11792 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj = 0;
11794 int arg1 = (int) 0 ;
11795 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11796 wxSashEvent *result = 0 ;
11797 int val1 ;
11798 int ecode1 = 0 ;
11799 int val2 ;
11800 int ecode2 = 0 ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 char * kwnames[] = {
11804 (char *) "id",(char *) "edge", NULL
11805 };
11806
11807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11808 if (obj0) {
11809 ecode1 = SWIG_AsVal_int(obj0, &val1);
11810 if (!SWIG_IsOK(ecode1)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11812 }
11813 arg1 = static_cast< int >(val1);
11814 }
11815 if (obj1) {
11816 ecode2 = SWIG_AsVal_int(obj1, &val2);
11817 if (!SWIG_IsOK(ecode2)) {
11818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11819 }
11820 arg2 = static_cast< wxSashEdgePosition >(val2);
11821 }
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11825 wxPyEndAllowThreads(__tstate);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11829 return resultobj;
11830 fail:
11831 return NULL;
11832 }
11833
11834
11835 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj = 0;
11837 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11838 wxSashEdgePosition arg2 ;
11839 void *argp1 = 0 ;
11840 int res1 = 0 ;
11841 int val2 ;
11842 int ecode2 = 0 ;
11843 PyObject * obj0 = 0 ;
11844 PyObject * obj1 = 0 ;
11845 char * kwnames[] = {
11846 (char *) "self",(char *) "edge", NULL
11847 };
11848
11849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11851 if (!SWIG_IsOK(res1)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11853 }
11854 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11855 ecode2 = SWIG_AsVal_int(obj1, &val2);
11856 if (!SWIG_IsOK(ecode2)) {
11857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11858 }
11859 arg2 = static_cast< wxSashEdgePosition >(val2);
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 (arg1)->SetEdge(arg2);
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = SWIG_Py_Void();
11867 return resultobj;
11868 fail:
11869 return NULL;
11870 }
11871
11872
11873 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11874 PyObject *resultobj = 0;
11875 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11876 wxSashEdgePosition result;
11877 void *argp1 = 0 ;
11878 int res1 = 0 ;
11879 PyObject *swig_obj[1] ;
11880
11881 if (!args) SWIG_fail;
11882 swig_obj[0] = args;
11883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11884 if (!SWIG_IsOK(res1)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11886 }
11887 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 resultobj = SWIG_From_int(static_cast< int >(result));
11895 return resultobj;
11896 fail:
11897 return NULL;
11898 }
11899
11900
11901 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11902 PyObject *resultobj = 0;
11903 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11904 wxRect *arg2 = 0 ;
11905 void *argp1 = 0 ;
11906 int res1 = 0 ;
11907 wxRect temp2 ;
11908 PyObject * obj0 = 0 ;
11909 PyObject * obj1 = 0 ;
11910 char * kwnames[] = {
11911 (char *) "self",(char *) "rect", NULL
11912 };
11913
11914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11916 if (!SWIG_IsOK(res1)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11918 }
11919 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11920 {
11921 arg2 = &temp2;
11922 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11923 }
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->SetDragRect((wxRect const &)*arg2);
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 resultobj = SWIG_Py_Void();
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11938 PyObject *resultobj = 0;
11939 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11940 wxRect result;
11941 void *argp1 = 0 ;
11942 int res1 = 0 ;
11943 PyObject *swig_obj[1] ;
11944
11945 if (!args) SWIG_fail;
11946 swig_obj[0] = args;
11947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11948 if (!SWIG_IsOK(res1)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11950 }
11951 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = ((wxSashEvent const *)arg1)->GetDragRect();
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj = 0;
11967 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11968 wxSashDragStatus arg2 ;
11969 void *argp1 = 0 ;
11970 int res1 = 0 ;
11971 int val2 ;
11972 int ecode2 = 0 ;
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 char * kwnames[] = {
11976 (char *) "self",(char *) "status", NULL
11977 };
11978
11979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11981 if (!SWIG_IsOK(res1)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11983 }
11984 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11985 ecode2 = SWIG_AsVal_int(obj1, &val2);
11986 if (!SWIG_IsOK(ecode2)) {
11987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11988 }
11989 arg2 = static_cast< wxSashDragStatus >(val2);
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 (arg1)->SetDragStatus(arg2);
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 resultobj = SWIG_Py_Void();
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12004 PyObject *resultobj = 0;
12005 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12006 wxSashDragStatus result;
12007 void *argp1 = 0 ;
12008 int res1 = 0 ;
12009 PyObject *swig_obj[1] ;
12010
12011 if (!args) SWIG_fail;
12012 swig_obj[0] = args;
12013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12014 if (!SWIG_IsOK(res1)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12016 }
12017 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 resultobj = SWIG_From_int(static_cast< int >(result));
12025 return resultobj;
12026 fail:
12027 return NULL;
12028 }
12029
12030
12031 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12032 PyObject *obj;
12033 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12034 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12035 return SWIG_Py_Void();
12036 }
12037
12038 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12039 return SWIG_Python_InitShadowInstance(args);
12040 }
12041
12042 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj = 0;
12044 int arg1 = (int) 0 ;
12045 wxQueryLayoutInfoEvent *result = 0 ;
12046 int val1 ;
12047 int ecode1 = 0 ;
12048 PyObject * obj0 = 0 ;
12049 char * kwnames[] = {
12050 (char *) "id", NULL
12051 };
12052
12053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12054 if (obj0) {
12055 ecode1 = SWIG_AsVal_int(obj0, &val1);
12056 if (!SWIG_IsOK(ecode1)) {
12057 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12058 }
12059 arg1 = static_cast< int >(val1);
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12068 return resultobj;
12069 fail:
12070 return NULL;
12071 }
12072
12073
12074 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj = 0;
12076 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12077 int arg2 ;
12078 void *argp1 = 0 ;
12079 int res1 = 0 ;
12080 int val2 ;
12081 int ecode2 = 0 ;
12082 PyObject * obj0 = 0 ;
12083 PyObject * obj1 = 0 ;
12084 char * kwnames[] = {
12085 (char *) "self",(char *) "length", NULL
12086 };
12087
12088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12090 if (!SWIG_IsOK(res1)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12092 }
12093 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12094 ecode2 = SWIG_AsVal_int(obj1, &val2);
12095 if (!SWIG_IsOK(ecode2)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12097 }
12098 arg2 = static_cast< int >(val2);
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 (arg1)->SetRequestedLength(arg2);
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 resultobj = SWIG_Py_Void();
12106 return resultobj;
12107 fail:
12108 return NULL;
12109 }
12110
12111
12112 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12113 PyObject *resultobj = 0;
12114 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12115 int result;
12116 void *argp1 = 0 ;
12117 int res1 = 0 ;
12118 PyObject *swig_obj[1] ;
12119
12120 if (!args) SWIG_fail;
12121 swig_obj[0] = args;
12122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12123 if (!SWIG_IsOK(res1)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12125 }
12126 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = SWIG_From_int(static_cast< int >(result));
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj = 0;
12142 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12143 int arg2 ;
12144 void *argp1 = 0 ;
12145 int res1 = 0 ;
12146 int val2 ;
12147 int ecode2 = 0 ;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char * kwnames[] = {
12151 (char *) "self",(char *) "flags", NULL
12152 };
12153
12154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12156 if (!SWIG_IsOK(res1)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12158 }
12159 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12160 ecode2 = SWIG_AsVal_int(obj1, &val2);
12161 if (!SWIG_IsOK(ecode2)) {
12162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12163 }
12164 arg2 = static_cast< int >(val2);
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 (arg1)->SetFlags(arg2);
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 resultobj = SWIG_Py_Void();
12172 return resultobj;
12173 fail:
12174 return NULL;
12175 }
12176
12177
12178 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12179 PyObject *resultobj = 0;
12180 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12181 int result;
12182 void *argp1 = 0 ;
12183 int res1 = 0 ;
12184 PyObject *swig_obj[1] ;
12185
12186 if (!args) SWIG_fail;
12187 swig_obj[0] = args;
12188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12189 if (!SWIG_IsOK(res1)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12191 }
12192 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = SWIG_From_int(static_cast< int >(result));
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj = 0;
12208 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12209 wxSize *arg2 = 0 ;
12210 void *argp1 = 0 ;
12211 int res1 = 0 ;
12212 wxSize temp2 ;
12213 PyObject * obj0 = 0 ;
12214 PyObject * obj1 = 0 ;
12215 char * kwnames[] = {
12216 (char *) "self",(char *) "size", NULL
12217 };
12218
12219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12221 if (!SWIG_IsOK(res1)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12223 }
12224 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12225 {
12226 arg2 = &temp2;
12227 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12228 }
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 (arg1)->SetSize((wxSize const &)*arg2);
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 resultobj = SWIG_Py_Void();
12236 return resultobj;
12237 fail:
12238 return NULL;
12239 }
12240
12241
12242 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12243 PyObject *resultobj = 0;
12244 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12245 wxSize result;
12246 void *argp1 = 0 ;
12247 int res1 = 0 ;
12248 PyObject *swig_obj[1] ;
12249
12250 if (!args) SWIG_fail;
12251 swig_obj[0] = args;
12252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12255 }
12256 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj = 0;
12272 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12273 wxLayoutOrientation arg2 ;
12274 void *argp1 = 0 ;
12275 int res1 = 0 ;
12276 int val2 ;
12277 int ecode2 = 0 ;
12278 PyObject * obj0 = 0 ;
12279 PyObject * obj1 = 0 ;
12280 char * kwnames[] = {
12281 (char *) "self",(char *) "orient", NULL
12282 };
12283
12284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12286 if (!SWIG_IsOK(res1)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12288 }
12289 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12290 ecode2 = SWIG_AsVal_int(obj1, &val2);
12291 if (!SWIG_IsOK(ecode2)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12293 }
12294 arg2 = static_cast< wxLayoutOrientation >(val2);
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 (arg1)->SetOrientation(arg2);
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 resultobj = SWIG_Py_Void();
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12309 PyObject *resultobj = 0;
12310 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12311 wxLayoutOrientation result;
12312 void *argp1 = 0 ;
12313 int res1 = 0 ;
12314 PyObject *swig_obj[1] ;
12315
12316 if (!args) SWIG_fail;
12317 swig_obj[0] = args;
12318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12319 if (!SWIG_IsOK(res1)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12321 }
12322 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 resultobj = SWIG_From_int(static_cast< int >(result));
12330 return resultobj;
12331 fail:
12332 return NULL;
12333 }
12334
12335
12336 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12337 PyObject *resultobj = 0;
12338 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12339 wxLayoutAlignment arg2 ;
12340 void *argp1 = 0 ;
12341 int res1 = 0 ;
12342 int val2 ;
12343 int ecode2 = 0 ;
12344 PyObject * obj0 = 0 ;
12345 PyObject * obj1 = 0 ;
12346 char * kwnames[] = {
12347 (char *) "self",(char *) "align", NULL
12348 };
12349
12350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12352 if (!SWIG_IsOK(res1)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12354 }
12355 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12356 ecode2 = SWIG_AsVal_int(obj1, &val2);
12357 if (!SWIG_IsOK(ecode2)) {
12358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12359 }
12360 arg2 = static_cast< wxLayoutAlignment >(val2);
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 (arg1)->SetAlignment(arg2);
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 resultobj = SWIG_Py_Void();
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12375 PyObject *resultobj = 0;
12376 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12377 wxLayoutAlignment result;
12378 void *argp1 = 0 ;
12379 int res1 = 0 ;
12380 PyObject *swig_obj[1] ;
12381
12382 if (!args) SWIG_fail;
12383 swig_obj[0] = args;
12384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12385 if (!SWIG_IsOK(res1)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12387 }
12388 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 resultobj = SWIG_From_int(static_cast< int >(result));
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12403 PyObject *obj;
12404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12405 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12406 return SWIG_Py_Void();
12407 }
12408
12409 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12410 return SWIG_Python_InitShadowInstance(args);
12411 }
12412
12413 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj = 0;
12415 int arg1 = (int) 0 ;
12416 wxCalculateLayoutEvent *result = 0 ;
12417 int val1 ;
12418 int ecode1 = 0 ;
12419 PyObject * obj0 = 0 ;
12420 char * kwnames[] = {
12421 (char *) "id", NULL
12422 };
12423
12424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12425 if (obj0) {
12426 ecode1 = SWIG_AsVal_int(obj0, &val1);
12427 if (!SWIG_IsOK(ecode1)) {
12428 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12429 }
12430 arg1 = static_cast< int >(val1);
12431 }
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12439 return resultobj;
12440 fail:
12441 return NULL;
12442 }
12443
12444
12445 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12446 PyObject *resultobj = 0;
12447 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12448 int arg2 ;
12449 void *argp1 = 0 ;
12450 int res1 = 0 ;
12451 int val2 ;
12452 int ecode2 = 0 ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 char * kwnames[] = {
12456 (char *) "self",(char *) "flags", NULL
12457 };
12458
12459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12461 if (!SWIG_IsOK(res1)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12463 }
12464 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12465 ecode2 = SWIG_AsVal_int(obj1, &val2);
12466 if (!SWIG_IsOK(ecode2)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12468 }
12469 arg2 = static_cast< int >(val2);
12470 {
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 (arg1)->SetFlags(arg2);
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 resultobj = SWIG_Py_Void();
12477 return resultobj;
12478 fail:
12479 return NULL;
12480 }
12481
12482
12483 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12484 PyObject *resultobj = 0;
12485 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12486 int result;
12487 void *argp1 = 0 ;
12488 int res1 = 0 ;
12489 PyObject *swig_obj[1] ;
12490
12491 if (!args) SWIG_fail;
12492 swig_obj[0] = args;
12493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12494 if (!SWIG_IsOK(res1)) {
12495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12496 }
12497 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 resultobj = SWIG_From_int(static_cast< int >(result));
12505 return resultobj;
12506 fail:
12507 return NULL;
12508 }
12509
12510
12511 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj = 0;
12513 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12514 wxRect *arg2 = 0 ;
12515 void *argp1 = 0 ;
12516 int res1 = 0 ;
12517 wxRect temp2 ;
12518 PyObject * obj0 = 0 ;
12519 PyObject * obj1 = 0 ;
12520 char * kwnames[] = {
12521 (char *) "self",(char *) "rect", NULL
12522 };
12523
12524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12526 if (!SWIG_IsOK(res1)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12528 }
12529 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12530 {
12531 arg2 = &temp2;
12532 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12533 }
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 (arg1)->SetRect((wxRect const &)*arg2);
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 resultobj = SWIG_Py_Void();
12541 return resultobj;
12542 fail:
12543 return NULL;
12544 }
12545
12546
12547 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12548 PyObject *resultobj = 0;
12549 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12550 wxRect result;
12551 void *argp1 = 0 ;
12552 int res1 = 0 ;
12553 PyObject *swig_obj[1] ;
12554
12555 if (!args) SWIG_fail;
12556 swig_obj[0] = args;
12557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12558 if (!SWIG_IsOK(res1)) {
12559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12560 }
12561 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12565 wxPyEndAllowThreads(__tstate);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12576 PyObject *obj;
12577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12578 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12579 return SWIG_Py_Void();
12580 }
12581
12582 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12583 return SWIG_Python_InitShadowInstance(args);
12584 }
12585
12586 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj = 0;
12588 wxWindow *arg1 = (wxWindow *) 0 ;
12589 int arg2 = (int) -1 ;
12590 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12591 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12592 wxSize const &arg4_defvalue = wxDefaultSize ;
12593 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12594 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12595 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12596 wxString *arg6 = (wxString *) &arg6_defvalue ;
12597 wxSashLayoutWindow *result = 0 ;
12598 void *argp1 = 0 ;
12599 int res1 = 0 ;
12600 int val2 ;
12601 int ecode2 = 0 ;
12602 wxPoint temp3 ;
12603 wxSize temp4 ;
12604 long val5 ;
12605 int ecode5 = 0 ;
12606 bool temp6 = false ;
12607 PyObject * obj0 = 0 ;
12608 PyObject * obj1 = 0 ;
12609 PyObject * obj2 = 0 ;
12610 PyObject * obj3 = 0 ;
12611 PyObject * obj4 = 0 ;
12612 PyObject * obj5 = 0 ;
12613 char * kwnames[] = {
12614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12615 };
12616
12617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12619 if (!SWIG_IsOK(res1)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12621 }
12622 arg1 = reinterpret_cast< wxWindow * >(argp1);
12623 if (obj1) {
12624 ecode2 = SWIG_AsVal_int(obj1, &val2);
12625 if (!SWIG_IsOK(ecode2)) {
12626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12627 }
12628 arg2 = static_cast< int >(val2);
12629 }
12630 if (obj2) {
12631 {
12632 arg3 = &temp3;
12633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12634 }
12635 }
12636 if (obj3) {
12637 {
12638 arg4 = &temp4;
12639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12640 }
12641 }
12642 if (obj4) {
12643 ecode5 = SWIG_AsVal_long(obj4, &val5);
12644 if (!SWIG_IsOK(ecode5)) {
12645 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12646 }
12647 arg5 = static_cast< long >(val5);
12648 }
12649 if (obj5) {
12650 {
12651 arg6 = wxString_in_helper(obj5);
12652 if (arg6 == NULL) SWIG_fail;
12653 temp6 = true;
12654 }
12655 }
12656 {
12657 if (!wxPyCheckForApp()) SWIG_fail;
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
12663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12664 {
12665 if (temp6)
12666 delete arg6;
12667 }
12668 return resultobj;
12669 fail:
12670 {
12671 if (temp6)
12672 delete arg6;
12673 }
12674 return NULL;
12675 }
12676
12677
12678 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12679 PyObject *resultobj = 0;
12680 wxSashLayoutWindow *result = 0 ;
12681
12682 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12683 {
12684 if (!wxPyCheckForApp()) SWIG_fail;
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj = 0;
12699 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12700 wxWindow *arg2 = (wxWindow *) 0 ;
12701 int arg3 = (int) -1 ;
12702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12704 wxSize const &arg5_defvalue = wxDefaultSize ;
12705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12706 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12707 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12708 wxString *arg7 = (wxString *) &arg7_defvalue ;
12709 bool result;
12710 void *argp1 = 0 ;
12711 int res1 = 0 ;
12712 void *argp2 = 0 ;
12713 int res2 = 0 ;
12714 int val3 ;
12715 int ecode3 = 0 ;
12716 wxPoint temp4 ;
12717 wxSize temp5 ;
12718 long val6 ;
12719 int ecode6 = 0 ;
12720 bool temp7 = false ;
12721 PyObject * obj0 = 0 ;
12722 PyObject * obj1 = 0 ;
12723 PyObject * obj2 = 0 ;
12724 PyObject * obj3 = 0 ;
12725 PyObject * obj4 = 0 ;
12726 PyObject * obj5 = 0 ;
12727 PyObject * obj6 = 0 ;
12728 char * kwnames[] = {
12729 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12730 };
12731
12732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12734 if (!SWIG_IsOK(res1)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12736 }
12737 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12739 if (!SWIG_IsOK(res2)) {
12740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12741 }
12742 arg2 = reinterpret_cast< wxWindow * >(argp2);
12743 if (obj2) {
12744 ecode3 = SWIG_AsVal_int(obj2, &val3);
12745 if (!SWIG_IsOK(ecode3)) {
12746 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12747 }
12748 arg3 = static_cast< int >(val3);
12749 }
12750 if (obj3) {
12751 {
12752 arg4 = &temp4;
12753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12754 }
12755 }
12756 if (obj4) {
12757 {
12758 arg5 = &temp5;
12759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12760 }
12761 }
12762 if (obj5) {
12763 ecode6 = SWIG_AsVal_long(obj5, &val6);
12764 if (!SWIG_IsOK(ecode6)) {
12765 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12766 }
12767 arg6 = static_cast< long >(val6);
12768 }
12769 if (obj6) {
12770 {
12771 arg7 = wxString_in_helper(obj6);
12772 if (arg7 == NULL) SWIG_fail;
12773 temp7 = true;
12774 }
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 {
12783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12784 }
12785 {
12786 if (temp7)
12787 delete arg7;
12788 }
12789 return resultobj;
12790 fail:
12791 {
12792 if (temp7)
12793 delete arg7;
12794 }
12795 return NULL;
12796 }
12797
12798
12799 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12800 PyObject *resultobj = 0;
12801 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12802 wxLayoutAlignment result;
12803 void *argp1 = 0 ;
12804 int res1 = 0 ;
12805 PyObject *swig_obj[1] ;
12806
12807 if (!args) SWIG_fail;
12808 swig_obj[0] = args;
12809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12810 if (!SWIG_IsOK(res1)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12812 }
12813 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = SWIG_From_int(static_cast< int >(result));
12821 return resultobj;
12822 fail:
12823 return NULL;
12824 }
12825
12826
12827 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12828 PyObject *resultobj = 0;
12829 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12830 wxLayoutOrientation result;
12831 void *argp1 = 0 ;
12832 int res1 = 0 ;
12833 PyObject *swig_obj[1] ;
12834
12835 if (!args) SWIG_fail;
12836 swig_obj[0] = args;
12837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12838 if (!SWIG_IsOK(res1)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12840 }
12841 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = SWIG_From_int(static_cast< int >(result));
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj = 0;
12857 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12858 wxLayoutAlignment arg2 ;
12859 void *argp1 = 0 ;
12860 int res1 = 0 ;
12861 int val2 ;
12862 int ecode2 = 0 ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 char * kwnames[] = {
12866 (char *) "self",(char *) "alignment", NULL
12867 };
12868
12869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12871 if (!SWIG_IsOK(res1)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12873 }
12874 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12875 ecode2 = SWIG_AsVal_int(obj1, &val2);
12876 if (!SWIG_IsOK(ecode2)) {
12877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12878 }
12879 arg2 = static_cast< wxLayoutAlignment >(val2);
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 (arg1)->SetAlignment(arg2);
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
12886 resultobj = SWIG_Py_Void();
12887 return resultobj;
12888 fail:
12889 return NULL;
12890 }
12891
12892
12893 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12894 PyObject *resultobj = 0;
12895 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12896 wxSize *arg2 = 0 ;
12897 void *argp1 = 0 ;
12898 int res1 = 0 ;
12899 wxSize temp2 ;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 char * kwnames[] = {
12903 (char *) "self",(char *) "size", NULL
12904 };
12905
12906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12908 if (!SWIG_IsOK(res1)) {
12909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12910 }
12911 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12912 {
12913 arg2 = &temp2;
12914 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12915 }
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 resultobj = SWIG_Py_Void();
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj = 0;
12931 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12932 wxLayoutOrientation arg2 ;
12933 void *argp1 = 0 ;
12934 int res1 = 0 ;
12935 int val2 ;
12936 int ecode2 = 0 ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 char * kwnames[] = {
12940 (char *) "self",(char *) "orientation", NULL
12941 };
12942
12943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12945 if (!SWIG_IsOK(res1)) {
12946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12947 }
12948 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12949 ecode2 = SWIG_AsVal_int(obj1, &val2);
12950 if (!SWIG_IsOK(ecode2)) {
12951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12952 }
12953 arg2 = static_cast< wxLayoutOrientation >(val2);
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 (arg1)->SetOrientation(arg2);
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 resultobj = SWIG_Py_Void();
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12968 PyObject *obj;
12969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12970 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12971 return SWIG_Py_Void();
12972 }
12973
12974 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12975 return SWIG_Python_InitShadowInstance(args);
12976 }
12977
12978 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12979 PyObject *resultobj = 0;
12980 wxLayoutAlgorithm *result = 0 ;
12981
12982 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12997 PyObject *resultobj = 0;
12998 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12999 void *argp1 = 0 ;
13000 int res1 = 0 ;
13001 PyObject *swig_obj[1] ;
13002
13003 if (!args) SWIG_fail;
13004 swig_obj[0] = args;
13005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13006 if (!SWIG_IsOK(res1)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13008 }
13009 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 delete arg1;
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_Py_Void();
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj = 0;
13026 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13027 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13028 wxRect *arg3 = (wxRect *) NULL ;
13029 bool result;
13030 void *argp1 = 0 ;
13031 int res1 = 0 ;
13032 void *argp2 = 0 ;
13033 int res2 = 0 ;
13034 void *argp3 = 0 ;
13035 int res3 = 0 ;
13036 PyObject * obj0 = 0 ;
13037 PyObject * obj1 = 0 ;
13038 PyObject * obj2 = 0 ;
13039 char * kwnames[] = {
13040 (char *) "self",(char *) "frame",(char *) "rect", NULL
13041 };
13042
13043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13045 if (!SWIG_IsOK(res1)) {
13046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13047 }
13048 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13049 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13050 if (!SWIG_IsOK(res2)) {
13051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13052 }
13053 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13054 if (obj2) {
13055 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13056 if (!SWIG_IsOK(res3)) {
13057 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13058 }
13059 arg3 = reinterpret_cast< wxRect * >(argp3);
13060 }
13061 {
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 {
13068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13069 }
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj = 0;
13078 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13079 wxFrame *arg2 = (wxFrame *) 0 ;
13080 wxWindow *arg3 = (wxWindow *) NULL ;
13081 bool result;
13082 void *argp1 = 0 ;
13083 int res1 = 0 ;
13084 void *argp2 = 0 ;
13085 int res2 = 0 ;
13086 void *argp3 = 0 ;
13087 int res3 = 0 ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 PyObject * obj2 = 0 ;
13091 char * kwnames[] = {
13092 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13093 };
13094
13095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13097 if (!SWIG_IsOK(res1)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13099 }
13100 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13101 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13102 if (!SWIG_IsOK(res2)) {
13103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13104 }
13105 arg2 = reinterpret_cast< wxFrame * >(argp2);
13106 if (obj2) {
13107 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13108 if (!SWIG_IsOK(res3)) {
13109 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13110 }
13111 arg3 = reinterpret_cast< wxWindow * >(argp3);
13112 }
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 {
13120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13121 }
13122 return resultobj;
13123 fail:
13124 return NULL;
13125 }
13126
13127
13128 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13129 PyObject *resultobj = 0;
13130 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13131 wxWindow *arg2 = (wxWindow *) 0 ;
13132 wxWindow *arg3 = (wxWindow *) NULL ;
13133 bool result;
13134 void *argp1 = 0 ;
13135 int res1 = 0 ;
13136 void *argp2 = 0 ;
13137 int res2 = 0 ;
13138 void *argp3 = 0 ;
13139 int res3 = 0 ;
13140 PyObject * obj0 = 0 ;
13141 PyObject * obj1 = 0 ;
13142 PyObject * obj2 = 0 ;
13143 char * kwnames[] = {
13144 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13145 };
13146
13147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13149 if (!SWIG_IsOK(res1)) {
13150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13151 }
13152 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13154 if (!SWIG_IsOK(res2)) {
13155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13156 }
13157 arg2 = reinterpret_cast< wxWindow * >(argp2);
13158 if (obj2) {
13159 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13160 if (!SWIG_IsOK(res3)) {
13161 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13162 }
13163 arg3 = reinterpret_cast< wxWindow * >(argp3);
13164 }
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13168 wxPyEndAllowThreads(__tstate);
13169 if (PyErr_Occurred()) SWIG_fail;
13170 }
13171 {
13172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13173 }
13174 return resultobj;
13175 fail:
13176 return NULL;
13177 }
13178
13179
13180 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13181 PyObject *obj;
13182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13183 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13184 return SWIG_Py_Void();
13185 }
13186
13187 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13188 return SWIG_Python_InitShadowInstance(args);
13189 }
13190
13191 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj = 0;
13193 wxWindow *arg1 = (wxWindow *) 0 ;
13194 int arg2 = (int) wxBORDER_NONE ;
13195 wxPopupWindow *result = 0 ;
13196 void *argp1 = 0 ;
13197 int res1 = 0 ;
13198 int val2 ;
13199 int ecode2 = 0 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 char * kwnames[] = {
13203 (char *) "parent",(char *) "flags", NULL
13204 };
13205
13206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13208 if (!SWIG_IsOK(res1)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13210 }
13211 arg1 = reinterpret_cast< wxWindow * >(argp1);
13212 if (obj1) {
13213 ecode2 = SWIG_AsVal_int(obj1, &val2);
13214 if (!SWIG_IsOK(ecode2)) {
13215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13216 }
13217 arg2 = static_cast< int >(val2);
13218 }
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13222 wxPyEndAllowThreads(__tstate);
13223 if (PyErr_Occurred()) SWIG_fail;
13224 }
13225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13233 PyObject *resultobj = 0;
13234 wxPopupWindow *result = 0 ;
13235
13236 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = (wxPopupWindow *)new wxPopupWindow();
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13251 PyObject *obj;
13252 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13253 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13254 return SWIG_Py_Void();
13255 }
13256
13257 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13258 return SWIG_Python_InitShadowInstance(args);
13259 }
13260
13261 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13262 PyObject *resultobj = 0;
13263 wxWindow *arg1 = (wxWindow *) 0 ;
13264 int arg2 = (int) wxBORDER_NONE ;
13265 wxPyPopupTransientWindow *result = 0 ;
13266 void *argp1 = 0 ;
13267 int res1 = 0 ;
13268 int val2 ;
13269 int ecode2 = 0 ;
13270 PyObject * obj0 = 0 ;
13271 PyObject * obj1 = 0 ;
13272 char * kwnames[] = {
13273 (char *) "parent",(char *) "style", NULL
13274 };
13275
13276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13278 if (!SWIG_IsOK(res1)) {
13279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13280 }
13281 arg1 = reinterpret_cast< wxWindow * >(argp1);
13282 if (obj1) {
13283 ecode2 = SWIG_AsVal_int(obj1, &val2);
13284 if (!SWIG_IsOK(ecode2)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13286 }
13287 arg2 = static_cast< int >(val2);
13288 }
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13303 PyObject *resultobj = 0;
13304 wxPyPopupTransientWindow *result = 0 ;
13305
13306 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13314 return resultobj;
13315 fail:
13316 return NULL;
13317 }
13318
13319
13320 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13321 PyObject *obj;
13322 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13323 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13324 return SWIG_Py_Void();
13325 }
13326
13327 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13328 return SWIG_Python_InitShadowInstance(args);
13329 }
13330
13331 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj = 0;
13333 wxWindow *arg1 = (wxWindow *) 0 ;
13334 wxString *arg2 = 0 ;
13335 int arg3 = (int) 100 ;
13336 wxRect *arg4 = (wxRect *) NULL ;
13337 wxTipWindow *result = 0 ;
13338 void *argp1 = 0 ;
13339 int res1 = 0 ;
13340 bool temp2 = false ;
13341 int val3 ;
13342 int ecode3 = 0 ;
13343 void *argp4 = 0 ;
13344 int res4 = 0 ;
13345 PyObject * obj0 = 0 ;
13346 PyObject * obj1 = 0 ;
13347 PyObject * obj2 = 0 ;
13348 PyObject * obj3 = 0 ;
13349 char * kwnames[] = {
13350 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13351 };
13352
13353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13355 if (!SWIG_IsOK(res1)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13357 }
13358 arg1 = reinterpret_cast< wxWindow * >(argp1);
13359 {
13360 arg2 = wxString_in_helper(obj1);
13361 if (arg2 == NULL) SWIG_fail;
13362 temp2 = true;
13363 }
13364 if (obj2) {
13365 ecode3 = SWIG_AsVal_int(obj2, &val3);
13366 if (!SWIG_IsOK(ecode3)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13368 }
13369 arg3 = static_cast< int >(val3);
13370 }
13371 if (obj3) {
13372 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13373 if (!SWIG_IsOK(res4)) {
13374 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13375 }
13376 arg4 = reinterpret_cast< wxRect * >(argp4);
13377 }
13378 {
13379 if (!wxPyCheckForApp()) SWIG_fail;
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13386 {
13387 if (temp2)
13388 delete arg2;
13389 }
13390 return resultobj;
13391 fail:
13392 {
13393 if (temp2)
13394 delete arg2;
13395 }
13396 return NULL;
13397 }
13398
13399
13400 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj = 0;
13402 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13403 wxRect *arg2 = 0 ;
13404 void *argp1 = 0 ;
13405 int res1 = 0 ;
13406 wxRect temp2 ;
13407 PyObject * obj0 = 0 ;
13408 PyObject * obj1 = 0 ;
13409 char * kwnames[] = {
13410 (char *) "self",(char *) "rectBound", NULL
13411 };
13412
13413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13415 if (!SWIG_IsOK(res1)) {
13416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13417 }
13418 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13419 {
13420 arg2 = &temp2;
13421 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13422 }
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 resultobj = SWIG_Py_Void();
13430 return resultobj;
13431 fail:
13432 return NULL;
13433 }
13434
13435
13436 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13437 PyObject *resultobj = 0;
13438 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13439 void *argp1 = 0 ;
13440 int res1 = 0 ;
13441 PyObject *swig_obj[1] ;
13442
13443 if (!args) SWIG_fail;
13444 swig_obj[0] = args;
13445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13446 if (!SWIG_IsOK(res1)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13448 }
13449 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 (arg1)->Close();
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 resultobj = SWIG_Py_Void();
13457 return resultobj;
13458 fail:
13459 return NULL;
13460 }
13461
13462
13463 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13464 PyObject *obj;
13465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13466 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13467 return SWIG_Py_Void();
13468 }
13469
13470 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13471 return SWIG_Python_InitShadowInstance(args);
13472 }
13473
13474 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj = 0;
13476 wxWindow *arg1 = (wxWindow *) 0 ;
13477 int arg2 = (int) wxID_ANY ;
13478 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13479 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13480 wxSize const &arg4_defvalue = wxDefaultSize ;
13481 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13482 long arg5 = (long) 0 ;
13483 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13484 wxString *arg6 = (wxString *) &arg6_defvalue ;
13485 wxPyVScrolledWindow *result = 0 ;
13486 void *argp1 = 0 ;
13487 int res1 = 0 ;
13488 int val2 ;
13489 int ecode2 = 0 ;
13490 wxPoint temp3 ;
13491 wxSize temp4 ;
13492 long val5 ;
13493 int ecode5 = 0 ;
13494 bool temp6 = false ;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 PyObject * obj2 = 0 ;
13498 PyObject * obj3 = 0 ;
13499 PyObject * obj4 = 0 ;
13500 PyObject * obj5 = 0 ;
13501 char * kwnames[] = {
13502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13503 };
13504
13505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13507 if (!SWIG_IsOK(res1)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13509 }
13510 arg1 = reinterpret_cast< wxWindow * >(argp1);
13511 if (obj1) {
13512 ecode2 = SWIG_AsVal_int(obj1, &val2);
13513 if (!SWIG_IsOK(ecode2)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13515 }
13516 arg2 = static_cast< int >(val2);
13517 }
13518 if (obj2) {
13519 {
13520 arg3 = &temp3;
13521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13522 }
13523 }
13524 if (obj3) {
13525 {
13526 arg4 = &temp4;
13527 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13528 }
13529 }
13530 if (obj4) {
13531 ecode5 = SWIG_AsVal_long(obj4, &val5);
13532 if (!SWIG_IsOK(ecode5)) {
13533 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13534 }
13535 arg5 = static_cast< long >(val5);
13536 }
13537 if (obj5) {
13538 {
13539 arg6 = wxString_in_helper(obj5);
13540 if (arg6 == NULL) SWIG_fail;
13541 temp6 = true;
13542 }
13543 }
13544 {
13545 if (!wxPyCheckForApp()) SWIG_fail;
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13552 {
13553 if (temp6)
13554 delete arg6;
13555 }
13556 return resultobj;
13557 fail:
13558 {
13559 if (temp6)
13560 delete arg6;
13561 }
13562 return NULL;
13563 }
13564
13565
13566 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13567 PyObject *resultobj = 0;
13568 wxPyVScrolledWindow *result = 0 ;
13569
13570 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13571 {
13572 if (!wxPyCheckForApp()) SWIG_fail;
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13579 return resultobj;
13580 fail:
13581 return NULL;
13582 }
13583
13584
13585 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13586 PyObject *resultobj = 0;
13587 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13588 PyObject *arg2 = (PyObject *) 0 ;
13589 PyObject *arg3 = (PyObject *) 0 ;
13590 void *argp1 = 0 ;
13591 int res1 = 0 ;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj1 = 0 ;
13594 PyObject * obj2 = 0 ;
13595 char * kwnames[] = {
13596 (char *) "self",(char *) "self",(char *) "_class", NULL
13597 };
13598
13599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13601 if (!SWIG_IsOK(res1)) {
13602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13603 }
13604 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13605 arg2 = obj1;
13606 arg3 = obj2;
13607 {
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 (arg1)->_setCallbackInfo(arg2,arg3);
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 resultobj = SWIG_Py_Void();
13614 return resultobj;
13615 fail:
13616 return NULL;
13617 }
13618
13619
13620 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13621 PyObject *resultobj = 0;
13622 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13623 wxWindow *arg2 = (wxWindow *) 0 ;
13624 int arg3 = (int) wxID_ANY ;
13625 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13626 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13627 wxSize const &arg5_defvalue = wxDefaultSize ;
13628 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13629 long arg6 = (long) 0 ;
13630 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13631 wxString *arg7 = (wxString *) &arg7_defvalue ;
13632 bool result;
13633 void *argp1 = 0 ;
13634 int res1 = 0 ;
13635 void *argp2 = 0 ;
13636 int res2 = 0 ;
13637 int val3 ;
13638 int ecode3 = 0 ;
13639 wxPoint temp4 ;
13640 wxSize temp5 ;
13641 long val6 ;
13642 int ecode6 = 0 ;
13643 bool temp7 = false ;
13644 PyObject * obj0 = 0 ;
13645 PyObject * obj1 = 0 ;
13646 PyObject * obj2 = 0 ;
13647 PyObject * obj3 = 0 ;
13648 PyObject * obj4 = 0 ;
13649 PyObject * obj5 = 0 ;
13650 PyObject * obj6 = 0 ;
13651 char * kwnames[] = {
13652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13653 };
13654
13655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13657 if (!SWIG_IsOK(res1)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13659 }
13660 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13661 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13662 if (!SWIG_IsOK(res2)) {
13663 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13664 }
13665 arg2 = reinterpret_cast< wxWindow * >(argp2);
13666 if (obj2) {
13667 ecode3 = SWIG_AsVal_int(obj2, &val3);
13668 if (!SWIG_IsOK(ecode3)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13670 }
13671 arg3 = static_cast< int >(val3);
13672 }
13673 if (obj3) {
13674 {
13675 arg4 = &temp4;
13676 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13677 }
13678 }
13679 if (obj4) {
13680 {
13681 arg5 = &temp5;
13682 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13683 }
13684 }
13685 if (obj5) {
13686 ecode6 = SWIG_AsVal_long(obj5, &val6);
13687 if (!SWIG_IsOK(ecode6)) {
13688 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13689 }
13690 arg6 = static_cast< long >(val6);
13691 }
13692 if (obj6) {
13693 {
13694 arg7 = wxString_in_helper(obj6);
13695 if (arg7 == NULL) SWIG_fail;
13696 temp7 = true;
13697 }
13698 }
13699 {
13700 PyThreadState* __tstate = wxPyBeginAllowThreads();
13701 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 {
13706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13707 }
13708 {
13709 if (temp7)
13710 delete arg7;
13711 }
13712 return resultobj;
13713 fail:
13714 {
13715 if (temp7)
13716 delete arg7;
13717 }
13718 return NULL;
13719 }
13720
13721
13722 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13723 PyObject *resultobj = 0;
13724 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13725 size_t arg2 ;
13726 void *argp1 = 0 ;
13727 int res1 = 0 ;
13728 size_t val2 ;
13729 int ecode2 = 0 ;
13730 PyObject * obj0 = 0 ;
13731 PyObject * obj1 = 0 ;
13732 char * kwnames[] = {
13733 (char *) "self",(char *) "count", NULL
13734 };
13735
13736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13738 if (!SWIG_IsOK(res1)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13740 }
13741 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13742 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13743 if (!SWIG_IsOK(ecode2)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13745 }
13746 arg2 = static_cast< size_t >(val2);
13747 {
13748 PyThreadState* __tstate = wxPyBeginAllowThreads();
13749 (arg1)->SetLineCount(arg2);
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 resultobj = SWIG_Py_Void();
13754 return resultobj;
13755 fail:
13756 return NULL;
13757 }
13758
13759
13760 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13761 PyObject *resultobj = 0;
13762 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13763 size_t arg2 ;
13764 bool result;
13765 void *argp1 = 0 ;
13766 int res1 = 0 ;
13767 size_t val2 ;
13768 int ecode2 = 0 ;
13769 PyObject * obj0 = 0 ;
13770 PyObject * obj1 = 0 ;
13771 char * kwnames[] = {
13772 (char *) "self",(char *) "line", NULL
13773 };
13774
13775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13777 if (!SWIG_IsOK(res1)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13779 }
13780 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13781 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13782 if (!SWIG_IsOK(ecode2)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13784 }
13785 arg2 = static_cast< size_t >(val2);
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (bool)(arg1)->ScrollToLine(arg2);
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 {
13793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13794 }
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj = 0;
13803 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13804 size_t arg2 ;
13805 void *argp1 = 0 ;
13806 int res1 = 0 ;
13807 size_t val2 ;
13808 int ecode2 = 0 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char * kwnames[] = {
13812 (char *) "self",(char *) "line", NULL
13813 };
13814
13815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13817 if (!SWIG_IsOK(res1)) {
13818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13819 }
13820 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13821 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13822 if (!SWIG_IsOK(ecode2)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13824 }
13825 arg2 = static_cast< size_t >(val2);
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 (arg1)->RefreshLine(arg2);
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 resultobj = SWIG_Py_Void();
13833 return resultobj;
13834 fail:
13835 return NULL;
13836 }
13837
13838
13839 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj = 0;
13841 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13842 size_t arg2 ;
13843 size_t arg3 ;
13844 void *argp1 = 0 ;
13845 int res1 = 0 ;
13846 size_t val2 ;
13847 int ecode2 = 0 ;
13848 size_t val3 ;
13849 int ecode3 = 0 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 PyObject * obj2 = 0 ;
13853 char * kwnames[] = {
13854 (char *) "self",(char *) "from",(char *) "to", NULL
13855 };
13856
13857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13859 if (!SWIG_IsOK(res1)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13861 }
13862 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13863 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13864 if (!SWIG_IsOK(ecode2)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13866 }
13867 arg2 = static_cast< size_t >(val2);
13868 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13869 if (!SWIG_IsOK(ecode3)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13871 }
13872 arg3 = static_cast< size_t >(val3);
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 (arg1)->RefreshLines(arg2,arg3);
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 resultobj = SWIG_Py_Void();
13880 return resultobj;
13881 fail:
13882 return NULL;
13883 }
13884
13885
13886 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj = 0;
13888 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13889 int arg2 ;
13890 int arg3 ;
13891 int result;
13892 void *argp1 = 0 ;
13893 int res1 = 0 ;
13894 int val2 ;
13895 int ecode2 = 0 ;
13896 int val3 ;
13897 int ecode3 = 0 ;
13898 PyObject * obj0 = 0 ;
13899 PyObject * obj1 = 0 ;
13900 PyObject * obj2 = 0 ;
13901 char * kwnames[] = {
13902 (char *) "self",(char *) "x",(char *) "y", NULL
13903 };
13904
13905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13907 if (!SWIG_IsOK(res1)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13909 }
13910 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13911 ecode2 = SWIG_AsVal_int(obj1, &val2);
13912 if (!SWIG_IsOK(ecode2)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13914 }
13915 arg2 = static_cast< int >(val2);
13916 ecode3 = SWIG_AsVal_int(obj2, &val3);
13917 if (!SWIG_IsOK(ecode3)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13919 }
13920 arg3 = static_cast< int >(val3);
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 resultobj = SWIG_From_int(static_cast< int >(result));
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj = 0;
13936 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13937 wxPoint *arg2 = 0 ;
13938 int result;
13939 void *argp1 = 0 ;
13940 int res1 = 0 ;
13941 wxPoint temp2 ;
13942 PyObject * obj0 = 0 ;
13943 PyObject * obj1 = 0 ;
13944 char * kwnames[] = {
13945 (char *) "self",(char *) "pt", NULL
13946 };
13947
13948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13950 if (!SWIG_IsOK(res1)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13952 }
13953 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13954 {
13955 arg2 = &temp2;
13956 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13957 }
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 resultobj = SWIG_From_int(static_cast< int >(result));
13965 return resultobj;
13966 fail:
13967 return NULL;
13968 }
13969
13970
13971 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13972 PyObject *resultobj = 0;
13973 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13974 void *argp1 = 0 ;
13975 int res1 = 0 ;
13976 PyObject *swig_obj[1] ;
13977
13978 if (!args) SWIG_fail;
13979 swig_obj[0] = args;
13980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13981 if (!SWIG_IsOK(res1)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13983 }
13984 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 (arg1)->RefreshAll();
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = SWIG_Py_Void();
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13999 PyObject *resultobj = 0;
14000 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14001 size_t result;
14002 void *argp1 = 0 ;
14003 int res1 = 0 ;
14004 PyObject *swig_obj[1] ;
14005
14006 if (!args) SWIG_fail;
14007 swig_obj[0] = args;
14008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14009 if (!SWIG_IsOK(res1)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14011 }
14012 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14016 wxPyEndAllowThreads(__tstate);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 }
14019 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14020 return resultobj;
14021 fail:
14022 return NULL;
14023 }
14024
14025
14026 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14027 PyObject *resultobj = 0;
14028 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14029 size_t result;
14030 void *argp1 = 0 ;
14031 int res1 = 0 ;
14032 PyObject *swig_obj[1] ;
14033
14034 if (!args) SWIG_fail;
14035 swig_obj[0] = args;
14036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14037 if (!SWIG_IsOK(res1)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14039 }
14040 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14044 wxPyEndAllowThreads(__tstate);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14048 return resultobj;
14049 fail:
14050 return NULL;
14051 }
14052
14053
14054 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14055 PyObject *resultobj = 0;
14056 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14057 size_t result;
14058 void *argp1 = 0 ;
14059 int res1 = 0 ;
14060 PyObject *swig_obj[1] ;
14061
14062 if (!args) SWIG_fail;
14063 swig_obj[0] = args;
14064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14065 if (!SWIG_IsOK(res1)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14067 }
14068 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj = 0;
14084 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14085 size_t arg2 ;
14086 bool result;
14087 void *argp1 = 0 ;
14088 int res1 = 0 ;
14089 size_t val2 ;
14090 int ecode2 = 0 ;
14091 PyObject * obj0 = 0 ;
14092 PyObject * obj1 = 0 ;
14093 char * kwnames[] = {
14094 (char *) "self",(char *) "line", NULL
14095 };
14096
14097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14099 if (!SWIG_IsOK(res1)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 }
14102 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14103 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14104 if (!SWIG_IsOK(ecode2)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14106 }
14107 arg2 = static_cast< size_t >(val2);
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 {
14115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14116 }
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14124 PyObject *resultobj = 0;
14125 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14126 size_t result;
14127 void *argp1 = 0 ;
14128 int res1 = 0 ;
14129 PyObject *swig_obj[1] ;
14130
14131 if (!args) SWIG_fail;
14132 swig_obj[0] = args;
14133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14134 if (!SWIG_IsOK(res1)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14136 }
14137 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14152 PyObject *resultobj = 0;
14153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14154 size_t result;
14155 void *argp1 = 0 ;
14156 int res1 = 0 ;
14157 PyObject *swig_obj[1] ;
14158
14159 if (!args) SWIG_fail;
14160 swig_obj[0] = args;
14161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14162 if (!SWIG_IsOK(res1)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14164 }
14165 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14173 return resultobj;
14174 fail:
14175 return NULL;
14176 }
14177
14178
14179 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14180 PyObject *resultobj = 0;
14181 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14182 size_t arg2 ;
14183 bool arg3 = (bool) false ;
14184 size_t result;
14185 void *argp1 = 0 ;
14186 int res1 = 0 ;
14187 size_t val2 ;
14188 int ecode2 = 0 ;
14189 bool val3 ;
14190 int ecode3 = 0 ;
14191 PyObject * obj0 = 0 ;
14192 PyObject * obj1 = 0 ;
14193 PyObject * obj2 = 0 ;
14194 char * kwnames[] = {
14195 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14196 };
14197
14198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14200 if (!SWIG_IsOK(res1)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14202 }
14203 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14204 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14205 if (!SWIG_IsOK(ecode2)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14207 }
14208 arg2 = static_cast< size_t >(val2);
14209 if (obj2) {
14210 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14211 if (!SWIG_IsOK(ecode3)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14213 }
14214 arg3 = static_cast< bool >(val3);
14215 }
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14219 wxPyEndAllowThreads(__tstate);
14220 if (PyErr_Occurred()) SWIG_fail;
14221 }
14222 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14223 return resultobj;
14224 fail:
14225 return NULL;
14226 }
14227
14228
14229 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14230 PyObject *resultobj = 0;
14231 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14232 size_t arg2 ;
14233 size_t arg3 ;
14234 int result;
14235 void *argp1 = 0 ;
14236 int res1 = 0 ;
14237 size_t val2 ;
14238 int ecode2 = 0 ;
14239 size_t val3 ;
14240 int ecode3 = 0 ;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 PyObject * obj2 = 0 ;
14244 char * kwnames[] = {
14245 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14246 };
14247
14248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14250 if (!SWIG_IsOK(res1)) {
14251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14252 }
14253 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14254 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14255 if (!SWIG_IsOK(ecode2)) {
14256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14257 }
14258 arg2 = static_cast< size_t >(val2);
14259 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14260 if (!SWIG_IsOK(ecode3)) {
14261 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14262 }
14263 arg3 = static_cast< size_t >(val3);
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 resultobj = SWIG_From_int(static_cast< int >(result));
14271 return resultobj;
14272 fail:
14273 return NULL;
14274 }
14275
14276
14277 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14278 PyObject *obj;
14279 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14280 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14281 return SWIG_Py_Void();
14282 }
14283
14284 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14285 return SWIG_Python_InitShadowInstance(args);
14286 }
14287
14288 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14289 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14290 return 1;
14291 }
14292
14293
14294 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14295 PyObject *pyobj = 0;
14296
14297 {
14298 #if wxUSE_UNICODE
14299 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14300 #else
14301 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14302 #endif
14303 }
14304 return pyobj;
14305 }
14306
14307
14308 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj = 0;
14310 wxWindow *arg1 = (wxWindow *) 0 ;
14311 int arg2 = (int) wxID_ANY ;
14312 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14313 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14314 wxSize const &arg4_defvalue = wxDefaultSize ;
14315 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14316 long arg5 = (long) 0 ;
14317 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14318 wxString *arg6 = (wxString *) &arg6_defvalue ;
14319 wxPyVListBox *result = 0 ;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 int val2 ;
14323 int ecode2 = 0 ;
14324 wxPoint temp3 ;
14325 wxSize temp4 ;
14326 long val5 ;
14327 int ecode5 = 0 ;
14328 bool temp6 = false ;
14329 PyObject * obj0 = 0 ;
14330 PyObject * obj1 = 0 ;
14331 PyObject * obj2 = 0 ;
14332 PyObject * obj3 = 0 ;
14333 PyObject * obj4 = 0 ;
14334 PyObject * obj5 = 0 ;
14335 char * kwnames[] = {
14336 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14337 };
14338
14339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14341 if (!SWIG_IsOK(res1)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14343 }
14344 arg1 = reinterpret_cast< wxWindow * >(argp1);
14345 if (obj1) {
14346 ecode2 = SWIG_AsVal_int(obj1, &val2);
14347 if (!SWIG_IsOK(ecode2)) {
14348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14349 }
14350 arg2 = static_cast< int >(val2);
14351 }
14352 if (obj2) {
14353 {
14354 arg3 = &temp3;
14355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14356 }
14357 }
14358 if (obj3) {
14359 {
14360 arg4 = &temp4;
14361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14362 }
14363 }
14364 if (obj4) {
14365 ecode5 = SWIG_AsVal_long(obj4, &val5);
14366 if (!SWIG_IsOK(ecode5)) {
14367 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14368 }
14369 arg5 = static_cast< long >(val5);
14370 }
14371 if (obj5) {
14372 {
14373 arg6 = wxString_in_helper(obj5);
14374 if (arg6 == NULL) SWIG_fail;
14375 temp6 = true;
14376 }
14377 }
14378 {
14379 if (!wxPyCheckForApp()) SWIG_fail;
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14386 {
14387 if (temp6)
14388 delete arg6;
14389 }
14390 return resultobj;
14391 fail:
14392 {
14393 if (temp6)
14394 delete arg6;
14395 }
14396 return NULL;
14397 }
14398
14399
14400 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14401 PyObject *resultobj = 0;
14402 wxPyVListBox *result = 0 ;
14403
14404 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14405 {
14406 if (!wxPyCheckForApp()) SWIG_fail;
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = (wxPyVListBox *)new wxPyVListBox();
14409 wxPyEndAllowThreads(__tstate);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14413 return resultobj;
14414 fail:
14415 return NULL;
14416 }
14417
14418
14419 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj = 0;
14421 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14422 PyObject *arg2 = (PyObject *) 0 ;
14423 PyObject *arg3 = (PyObject *) 0 ;
14424 void *argp1 = 0 ;
14425 int res1 = 0 ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 PyObject * obj2 = 0 ;
14429 char * kwnames[] = {
14430 (char *) "self",(char *) "self",(char *) "_class", NULL
14431 };
14432
14433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14435 if (!SWIG_IsOK(res1)) {
14436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14437 }
14438 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14439 arg2 = obj1;
14440 arg3 = obj2;
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 (arg1)->_setCallbackInfo(arg2,arg3);
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 resultobj = SWIG_Py_Void();
14448 return resultobj;
14449 fail:
14450 return NULL;
14451 }
14452
14453
14454 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj = 0;
14456 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14457 wxWindow *arg2 = (wxWindow *) 0 ;
14458 int arg3 = (int) wxID_ANY ;
14459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14461 wxSize const &arg5_defvalue = wxDefaultSize ;
14462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14463 long arg6 = (long) 0 ;
14464 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14465 wxString *arg7 = (wxString *) &arg7_defvalue ;
14466 bool result;
14467 void *argp1 = 0 ;
14468 int res1 = 0 ;
14469 void *argp2 = 0 ;
14470 int res2 = 0 ;
14471 int val3 ;
14472 int ecode3 = 0 ;
14473 wxPoint temp4 ;
14474 wxSize temp5 ;
14475 long val6 ;
14476 int ecode6 = 0 ;
14477 bool temp7 = false ;
14478 PyObject * obj0 = 0 ;
14479 PyObject * obj1 = 0 ;
14480 PyObject * obj2 = 0 ;
14481 PyObject * obj3 = 0 ;
14482 PyObject * obj4 = 0 ;
14483 PyObject * obj5 = 0 ;
14484 PyObject * obj6 = 0 ;
14485 char * kwnames[] = {
14486 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14487 };
14488
14489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14491 if (!SWIG_IsOK(res1)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14493 }
14494 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14495 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14496 if (!SWIG_IsOK(res2)) {
14497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14498 }
14499 arg2 = reinterpret_cast< wxWindow * >(argp2);
14500 if (obj2) {
14501 ecode3 = SWIG_AsVal_int(obj2, &val3);
14502 if (!SWIG_IsOK(ecode3)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14504 }
14505 arg3 = static_cast< int >(val3);
14506 }
14507 if (obj3) {
14508 {
14509 arg4 = &temp4;
14510 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14511 }
14512 }
14513 if (obj4) {
14514 {
14515 arg5 = &temp5;
14516 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14517 }
14518 }
14519 if (obj5) {
14520 ecode6 = SWIG_AsVal_long(obj5, &val6);
14521 if (!SWIG_IsOK(ecode6)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14523 }
14524 arg6 = static_cast< long >(val6);
14525 }
14526 if (obj6) {
14527 {
14528 arg7 = wxString_in_helper(obj6);
14529 if (arg7 == NULL) SWIG_fail;
14530 temp7 = true;
14531 }
14532 }
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14541 }
14542 {
14543 if (temp7)
14544 delete arg7;
14545 }
14546 return resultobj;
14547 fail:
14548 {
14549 if (temp7)
14550 delete arg7;
14551 }
14552 return NULL;
14553 }
14554
14555
14556 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14557 PyObject *resultobj = 0;
14558 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14559 size_t result;
14560 void *argp1 = 0 ;
14561 int res1 = 0 ;
14562 PyObject *swig_obj[1] ;
14563
14564 if (!args) SWIG_fail;
14565 swig_obj[0] = args;
14566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14567 if (!SWIG_IsOK(res1)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14569 }
14570 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14571 {
14572 PyThreadState* __tstate = wxPyBeginAllowThreads();
14573 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14574 wxPyEndAllowThreads(__tstate);
14575 if (PyErr_Occurred()) SWIG_fail;
14576 }
14577 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14578 return resultobj;
14579 fail:
14580 return NULL;
14581 }
14582
14583
14584 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14585 PyObject *resultobj = 0;
14586 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14587 bool result;
14588 void *argp1 = 0 ;
14589 int res1 = 0 ;
14590 PyObject *swig_obj[1] ;
14591
14592 if (!args) SWIG_fail;
14593 swig_obj[0] = args;
14594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14595 if (!SWIG_IsOK(res1)) {
14596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14597 }
14598 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
14605 {
14606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14607 }
14608 return resultobj;
14609 fail:
14610 return NULL;
14611 }
14612
14613
14614 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14615 PyObject *resultobj = 0;
14616 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14617 int result;
14618 void *argp1 = 0 ;
14619 int res1 = 0 ;
14620 PyObject *swig_obj[1] ;
14621
14622 if (!args) SWIG_fail;
14623 swig_obj[0] = args;
14624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14625 if (!SWIG_IsOK(res1)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14627 }
14628 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14629 {
14630 PyThreadState* __tstate = wxPyBeginAllowThreads();
14631 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
14635 resultobj = SWIG_From_int(static_cast< int >(result));
14636 return resultobj;
14637 fail:
14638 return NULL;
14639 }
14640
14641
14642 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14643 PyObject *resultobj = 0;
14644 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14645 size_t arg2 ;
14646 bool result;
14647 void *argp1 = 0 ;
14648 int res1 = 0 ;
14649 size_t val2 ;
14650 int ecode2 = 0 ;
14651 PyObject * obj0 = 0 ;
14652 PyObject * obj1 = 0 ;
14653 char * kwnames[] = {
14654 (char *) "self",(char *) "item", NULL
14655 };
14656
14657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14659 if (!SWIG_IsOK(res1)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14661 }
14662 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14663 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14664 if (!SWIG_IsOK(ecode2)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14666 }
14667 arg2 = static_cast< size_t >(val2);
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 {
14675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14676 }
14677 return resultobj;
14678 fail:
14679 return NULL;
14680 }
14681
14682
14683 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14684 PyObject *resultobj = 0;
14685 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14686 size_t arg2 ;
14687 bool result;
14688 void *argp1 = 0 ;
14689 int res1 = 0 ;
14690 size_t val2 ;
14691 int ecode2 = 0 ;
14692 PyObject * obj0 = 0 ;
14693 PyObject * obj1 = 0 ;
14694 char * kwnames[] = {
14695 (char *) "self",(char *) "item", NULL
14696 };
14697
14698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14700 if (!SWIG_IsOK(res1)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14702 }
14703 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14704 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14705 if (!SWIG_IsOK(ecode2)) {
14706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14707 }
14708 arg2 = static_cast< size_t >(val2);
14709 {
14710 PyThreadState* __tstate = wxPyBeginAllowThreads();
14711 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 {
14716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14717 }
14718 return resultobj;
14719 fail:
14720 return NULL;
14721 }
14722
14723
14724 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14725 PyObject *resultobj = 0;
14726 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14727 size_t result;
14728 void *argp1 = 0 ;
14729 int res1 = 0 ;
14730 PyObject *swig_obj[1] ;
14731
14732 if (!args) SWIG_fail;
14733 swig_obj[0] = args;
14734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14735 if (!SWIG_IsOK(res1)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14737 }
14738 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14746 return resultobj;
14747 fail:
14748 return NULL;
14749 }
14750
14751
14752 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14753 PyObject *resultobj = 0;
14754 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14755 PyObject *result = 0 ;
14756 void *argp1 = 0 ;
14757 int res1 = 0 ;
14758 PyObject *swig_obj[1] ;
14759
14760 if (!args) SWIG_fail;
14761 swig_obj[0] = args;
14762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14763 if (!SWIG_IsOK(res1)) {
14764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14765 }
14766 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14767 {
14768 PyThreadState* __tstate = wxPyBeginAllowThreads();
14769 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 resultobj = result;
14774 return resultobj;
14775 fail:
14776 return NULL;
14777 }
14778
14779
14780 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj = 0;
14782 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14783 unsigned long arg2 ;
14784 PyObject *result = 0 ;
14785 void *argp1 = 0 ;
14786 int res1 = 0 ;
14787 unsigned long val2 ;
14788 int ecode2 = 0 ;
14789 PyObject * obj0 = 0 ;
14790 PyObject * obj1 = 0 ;
14791 char * kwnames[] = {
14792 (char *) "self",(char *) "cookie", NULL
14793 };
14794
14795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14797 if (!SWIG_IsOK(res1)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14799 }
14800 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14801 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14802 if (!SWIG_IsOK(ecode2)) {
14803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14804 }
14805 arg2 = static_cast< unsigned long >(val2);
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 resultobj = result;
14813 return resultobj;
14814 fail:
14815 return NULL;
14816 }
14817
14818
14819 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14820 PyObject *resultobj = 0;
14821 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14822 wxPoint result;
14823 void *argp1 = 0 ;
14824 int res1 = 0 ;
14825 PyObject *swig_obj[1] ;
14826
14827 if (!args) SWIG_fail;
14828 swig_obj[0] = args;
14829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14830 if (!SWIG_IsOK(res1)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14832 }
14833 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = ((wxPyVListBox const *)arg1)->GetMargins();
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14848 PyObject *resultobj = 0;
14849 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14850 wxColour *result = 0 ;
14851 void *argp1 = 0 ;
14852 int res1 = 0 ;
14853 PyObject *swig_obj[1] ;
14854
14855 if (!args) SWIG_fail;
14856 swig_obj[0] = args;
14857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14858 if (!SWIG_IsOK(res1)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14860 }
14861 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 {
14865 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14866 result = (wxColour *) &_result_ref;
14867 }
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14872 return resultobj;
14873 fail:
14874 return NULL;
14875 }
14876
14877
14878 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj = 0;
14880 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14881 size_t arg2 ;
14882 void *argp1 = 0 ;
14883 int res1 = 0 ;
14884 size_t val2 ;
14885 int ecode2 = 0 ;
14886 PyObject * obj0 = 0 ;
14887 PyObject * obj1 = 0 ;
14888 char * kwnames[] = {
14889 (char *) "self",(char *) "count", NULL
14890 };
14891
14892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14894 if (!SWIG_IsOK(res1)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14896 }
14897 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14898 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14899 if (!SWIG_IsOK(ecode2)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14901 }
14902 arg2 = static_cast< size_t >(val2);
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 (arg1)->SetItemCount(arg2);
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = SWIG_Py_Void();
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14917 PyObject *resultobj = 0;
14918 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14919 void *argp1 = 0 ;
14920 int res1 = 0 ;
14921 PyObject *swig_obj[1] ;
14922
14923 if (!args) SWIG_fail;
14924 swig_obj[0] = args;
14925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14926 if (!SWIG_IsOK(res1)) {
14927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14928 }
14929 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 (arg1)->Clear();
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 resultobj = SWIG_Py_Void();
14937 return resultobj;
14938 fail:
14939 return NULL;
14940 }
14941
14942
14943 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14944 PyObject *resultobj = 0;
14945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14946 int arg2 ;
14947 void *argp1 = 0 ;
14948 int res1 = 0 ;
14949 int val2 ;
14950 int ecode2 = 0 ;
14951 PyObject * obj0 = 0 ;
14952 PyObject * obj1 = 0 ;
14953 char * kwnames[] = {
14954 (char *) "self",(char *) "selection", NULL
14955 };
14956
14957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14959 if (!SWIG_IsOK(res1)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14961 }
14962 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14963 ecode2 = SWIG_AsVal_int(obj1, &val2);
14964 if (!SWIG_IsOK(ecode2)) {
14965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14966 }
14967 arg2 = static_cast< int >(val2);
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 (arg1)->SetSelection(arg2);
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = SWIG_Py_Void();
14975 return resultobj;
14976 fail:
14977 return NULL;
14978 }
14979
14980
14981 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj = 0;
14983 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14984 size_t arg2 ;
14985 bool arg3 = (bool) true ;
14986 bool result;
14987 void *argp1 = 0 ;
14988 int res1 = 0 ;
14989 size_t val2 ;
14990 int ecode2 = 0 ;
14991 bool val3 ;
14992 int ecode3 = 0 ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 PyObject * obj2 = 0 ;
14996 char * kwnames[] = {
14997 (char *) "self",(char *) "item",(char *) "select", NULL
14998 };
14999
15000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15002 if (!SWIG_IsOK(res1)) {
15003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15004 }
15005 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15006 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15007 if (!SWIG_IsOK(ecode2)) {
15008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15009 }
15010 arg2 = static_cast< size_t >(val2);
15011 if (obj2) {
15012 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15013 if (!SWIG_IsOK(ecode3)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15015 }
15016 arg3 = static_cast< bool >(val3);
15017 }
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 result = (bool)(arg1)->Select(arg2,arg3);
15021 wxPyEndAllowThreads(__tstate);
15022 if (PyErr_Occurred()) SWIG_fail;
15023 }
15024 {
15025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15026 }
15027 return resultobj;
15028 fail:
15029 return NULL;
15030 }
15031
15032
15033 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15034 PyObject *resultobj = 0;
15035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15036 size_t arg2 ;
15037 size_t arg3 ;
15038 bool result;
15039 void *argp1 = 0 ;
15040 int res1 = 0 ;
15041 size_t val2 ;
15042 int ecode2 = 0 ;
15043 size_t val3 ;
15044 int ecode3 = 0 ;
15045 PyObject * obj0 = 0 ;
15046 PyObject * obj1 = 0 ;
15047 PyObject * obj2 = 0 ;
15048 char * kwnames[] = {
15049 (char *) "self",(char *) "from",(char *) "to", NULL
15050 };
15051
15052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15054 if (!SWIG_IsOK(res1)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 }
15057 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15058 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15059 if (!SWIG_IsOK(ecode2)) {
15060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15061 }
15062 arg2 = static_cast< size_t >(val2);
15063 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15064 if (!SWIG_IsOK(ecode3)) {
15065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15066 }
15067 arg3 = static_cast< size_t >(val3);
15068 {
15069 PyThreadState* __tstate = wxPyBeginAllowThreads();
15070 result = (bool)(arg1)->SelectRange(arg2,arg3);
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 {
15075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15076 }
15077 return resultobj;
15078 fail:
15079 return NULL;
15080 }
15081
15082
15083 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj = 0;
15085 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15086 size_t arg2 ;
15087 void *argp1 = 0 ;
15088 int res1 = 0 ;
15089 size_t val2 ;
15090 int ecode2 = 0 ;
15091 PyObject * obj0 = 0 ;
15092 PyObject * obj1 = 0 ;
15093 char * kwnames[] = {
15094 (char *) "self",(char *) "item", NULL
15095 };
15096
15097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15099 if (!SWIG_IsOK(res1)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15101 }
15102 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15103 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15104 if (!SWIG_IsOK(ecode2)) {
15105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15106 }
15107 arg2 = static_cast< size_t >(val2);
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 (arg1)->Toggle(arg2);
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 resultobj = SWIG_Py_Void();
15115 return resultobj;
15116 fail:
15117 return NULL;
15118 }
15119
15120
15121 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15122 PyObject *resultobj = 0;
15123 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15124 bool result;
15125 void *argp1 = 0 ;
15126 int res1 = 0 ;
15127 PyObject *swig_obj[1] ;
15128
15129 if (!args) SWIG_fail;
15130 swig_obj[0] = args;
15131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15132 if (!SWIG_IsOK(res1)) {
15133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15134 }
15135 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (bool)(arg1)->SelectAll();
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 {
15143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15144 }
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15152 PyObject *resultobj = 0;
15153 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15154 bool result;
15155 void *argp1 = 0 ;
15156 int res1 = 0 ;
15157 PyObject *swig_obj[1] ;
15158
15159 if (!args) SWIG_fail;
15160 swig_obj[0] = args;
15161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15162 if (!SWIG_IsOK(res1)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15164 }
15165 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (bool)(arg1)->DeselectAll();
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 {
15173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15174 }
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj = 0;
15183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15184 wxPoint *arg2 = 0 ;
15185 void *argp1 = 0 ;
15186 int res1 = 0 ;
15187 wxPoint temp2 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 char * kwnames[] = {
15191 (char *) "self",(char *) "pt", NULL
15192 };
15193
15194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15196 if (!SWIG_IsOK(res1)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15198 }
15199 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15200 {
15201 arg2 = &temp2;
15202 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15203 }
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->SetMargins((wxPoint const &)*arg2);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_Py_Void();
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj = 0;
15219 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15220 int arg2 ;
15221 int arg3 ;
15222 void *argp1 = 0 ;
15223 int res1 = 0 ;
15224 int val2 ;
15225 int ecode2 = 0 ;
15226 int val3 ;
15227 int ecode3 = 0 ;
15228 PyObject * obj0 = 0 ;
15229 PyObject * obj1 = 0 ;
15230 PyObject * obj2 = 0 ;
15231 char * kwnames[] = {
15232 (char *) "self",(char *) "x",(char *) "y", NULL
15233 };
15234
15235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15237 if (!SWIG_IsOK(res1)) {
15238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15239 }
15240 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15241 ecode2 = SWIG_AsVal_int(obj1, &val2);
15242 if (!SWIG_IsOK(ecode2)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15244 }
15245 arg2 = static_cast< int >(val2);
15246 ecode3 = SWIG_AsVal_int(obj2, &val3);
15247 if (!SWIG_IsOK(ecode3)) {
15248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15249 }
15250 arg3 = static_cast< int >(val3);
15251 {
15252 PyThreadState* __tstate = wxPyBeginAllowThreads();
15253 (arg1)->SetMargins(arg2,arg3);
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 resultobj = SWIG_Py_Void();
15258 return resultobj;
15259 fail:
15260 return NULL;
15261 }
15262
15263
15264 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15265 PyObject *resultobj = 0;
15266 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15267 wxColour *arg2 = 0 ;
15268 void *argp1 = 0 ;
15269 int res1 = 0 ;
15270 wxColour temp2 ;
15271 PyObject * obj0 = 0 ;
15272 PyObject * obj1 = 0 ;
15273 char * kwnames[] = {
15274 (char *) "self",(char *) "col", NULL
15275 };
15276
15277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15279 if (!SWIG_IsOK(res1)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15281 }
15282 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15283 {
15284 arg2 = &temp2;
15285 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15286 }
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 resultobj = SWIG_Py_Void();
15294 return resultobj;
15295 fail:
15296 return NULL;
15297 }
15298
15299
15300 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj = 0;
15302 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15303 wxDC *arg2 = 0 ;
15304 wxRect *arg3 = 0 ;
15305 size_t arg4 ;
15306 void *argp1 = 0 ;
15307 int res1 = 0 ;
15308 void *argp2 = 0 ;
15309 int res2 = 0 ;
15310 wxRect temp3 ;
15311 size_t val4 ;
15312 int ecode4 = 0 ;
15313 PyObject * obj0 = 0 ;
15314 PyObject * obj1 = 0 ;
15315 PyObject * obj2 = 0 ;
15316 PyObject * obj3 = 0 ;
15317 char * kwnames[] = {
15318 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15319 };
15320
15321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15323 if (!SWIG_IsOK(res1)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15325 }
15326 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15327 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15328 if (!SWIG_IsOK(res2)) {
15329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15330 }
15331 if (!argp2) {
15332 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15333 }
15334 arg2 = reinterpret_cast< wxDC * >(argp2);
15335 {
15336 arg3 = &temp3;
15337 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15338 }
15339 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15340 if (!SWIG_IsOK(ecode4)) {
15341 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15342 }
15343 arg4 = static_cast< size_t >(val4);
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 resultobj = SWIG_Py_Void();
15351 return resultobj;
15352 fail:
15353 return NULL;
15354 }
15355
15356
15357 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15358 PyObject *resultobj = 0;
15359 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15360 wxDC *arg2 = 0 ;
15361 wxRect *arg3 = 0 ;
15362 size_t arg4 ;
15363 void *argp1 = 0 ;
15364 int res1 = 0 ;
15365 void *argp2 = 0 ;
15366 int res2 = 0 ;
15367 wxRect temp3 ;
15368 size_t val4 ;
15369 int ecode4 = 0 ;
15370 PyObject * obj0 = 0 ;
15371 PyObject * obj1 = 0 ;
15372 PyObject * obj2 = 0 ;
15373 PyObject * obj3 = 0 ;
15374 char * kwnames[] = {
15375 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15376 };
15377
15378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15380 if (!SWIG_IsOK(res1)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15382 }
15383 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15384 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15385 if (!SWIG_IsOK(res2)) {
15386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15387 }
15388 if (!argp2) {
15389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15390 }
15391 arg2 = reinterpret_cast< wxDC * >(argp2);
15392 {
15393 arg3 = &temp3;
15394 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15395 }
15396 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15397 if (!SWIG_IsOK(ecode4)) {
15398 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15399 }
15400 arg4 = static_cast< size_t >(val4);
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 resultobj = SWIG_Py_Void();
15408 return resultobj;
15409 fail:
15410 return NULL;
15411 }
15412
15413
15414 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15415 PyObject *obj;
15416 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15418 return SWIG_Py_Void();
15419 }
15420
15421 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15422 return SWIG_Python_InitShadowInstance(args);
15423 }
15424
15425 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj = 0;
15427 wxWindow *arg1 = (wxWindow *) 0 ;
15428 int arg2 = (int) wxID_ANY ;
15429 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15430 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15431 wxSize const &arg4_defvalue = wxDefaultSize ;
15432 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15433 long arg5 = (long) 0 ;
15434 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15435 wxString *arg6 = (wxString *) &arg6_defvalue ;
15436 wxPyHtmlListBox *result = 0 ;
15437 void *argp1 = 0 ;
15438 int res1 = 0 ;
15439 int val2 ;
15440 int ecode2 = 0 ;
15441 wxPoint temp3 ;
15442 wxSize temp4 ;
15443 long val5 ;
15444 int ecode5 = 0 ;
15445 bool temp6 = false ;
15446 PyObject * obj0 = 0 ;
15447 PyObject * obj1 = 0 ;
15448 PyObject * obj2 = 0 ;
15449 PyObject * obj3 = 0 ;
15450 PyObject * obj4 = 0 ;
15451 PyObject * obj5 = 0 ;
15452 char * kwnames[] = {
15453 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15454 };
15455
15456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15458 if (!SWIG_IsOK(res1)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15460 }
15461 arg1 = reinterpret_cast< wxWindow * >(argp1);
15462 if (obj1) {
15463 ecode2 = SWIG_AsVal_int(obj1, &val2);
15464 if (!SWIG_IsOK(ecode2)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15466 }
15467 arg2 = static_cast< int >(val2);
15468 }
15469 if (obj2) {
15470 {
15471 arg3 = &temp3;
15472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15473 }
15474 }
15475 if (obj3) {
15476 {
15477 arg4 = &temp4;
15478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15479 }
15480 }
15481 if (obj4) {
15482 ecode5 = SWIG_AsVal_long(obj4, &val5);
15483 if (!SWIG_IsOK(ecode5)) {
15484 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15485 }
15486 arg5 = static_cast< long >(val5);
15487 }
15488 if (obj5) {
15489 {
15490 arg6 = wxString_in_helper(obj5);
15491 if (arg6 == NULL) SWIG_fail;
15492 temp6 = true;
15493 }
15494 }
15495 {
15496 if (!wxPyCheckForApp()) SWIG_fail;
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15499 wxPyEndAllowThreads(__tstate);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15503 {
15504 if (temp6)
15505 delete arg6;
15506 }
15507 return resultobj;
15508 fail:
15509 {
15510 if (temp6)
15511 delete arg6;
15512 }
15513 return NULL;
15514 }
15515
15516
15517 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15518 PyObject *resultobj = 0;
15519 wxPyHtmlListBox *result = 0 ;
15520
15521 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15522 {
15523 if (!wxPyCheckForApp()) SWIG_fail;
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15526 wxPyEndAllowThreads(__tstate);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15530 return resultobj;
15531 fail:
15532 return NULL;
15533 }
15534
15535
15536 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj = 0;
15538 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15539 PyObject *arg2 = (PyObject *) 0 ;
15540 PyObject *arg3 = (PyObject *) 0 ;
15541 void *argp1 = 0 ;
15542 int res1 = 0 ;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 PyObject * obj2 = 0 ;
15546 char * kwnames[] = {
15547 (char *) "self",(char *) "self",(char *) "_class", NULL
15548 };
15549
15550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15552 if (!SWIG_IsOK(res1)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15554 }
15555 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15556 arg2 = obj1;
15557 arg3 = obj2;
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 (arg1)->_setCallbackInfo(arg2,arg3);
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 resultobj = SWIG_Py_Void();
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj = 0;
15573 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15574 wxWindow *arg2 = (wxWindow *) 0 ;
15575 int arg3 = (int) wxID_ANY ;
15576 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15577 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15578 wxSize const &arg5_defvalue = wxDefaultSize ;
15579 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15580 long arg6 = (long) 0 ;
15581 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15582 wxString *arg7 = (wxString *) &arg7_defvalue ;
15583 bool result;
15584 void *argp1 = 0 ;
15585 int res1 = 0 ;
15586 void *argp2 = 0 ;
15587 int res2 = 0 ;
15588 int val3 ;
15589 int ecode3 = 0 ;
15590 wxPoint temp4 ;
15591 wxSize temp5 ;
15592 long val6 ;
15593 int ecode6 = 0 ;
15594 bool temp7 = false ;
15595 PyObject * obj0 = 0 ;
15596 PyObject * obj1 = 0 ;
15597 PyObject * obj2 = 0 ;
15598 PyObject * obj3 = 0 ;
15599 PyObject * obj4 = 0 ;
15600 PyObject * obj5 = 0 ;
15601 PyObject * obj6 = 0 ;
15602 char * kwnames[] = {
15603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15604 };
15605
15606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15608 if (!SWIG_IsOK(res1)) {
15609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15610 }
15611 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15612 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15613 if (!SWIG_IsOK(res2)) {
15614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15615 }
15616 arg2 = reinterpret_cast< wxWindow * >(argp2);
15617 if (obj2) {
15618 ecode3 = SWIG_AsVal_int(obj2, &val3);
15619 if (!SWIG_IsOK(ecode3)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15621 }
15622 arg3 = static_cast< int >(val3);
15623 }
15624 if (obj3) {
15625 {
15626 arg4 = &temp4;
15627 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15628 }
15629 }
15630 if (obj4) {
15631 {
15632 arg5 = &temp5;
15633 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15634 }
15635 }
15636 if (obj5) {
15637 ecode6 = SWIG_AsVal_long(obj5, &val6);
15638 if (!SWIG_IsOK(ecode6)) {
15639 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15640 }
15641 arg6 = static_cast< long >(val6);
15642 }
15643 if (obj6) {
15644 {
15645 arg7 = wxString_in_helper(obj6);
15646 if (arg7 == NULL) SWIG_fail;
15647 temp7 = true;
15648 }
15649 }
15650 {
15651 PyThreadState* __tstate = wxPyBeginAllowThreads();
15652 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 {
15657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15658 }
15659 {
15660 if (temp7)
15661 delete arg7;
15662 }
15663 return resultobj;
15664 fail:
15665 {
15666 if (temp7)
15667 delete arg7;
15668 }
15669 return NULL;
15670 }
15671
15672
15673 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj = 0;
15675 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15676 size_t arg2 ;
15677 void *argp1 = 0 ;
15678 int res1 = 0 ;
15679 size_t val2 ;
15680 int ecode2 = 0 ;
15681 PyObject * obj0 = 0 ;
15682 PyObject * obj1 = 0 ;
15683 char * kwnames[] = {
15684 (char *) "self",(char *) "count", NULL
15685 };
15686
15687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15689 if (!SWIG_IsOK(res1)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15691 }
15692 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15693 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15694 if (!SWIG_IsOK(ecode2)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15696 }
15697 arg2 = static_cast< size_t >(val2);
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->SetItemCount(arg2);
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 resultobj = SWIG_Py_Void();
15705 return resultobj;
15706 fail:
15707 return NULL;
15708 }
15709
15710
15711 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15712 PyObject *resultobj = 0;
15713 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15714 wxFileSystem *result = 0 ;
15715 void *argp1 = 0 ;
15716 int res1 = 0 ;
15717 PyObject *swig_obj[1] ;
15718
15719 if (!args) SWIG_fail;
15720 swig_obj[0] = args;
15721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15722 if (!SWIG_IsOK(res1)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15724 }
15725 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 {
15729 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15730 result = (wxFileSystem *) &_result_ref;
15731 }
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj = 0;
15744 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15745 size_t arg2 ;
15746 wxHtmlLinkInfo *arg3 = 0 ;
15747 void *argp1 = 0 ;
15748 int res1 = 0 ;
15749 size_t val2 ;
15750 int ecode2 = 0 ;
15751 void *argp3 = 0 ;
15752 int res3 = 0 ;
15753 PyObject * obj0 = 0 ;
15754 PyObject * obj1 = 0 ;
15755 PyObject * obj2 = 0 ;
15756 char * kwnames[] = {
15757 (char *) "self",(char *) "n",(char *) "link", NULL
15758 };
15759
15760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15762 if (!SWIG_IsOK(res1)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15764 }
15765 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15766 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15767 if (!SWIG_IsOK(ecode2)) {
15768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15769 }
15770 arg2 = static_cast< size_t >(val2);
15771 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15772 if (!SWIG_IsOK(res3)) {
15773 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15774 }
15775 if (!argp3) {
15776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15777 }
15778 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 resultobj = SWIG_Py_Void();
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15793 PyObject *obj;
15794 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15796 return SWIG_Py_Void();
15797 }
15798
15799 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15800 return SWIG_Python_InitShadowInstance(args);
15801 }
15802
15803 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15804 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15805 return 1;
15806 }
15807
15808
15809 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15810 PyObject *pyobj = 0;
15811
15812 {
15813 #if wxUSE_UNICODE
15814 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15815 #else
15816 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15817 #endif
15818 }
15819 return pyobj;
15820 }
15821
15822
15823 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj = 0;
15825 wxWindow *arg1 = (wxWindow *) 0 ;
15826 int arg2 = (int) -1 ;
15827 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15828 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15829 wxSize const &arg4_defvalue = wxDefaultSize ;
15830 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15831 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15832 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15833 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15834 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15835 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15836 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15837 wxString *arg8 = (wxString *) &arg8_defvalue ;
15838 wxSimpleHtmlListBox *result = 0 ;
15839 void *argp1 = 0 ;
15840 int res1 = 0 ;
15841 int val2 ;
15842 int ecode2 = 0 ;
15843 wxPoint temp3 ;
15844 wxSize temp4 ;
15845 bool temp5 = false ;
15846 long val6 ;
15847 int ecode6 = 0 ;
15848 void *argp7 = 0 ;
15849 int res7 = 0 ;
15850 bool temp8 = false ;
15851 PyObject * obj0 = 0 ;
15852 PyObject * obj1 = 0 ;
15853 PyObject * obj2 = 0 ;
15854 PyObject * obj3 = 0 ;
15855 PyObject * obj4 = 0 ;
15856 PyObject * obj5 = 0 ;
15857 PyObject * obj6 = 0 ;
15858 PyObject * obj7 = 0 ;
15859 char * kwnames[] = {
15860 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15861 };
15862
15863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
15864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15865 if (!SWIG_IsOK(res1)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15867 }
15868 arg1 = reinterpret_cast< wxWindow * >(argp1);
15869 if (obj1) {
15870 ecode2 = SWIG_AsVal_int(obj1, &val2);
15871 if (!SWIG_IsOK(ecode2)) {
15872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15873 }
15874 arg2 = static_cast< int >(val2);
15875 }
15876 if (obj2) {
15877 {
15878 arg3 = &temp3;
15879 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15880 }
15881 }
15882 if (obj3) {
15883 {
15884 arg4 = &temp4;
15885 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15886 }
15887 }
15888 if (obj4) {
15889 {
15890 if (! PySequence_Check(obj4)) {
15891 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15892 SWIG_fail;
15893 }
15894 arg5 = new wxArrayString;
15895 temp5 = true;
15896 int i, len=PySequence_Length(obj4);
15897 for (i=0; i<len; i++) {
15898 PyObject* item = PySequence_GetItem(obj4, i);
15899 wxString* s = wxString_in_helper(item);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 arg5->Add(*s);
15902 delete s;
15903 Py_DECREF(item);
15904 }
15905 }
15906 }
15907 if (obj5) {
15908 ecode6 = SWIG_AsVal_long(obj5, &val6);
15909 if (!SWIG_IsOK(ecode6)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15911 }
15912 arg6 = static_cast< long >(val6);
15913 }
15914 if (obj6) {
15915 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
15916 if (!SWIG_IsOK(res7)) {
15917 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15918 }
15919 if (!argp7) {
15920 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15921 }
15922 arg7 = reinterpret_cast< wxValidator * >(argp7);
15923 }
15924 if (obj7) {
15925 {
15926 arg8 = wxString_in_helper(obj7);
15927 if (arg8 == NULL) SWIG_fail;
15928 temp8 = true;
15929 }
15930 }
15931 {
15932 if (!wxPyCheckForApp()) SWIG_fail;
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
15939 {
15940 if (temp5) delete arg5;
15941 }
15942 {
15943 if (temp8)
15944 delete arg8;
15945 }
15946 return resultobj;
15947 fail:
15948 {
15949 if (temp5) delete arg5;
15950 }
15951 {
15952 if (temp8)
15953 delete arg8;
15954 }
15955 return NULL;
15956 }
15957
15958
15959 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15960 PyObject *resultobj = 0;
15961 wxSimpleHtmlListBox *result = 0 ;
15962
15963 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
15964 {
15965 if (!wxPyCheckForApp()) SWIG_fail;
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj = 0;
15980 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
15981 wxWindow *arg2 = (wxWindow *) 0 ;
15982 int arg3 = (int) -1 ;
15983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15985 wxSize const &arg5_defvalue = wxDefaultSize ;
15986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15987 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15988 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15989 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
15990 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15991 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15992 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
15993 wxString *arg9 = (wxString *) &arg9_defvalue ;
15994 bool result;
15995 void *argp1 = 0 ;
15996 int res1 = 0 ;
15997 void *argp2 = 0 ;
15998 int res2 = 0 ;
15999 int val3 ;
16000 int ecode3 = 0 ;
16001 wxPoint temp4 ;
16002 wxSize temp5 ;
16003 bool temp6 = false ;
16004 long val7 ;
16005 int ecode7 = 0 ;
16006 void *argp8 = 0 ;
16007 int res8 = 0 ;
16008 bool temp9 = false ;
16009 PyObject * obj0 = 0 ;
16010 PyObject * obj1 = 0 ;
16011 PyObject * obj2 = 0 ;
16012 PyObject * obj3 = 0 ;
16013 PyObject * obj4 = 0 ;
16014 PyObject * obj5 = 0 ;
16015 PyObject * obj6 = 0 ;
16016 PyObject * obj7 = 0 ;
16017 PyObject * obj8 = 0 ;
16018 char * kwnames[] = {
16019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16020 };
16021
16022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16024 if (!SWIG_IsOK(res1)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16026 }
16027 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16028 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16029 if (!SWIG_IsOK(res2)) {
16030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16031 }
16032 arg2 = reinterpret_cast< wxWindow * >(argp2);
16033 if (obj2) {
16034 ecode3 = SWIG_AsVal_int(obj2, &val3);
16035 if (!SWIG_IsOK(ecode3)) {
16036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16037 }
16038 arg3 = static_cast< int >(val3);
16039 }
16040 if (obj3) {
16041 {
16042 arg4 = &temp4;
16043 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16044 }
16045 }
16046 if (obj4) {
16047 {
16048 arg5 = &temp5;
16049 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16050 }
16051 }
16052 if (obj5) {
16053 {
16054 if (! PySequence_Check(obj5)) {
16055 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16056 SWIG_fail;
16057 }
16058 arg6 = new wxArrayString;
16059 temp6 = true;
16060 int i, len=PySequence_Length(obj5);
16061 for (i=0; i<len; i++) {
16062 PyObject* item = PySequence_GetItem(obj5, i);
16063 wxString* s = wxString_in_helper(item);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 arg6->Add(*s);
16066 delete s;
16067 Py_DECREF(item);
16068 }
16069 }
16070 }
16071 if (obj6) {
16072 ecode7 = SWIG_AsVal_long(obj6, &val7);
16073 if (!SWIG_IsOK(ecode7)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16075 }
16076 arg7 = static_cast< long >(val7);
16077 }
16078 if (obj7) {
16079 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16080 if (!SWIG_IsOK(res8)) {
16081 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16082 }
16083 if (!argp8) {
16084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16085 }
16086 arg8 = reinterpret_cast< wxValidator * >(argp8);
16087 }
16088 if (obj8) {
16089 {
16090 arg9 = wxString_in_helper(obj8);
16091 if (arg9 == NULL) SWIG_fail;
16092 temp9 = true;
16093 }
16094 }
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 {
16102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16103 }
16104 {
16105 if (temp6) delete arg6;
16106 }
16107 {
16108 if (temp9)
16109 delete arg9;
16110 }
16111 return resultobj;
16112 fail:
16113 {
16114 if (temp6) delete arg6;
16115 }
16116 {
16117 if (temp9)
16118 delete arg9;
16119 }
16120 return NULL;
16121 }
16122
16123
16124 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16125 PyObject *obj;
16126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16127 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16128 return SWIG_Py_Void();
16129 }
16130
16131 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16132 return SWIG_Python_InitShadowInstance(args);
16133 }
16134
16135 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16136 PyObject *resultobj = 0;
16137 wxPyTaskBarIcon *result = 0 ;
16138
16139 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16140 {
16141 if (!wxPyCheckForApp()) SWIG_fail;
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16155 PyObject *resultobj = 0;
16156 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16157 void *argp1 = 0 ;
16158 int res1 = 0 ;
16159 PyObject *swig_obj[1] ;
16160
16161 if (!args) SWIG_fail;
16162 swig_obj[0] = args;
16163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16164 if (!SWIG_IsOK(res1)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16166 }
16167 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 delete arg1;
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_Py_Void();
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj = 0;
16184 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16185 PyObject *arg2 = (PyObject *) 0 ;
16186 PyObject *arg3 = (PyObject *) 0 ;
16187 int arg4 = (int) 0 ;
16188 void *argp1 = 0 ;
16189 int res1 = 0 ;
16190 int val4 ;
16191 int ecode4 = 0 ;
16192 PyObject * obj0 = 0 ;
16193 PyObject * obj1 = 0 ;
16194 PyObject * obj2 = 0 ;
16195 PyObject * obj3 = 0 ;
16196 char * kwnames[] = {
16197 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16198 };
16199
16200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16202 if (!SWIG_IsOK(res1)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16204 }
16205 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16206 arg2 = obj1;
16207 arg3 = obj2;
16208 if (obj3) {
16209 ecode4 = SWIG_AsVal_int(obj3, &val4);
16210 if (!SWIG_IsOK(ecode4)) {
16211 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16212 }
16213 arg4 = static_cast< int >(val4);
16214 }
16215 {
16216 PyThreadState* __tstate = wxPyBeginAllowThreads();
16217 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 resultobj = SWIG_Py_Void();
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16229 PyObject *resultobj = 0;
16230 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16231 void *argp1 = 0 ;
16232 int res1 = 0 ;
16233 PyObject *swig_obj[1] ;
16234
16235 if (!args) SWIG_fail;
16236 swig_obj[0] = args;
16237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16238 if (!SWIG_IsOK(res1)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16240 }
16241 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16242 {
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 wxPyTaskBarIcon_Destroy(arg1);
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 resultobj = SWIG_Py_Void();
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16256 PyObject *resultobj = 0;
16257 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16258 bool result;
16259 void *argp1 = 0 ;
16260 int res1 = 0 ;
16261 PyObject *swig_obj[1] ;
16262
16263 if (!args) SWIG_fail;
16264 swig_obj[0] = args;
16265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16266 if (!SWIG_IsOK(res1)) {
16267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16268 }
16269 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 {
16277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16278 }
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16286 PyObject *resultobj = 0;
16287 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16288 bool result;
16289 void *argp1 = 0 ;
16290 int res1 = 0 ;
16291 PyObject *swig_obj[1] ;
16292
16293 if (!args) SWIG_fail;
16294 swig_obj[0] = args;
16295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16296 if (!SWIG_IsOK(res1)) {
16297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16298 }
16299 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 {
16307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16308 }
16309 return resultobj;
16310 fail:
16311 return NULL;
16312 }
16313
16314
16315 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj = 0;
16317 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16318 wxIcon *arg2 = 0 ;
16319 wxString const &arg3_defvalue = wxPyEmptyString ;
16320 wxString *arg3 = (wxString *) &arg3_defvalue ;
16321 bool result;
16322 void *argp1 = 0 ;
16323 int res1 = 0 ;
16324 void *argp2 = 0 ;
16325 int res2 = 0 ;
16326 bool temp3 = false ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 PyObject * obj2 = 0 ;
16330 char * kwnames[] = {
16331 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16332 };
16333
16334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16336 if (!SWIG_IsOK(res1)) {
16337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16338 }
16339 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16340 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16341 if (!SWIG_IsOK(res2)) {
16342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16343 }
16344 if (!argp2) {
16345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16346 }
16347 arg2 = reinterpret_cast< wxIcon * >(argp2);
16348 if (obj2) {
16349 {
16350 arg3 = wxString_in_helper(obj2);
16351 if (arg3 == NULL) SWIG_fail;
16352 temp3 = true;
16353 }
16354 }
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16358 wxPyEndAllowThreads(__tstate);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16363 }
16364 {
16365 if (temp3)
16366 delete arg3;
16367 }
16368 return resultobj;
16369 fail:
16370 {
16371 if (temp3)
16372 delete arg3;
16373 }
16374 return NULL;
16375 }
16376
16377
16378 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16379 PyObject *resultobj = 0;
16380 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16381 bool result;
16382 void *argp1 = 0 ;
16383 int res1 = 0 ;
16384 PyObject *swig_obj[1] ;
16385
16386 if (!args) SWIG_fail;
16387 swig_obj[0] = args;
16388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16389 if (!SWIG_IsOK(res1)) {
16390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16391 }
16392 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16393 {
16394 PyThreadState* __tstate = wxPyBeginAllowThreads();
16395 result = (bool)(arg1)->RemoveIcon();
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 {
16400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16401 }
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj = 0;
16410 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16411 wxMenu *arg2 = (wxMenu *) 0 ;
16412 bool result;
16413 void *argp1 = 0 ;
16414 int res1 = 0 ;
16415 void *argp2 = 0 ;
16416 int res2 = 0 ;
16417 PyObject * obj0 = 0 ;
16418 PyObject * obj1 = 0 ;
16419 char * kwnames[] = {
16420 (char *) "self",(char *) "menu", NULL
16421 };
16422
16423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16425 if (!SWIG_IsOK(res1)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16427 }
16428 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16430 if (!SWIG_IsOK(res2)) {
16431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16432 }
16433 arg2 = reinterpret_cast< wxMenu * >(argp2);
16434 {
16435 PyThreadState* __tstate = wxPyBeginAllowThreads();
16436 result = (bool)(arg1)->PopupMenu(arg2);
16437 wxPyEndAllowThreads(__tstate);
16438 if (PyErr_Occurred()) SWIG_fail;
16439 }
16440 {
16441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16442 }
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16450 PyObject *obj;
16451 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16452 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16453 return SWIG_Py_Void();
16454 }
16455
16456 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16457 return SWIG_Python_InitShadowInstance(args);
16458 }
16459
16460 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj = 0;
16462 wxEventType arg1 ;
16463 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16464 wxTaskBarIconEvent *result = 0 ;
16465 int val1 ;
16466 int ecode1 = 0 ;
16467 void *argp2 = 0 ;
16468 int res2 = 0 ;
16469 PyObject * obj0 = 0 ;
16470 PyObject * obj1 = 0 ;
16471 char * kwnames[] = {
16472 (char *) "evtType",(char *) "tbIcon", NULL
16473 };
16474
16475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16476 ecode1 = SWIG_AsVal_int(obj0, &val1);
16477 if (!SWIG_IsOK(ecode1)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16479 }
16480 arg1 = static_cast< wxEventType >(val1);
16481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16482 if (!SWIG_IsOK(res2)) {
16483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16484 }
16485 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16500 PyObject *obj;
16501 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16502 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16503 return SWIG_Py_Void();
16504 }
16505
16506 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16507 return SWIG_Python_InitShadowInstance(args);
16508 }
16509
16510 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16511 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16512 return 1;
16513 }
16514
16515
16516 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16517 PyObject *pyobj = 0;
16518
16519 {
16520 #if wxUSE_UNICODE
16521 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16522 #else
16523 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16524 #endif
16525 }
16526 return pyobj;
16527 }
16528
16529
16530 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16531 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16532 return 1;
16533 }
16534
16535
16536 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16537 PyObject *pyobj = 0;
16538
16539 {
16540 #if wxUSE_UNICODE
16541 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16542 #else
16543 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16544 #endif
16545 }
16546 return pyobj;
16547 }
16548
16549
16550 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16551 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16552 return 1;
16553 }
16554
16555
16556 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16557 PyObject *pyobj = 0;
16558
16559 {
16560 #if wxUSE_UNICODE
16561 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16562 #else
16563 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16564 #endif
16565 }
16566 return pyobj;
16567 }
16568
16569
16570 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16571 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16572 return 1;
16573 }
16574
16575
16576 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16577 PyObject *pyobj = 0;
16578
16579 {
16580 #if wxUSE_UNICODE
16581 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16582 #else
16583 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16584 #endif
16585 }
16586 return pyobj;
16587 }
16588
16589
16590 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16591 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16592 return 1;
16593 }
16594
16595
16596 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16597 PyObject *pyobj = 0;
16598
16599 {
16600 #if wxUSE_UNICODE
16601 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16602 #else
16603 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16604 #endif
16605 }
16606 return pyobj;
16607 }
16608
16609
16610 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16611 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16612 return 1;
16613 }
16614
16615
16616 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16617 PyObject *pyobj = 0;
16618
16619 {
16620 #if wxUSE_UNICODE
16621 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16622 #else
16623 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16624 #endif
16625 }
16626 return pyobj;
16627 }
16628
16629
16630 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16631 PyObject *resultobj = 0;
16632 wxColourData *result = 0 ;
16633
16634 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 result = (wxColourData *)new wxColourData();
16638 wxPyEndAllowThreads(__tstate);
16639 if (PyErr_Occurred()) SWIG_fail;
16640 }
16641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16649 PyObject *resultobj = 0;
16650 wxColourData *arg1 = (wxColourData *) 0 ;
16651 void *argp1 = 0 ;
16652 int res1 = 0 ;
16653 PyObject *swig_obj[1] ;
16654
16655 if (!args) SWIG_fail;
16656 swig_obj[0] = args;
16657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16658 if (!SWIG_IsOK(res1)) {
16659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16660 }
16661 arg1 = reinterpret_cast< wxColourData * >(argp1);
16662 {
16663 PyThreadState* __tstate = wxPyBeginAllowThreads();
16664 delete arg1;
16665
16666 wxPyEndAllowThreads(__tstate);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 }
16669 resultobj = SWIG_Py_Void();
16670 return resultobj;
16671 fail:
16672 return NULL;
16673 }
16674
16675
16676 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16677 PyObject *resultobj = 0;
16678 wxColourData *arg1 = (wxColourData *) 0 ;
16679 bool result;
16680 void *argp1 = 0 ;
16681 int res1 = 0 ;
16682 PyObject *swig_obj[1] ;
16683
16684 if (!args) SWIG_fail;
16685 swig_obj[0] = args;
16686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16687 if (!SWIG_IsOK(res1)) {
16688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16689 }
16690 arg1 = reinterpret_cast< wxColourData * >(argp1);
16691 {
16692 PyThreadState* __tstate = wxPyBeginAllowThreads();
16693 result = (bool)(arg1)->GetChooseFull();
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 {
16698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16699 }
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16707 PyObject *resultobj = 0;
16708 wxColourData *arg1 = (wxColourData *) 0 ;
16709 wxColour result;
16710 void *argp1 = 0 ;
16711 int res1 = 0 ;
16712 PyObject *swig_obj[1] ;
16713
16714 if (!args) SWIG_fail;
16715 swig_obj[0] = args;
16716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16717 if (!SWIG_IsOK(res1)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16719 }
16720 arg1 = reinterpret_cast< wxColourData * >(argp1);
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 result = (arg1)->GetColour();
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16728 return resultobj;
16729 fail:
16730 return NULL;
16731 }
16732
16733
16734 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj = 0;
16736 wxColourData *arg1 = (wxColourData *) 0 ;
16737 int arg2 ;
16738 wxColour result;
16739 void *argp1 = 0 ;
16740 int res1 = 0 ;
16741 int val2 ;
16742 int ecode2 = 0 ;
16743 PyObject * obj0 = 0 ;
16744 PyObject * obj1 = 0 ;
16745 char * kwnames[] = {
16746 (char *) "self",(char *) "i", NULL
16747 };
16748
16749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16751 if (!SWIG_IsOK(res1)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16753 }
16754 arg1 = reinterpret_cast< wxColourData * >(argp1);
16755 ecode2 = SWIG_AsVal_int(obj1, &val2);
16756 if (!SWIG_IsOK(ecode2)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16758 }
16759 arg2 = static_cast< int >(val2);
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 result = (arg1)->GetCustomColour(arg2);
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj = 0;
16775 wxColourData *arg1 = (wxColourData *) 0 ;
16776 int arg2 ;
16777 void *argp1 = 0 ;
16778 int res1 = 0 ;
16779 int val2 ;
16780 int ecode2 = 0 ;
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 char * kwnames[] = {
16784 (char *) "self",(char *) "flag", NULL
16785 };
16786
16787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16789 if (!SWIG_IsOK(res1)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16791 }
16792 arg1 = reinterpret_cast< wxColourData * >(argp1);
16793 ecode2 = SWIG_AsVal_int(obj1, &val2);
16794 if (!SWIG_IsOK(ecode2)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16796 }
16797 arg2 = static_cast< int >(val2);
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 (arg1)->SetChooseFull(arg2);
16801 wxPyEndAllowThreads(__tstate);
16802 if (PyErr_Occurred()) SWIG_fail;
16803 }
16804 resultobj = SWIG_Py_Void();
16805 return resultobj;
16806 fail:
16807 return NULL;
16808 }
16809
16810
16811 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16812 PyObject *resultobj = 0;
16813 wxColourData *arg1 = (wxColourData *) 0 ;
16814 wxColour *arg2 = 0 ;
16815 void *argp1 = 0 ;
16816 int res1 = 0 ;
16817 wxColour temp2 ;
16818 PyObject * obj0 = 0 ;
16819 PyObject * obj1 = 0 ;
16820 char * kwnames[] = {
16821 (char *) "self",(char *) "colour", NULL
16822 };
16823
16824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16826 if (!SWIG_IsOK(res1)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16828 }
16829 arg1 = reinterpret_cast< wxColourData * >(argp1);
16830 {
16831 arg2 = &temp2;
16832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16833 }
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 (arg1)->SetColour((wxColour const &)*arg2);
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 resultobj = SWIG_Py_Void();
16841 return resultobj;
16842 fail:
16843 return NULL;
16844 }
16845
16846
16847 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16848 PyObject *resultobj = 0;
16849 wxColourData *arg1 = (wxColourData *) 0 ;
16850 int arg2 ;
16851 wxColour *arg3 = 0 ;
16852 void *argp1 = 0 ;
16853 int res1 = 0 ;
16854 int val2 ;
16855 int ecode2 = 0 ;
16856 wxColour temp3 ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 PyObject * obj2 = 0 ;
16860 char * kwnames[] = {
16861 (char *) "self",(char *) "i",(char *) "colour", NULL
16862 };
16863
16864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16866 if (!SWIG_IsOK(res1)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16868 }
16869 arg1 = reinterpret_cast< wxColourData * >(argp1);
16870 ecode2 = SWIG_AsVal_int(obj1, &val2);
16871 if (!SWIG_IsOK(ecode2)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16873 }
16874 arg2 = static_cast< int >(val2);
16875 {
16876 arg3 = &temp3;
16877 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16878 }
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 resultobj = SWIG_Py_Void();
16886 return resultobj;
16887 fail:
16888 return NULL;
16889 }
16890
16891
16892 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16893 PyObject *obj;
16894 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16895 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16896 return SWIG_Py_Void();
16897 }
16898
16899 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16900 return SWIG_Python_InitShadowInstance(args);
16901 }
16902
16903 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj = 0;
16905 wxWindow *arg1 = (wxWindow *) 0 ;
16906 wxColourData *arg2 = (wxColourData *) NULL ;
16907 wxColourDialog *result = 0 ;
16908 void *argp1 = 0 ;
16909 int res1 = 0 ;
16910 void *argp2 = 0 ;
16911 int res2 = 0 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char * kwnames[] = {
16915 (char *) "parent",(char *) "data", NULL
16916 };
16917
16918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16920 if (!SWIG_IsOK(res1)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16922 }
16923 arg1 = reinterpret_cast< wxWindow * >(argp1);
16924 if (obj1) {
16925 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16926 if (!SWIG_IsOK(res2)) {
16927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16928 }
16929 arg2 = reinterpret_cast< wxColourData * >(argp2);
16930 }
16931 {
16932 if (!wxPyCheckForApp()) SWIG_fail;
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16939 return resultobj;
16940 fail:
16941 return NULL;
16942 }
16943
16944
16945 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16946 PyObject *resultobj = 0;
16947 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16948 wxColourData *result = 0 ;
16949 void *argp1 = 0 ;
16950 int res1 = 0 ;
16951 PyObject *swig_obj[1] ;
16952
16953 if (!args) SWIG_fail;
16954 swig_obj[0] = args;
16955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16956 if (!SWIG_IsOK(res1)) {
16957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16958 }
16959 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 {
16963 wxColourData &_result_ref = (arg1)->GetColourData();
16964 result = (wxColourData *) &_result_ref;
16965 }
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16970 return resultobj;
16971 fail:
16972 return NULL;
16973 }
16974
16975
16976 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16977 PyObject *obj;
16978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16979 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16980 return SWIG_Py_Void();
16981 }
16982
16983 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16984 return SWIG_Python_InitShadowInstance(args);
16985 }
16986
16987 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj = 0;
16989 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16990 wxColour const &arg2_defvalue = wxNullColour ;
16991 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16992 wxString const &arg3_defvalue = wxPyEmptyString ;
16993 wxString *arg3 = (wxString *) &arg3_defvalue ;
16994 wxColour result;
16995 void *argp1 = 0 ;
16996 int res1 = 0 ;
16997 wxColour temp2 ;
16998 bool temp3 = false ;
16999 PyObject * obj0 = 0 ;
17000 PyObject * obj1 = 0 ;
17001 PyObject * obj2 = 0 ;
17002 char * kwnames[] = {
17003 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17004 };
17005
17006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17007 if (obj0) {
17008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17009 if (!SWIG_IsOK(res1)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17011 }
17012 arg1 = reinterpret_cast< wxWindow * >(argp1);
17013 }
17014 if (obj1) {
17015 {
17016 arg2 = &temp2;
17017 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17018 }
17019 }
17020 if (obj2) {
17021 {
17022 arg3 = wxString_in_helper(obj2);
17023 if (arg3 == NULL) SWIG_fail;
17024 temp3 = true;
17025 }
17026 }
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17034 {
17035 if (temp3)
17036 delete arg3;
17037 }
17038 return resultobj;
17039 fail:
17040 {
17041 if (temp3)
17042 delete arg3;
17043 }
17044 return NULL;
17045 }
17046
17047
17048 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj = 0;
17050 wxWindow *arg1 = (wxWindow *) 0 ;
17051 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17052 wxString *arg2 = (wxString *) &arg2_defvalue ;
17053 wxString const &arg3_defvalue = wxPyEmptyString ;
17054 wxString *arg3 = (wxString *) &arg3_defvalue ;
17055 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17056 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17057 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17058 wxSize const &arg6_defvalue = wxDefaultSize ;
17059 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17060 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17061 wxString *arg7 = (wxString *) &arg7_defvalue ;
17062 wxDirDialog *result = 0 ;
17063 void *argp1 = 0 ;
17064 int res1 = 0 ;
17065 bool temp2 = false ;
17066 bool temp3 = false ;
17067 long val4 ;
17068 int ecode4 = 0 ;
17069 wxPoint temp5 ;
17070 wxSize temp6 ;
17071 bool temp7 = false ;
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 PyObject * obj2 = 0 ;
17075 PyObject * obj3 = 0 ;
17076 PyObject * obj4 = 0 ;
17077 PyObject * obj5 = 0 ;
17078 PyObject * obj6 = 0 ;
17079 char * kwnames[] = {
17080 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17081 };
17082
17083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17085 if (!SWIG_IsOK(res1)) {
17086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17087 }
17088 arg1 = reinterpret_cast< wxWindow * >(argp1);
17089 if (obj1) {
17090 {
17091 arg2 = wxString_in_helper(obj1);
17092 if (arg2 == NULL) SWIG_fail;
17093 temp2 = true;
17094 }
17095 }
17096 if (obj2) {
17097 {
17098 arg3 = wxString_in_helper(obj2);
17099 if (arg3 == NULL) SWIG_fail;
17100 temp3 = true;
17101 }
17102 }
17103 if (obj3) {
17104 ecode4 = SWIG_AsVal_long(obj3, &val4);
17105 if (!SWIG_IsOK(ecode4)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17107 }
17108 arg4 = static_cast< long >(val4);
17109 }
17110 if (obj4) {
17111 {
17112 arg5 = &temp5;
17113 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17114 }
17115 }
17116 if (obj5) {
17117 {
17118 arg6 = &temp6;
17119 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17120 }
17121 }
17122 if (obj6) {
17123 {
17124 arg7 = wxString_in_helper(obj6);
17125 if (arg7 == NULL) SWIG_fail;
17126 temp7 = true;
17127 }
17128 }
17129 {
17130 if (!wxPyCheckForApp()) SWIG_fail;
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17137 {
17138 if (temp2)
17139 delete arg2;
17140 }
17141 {
17142 if (temp3)
17143 delete arg3;
17144 }
17145 {
17146 if (temp7)
17147 delete arg7;
17148 }
17149 return resultobj;
17150 fail:
17151 {
17152 if (temp2)
17153 delete arg2;
17154 }
17155 {
17156 if (temp3)
17157 delete arg3;
17158 }
17159 {
17160 if (temp7)
17161 delete arg7;
17162 }
17163 return NULL;
17164 }
17165
17166
17167 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17168 PyObject *resultobj = 0;
17169 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17170 wxString result;
17171 void *argp1 = 0 ;
17172 int res1 = 0 ;
17173 PyObject *swig_obj[1] ;
17174
17175 if (!args) SWIG_fail;
17176 swig_obj[0] = args;
17177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17178 if (!SWIG_IsOK(res1)) {
17179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17180 }
17181 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (arg1)->GetPath();
17185 wxPyEndAllowThreads(__tstate);
17186 if (PyErr_Occurred()) SWIG_fail;
17187 }
17188 {
17189 #if wxUSE_UNICODE
17190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17191 #else
17192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17193 #endif
17194 }
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17202 PyObject *resultobj = 0;
17203 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17204 wxString result;
17205 void *argp1 = 0 ;
17206 int res1 = 0 ;
17207 PyObject *swig_obj[1] ;
17208
17209 if (!args) SWIG_fail;
17210 swig_obj[0] = args;
17211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17212 if (!SWIG_IsOK(res1)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17214 }
17215 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (arg1)->GetMessage();
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 {
17223 #if wxUSE_UNICODE
17224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17225 #else
17226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17227 #endif
17228 }
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj = 0;
17237 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17238 wxString *arg2 = 0 ;
17239 void *argp1 = 0 ;
17240 int res1 = 0 ;
17241 bool temp2 = false ;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 char * kwnames[] = {
17245 (char *) "self",(char *) "message", NULL
17246 };
17247
17248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17250 if (!SWIG_IsOK(res1)) {
17251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17252 }
17253 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17254 {
17255 arg2 = wxString_in_helper(obj1);
17256 if (arg2 == NULL) SWIG_fail;
17257 temp2 = true;
17258 }
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 (arg1)->SetMessage((wxString const &)*arg2);
17262 wxPyEndAllowThreads(__tstate);
17263 if (PyErr_Occurred()) SWIG_fail;
17264 }
17265 resultobj = SWIG_Py_Void();
17266 {
17267 if (temp2)
17268 delete arg2;
17269 }
17270 return resultobj;
17271 fail:
17272 {
17273 if (temp2)
17274 delete arg2;
17275 }
17276 return NULL;
17277 }
17278
17279
17280 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj = 0;
17282 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17283 wxString *arg2 = 0 ;
17284 void *argp1 = 0 ;
17285 int res1 = 0 ;
17286 bool temp2 = false ;
17287 PyObject * obj0 = 0 ;
17288 PyObject * obj1 = 0 ;
17289 char * kwnames[] = {
17290 (char *) "self",(char *) "path", NULL
17291 };
17292
17293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17295 if (!SWIG_IsOK(res1)) {
17296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17297 }
17298 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17299 {
17300 arg2 = wxString_in_helper(obj1);
17301 if (arg2 == NULL) SWIG_fail;
17302 temp2 = true;
17303 }
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 (arg1)->SetPath((wxString const &)*arg2);
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 resultobj = SWIG_Py_Void();
17311 {
17312 if (temp2)
17313 delete arg2;
17314 }
17315 return resultobj;
17316 fail:
17317 {
17318 if (temp2)
17319 delete arg2;
17320 }
17321 return NULL;
17322 }
17323
17324
17325 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17326 PyObject *obj;
17327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17328 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17329 return SWIG_Py_Void();
17330 }
17331
17332 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17333 return SWIG_Python_InitShadowInstance(args);
17334 }
17335
17336 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj = 0;
17338 wxWindow *arg1 = (wxWindow *) 0 ;
17339 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17340 wxString *arg2 = (wxString *) &arg2_defvalue ;
17341 wxString const &arg3_defvalue = wxPyEmptyString ;
17342 wxString *arg3 = (wxString *) &arg3_defvalue ;
17343 wxString const &arg4_defvalue = wxPyEmptyString ;
17344 wxString *arg4 = (wxString *) &arg4_defvalue ;
17345 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17346 wxString *arg5 = (wxString *) &arg5_defvalue ;
17347 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17348 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17349 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17350 wxFileDialog *result = 0 ;
17351 void *argp1 = 0 ;
17352 int res1 = 0 ;
17353 bool temp2 = false ;
17354 bool temp3 = false ;
17355 bool temp4 = false ;
17356 bool temp5 = false ;
17357 long val6 ;
17358 int ecode6 = 0 ;
17359 wxPoint temp7 ;
17360 PyObject * obj0 = 0 ;
17361 PyObject * obj1 = 0 ;
17362 PyObject * obj2 = 0 ;
17363 PyObject * obj3 = 0 ;
17364 PyObject * obj4 = 0 ;
17365 PyObject * obj5 = 0 ;
17366 PyObject * obj6 = 0 ;
17367 char * kwnames[] = {
17368 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17369 };
17370
17371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17373 if (!SWIG_IsOK(res1)) {
17374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17375 }
17376 arg1 = reinterpret_cast< wxWindow * >(argp1);
17377 if (obj1) {
17378 {
17379 arg2 = wxString_in_helper(obj1);
17380 if (arg2 == NULL) SWIG_fail;
17381 temp2 = true;
17382 }
17383 }
17384 if (obj2) {
17385 {
17386 arg3 = wxString_in_helper(obj2);
17387 if (arg3 == NULL) SWIG_fail;
17388 temp3 = true;
17389 }
17390 }
17391 if (obj3) {
17392 {
17393 arg4 = wxString_in_helper(obj3);
17394 if (arg4 == NULL) SWIG_fail;
17395 temp4 = true;
17396 }
17397 }
17398 if (obj4) {
17399 {
17400 arg5 = wxString_in_helper(obj4);
17401 if (arg5 == NULL) SWIG_fail;
17402 temp5 = true;
17403 }
17404 }
17405 if (obj5) {
17406 ecode6 = SWIG_AsVal_long(obj5, &val6);
17407 if (!SWIG_IsOK(ecode6)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17409 }
17410 arg6 = static_cast< long >(val6);
17411 }
17412 if (obj6) {
17413 {
17414 arg7 = &temp7;
17415 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17416 }
17417 }
17418 {
17419 if (!wxPyCheckForApp()) SWIG_fail;
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17426 {
17427 if (temp2)
17428 delete arg2;
17429 }
17430 {
17431 if (temp3)
17432 delete arg3;
17433 }
17434 {
17435 if (temp4)
17436 delete arg4;
17437 }
17438 {
17439 if (temp5)
17440 delete arg5;
17441 }
17442 return resultobj;
17443 fail:
17444 {
17445 if (temp2)
17446 delete arg2;
17447 }
17448 {
17449 if (temp3)
17450 delete arg3;
17451 }
17452 {
17453 if (temp4)
17454 delete arg4;
17455 }
17456 {
17457 if (temp5)
17458 delete arg5;
17459 }
17460 return NULL;
17461 }
17462
17463
17464 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj = 0;
17466 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17467 wxString *arg2 = 0 ;
17468 void *argp1 = 0 ;
17469 int res1 = 0 ;
17470 bool temp2 = false ;
17471 PyObject * obj0 = 0 ;
17472 PyObject * obj1 = 0 ;
17473 char * kwnames[] = {
17474 (char *) "self",(char *) "message", NULL
17475 };
17476
17477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17479 if (!SWIG_IsOK(res1)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17481 }
17482 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17483 {
17484 arg2 = wxString_in_helper(obj1);
17485 if (arg2 == NULL) SWIG_fail;
17486 temp2 = true;
17487 }
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 (arg1)->SetMessage((wxString const &)*arg2);
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 resultobj = SWIG_Py_Void();
17495 {
17496 if (temp2)
17497 delete arg2;
17498 }
17499 return resultobj;
17500 fail:
17501 {
17502 if (temp2)
17503 delete arg2;
17504 }
17505 return NULL;
17506 }
17507
17508
17509 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj = 0;
17511 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17512 wxString *arg2 = 0 ;
17513 void *argp1 = 0 ;
17514 int res1 = 0 ;
17515 bool temp2 = false ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 char * kwnames[] = {
17519 (char *) "self",(char *) "path", NULL
17520 };
17521
17522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17524 if (!SWIG_IsOK(res1)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17526 }
17527 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17528 {
17529 arg2 = wxString_in_helper(obj1);
17530 if (arg2 == NULL) SWIG_fail;
17531 temp2 = true;
17532 }
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 (arg1)->SetPath((wxString const &)*arg2);
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 resultobj = SWIG_Py_Void();
17540 {
17541 if (temp2)
17542 delete arg2;
17543 }
17544 return resultobj;
17545 fail:
17546 {
17547 if (temp2)
17548 delete arg2;
17549 }
17550 return NULL;
17551 }
17552
17553
17554 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17555 PyObject *resultobj = 0;
17556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17557 wxString *arg2 = 0 ;
17558 void *argp1 = 0 ;
17559 int res1 = 0 ;
17560 bool temp2 = false ;
17561 PyObject * obj0 = 0 ;
17562 PyObject * obj1 = 0 ;
17563 char * kwnames[] = {
17564 (char *) "self",(char *) "dir", NULL
17565 };
17566
17567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17569 if (!SWIG_IsOK(res1)) {
17570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17571 }
17572 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17573 {
17574 arg2 = wxString_in_helper(obj1);
17575 if (arg2 == NULL) SWIG_fail;
17576 temp2 = true;
17577 }
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 (arg1)->SetDirectory((wxString const &)*arg2);
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = SWIG_Py_Void();
17585 {
17586 if (temp2)
17587 delete arg2;
17588 }
17589 return resultobj;
17590 fail:
17591 {
17592 if (temp2)
17593 delete arg2;
17594 }
17595 return NULL;
17596 }
17597
17598
17599 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj = 0;
17601 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17602 wxString *arg2 = 0 ;
17603 void *argp1 = 0 ;
17604 int res1 = 0 ;
17605 bool temp2 = false ;
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 char * kwnames[] = {
17609 (char *) "self",(char *) "name", NULL
17610 };
17611
17612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17614 if (!SWIG_IsOK(res1)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17616 }
17617 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17618 {
17619 arg2 = wxString_in_helper(obj1);
17620 if (arg2 == NULL) SWIG_fail;
17621 temp2 = true;
17622 }
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 (arg1)->SetFilename((wxString const &)*arg2);
17626 wxPyEndAllowThreads(__tstate);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 }
17629 resultobj = SWIG_Py_Void();
17630 {
17631 if (temp2)
17632 delete arg2;
17633 }
17634 return resultobj;
17635 fail:
17636 {
17637 if (temp2)
17638 delete arg2;
17639 }
17640 return NULL;
17641 }
17642
17643
17644 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj = 0;
17646 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17647 wxString *arg2 = 0 ;
17648 void *argp1 = 0 ;
17649 int res1 = 0 ;
17650 bool temp2 = false ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 char * kwnames[] = {
17654 (char *) "self",(char *) "wildCard", NULL
17655 };
17656
17657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17659 if (!SWIG_IsOK(res1)) {
17660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17661 }
17662 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17663 {
17664 arg2 = wxString_in_helper(obj1);
17665 if (arg2 == NULL) SWIG_fail;
17666 temp2 = true;
17667 }
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 (arg1)->SetWildcard((wxString const &)*arg2);
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = SWIG_Py_Void();
17675 {
17676 if (temp2)
17677 delete arg2;
17678 }
17679 return resultobj;
17680 fail:
17681 {
17682 if (temp2)
17683 delete arg2;
17684 }
17685 return NULL;
17686 }
17687
17688
17689 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17690 PyObject *resultobj = 0;
17691 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17692 int arg2 ;
17693 void *argp1 = 0 ;
17694 int res1 = 0 ;
17695 int val2 ;
17696 int ecode2 = 0 ;
17697 PyObject * obj0 = 0 ;
17698 PyObject * obj1 = 0 ;
17699 char * kwnames[] = {
17700 (char *) "self",(char *) "filterIndex", NULL
17701 };
17702
17703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17705 if (!SWIG_IsOK(res1)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17707 }
17708 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17709 ecode2 = SWIG_AsVal_int(obj1, &val2);
17710 if (!SWIG_IsOK(ecode2)) {
17711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17712 }
17713 arg2 = static_cast< int >(val2);
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 (arg1)->SetFilterIndex(arg2);
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_Py_Void();
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17728 PyObject *resultobj = 0;
17729 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17730 wxString result;
17731 void *argp1 = 0 ;
17732 int res1 = 0 ;
17733 PyObject *swig_obj[1] ;
17734
17735 if (!args) SWIG_fail;
17736 swig_obj[0] = args;
17737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17738 if (!SWIG_IsOK(res1)) {
17739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17740 }
17741 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = ((wxFileDialog const *)arg1)->GetMessage();
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 {
17749 #if wxUSE_UNICODE
17750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17751 #else
17752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17753 #endif
17754 }
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17762 PyObject *resultobj = 0;
17763 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17764 wxString result;
17765 void *argp1 = 0 ;
17766 int res1 = 0 ;
17767 PyObject *swig_obj[1] ;
17768
17769 if (!args) SWIG_fail;
17770 swig_obj[0] = args;
17771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17772 if (!SWIG_IsOK(res1)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17774 }
17775 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 result = ((wxFileDialog const *)arg1)->GetPath();
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 {
17783 #if wxUSE_UNICODE
17784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17785 #else
17786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17787 #endif
17788 }
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17796 PyObject *resultobj = 0;
17797 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17798 wxString result;
17799 void *argp1 = 0 ;
17800 int res1 = 0 ;
17801 PyObject *swig_obj[1] ;
17802
17803 if (!args) SWIG_fail;
17804 swig_obj[0] = args;
17805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17806 if (!SWIG_IsOK(res1)) {
17807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17808 }
17809 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 result = ((wxFileDialog const *)arg1)->GetDirectory();
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 {
17817 #if wxUSE_UNICODE
17818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17819 #else
17820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17821 #endif
17822 }
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17830 PyObject *resultobj = 0;
17831 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17832 wxString result;
17833 void *argp1 = 0 ;
17834 int res1 = 0 ;
17835 PyObject *swig_obj[1] ;
17836
17837 if (!args) SWIG_fail;
17838 swig_obj[0] = args;
17839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17840 if (!SWIG_IsOK(res1)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17842 }
17843 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = ((wxFileDialog const *)arg1)->GetFilename();
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 {
17851 #if wxUSE_UNICODE
17852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17853 #else
17854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17855 #endif
17856 }
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17864 PyObject *resultobj = 0;
17865 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17866 wxString result;
17867 void *argp1 = 0 ;
17868 int res1 = 0 ;
17869 PyObject *swig_obj[1] ;
17870
17871 if (!args) SWIG_fail;
17872 swig_obj[0] = args;
17873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17874 if (!SWIG_IsOK(res1)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17876 }
17877 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = ((wxFileDialog const *)arg1)->GetWildcard();
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 {
17885 #if wxUSE_UNICODE
17886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17887 #else
17888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17889 #endif
17890 }
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17898 PyObject *resultobj = 0;
17899 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17900 int result;
17901 void *argp1 = 0 ;
17902 int res1 = 0 ;
17903 PyObject *swig_obj[1] ;
17904
17905 if (!args) SWIG_fail;
17906 swig_obj[0] = args;
17907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17908 if (!SWIG_IsOK(res1)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17910 }
17911 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = SWIG_From_int(static_cast< int >(result));
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17926 PyObject *resultobj = 0;
17927 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17928 PyObject *result = 0 ;
17929 void *argp1 = 0 ;
17930 int res1 = 0 ;
17931 PyObject *swig_obj[1] ;
17932
17933 if (!args) SWIG_fail;
17934 swig_obj[0] = args;
17935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17936 if (!SWIG_IsOK(res1)) {
17937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17938 }
17939 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = result;
17947 return resultobj;
17948 fail:
17949 return NULL;
17950 }
17951
17952
17953 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17954 PyObject *resultobj = 0;
17955 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17956 PyObject *result = 0 ;
17957 void *argp1 = 0 ;
17958 int res1 = 0 ;
17959 PyObject *swig_obj[1] ;
17960
17961 if (!args) SWIG_fail;
17962 swig_obj[0] = args;
17963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17964 if (!SWIG_IsOK(res1)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17966 }
17967 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 resultobj = result;
17975 return resultobj;
17976 fail:
17977 return NULL;
17978 }
17979
17980
17981 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17982 PyObject *obj;
17983 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17984 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17985 return SWIG_Py_Void();
17986 }
17987
17988 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17989 return SWIG_Python_InitShadowInstance(args);
17990 }
17991
17992 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj = 0;
17994 wxWindow *arg1 = (wxWindow *) 0 ;
17995 wxString *arg2 = 0 ;
17996 wxString *arg3 = 0 ;
17997 int arg4 = (int) 0 ;
17998 wxString *arg5 = (wxString *) NULL ;
17999 long arg6 = (long) wxCHOICEDLG_STYLE ;
18000 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18001 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18002 wxMultiChoiceDialog *result = 0 ;
18003 void *argp1 = 0 ;
18004 int res1 = 0 ;
18005 bool temp2 = false ;
18006 bool temp3 = false ;
18007 long val6 ;
18008 int ecode6 = 0 ;
18009 wxPoint temp7 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 PyObject * obj2 = 0 ;
18013 PyObject * obj3 = 0 ;
18014 PyObject * obj4 = 0 ;
18015 PyObject * obj5 = 0 ;
18016 char * kwnames[] = {
18017 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18018 };
18019
18020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18022 if (!SWIG_IsOK(res1)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18024 }
18025 arg1 = reinterpret_cast< wxWindow * >(argp1);
18026 {
18027 arg2 = wxString_in_helper(obj1);
18028 if (arg2 == NULL) SWIG_fail;
18029 temp2 = true;
18030 }
18031 {
18032 arg3 = wxString_in_helper(obj2);
18033 if (arg3 == NULL) SWIG_fail;
18034 temp3 = true;
18035 }
18036 if (obj3) {
18037 {
18038 arg4 = PyList_Size(obj3);
18039 arg5 = wxString_LIST_helper(obj3);
18040 if (arg5 == NULL) SWIG_fail;
18041 }
18042 }
18043 if (obj4) {
18044 ecode6 = SWIG_AsVal_long(obj4, &val6);
18045 if (!SWIG_IsOK(ecode6)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18047 }
18048 arg6 = static_cast< long >(val6);
18049 }
18050 if (obj5) {
18051 {
18052 arg7 = &temp7;
18053 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18054 }
18055 }
18056 {
18057 if (!wxPyCheckForApp()) SWIG_fail;
18058 PyThreadState* __tstate = wxPyBeginAllowThreads();
18059 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18060 wxPyEndAllowThreads(__tstate);
18061 if (PyErr_Occurred()) SWIG_fail;
18062 }
18063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18064 {
18065 if (temp2)
18066 delete arg2;
18067 }
18068 {
18069 if (temp3)
18070 delete arg3;
18071 }
18072 {
18073 if (arg5) delete [] arg5;
18074 }
18075 return resultobj;
18076 fail:
18077 {
18078 if (temp2)
18079 delete arg2;
18080 }
18081 {
18082 if (temp3)
18083 delete arg3;
18084 }
18085 {
18086 if (arg5) delete [] arg5;
18087 }
18088 return NULL;
18089 }
18090
18091
18092 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj = 0;
18094 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18095 wxArrayInt *arg2 = 0 ;
18096 void *argp1 = 0 ;
18097 int res1 = 0 ;
18098 bool temp2 = false ;
18099 PyObject * obj0 = 0 ;
18100 PyObject * obj1 = 0 ;
18101 char * kwnames[] = {
18102 (char *) "self",(char *) "selections", NULL
18103 };
18104
18105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18107 if (!SWIG_IsOK(res1)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18109 }
18110 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18111 {
18112 if (! PySequence_Check(obj1)) {
18113 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18114 SWIG_fail;
18115 }
18116 arg2 = new wxArrayInt;
18117 temp2 = true;
18118 int i, len=PySequence_Length(obj1);
18119 for (i=0; i<len; i++) {
18120 PyObject* item = PySequence_GetItem(obj1, i);
18121 PyObject* number = PyNumber_Int(item);
18122 if (!number) {
18123 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18124 SWIG_fail;
18125 }
18126 arg2->Add(PyInt_AS_LONG(number));
18127 Py_DECREF(item);
18128 Py_DECREF(number);
18129 }
18130 }
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 resultobj = SWIG_Py_Void();
18138 {
18139 if (temp2) delete arg2;
18140 }
18141 return resultobj;
18142 fail:
18143 {
18144 if (temp2) delete arg2;
18145 }
18146 return NULL;
18147 }
18148
18149
18150 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18151 PyObject *resultobj = 0;
18152 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18153 PyObject *result = 0 ;
18154 void *argp1 = 0 ;
18155 int res1 = 0 ;
18156 PyObject *swig_obj[1] ;
18157
18158 if (!args) SWIG_fail;
18159 swig_obj[0] = args;
18160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18161 if (!SWIG_IsOK(res1)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18163 }
18164 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 resultobj = result;
18172 return resultobj;
18173 fail:
18174 return NULL;
18175 }
18176
18177
18178 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18179 PyObject *obj;
18180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18181 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18182 return SWIG_Py_Void();
18183 }
18184
18185 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18186 return SWIG_Python_InitShadowInstance(args);
18187 }
18188
18189 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj = 0;
18191 wxWindow *arg1 = (wxWindow *) 0 ;
18192 wxString *arg2 = 0 ;
18193 wxString *arg3 = 0 ;
18194 int arg4 ;
18195 wxString *arg5 = (wxString *) 0 ;
18196 long arg6 = (long) wxCHOICEDLG_STYLE ;
18197 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18198 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18199 wxSingleChoiceDialog *result = 0 ;
18200 void *argp1 = 0 ;
18201 int res1 = 0 ;
18202 bool temp2 = false ;
18203 bool temp3 = false ;
18204 long val6 ;
18205 int ecode6 = 0 ;
18206 wxPoint temp7 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
18210 PyObject * obj3 = 0 ;
18211 PyObject * obj4 = 0 ;
18212 PyObject * obj5 = 0 ;
18213 char * kwnames[] = {
18214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18215 };
18216
18217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18219 if (!SWIG_IsOK(res1)) {
18220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18221 }
18222 arg1 = reinterpret_cast< wxWindow * >(argp1);
18223 {
18224 arg2 = wxString_in_helper(obj1);
18225 if (arg2 == NULL) SWIG_fail;
18226 temp2 = true;
18227 }
18228 {
18229 arg3 = wxString_in_helper(obj2);
18230 if (arg3 == NULL) SWIG_fail;
18231 temp3 = true;
18232 }
18233 {
18234 arg4 = PyList_Size(obj3);
18235 arg5 = wxString_LIST_helper(obj3);
18236 if (arg5 == NULL) SWIG_fail;
18237 }
18238 if (obj4) {
18239 ecode6 = SWIG_AsVal_long(obj4, &val6);
18240 if (!SWIG_IsOK(ecode6)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18242 }
18243 arg6 = static_cast< long >(val6);
18244 }
18245 if (obj5) {
18246 {
18247 arg7 = &temp7;
18248 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18249 }
18250 }
18251 {
18252 if (!wxPyCheckForApp()) SWIG_fail;
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18259 {
18260 if (temp2)
18261 delete arg2;
18262 }
18263 {
18264 if (temp3)
18265 delete arg3;
18266 }
18267 {
18268 if (arg5) delete [] arg5;
18269 }
18270 return resultobj;
18271 fail:
18272 {
18273 if (temp2)
18274 delete arg2;
18275 }
18276 {
18277 if (temp3)
18278 delete arg3;
18279 }
18280 {
18281 if (arg5) delete [] arg5;
18282 }
18283 return NULL;
18284 }
18285
18286
18287 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18288 PyObject *resultobj = 0;
18289 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18290 int result;
18291 void *argp1 = 0 ;
18292 int res1 = 0 ;
18293 PyObject *swig_obj[1] ;
18294
18295 if (!args) SWIG_fail;
18296 swig_obj[0] = args;
18297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18298 if (!SWIG_IsOK(res1)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18300 }
18301 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18302 {
18303 PyThreadState* __tstate = wxPyBeginAllowThreads();
18304 result = (int)(arg1)->GetSelection();
18305 wxPyEndAllowThreads(__tstate);
18306 if (PyErr_Occurred()) SWIG_fail;
18307 }
18308 resultobj = SWIG_From_int(static_cast< int >(result));
18309 return resultobj;
18310 fail:
18311 return NULL;
18312 }
18313
18314
18315 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18316 PyObject *resultobj = 0;
18317 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18318 wxString result;
18319 void *argp1 = 0 ;
18320 int res1 = 0 ;
18321 PyObject *swig_obj[1] ;
18322
18323 if (!args) SWIG_fail;
18324 swig_obj[0] = args;
18325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18326 if (!SWIG_IsOK(res1)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18328 }
18329 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 result = (arg1)->GetStringSelection();
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 {
18337 #if wxUSE_UNICODE
18338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18339 #else
18340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18341 #endif
18342 }
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj = 0;
18351 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18352 int arg2 ;
18353 void *argp1 = 0 ;
18354 int res1 = 0 ;
18355 int val2 ;
18356 int ecode2 = 0 ;
18357 PyObject * obj0 = 0 ;
18358 PyObject * obj1 = 0 ;
18359 char * kwnames[] = {
18360 (char *) "self",(char *) "sel", NULL
18361 };
18362
18363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18365 if (!SWIG_IsOK(res1)) {
18366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18367 }
18368 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18369 ecode2 = SWIG_AsVal_int(obj1, &val2);
18370 if (!SWIG_IsOK(ecode2)) {
18371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18372 }
18373 arg2 = static_cast< int >(val2);
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 (arg1)->SetSelection(arg2);
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 resultobj = SWIG_Py_Void();
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18388 PyObject *obj;
18389 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18390 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18391 return SWIG_Py_Void();
18392 }
18393
18394 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18395 return SWIG_Python_InitShadowInstance(args);
18396 }
18397
18398 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj = 0;
18400 wxWindow *arg1 = (wxWindow *) 0 ;
18401 wxString *arg2 = 0 ;
18402 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18403 wxString *arg3 = (wxString *) &arg3_defvalue ;
18404 wxString const &arg4_defvalue = wxPyEmptyString ;
18405 wxString *arg4 = (wxString *) &arg4_defvalue ;
18406 long arg5 = (long) wxTextEntryDialogStyle ;
18407 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18408 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18409 wxTextEntryDialog *result = 0 ;
18410 void *argp1 = 0 ;
18411 int res1 = 0 ;
18412 bool temp2 = false ;
18413 bool temp3 = false ;
18414 bool temp4 = false ;
18415 long val5 ;
18416 int ecode5 = 0 ;
18417 wxPoint temp6 ;
18418 PyObject * obj0 = 0 ;
18419 PyObject * obj1 = 0 ;
18420 PyObject * obj2 = 0 ;
18421 PyObject * obj3 = 0 ;
18422 PyObject * obj4 = 0 ;
18423 PyObject * obj5 = 0 ;
18424 char * kwnames[] = {
18425 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18426 };
18427
18428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18430 if (!SWIG_IsOK(res1)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18432 }
18433 arg1 = reinterpret_cast< wxWindow * >(argp1);
18434 {
18435 arg2 = wxString_in_helper(obj1);
18436 if (arg2 == NULL) SWIG_fail;
18437 temp2 = true;
18438 }
18439 if (obj2) {
18440 {
18441 arg3 = wxString_in_helper(obj2);
18442 if (arg3 == NULL) SWIG_fail;
18443 temp3 = true;
18444 }
18445 }
18446 if (obj3) {
18447 {
18448 arg4 = wxString_in_helper(obj3);
18449 if (arg4 == NULL) SWIG_fail;
18450 temp4 = true;
18451 }
18452 }
18453 if (obj4) {
18454 ecode5 = SWIG_AsVal_long(obj4, &val5);
18455 if (!SWIG_IsOK(ecode5)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18457 }
18458 arg5 = static_cast< long >(val5);
18459 }
18460 if (obj5) {
18461 {
18462 arg6 = &temp6;
18463 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18464 }
18465 }
18466 {
18467 if (!wxPyCheckForApp()) SWIG_fail;
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18474 {
18475 if (temp2)
18476 delete arg2;
18477 }
18478 {
18479 if (temp3)
18480 delete arg3;
18481 }
18482 {
18483 if (temp4)
18484 delete arg4;
18485 }
18486 return resultobj;
18487 fail:
18488 {
18489 if (temp2)
18490 delete arg2;
18491 }
18492 {
18493 if (temp3)
18494 delete arg3;
18495 }
18496 {
18497 if (temp4)
18498 delete arg4;
18499 }
18500 return NULL;
18501 }
18502
18503
18504 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18505 PyObject *resultobj = 0;
18506 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18507 wxString result;
18508 void *argp1 = 0 ;
18509 int res1 = 0 ;
18510 PyObject *swig_obj[1] ;
18511
18512 if (!args) SWIG_fail;
18513 swig_obj[0] = args;
18514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18515 if (!SWIG_IsOK(res1)) {
18516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18517 }
18518 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (arg1)->GetValue();
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 {
18526 #if wxUSE_UNICODE
18527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18528 #else
18529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18530 #endif
18531 }
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj = 0;
18540 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18541 wxString *arg2 = 0 ;
18542 void *argp1 = 0 ;
18543 int res1 = 0 ;
18544 bool temp2 = false ;
18545 PyObject * obj0 = 0 ;
18546 PyObject * obj1 = 0 ;
18547 char * kwnames[] = {
18548 (char *) "self",(char *) "value", NULL
18549 };
18550
18551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18553 if (!SWIG_IsOK(res1)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18555 }
18556 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18557 {
18558 arg2 = wxString_in_helper(obj1);
18559 if (arg2 == NULL) SWIG_fail;
18560 temp2 = true;
18561 }
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 (arg1)->SetValue((wxString const &)*arg2);
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 resultobj = SWIG_Py_Void();
18569 {
18570 if (temp2)
18571 delete arg2;
18572 }
18573 return resultobj;
18574 fail:
18575 {
18576 if (temp2)
18577 delete arg2;
18578 }
18579 return NULL;
18580 }
18581
18582
18583 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18584 PyObject *obj;
18585 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18586 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18587 return SWIG_Py_Void();
18588 }
18589
18590 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18591 return SWIG_Python_InitShadowInstance(args);
18592 }
18593
18594 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18595 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18596 return 1;
18597 }
18598
18599
18600 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18601 PyObject *pyobj = 0;
18602
18603 {
18604 #if wxUSE_UNICODE
18605 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18606 #else
18607 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18608 #endif
18609 }
18610 return pyobj;
18611 }
18612
18613
18614 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj = 0;
18616 wxWindow *arg1 = (wxWindow *) 0 ;
18617 wxString *arg2 = 0 ;
18618 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18619 wxString *arg3 = (wxString *) &arg3_defvalue ;
18620 wxString const &arg4_defvalue = wxPyEmptyString ;
18621 wxString *arg4 = (wxString *) &arg4_defvalue ;
18622 long arg5 = (long) wxTextEntryDialogStyle ;
18623 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18624 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18625 wxPasswordEntryDialog *result = 0 ;
18626 void *argp1 = 0 ;
18627 int res1 = 0 ;
18628 bool temp2 = false ;
18629 bool temp3 = false ;
18630 bool temp4 = false ;
18631 long val5 ;
18632 int ecode5 = 0 ;
18633 wxPoint temp6 ;
18634 PyObject * obj0 = 0 ;
18635 PyObject * obj1 = 0 ;
18636 PyObject * obj2 = 0 ;
18637 PyObject * obj3 = 0 ;
18638 PyObject * obj4 = 0 ;
18639 PyObject * obj5 = 0 ;
18640 char * kwnames[] = {
18641 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18642 };
18643
18644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18646 if (!SWIG_IsOK(res1)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18648 }
18649 arg1 = reinterpret_cast< wxWindow * >(argp1);
18650 {
18651 arg2 = wxString_in_helper(obj1);
18652 if (arg2 == NULL) SWIG_fail;
18653 temp2 = true;
18654 }
18655 if (obj2) {
18656 {
18657 arg3 = wxString_in_helper(obj2);
18658 if (arg3 == NULL) SWIG_fail;
18659 temp3 = true;
18660 }
18661 }
18662 if (obj3) {
18663 {
18664 arg4 = wxString_in_helper(obj3);
18665 if (arg4 == NULL) SWIG_fail;
18666 temp4 = true;
18667 }
18668 }
18669 if (obj4) {
18670 ecode5 = SWIG_AsVal_long(obj4, &val5);
18671 if (!SWIG_IsOK(ecode5)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18673 }
18674 arg5 = static_cast< long >(val5);
18675 }
18676 if (obj5) {
18677 {
18678 arg6 = &temp6;
18679 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18680 }
18681 }
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18689 {
18690 if (temp2)
18691 delete arg2;
18692 }
18693 {
18694 if (temp3)
18695 delete arg3;
18696 }
18697 {
18698 if (temp4)
18699 delete arg4;
18700 }
18701 return resultobj;
18702 fail:
18703 {
18704 if (temp2)
18705 delete arg2;
18706 }
18707 {
18708 if (temp3)
18709 delete arg3;
18710 }
18711 {
18712 if (temp4)
18713 delete arg4;
18714 }
18715 return NULL;
18716 }
18717
18718
18719 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18720 PyObject *obj;
18721 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18723 return SWIG_Py_Void();
18724 }
18725
18726 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18727 return SWIG_Python_InitShadowInstance(args);
18728 }
18729
18730 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj = 0;
18732 wxWindow *arg1 = (wxWindow *) 0 ;
18733 wxString *arg2 = 0 ;
18734 wxString *arg3 = 0 ;
18735 wxString *arg4 = 0 ;
18736 long arg5 ;
18737 long arg6 ;
18738 long arg7 ;
18739 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18740 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18741 wxNumberEntryDialog *result = 0 ;
18742 void *argp1 = 0 ;
18743 int res1 = 0 ;
18744 bool temp2 = false ;
18745 bool temp3 = false ;
18746 bool temp4 = false ;
18747 long val5 ;
18748 int ecode5 = 0 ;
18749 long val6 ;
18750 int ecode6 = 0 ;
18751 long val7 ;
18752 int ecode7 = 0 ;
18753 wxPoint temp8 ;
18754 PyObject * obj0 = 0 ;
18755 PyObject * obj1 = 0 ;
18756 PyObject * obj2 = 0 ;
18757 PyObject * obj3 = 0 ;
18758 PyObject * obj4 = 0 ;
18759 PyObject * obj5 = 0 ;
18760 PyObject * obj6 = 0 ;
18761 PyObject * obj7 = 0 ;
18762 char * kwnames[] = {
18763 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18764 };
18765
18766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18768 if (!SWIG_IsOK(res1)) {
18769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18770 }
18771 arg1 = reinterpret_cast< wxWindow * >(argp1);
18772 {
18773 arg2 = wxString_in_helper(obj1);
18774 if (arg2 == NULL) SWIG_fail;
18775 temp2 = true;
18776 }
18777 {
18778 arg3 = wxString_in_helper(obj2);
18779 if (arg3 == NULL) SWIG_fail;
18780 temp3 = true;
18781 }
18782 {
18783 arg4 = wxString_in_helper(obj3);
18784 if (arg4 == NULL) SWIG_fail;
18785 temp4 = true;
18786 }
18787 ecode5 = SWIG_AsVal_long(obj4, &val5);
18788 if (!SWIG_IsOK(ecode5)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18790 }
18791 arg5 = static_cast< long >(val5);
18792 ecode6 = SWIG_AsVal_long(obj5, &val6);
18793 if (!SWIG_IsOK(ecode6)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18795 }
18796 arg6 = static_cast< long >(val6);
18797 ecode7 = SWIG_AsVal_long(obj6, &val7);
18798 if (!SWIG_IsOK(ecode7)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18800 }
18801 arg7 = static_cast< long >(val7);
18802 if (obj7) {
18803 {
18804 arg8 = &temp8;
18805 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18806 }
18807 }
18808 {
18809 if (!wxPyCheckForApp()) SWIG_fail;
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18816 {
18817 if (temp2)
18818 delete arg2;
18819 }
18820 {
18821 if (temp3)
18822 delete arg3;
18823 }
18824 {
18825 if (temp4)
18826 delete arg4;
18827 }
18828 return resultobj;
18829 fail:
18830 {
18831 if (temp2)
18832 delete arg2;
18833 }
18834 {
18835 if (temp3)
18836 delete arg3;
18837 }
18838 {
18839 if (temp4)
18840 delete arg4;
18841 }
18842 return NULL;
18843 }
18844
18845
18846 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18847 PyObject *resultobj = 0;
18848 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18849 long result;
18850 void *argp1 = 0 ;
18851 int res1 = 0 ;
18852 PyObject *swig_obj[1] ;
18853
18854 if (!args) SWIG_fail;
18855 swig_obj[0] = args;
18856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18857 if (!SWIG_IsOK(res1)) {
18858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18859 }
18860 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18861 {
18862 PyThreadState* __tstate = wxPyBeginAllowThreads();
18863 result = (long)(arg1)->GetValue();
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 resultobj = SWIG_From_long(static_cast< long >(result));
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18875 PyObject *obj;
18876 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18877 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18878 return SWIG_Py_Void();
18879 }
18880
18881 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18882 return SWIG_Python_InitShadowInstance(args);
18883 }
18884
18885 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18886 PyObject *resultobj = 0;
18887 wxFontData *result = 0 ;
18888
18889 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = (wxFontData *)new wxFontData();
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18904 PyObject *resultobj = 0;
18905 wxFontData *arg1 = (wxFontData *) 0 ;
18906 void *argp1 = 0 ;
18907 int res1 = 0 ;
18908 PyObject *swig_obj[1] ;
18909
18910 if (!args) SWIG_fail;
18911 swig_obj[0] = args;
18912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18913 if (!SWIG_IsOK(res1)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18915 }
18916 arg1 = reinterpret_cast< wxFontData * >(argp1);
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 delete arg1;
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 resultobj = SWIG_Py_Void();
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj = 0;
18933 wxFontData *arg1 = (wxFontData *) 0 ;
18934 bool arg2 ;
18935 void *argp1 = 0 ;
18936 int res1 = 0 ;
18937 bool val2 ;
18938 int ecode2 = 0 ;
18939 PyObject * obj0 = 0 ;
18940 PyObject * obj1 = 0 ;
18941 char * kwnames[] = {
18942 (char *) "self",(char *) "enable", NULL
18943 };
18944
18945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18947 if (!SWIG_IsOK(res1)) {
18948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18949 }
18950 arg1 = reinterpret_cast< wxFontData * >(argp1);
18951 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18952 if (!SWIG_IsOK(ecode2)) {
18953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18954 }
18955 arg2 = static_cast< bool >(val2);
18956 {
18957 PyThreadState* __tstate = wxPyBeginAllowThreads();
18958 (arg1)->EnableEffects(arg2);
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 resultobj = SWIG_Py_Void();
18963 return resultobj;
18964 fail:
18965 return NULL;
18966 }
18967
18968
18969 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18970 PyObject *resultobj = 0;
18971 wxFontData *arg1 = (wxFontData *) 0 ;
18972 bool result;
18973 void *argp1 = 0 ;
18974 int res1 = 0 ;
18975 PyObject *swig_obj[1] ;
18976
18977 if (!args) SWIG_fail;
18978 swig_obj[0] = args;
18979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18980 if (!SWIG_IsOK(res1)) {
18981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18982 }
18983 arg1 = reinterpret_cast< wxFontData * >(argp1);
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (bool)(arg1)->GetAllowSymbols();
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 {
18991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18992 }
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19000 PyObject *resultobj = 0;
19001 wxFontData *arg1 = (wxFontData *) 0 ;
19002 wxColour result;
19003 void *argp1 = 0 ;
19004 int res1 = 0 ;
19005 PyObject *swig_obj[1] ;
19006
19007 if (!args) SWIG_fail;
19008 swig_obj[0] = args;
19009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19010 if (!SWIG_IsOK(res1)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19012 }
19013 arg1 = reinterpret_cast< wxFontData * >(argp1);
19014 {
19015 PyThreadState* __tstate = wxPyBeginAllowThreads();
19016 result = (arg1)->GetColour();
19017 wxPyEndAllowThreads(__tstate);
19018 if (PyErr_Occurred()) SWIG_fail;
19019 }
19020 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19021 return resultobj;
19022 fail:
19023 return NULL;
19024 }
19025
19026
19027 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19028 PyObject *resultobj = 0;
19029 wxFontData *arg1 = (wxFontData *) 0 ;
19030 wxFont result;
19031 void *argp1 = 0 ;
19032 int res1 = 0 ;
19033 PyObject *swig_obj[1] ;
19034
19035 if (!args) SWIG_fail;
19036 swig_obj[0] = args;
19037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19038 if (!SWIG_IsOK(res1)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19040 }
19041 arg1 = reinterpret_cast< wxFontData * >(argp1);
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 result = (arg1)->GetChosenFont();
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19049 return resultobj;
19050 fail:
19051 return NULL;
19052 }
19053
19054
19055 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19056 PyObject *resultobj = 0;
19057 wxFontData *arg1 = (wxFontData *) 0 ;
19058 bool result;
19059 void *argp1 = 0 ;
19060 int res1 = 0 ;
19061 PyObject *swig_obj[1] ;
19062
19063 if (!args) SWIG_fail;
19064 swig_obj[0] = args;
19065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19066 if (!SWIG_IsOK(res1)) {
19067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19068 }
19069 arg1 = reinterpret_cast< wxFontData * >(argp1);
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 result = (bool)(arg1)->GetEnableEffects();
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 {
19077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19078 }
19079 return resultobj;
19080 fail:
19081 return NULL;
19082 }
19083
19084
19085 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19086 PyObject *resultobj = 0;
19087 wxFontData *arg1 = (wxFontData *) 0 ;
19088 wxFont result;
19089 void *argp1 = 0 ;
19090 int res1 = 0 ;
19091 PyObject *swig_obj[1] ;
19092
19093 if (!args) SWIG_fail;
19094 swig_obj[0] = args;
19095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19096 if (!SWIG_IsOK(res1)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19098 }
19099 arg1 = reinterpret_cast< wxFontData * >(argp1);
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (arg1)->GetInitialFont();
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19107 return resultobj;
19108 fail:
19109 return NULL;
19110 }
19111
19112
19113 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19114 PyObject *resultobj = 0;
19115 wxFontData *arg1 = (wxFontData *) 0 ;
19116 bool result;
19117 void *argp1 = 0 ;
19118 int res1 = 0 ;
19119 PyObject *swig_obj[1] ;
19120
19121 if (!args) SWIG_fail;
19122 swig_obj[0] = args;
19123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19124 if (!SWIG_IsOK(res1)) {
19125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19126 }
19127 arg1 = reinterpret_cast< wxFontData * >(argp1);
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (bool)(arg1)->GetShowHelp();
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 {
19135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19136 }
19137 return resultobj;
19138 fail:
19139 return NULL;
19140 }
19141
19142
19143 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19144 PyObject *resultobj = 0;
19145 wxFontData *arg1 = (wxFontData *) 0 ;
19146 bool arg2 ;
19147 void *argp1 = 0 ;
19148 int res1 = 0 ;
19149 bool val2 ;
19150 int ecode2 = 0 ;
19151 PyObject * obj0 = 0 ;
19152 PyObject * obj1 = 0 ;
19153 char * kwnames[] = {
19154 (char *) "self",(char *) "allowSymbols", NULL
19155 };
19156
19157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19159 if (!SWIG_IsOK(res1)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19161 }
19162 arg1 = reinterpret_cast< wxFontData * >(argp1);
19163 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19164 if (!SWIG_IsOK(ecode2)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19166 }
19167 arg2 = static_cast< bool >(val2);
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 (arg1)->SetAllowSymbols(arg2);
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 resultobj = SWIG_Py_Void();
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj = 0;
19183 wxFontData *arg1 = (wxFontData *) 0 ;
19184 wxFont *arg2 = 0 ;
19185 void *argp1 = 0 ;
19186 int res1 = 0 ;
19187 void *argp2 = 0 ;
19188 int res2 = 0 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char * kwnames[] = {
19192 (char *) "self",(char *) "font", NULL
19193 };
19194
19195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19197 if (!SWIG_IsOK(res1)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19199 }
19200 arg1 = reinterpret_cast< wxFontData * >(argp1);
19201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19202 if (!SWIG_IsOK(res2)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19204 }
19205 if (!argp2) {
19206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19207 }
19208 arg2 = reinterpret_cast< wxFont * >(argp2);
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 (arg1)->SetChosenFont((wxFont const &)*arg2);
19212 wxPyEndAllowThreads(__tstate);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 resultobj = SWIG_Py_Void();
19216 return resultobj;
19217 fail:
19218 return NULL;
19219 }
19220
19221
19222 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj = 0;
19224 wxFontData *arg1 = (wxFontData *) 0 ;
19225 wxColour *arg2 = 0 ;
19226 void *argp1 = 0 ;
19227 int res1 = 0 ;
19228 wxColour temp2 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 char * kwnames[] = {
19232 (char *) "self",(char *) "colour", NULL
19233 };
19234
19235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19237 if (!SWIG_IsOK(res1)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19239 }
19240 arg1 = reinterpret_cast< wxFontData * >(argp1);
19241 {
19242 arg2 = &temp2;
19243 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19244 }
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 (arg1)->SetColour((wxColour const &)*arg2);
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 resultobj = SWIG_Py_Void();
19252 return resultobj;
19253 fail:
19254 return NULL;
19255 }
19256
19257
19258 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj = 0;
19260 wxFontData *arg1 = (wxFontData *) 0 ;
19261 wxFont *arg2 = 0 ;
19262 void *argp1 = 0 ;
19263 int res1 = 0 ;
19264 void *argp2 = 0 ;
19265 int res2 = 0 ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 char * kwnames[] = {
19269 (char *) "self",(char *) "font", NULL
19270 };
19271
19272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19274 if (!SWIG_IsOK(res1)) {
19275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19276 }
19277 arg1 = reinterpret_cast< wxFontData * >(argp1);
19278 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19279 if (!SWIG_IsOK(res2)) {
19280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19281 }
19282 if (!argp2) {
19283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19284 }
19285 arg2 = reinterpret_cast< wxFont * >(argp2);
19286 {
19287 PyThreadState* __tstate = wxPyBeginAllowThreads();
19288 (arg1)->SetInitialFont((wxFont const &)*arg2);
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 resultobj = SWIG_Py_Void();
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj = 0;
19301 wxFontData *arg1 = (wxFontData *) 0 ;
19302 int arg2 ;
19303 int arg3 ;
19304 void *argp1 = 0 ;
19305 int res1 = 0 ;
19306 int val2 ;
19307 int ecode2 = 0 ;
19308 int val3 ;
19309 int ecode3 = 0 ;
19310 PyObject * obj0 = 0 ;
19311 PyObject * obj1 = 0 ;
19312 PyObject * obj2 = 0 ;
19313 char * kwnames[] = {
19314 (char *) "self",(char *) "min",(char *) "max", NULL
19315 };
19316
19317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19319 if (!SWIG_IsOK(res1)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19321 }
19322 arg1 = reinterpret_cast< wxFontData * >(argp1);
19323 ecode2 = SWIG_AsVal_int(obj1, &val2);
19324 if (!SWIG_IsOK(ecode2)) {
19325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19326 }
19327 arg2 = static_cast< int >(val2);
19328 ecode3 = SWIG_AsVal_int(obj2, &val3);
19329 if (!SWIG_IsOK(ecode3)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19331 }
19332 arg3 = static_cast< int >(val3);
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 (arg1)->SetRange(arg2,arg3);
19336 wxPyEndAllowThreads(__tstate);
19337 if (PyErr_Occurred()) SWIG_fail;
19338 }
19339 resultobj = SWIG_Py_Void();
19340 return resultobj;
19341 fail:
19342 return NULL;
19343 }
19344
19345
19346 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19347 PyObject *resultobj = 0;
19348 wxFontData *arg1 = (wxFontData *) 0 ;
19349 bool arg2 ;
19350 void *argp1 = 0 ;
19351 int res1 = 0 ;
19352 bool val2 ;
19353 int ecode2 = 0 ;
19354 PyObject * obj0 = 0 ;
19355 PyObject * obj1 = 0 ;
19356 char * kwnames[] = {
19357 (char *) "self",(char *) "showHelp", NULL
19358 };
19359
19360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19362 if (!SWIG_IsOK(res1)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19364 }
19365 arg1 = reinterpret_cast< wxFontData * >(argp1);
19366 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19367 if (!SWIG_IsOK(ecode2)) {
19368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19369 }
19370 arg2 = static_cast< bool >(val2);
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 (arg1)->SetShowHelp(arg2);
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 resultobj = SWIG_Py_Void();
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19385 PyObject *obj;
19386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19387 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19388 return SWIG_Py_Void();
19389 }
19390
19391 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19392 return SWIG_Python_InitShadowInstance(args);
19393 }
19394
19395 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj = 0;
19397 wxWindow *arg1 = (wxWindow *) 0 ;
19398 wxFontData *arg2 = 0 ;
19399 wxFontDialog *result = 0 ;
19400 void *argp1 = 0 ;
19401 int res1 = 0 ;
19402 void *argp2 = 0 ;
19403 int res2 = 0 ;
19404 PyObject * obj0 = 0 ;
19405 PyObject * obj1 = 0 ;
19406 char * kwnames[] = {
19407 (char *) "parent",(char *) "data", NULL
19408 };
19409
19410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19412 if (!SWIG_IsOK(res1)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19414 }
19415 arg1 = reinterpret_cast< wxWindow * >(argp1);
19416 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19417 if (!SWIG_IsOK(res2)) {
19418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19419 }
19420 if (!argp2) {
19421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19422 }
19423 arg2 = reinterpret_cast< wxFontData * >(argp2);
19424 {
19425 if (!wxPyCheckForApp()) SWIG_fail;
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19432 return resultobj;
19433 fail:
19434 return NULL;
19435 }
19436
19437
19438 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19439 PyObject *resultobj = 0;
19440 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19441 wxFontData *result = 0 ;
19442 void *argp1 = 0 ;
19443 int res1 = 0 ;
19444 PyObject *swig_obj[1] ;
19445
19446 if (!args) SWIG_fail;
19447 swig_obj[0] = args;
19448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19449 if (!SWIG_IsOK(res1)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19451 }
19452 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 {
19456 wxFontData &_result_ref = (arg1)->GetFontData();
19457 result = (wxFontData *) &_result_ref;
19458 }
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19463 return resultobj;
19464 fail:
19465 return NULL;
19466 }
19467
19468
19469 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19470 PyObject *obj;
19471 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19472 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19473 return SWIG_Py_Void();
19474 }
19475
19476 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19477 return SWIG_Python_InitShadowInstance(args);
19478 }
19479
19480 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj = 0;
19482 wxWindow *arg1 = (wxWindow *) NULL ;
19483 wxFont const &arg2_defvalue = wxNullFont ;
19484 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19485 wxString const &arg3_defvalue = wxPyEmptyString ;
19486 wxString *arg3 = (wxString *) &arg3_defvalue ;
19487 wxFont result;
19488 void *argp1 = 0 ;
19489 int res1 = 0 ;
19490 void *argp2 = 0 ;
19491 int res2 = 0 ;
19492 bool temp3 = false ;
19493 PyObject * obj0 = 0 ;
19494 PyObject * obj1 = 0 ;
19495 PyObject * obj2 = 0 ;
19496 char * kwnames[] = {
19497 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19498 };
19499
19500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19501 if (obj0) {
19502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19503 if (!SWIG_IsOK(res1)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19505 }
19506 arg1 = reinterpret_cast< wxWindow * >(argp1);
19507 }
19508 if (obj1) {
19509 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19510 if (!SWIG_IsOK(res2)) {
19511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19512 }
19513 if (!argp2) {
19514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19515 }
19516 arg2 = reinterpret_cast< wxFont * >(argp2);
19517 }
19518 if (obj2) {
19519 {
19520 arg3 = wxString_in_helper(obj2);
19521 if (arg3 == NULL) SWIG_fail;
19522 temp3 = true;
19523 }
19524 }
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19532 {
19533 if (temp3)
19534 delete arg3;
19535 }
19536 return resultobj;
19537 fail:
19538 {
19539 if (temp3)
19540 delete arg3;
19541 }
19542 return NULL;
19543 }
19544
19545
19546 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj = 0;
19548 wxWindow *arg1 = (wxWindow *) 0 ;
19549 wxString *arg2 = 0 ;
19550 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19551 wxString *arg3 = (wxString *) &arg3_defvalue ;
19552 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19553 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19554 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19555 wxMessageDialog *result = 0 ;
19556 void *argp1 = 0 ;
19557 int res1 = 0 ;
19558 bool temp2 = false ;
19559 bool temp3 = false ;
19560 long val4 ;
19561 int ecode4 = 0 ;
19562 wxPoint temp5 ;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 PyObject * obj2 = 0 ;
19566 PyObject * obj3 = 0 ;
19567 PyObject * obj4 = 0 ;
19568 char * kwnames[] = {
19569 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19570 };
19571
19572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19574 if (!SWIG_IsOK(res1)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19576 }
19577 arg1 = reinterpret_cast< wxWindow * >(argp1);
19578 {
19579 arg2 = wxString_in_helper(obj1);
19580 if (arg2 == NULL) SWIG_fail;
19581 temp2 = true;
19582 }
19583 if (obj2) {
19584 {
19585 arg3 = wxString_in_helper(obj2);
19586 if (arg3 == NULL) SWIG_fail;
19587 temp3 = true;
19588 }
19589 }
19590 if (obj3) {
19591 ecode4 = SWIG_AsVal_long(obj3, &val4);
19592 if (!SWIG_IsOK(ecode4)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19594 }
19595 arg4 = static_cast< long >(val4);
19596 }
19597 if (obj4) {
19598 {
19599 arg5 = &temp5;
19600 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19601 }
19602 }
19603 {
19604 if (!wxPyCheckForApp()) SWIG_fail;
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
19610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19611 {
19612 if (temp2)
19613 delete arg2;
19614 }
19615 {
19616 if (temp3)
19617 delete arg3;
19618 }
19619 return resultobj;
19620 fail:
19621 {
19622 if (temp2)
19623 delete arg2;
19624 }
19625 {
19626 if (temp3)
19627 delete arg3;
19628 }
19629 return NULL;
19630 }
19631
19632
19633 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19634 PyObject *obj;
19635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19636 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19637 return SWIG_Py_Void();
19638 }
19639
19640 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19641 return SWIG_Python_InitShadowInstance(args);
19642 }
19643
19644 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj = 0;
19646 wxString *arg1 = 0 ;
19647 wxString *arg2 = 0 ;
19648 int arg3 = (int) 100 ;
19649 wxWindow *arg4 = (wxWindow *) NULL ;
19650 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19651 wxProgressDialog *result = 0 ;
19652 bool temp1 = false ;
19653 bool temp2 = false ;
19654 int val3 ;
19655 int ecode3 = 0 ;
19656 void *argp4 = 0 ;
19657 int res4 = 0 ;
19658 int val5 ;
19659 int ecode5 = 0 ;
19660 PyObject * obj0 = 0 ;
19661 PyObject * obj1 = 0 ;
19662 PyObject * obj2 = 0 ;
19663 PyObject * obj3 = 0 ;
19664 PyObject * obj4 = 0 ;
19665 char * kwnames[] = {
19666 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19667 };
19668
19669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19670 {
19671 arg1 = wxString_in_helper(obj0);
19672 if (arg1 == NULL) SWIG_fail;
19673 temp1 = true;
19674 }
19675 {
19676 arg2 = wxString_in_helper(obj1);
19677 if (arg2 == NULL) SWIG_fail;
19678 temp2 = true;
19679 }
19680 if (obj2) {
19681 ecode3 = SWIG_AsVal_int(obj2, &val3);
19682 if (!SWIG_IsOK(ecode3)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19684 }
19685 arg3 = static_cast< int >(val3);
19686 }
19687 if (obj3) {
19688 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19689 if (!SWIG_IsOK(res4)) {
19690 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19691 }
19692 arg4 = reinterpret_cast< wxWindow * >(argp4);
19693 }
19694 if (obj4) {
19695 ecode5 = SWIG_AsVal_int(obj4, &val5);
19696 if (!SWIG_IsOK(ecode5)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19698 }
19699 arg5 = static_cast< int >(val5);
19700 }
19701 {
19702 if (!wxPyCheckForApp()) SWIG_fail;
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19709 {
19710 if (temp1)
19711 delete arg1;
19712 }
19713 {
19714 if (temp2)
19715 delete arg2;
19716 }
19717 return resultobj;
19718 fail:
19719 {
19720 if (temp1)
19721 delete arg1;
19722 }
19723 {
19724 if (temp2)
19725 delete arg2;
19726 }
19727 return NULL;
19728 }
19729
19730
19731 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19732 PyObject *resultobj = 0;
19733 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19734 int arg2 ;
19735 wxString const &arg3_defvalue = wxPyEmptyString ;
19736 wxString *arg3 = (wxString *) &arg3_defvalue ;
19737 bool *arg4 = (bool *) 0 ;
19738 bool result;
19739 void *argp1 = 0 ;
19740 int res1 = 0 ;
19741 int val2 ;
19742 int ecode2 = 0 ;
19743 bool temp3 = false ;
19744 bool temp4 ;
19745 int res4 = SWIG_TMPOBJ ;
19746 PyObject * obj0 = 0 ;
19747 PyObject * obj1 = 0 ;
19748 PyObject * obj2 = 0 ;
19749 char * kwnames[] = {
19750 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19751 };
19752
19753 arg4 = &temp4;
19754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19756 if (!SWIG_IsOK(res1)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19758 }
19759 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19760 ecode2 = SWIG_AsVal_int(obj1, &val2);
19761 if (!SWIG_IsOK(ecode2)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19763 }
19764 arg2 = static_cast< int >(val2);
19765 if (obj2) {
19766 {
19767 arg3 = wxString_in_helper(obj2);
19768 if (arg3 == NULL) SWIG_fail;
19769 temp3 = true;
19770 }
19771 }
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 {
19779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19780 }
19781 if (SWIG_IsTmpObj(res4)) {
19782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19783 } else {
19784 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19785 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19786 }
19787 {
19788 if (temp3)
19789 delete arg3;
19790 }
19791 return resultobj;
19792 fail:
19793 {
19794 if (temp3)
19795 delete arg3;
19796 }
19797 return NULL;
19798 }
19799
19800
19801 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj = 0;
19803 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19804 wxString const &arg2_defvalue = wxPyEmptyString ;
19805 wxString *arg2 = (wxString *) &arg2_defvalue ;
19806 bool *arg3 = (bool *) 0 ;
19807 bool result;
19808 void *argp1 = 0 ;
19809 int res1 = 0 ;
19810 bool temp2 = false ;
19811 bool temp3 ;
19812 int res3 = SWIG_TMPOBJ ;
19813 PyObject * obj0 = 0 ;
19814 PyObject * obj1 = 0 ;
19815 char * kwnames[] = {
19816 (char *) "self",(char *) "newmsg", NULL
19817 };
19818
19819 arg3 = &temp3;
19820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19822 if (!SWIG_IsOK(res1)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19824 }
19825 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19826 if (obj1) {
19827 {
19828 arg2 = wxString_in_helper(obj1);
19829 if (arg2 == NULL) SWIG_fail;
19830 temp2 = true;
19831 }
19832 }
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 {
19840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19841 }
19842 if (SWIG_IsTmpObj(res3)) {
19843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19844 } else {
19845 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19847 }
19848 {
19849 if (temp2)
19850 delete arg2;
19851 }
19852 return resultobj;
19853 fail:
19854 {
19855 if (temp2)
19856 delete arg2;
19857 }
19858 return NULL;
19859 }
19860
19861
19862 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19863 PyObject *resultobj = 0;
19864 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19865 void *argp1 = 0 ;
19866 int res1 = 0 ;
19867 PyObject *swig_obj[1] ;
19868
19869 if (!args) SWIG_fail;
19870 swig_obj[0] = args;
19871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19872 if (!SWIG_IsOK(res1)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19874 }
19875 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->Resume();
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 resultobj = SWIG_Py_Void();
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19890 PyObject *obj;
19891 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19892 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19893 return SWIG_Py_Void();
19894 }
19895
19896 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19897 return SWIG_Python_InitShadowInstance(args);
19898 }
19899
19900 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj = 0;
19902 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19903 int arg2 = (int) 0 ;
19904 wxFindDialogEvent *result = 0 ;
19905 int val1 ;
19906 int ecode1 = 0 ;
19907 int val2 ;
19908 int ecode2 = 0 ;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 char * kwnames[] = {
19912 (char *) "commandType",(char *) "id", NULL
19913 };
19914
19915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19916 if (obj0) {
19917 ecode1 = SWIG_AsVal_int(obj0, &val1);
19918 if (!SWIG_IsOK(ecode1)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19920 }
19921 arg1 = static_cast< wxEventType >(val1);
19922 }
19923 if (obj1) {
19924 ecode2 = SWIG_AsVal_int(obj1, &val2);
19925 if (!SWIG_IsOK(ecode2)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19927 }
19928 arg2 = static_cast< int >(val2);
19929 }
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19937 return resultobj;
19938 fail:
19939 return NULL;
19940 }
19941
19942
19943 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19944 PyObject *resultobj = 0;
19945 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19946 int result;
19947 void *argp1 = 0 ;
19948 int res1 = 0 ;
19949 PyObject *swig_obj[1] ;
19950
19951 if (!args) SWIG_fail;
19952 swig_obj[0] = args;
19953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19954 if (!SWIG_IsOK(res1)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19956 }
19957 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (int)(arg1)->GetFlags();
19961 wxPyEndAllowThreads(__tstate);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 resultobj = SWIG_From_int(static_cast< int >(result));
19965 return resultobj;
19966 fail:
19967 return NULL;
19968 }
19969
19970
19971 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19972 PyObject *resultobj = 0;
19973 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19974 wxString *result = 0 ;
19975 void *argp1 = 0 ;
19976 int res1 = 0 ;
19977 PyObject *swig_obj[1] ;
19978
19979 if (!args) SWIG_fail;
19980 swig_obj[0] = args;
19981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19982 if (!SWIG_IsOK(res1)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19984 }
19985 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 {
19989 wxString const &_result_ref = (arg1)->GetFindString();
19990 result = (wxString *) &_result_ref;
19991 }
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 {
19996 #if wxUSE_UNICODE
19997 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19998 #else
19999 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20000 #endif
20001 }
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20009 PyObject *resultobj = 0;
20010 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20011 wxString *result = 0 ;
20012 void *argp1 = 0 ;
20013 int res1 = 0 ;
20014 PyObject *swig_obj[1] ;
20015
20016 if (!args) SWIG_fail;
20017 swig_obj[0] = args;
20018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20019 if (!SWIG_IsOK(res1)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20021 }
20022 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 {
20026 wxString const &_result_ref = (arg1)->GetReplaceString();
20027 result = (wxString *) &_result_ref;
20028 }
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 {
20033 #if wxUSE_UNICODE
20034 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20035 #else
20036 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20037 #endif
20038 }
20039 return resultobj;
20040 fail:
20041 return NULL;
20042 }
20043
20044
20045 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20046 PyObject *resultobj = 0;
20047 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20048 wxFindReplaceDialog *result = 0 ;
20049 void *argp1 = 0 ;
20050 int res1 = 0 ;
20051 PyObject *swig_obj[1] ;
20052
20053 if (!args) SWIG_fail;
20054 swig_obj[0] = args;
20055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20056 if (!SWIG_IsOK(res1)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20058 }
20059 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj = 0;
20075 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20076 int arg2 ;
20077 void *argp1 = 0 ;
20078 int res1 = 0 ;
20079 int val2 ;
20080 int ecode2 = 0 ;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083 char * kwnames[] = {
20084 (char *) "self",(char *) "flags", NULL
20085 };
20086
20087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20089 if (!SWIG_IsOK(res1)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20091 }
20092 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20093 ecode2 = SWIG_AsVal_int(obj1, &val2);
20094 if (!SWIG_IsOK(ecode2)) {
20095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20096 }
20097 arg2 = static_cast< int >(val2);
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 (arg1)->SetFlags(arg2);
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = SWIG_Py_Void();
20105 return resultobj;
20106 fail:
20107 return NULL;
20108 }
20109
20110
20111 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj = 0;
20113 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20114 wxString *arg2 = 0 ;
20115 void *argp1 = 0 ;
20116 int res1 = 0 ;
20117 bool temp2 = false ;
20118 PyObject * obj0 = 0 ;
20119 PyObject * obj1 = 0 ;
20120 char * kwnames[] = {
20121 (char *) "self",(char *) "str", NULL
20122 };
20123
20124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20126 if (!SWIG_IsOK(res1)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20128 }
20129 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20130 {
20131 arg2 = wxString_in_helper(obj1);
20132 if (arg2 == NULL) SWIG_fail;
20133 temp2 = true;
20134 }
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 (arg1)->SetFindString((wxString const &)*arg2);
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 resultobj = SWIG_Py_Void();
20142 {
20143 if (temp2)
20144 delete arg2;
20145 }
20146 return resultobj;
20147 fail:
20148 {
20149 if (temp2)
20150 delete arg2;
20151 }
20152 return NULL;
20153 }
20154
20155
20156 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj = 0;
20158 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20159 wxString *arg2 = 0 ;
20160 void *argp1 = 0 ;
20161 int res1 = 0 ;
20162 bool temp2 = false ;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 char * kwnames[] = {
20166 (char *) "self",(char *) "str", NULL
20167 };
20168
20169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20171 if (!SWIG_IsOK(res1)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20173 }
20174 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20175 {
20176 arg2 = wxString_in_helper(obj1);
20177 if (arg2 == NULL) SWIG_fail;
20178 temp2 = true;
20179 }
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 (arg1)->SetReplaceString((wxString const &)*arg2);
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 resultobj = SWIG_Py_Void();
20187 {
20188 if (temp2)
20189 delete arg2;
20190 }
20191 return resultobj;
20192 fail:
20193 {
20194 if (temp2)
20195 delete arg2;
20196 }
20197 return NULL;
20198 }
20199
20200
20201 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20202 PyObject *obj;
20203 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20204 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20205 return SWIG_Py_Void();
20206 }
20207
20208 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20209 return SWIG_Python_InitShadowInstance(args);
20210 }
20211
20212 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20213 PyObject *resultobj = 0;
20214 int arg1 = (int) 0 ;
20215 wxFindReplaceData *result = 0 ;
20216 int val1 ;
20217 int ecode1 = 0 ;
20218 PyObject * obj0 = 0 ;
20219 char * kwnames[] = {
20220 (char *) "flags", NULL
20221 };
20222
20223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20224 if (obj0) {
20225 ecode1 = SWIG_AsVal_int(obj0, &val1);
20226 if (!SWIG_IsOK(ecode1)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20228 }
20229 arg1 = static_cast< int >(val1);
20230 }
20231 {
20232 PyThreadState* __tstate = wxPyBeginAllowThreads();
20233 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20238 return resultobj;
20239 fail:
20240 return NULL;
20241 }
20242
20243
20244 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20245 PyObject *resultobj = 0;
20246 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20247 void *argp1 = 0 ;
20248 int res1 = 0 ;
20249 PyObject *swig_obj[1] ;
20250
20251 if (!args) SWIG_fail;
20252 swig_obj[0] = args;
20253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20254 if (!SWIG_IsOK(res1)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20256 }
20257 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 delete arg1;
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 resultobj = SWIG_Py_Void();
20266 return resultobj;
20267 fail:
20268 return NULL;
20269 }
20270
20271
20272 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20273 PyObject *resultobj = 0;
20274 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20275 wxString *result = 0 ;
20276 void *argp1 = 0 ;
20277 int res1 = 0 ;
20278 PyObject *swig_obj[1] ;
20279
20280 if (!args) SWIG_fail;
20281 swig_obj[0] = args;
20282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20283 if (!SWIG_IsOK(res1)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20285 }
20286 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 {
20290 wxString const &_result_ref = (arg1)->GetFindString();
20291 result = (wxString *) &_result_ref;
20292 }
20293 wxPyEndAllowThreads(__tstate);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 {
20297 #if wxUSE_UNICODE
20298 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20299 #else
20300 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20301 #endif
20302 }
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20310 PyObject *resultobj = 0;
20311 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20312 wxString *result = 0 ;
20313 void *argp1 = 0 ;
20314 int res1 = 0 ;
20315 PyObject *swig_obj[1] ;
20316
20317 if (!args) SWIG_fail;
20318 swig_obj[0] = args;
20319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20320 if (!SWIG_IsOK(res1)) {
20321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20322 }
20323 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 {
20327 wxString const &_result_ref = (arg1)->GetReplaceString();
20328 result = (wxString *) &_result_ref;
20329 }
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 {
20334 #if wxUSE_UNICODE
20335 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20336 #else
20337 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20338 #endif
20339 }
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20347 PyObject *resultobj = 0;
20348 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20349 int result;
20350 void *argp1 = 0 ;
20351 int res1 = 0 ;
20352 PyObject *swig_obj[1] ;
20353
20354 if (!args) SWIG_fail;
20355 swig_obj[0] = args;
20356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20357 if (!SWIG_IsOK(res1)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20359 }
20360 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (int)(arg1)->GetFlags();
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 resultobj = SWIG_From_int(static_cast< int >(result));
20368 return resultobj;
20369 fail:
20370 return NULL;
20371 }
20372
20373
20374 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj = 0;
20376 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20377 int arg2 ;
20378 void *argp1 = 0 ;
20379 int res1 = 0 ;
20380 int val2 ;
20381 int ecode2 = 0 ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 char * kwnames[] = {
20385 (char *) "self",(char *) "flags", NULL
20386 };
20387
20388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20390 if (!SWIG_IsOK(res1)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20392 }
20393 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20394 ecode2 = SWIG_AsVal_int(obj1, &val2);
20395 if (!SWIG_IsOK(ecode2)) {
20396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20397 }
20398 arg2 = static_cast< int >(val2);
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 (arg1)->SetFlags(arg2);
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
20405 resultobj = SWIG_Py_Void();
20406 return resultobj;
20407 fail:
20408 return NULL;
20409 }
20410
20411
20412 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj = 0;
20414 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20415 wxString *arg2 = 0 ;
20416 void *argp1 = 0 ;
20417 int res1 = 0 ;
20418 bool temp2 = false ;
20419 PyObject * obj0 = 0 ;
20420 PyObject * obj1 = 0 ;
20421 char * kwnames[] = {
20422 (char *) "self",(char *) "str", NULL
20423 };
20424
20425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20427 if (!SWIG_IsOK(res1)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20429 }
20430 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20431 {
20432 arg2 = wxString_in_helper(obj1);
20433 if (arg2 == NULL) SWIG_fail;
20434 temp2 = true;
20435 }
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 (arg1)->SetFindString((wxString const &)*arg2);
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 resultobj = SWIG_Py_Void();
20443 {
20444 if (temp2)
20445 delete arg2;
20446 }
20447 return resultobj;
20448 fail:
20449 {
20450 if (temp2)
20451 delete arg2;
20452 }
20453 return NULL;
20454 }
20455
20456
20457 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20458 PyObject *resultobj = 0;
20459 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20460 wxString *arg2 = 0 ;
20461 void *argp1 = 0 ;
20462 int res1 = 0 ;
20463 bool temp2 = false ;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 char * kwnames[] = {
20467 (char *) "self",(char *) "str", NULL
20468 };
20469
20470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20472 if (!SWIG_IsOK(res1)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20474 }
20475 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20476 {
20477 arg2 = wxString_in_helper(obj1);
20478 if (arg2 == NULL) SWIG_fail;
20479 temp2 = true;
20480 }
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 (arg1)->SetReplaceString((wxString const &)*arg2);
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 resultobj = SWIG_Py_Void();
20488 {
20489 if (temp2)
20490 delete arg2;
20491 }
20492 return resultobj;
20493 fail:
20494 {
20495 if (temp2)
20496 delete arg2;
20497 }
20498 return NULL;
20499 }
20500
20501
20502 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20503 PyObject *obj;
20504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20505 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20506 return SWIG_Py_Void();
20507 }
20508
20509 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20510 return SWIG_Python_InitShadowInstance(args);
20511 }
20512
20513 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj = 0;
20515 wxWindow *arg1 = (wxWindow *) 0 ;
20516 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20517 wxString *arg3 = 0 ;
20518 int arg4 = (int) 0 ;
20519 wxFindReplaceDialog *result = 0 ;
20520 void *argp1 = 0 ;
20521 int res1 = 0 ;
20522 void *argp2 = 0 ;
20523 int res2 = 0 ;
20524 bool temp3 = false ;
20525 int val4 ;
20526 int ecode4 = 0 ;
20527 PyObject * obj0 = 0 ;
20528 PyObject * obj1 = 0 ;
20529 PyObject * obj2 = 0 ;
20530 PyObject * obj3 = 0 ;
20531 char * kwnames[] = {
20532 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20533 };
20534
20535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20537 if (!SWIG_IsOK(res1)) {
20538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20539 }
20540 arg1 = reinterpret_cast< wxWindow * >(argp1);
20541 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20542 if (!SWIG_IsOK(res2)) {
20543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20544 }
20545 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20546 {
20547 arg3 = wxString_in_helper(obj2);
20548 if (arg3 == NULL) SWIG_fail;
20549 temp3 = true;
20550 }
20551 if (obj3) {
20552 ecode4 = SWIG_AsVal_int(obj3, &val4);
20553 if (!SWIG_IsOK(ecode4)) {
20554 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20555 }
20556 arg4 = static_cast< int >(val4);
20557 }
20558 {
20559 if (!wxPyCheckForApp()) SWIG_fail;
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20566 {
20567 if (temp3)
20568 delete arg3;
20569 }
20570 return resultobj;
20571 fail:
20572 {
20573 if (temp3)
20574 delete arg3;
20575 }
20576 return NULL;
20577 }
20578
20579
20580 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20581 PyObject *resultobj = 0;
20582 wxFindReplaceDialog *result = 0 ;
20583
20584 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20585 {
20586 if (!wxPyCheckForApp()) SWIG_fail;
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
20592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj = 0;
20601 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20602 wxWindow *arg2 = (wxWindow *) 0 ;
20603 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20604 wxString *arg4 = 0 ;
20605 int arg5 = (int) 0 ;
20606 bool result;
20607 void *argp1 = 0 ;
20608 int res1 = 0 ;
20609 void *argp2 = 0 ;
20610 int res2 = 0 ;
20611 void *argp3 = 0 ;
20612 int res3 = 0 ;
20613 bool temp4 = false ;
20614 int val5 ;
20615 int ecode5 = 0 ;
20616 PyObject * obj0 = 0 ;
20617 PyObject * obj1 = 0 ;
20618 PyObject * obj2 = 0 ;
20619 PyObject * obj3 = 0 ;
20620 PyObject * obj4 = 0 ;
20621 char * kwnames[] = {
20622 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20623 };
20624
20625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20627 if (!SWIG_IsOK(res1)) {
20628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20629 }
20630 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20632 if (!SWIG_IsOK(res2)) {
20633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20634 }
20635 arg2 = reinterpret_cast< wxWindow * >(argp2);
20636 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20637 if (!SWIG_IsOK(res3)) {
20638 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20639 }
20640 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20641 {
20642 arg4 = wxString_in_helper(obj3);
20643 if (arg4 == NULL) SWIG_fail;
20644 temp4 = true;
20645 }
20646 if (obj4) {
20647 ecode5 = SWIG_AsVal_int(obj4, &val5);
20648 if (!SWIG_IsOK(ecode5)) {
20649 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20650 }
20651 arg5 = static_cast< int >(val5);
20652 }
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 {
20660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20661 }
20662 {
20663 if (temp4)
20664 delete arg4;
20665 }
20666 return resultobj;
20667 fail:
20668 {
20669 if (temp4)
20670 delete arg4;
20671 }
20672 return NULL;
20673 }
20674
20675
20676 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20677 PyObject *resultobj = 0;
20678 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20679 wxFindReplaceData *result = 0 ;
20680 void *argp1 = 0 ;
20681 int res1 = 0 ;
20682 PyObject *swig_obj[1] ;
20683
20684 if (!args) SWIG_fail;
20685 swig_obj[0] = args;
20686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20687 if (!SWIG_IsOK(res1)) {
20688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20689 }
20690 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 result = (wxFindReplaceData *)(arg1)->GetData();
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20698 return resultobj;
20699 fail:
20700 return NULL;
20701 }
20702
20703
20704 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20705 PyObject *resultobj = 0;
20706 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20707 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20708 void *argp1 = 0 ;
20709 int res1 = 0 ;
20710 void *argp2 = 0 ;
20711 int res2 = 0 ;
20712 PyObject * obj0 = 0 ;
20713 PyObject * obj1 = 0 ;
20714 char * kwnames[] = {
20715 (char *) "self",(char *) "data", NULL
20716 };
20717
20718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20720 if (!SWIG_IsOK(res1)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20722 }
20723 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20724 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20725 if (!SWIG_IsOK(res2)) {
20726 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20727 }
20728 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 (arg1)->SetData(arg2);
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = SWIG_Py_Void();
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20743 PyObject *obj;
20744 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20745 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20746 return SWIG_Py_Void();
20747 }
20748
20749 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20750 return SWIG_Python_InitShadowInstance(args);
20751 }
20752
20753 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj = 0;
20755 wxWindow *arg1 = (wxWindow *) 0 ;
20756 int arg2 = (int) (int)-1 ;
20757 wxString const &arg3_defvalue = wxPyEmptyString ;
20758 wxString *arg3 = (wxString *) &arg3_defvalue ;
20759 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20760 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20761 wxSize const &arg5_defvalue = wxDefaultSize ;
20762 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20763 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20764 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20765 wxString *arg7 = (wxString *) &arg7_defvalue ;
20766 wxMDIParentFrame *result = 0 ;
20767 void *argp1 = 0 ;
20768 int res1 = 0 ;
20769 int val2 ;
20770 int ecode2 = 0 ;
20771 bool temp3 = false ;
20772 wxPoint temp4 ;
20773 wxSize temp5 ;
20774 long val6 ;
20775 int ecode6 = 0 ;
20776 bool temp7 = false ;
20777 PyObject * obj0 = 0 ;
20778 PyObject * obj1 = 0 ;
20779 PyObject * obj2 = 0 ;
20780 PyObject * obj3 = 0 ;
20781 PyObject * obj4 = 0 ;
20782 PyObject * obj5 = 0 ;
20783 PyObject * obj6 = 0 ;
20784 char * kwnames[] = {
20785 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20786 };
20787
20788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20790 if (!SWIG_IsOK(res1)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20792 }
20793 arg1 = reinterpret_cast< wxWindow * >(argp1);
20794 if (obj1) {
20795 ecode2 = SWIG_AsVal_int(obj1, &val2);
20796 if (!SWIG_IsOK(ecode2)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20798 }
20799 arg2 = static_cast< int >(val2);
20800 }
20801 if (obj2) {
20802 {
20803 arg3 = wxString_in_helper(obj2);
20804 if (arg3 == NULL) SWIG_fail;
20805 temp3 = true;
20806 }
20807 }
20808 if (obj3) {
20809 {
20810 arg4 = &temp4;
20811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20812 }
20813 }
20814 if (obj4) {
20815 {
20816 arg5 = &temp5;
20817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20818 }
20819 }
20820 if (obj5) {
20821 ecode6 = SWIG_AsVal_long(obj5, &val6);
20822 if (!SWIG_IsOK(ecode6)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20824 }
20825 arg6 = static_cast< long >(val6);
20826 }
20827 if (obj6) {
20828 {
20829 arg7 = wxString_in_helper(obj6);
20830 if (arg7 == NULL) SWIG_fail;
20831 temp7 = true;
20832 }
20833 }
20834 {
20835 if (!wxPyCheckForApp()) SWIG_fail;
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20838 wxPyEndAllowThreads(__tstate);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 }
20841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20842 {
20843 if (temp3)
20844 delete arg3;
20845 }
20846 {
20847 if (temp7)
20848 delete arg7;
20849 }
20850 return resultobj;
20851 fail:
20852 {
20853 if (temp3)
20854 delete arg3;
20855 }
20856 {
20857 if (temp7)
20858 delete arg7;
20859 }
20860 return NULL;
20861 }
20862
20863
20864 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20865 PyObject *resultobj = 0;
20866 wxMDIParentFrame *result = 0 ;
20867
20868 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20869 {
20870 if (!wxPyCheckForApp()) SWIG_fail;
20871 PyThreadState* __tstate = wxPyBeginAllowThreads();
20872 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20884 PyObject *resultobj = 0;
20885 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20886 wxWindow *arg2 = (wxWindow *) 0 ;
20887 int arg3 = (int) (int)-1 ;
20888 wxString const &arg4_defvalue = wxPyEmptyString ;
20889 wxString *arg4 = (wxString *) &arg4_defvalue ;
20890 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20891 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20892 wxSize const &arg6_defvalue = wxDefaultSize ;
20893 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20894 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20895 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20896 wxString *arg8 = (wxString *) &arg8_defvalue ;
20897 bool result;
20898 void *argp1 = 0 ;
20899 int res1 = 0 ;
20900 void *argp2 = 0 ;
20901 int res2 = 0 ;
20902 int val3 ;
20903 int ecode3 = 0 ;
20904 bool temp4 = false ;
20905 wxPoint temp5 ;
20906 wxSize temp6 ;
20907 long val7 ;
20908 int ecode7 = 0 ;
20909 bool temp8 = false ;
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 PyObject * obj2 = 0 ;
20913 PyObject * obj3 = 0 ;
20914 PyObject * obj4 = 0 ;
20915 PyObject * obj5 = 0 ;
20916 PyObject * obj6 = 0 ;
20917 PyObject * obj7 = 0 ;
20918 char * kwnames[] = {
20919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20920 };
20921
20922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20924 if (!SWIG_IsOK(res1)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20926 }
20927 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20928 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20929 if (!SWIG_IsOK(res2)) {
20930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20931 }
20932 arg2 = reinterpret_cast< wxWindow * >(argp2);
20933 if (obj2) {
20934 ecode3 = SWIG_AsVal_int(obj2, &val3);
20935 if (!SWIG_IsOK(ecode3)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20937 }
20938 arg3 = static_cast< int >(val3);
20939 }
20940 if (obj3) {
20941 {
20942 arg4 = wxString_in_helper(obj3);
20943 if (arg4 == NULL) SWIG_fail;
20944 temp4 = true;
20945 }
20946 }
20947 if (obj4) {
20948 {
20949 arg5 = &temp5;
20950 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20951 }
20952 }
20953 if (obj5) {
20954 {
20955 arg6 = &temp6;
20956 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20957 }
20958 }
20959 if (obj6) {
20960 ecode7 = SWIG_AsVal_long(obj6, &val7);
20961 if (!SWIG_IsOK(ecode7)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20963 }
20964 arg7 = static_cast< long >(val7);
20965 }
20966 if (obj7) {
20967 {
20968 arg8 = wxString_in_helper(obj7);
20969 if (arg8 == NULL) SWIG_fail;
20970 temp8 = true;
20971 }
20972 }
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 {
20980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20981 }
20982 {
20983 if (temp4)
20984 delete arg4;
20985 }
20986 {
20987 if (temp8)
20988 delete arg8;
20989 }
20990 return resultobj;
20991 fail:
20992 {
20993 if (temp4)
20994 delete arg4;
20995 }
20996 {
20997 if (temp8)
20998 delete arg8;
20999 }
21000 return NULL;
21001 }
21002
21003
21004 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21005 PyObject *resultobj = 0;
21006 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21007 void *argp1 = 0 ;
21008 int res1 = 0 ;
21009 PyObject *swig_obj[1] ;
21010
21011 if (!args) SWIG_fail;
21012 swig_obj[0] = args;
21013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21014 if (!SWIG_IsOK(res1)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21016 }
21017 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 (arg1)->ActivateNext();
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_Py_Void();
21025 return resultobj;
21026 fail:
21027 return NULL;
21028 }
21029
21030
21031 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21032 PyObject *resultobj = 0;
21033 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21034 void *argp1 = 0 ;
21035 int res1 = 0 ;
21036 PyObject *swig_obj[1] ;
21037
21038 if (!args) SWIG_fail;
21039 swig_obj[0] = args;
21040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21041 if (!SWIG_IsOK(res1)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21043 }
21044 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21045 {
21046 PyThreadState* __tstate = wxPyBeginAllowThreads();
21047 (arg1)->ActivatePrevious();
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 resultobj = SWIG_Py_Void();
21052 return resultobj;
21053 fail:
21054 return NULL;
21055 }
21056
21057
21058 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21059 PyObject *resultobj = 0;
21060 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21061 void *argp1 = 0 ;
21062 int res1 = 0 ;
21063 PyObject *swig_obj[1] ;
21064
21065 if (!args) SWIG_fail;
21066 swig_obj[0] = args;
21067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21068 if (!SWIG_IsOK(res1)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21070 }
21071 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 (arg1)->ArrangeIcons();
21075 wxPyEndAllowThreads(__tstate);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 resultobj = SWIG_Py_Void();
21079 return resultobj;
21080 fail:
21081 return NULL;
21082 }
21083
21084
21085 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21086 PyObject *resultobj = 0;
21087 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21088 void *argp1 = 0 ;
21089 int res1 = 0 ;
21090 PyObject *swig_obj[1] ;
21091
21092 if (!args) SWIG_fail;
21093 swig_obj[0] = args;
21094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21095 if (!SWIG_IsOK(res1)) {
21096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21097 }
21098 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 (arg1)->Cascade();
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 resultobj = SWIG_Py_Void();
21106 return resultobj;
21107 fail:
21108 return NULL;
21109 }
21110
21111
21112 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21113 PyObject *resultobj = 0;
21114 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21115 wxMDIChildFrame *result = 0 ;
21116 void *argp1 = 0 ;
21117 int res1 = 0 ;
21118 PyObject *swig_obj[1] ;
21119
21120 if (!args) SWIG_fail;
21121 swig_obj[0] = args;
21122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21123 if (!SWIG_IsOK(res1)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21125 }
21126 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 {
21134 resultobj = wxPyMake_wxObject(result, (bool)0);
21135 }
21136 return resultobj;
21137 fail:
21138 return NULL;
21139 }
21140
21141
21142 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21143 PyObject *resultobj = 0;
21144 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21145 wxMDIClientWindow *result = 0 ;
21146 void *argp1 = 0 ;
21147 int res1 = 0 ;
21148 PyObject *swig_obj[1] ;
21149
21150 if (!args) SWIG_fail;
21151 swig_obj[0] = args;
21152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21153 if (!SWIG_IsOK(res1)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21155 }
21156 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21160 wxPyEndAllowThreads(__tstate);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 {
21164 resultobj = wxPyMake_wxObject(result, (bool)0);
21165 }
21166 return resultobj;
21167 fail:
21168 return NULL;
21169 }
21170
21171
21172 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21173 PyObject *resultobj = 0;
21174 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21175 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21176 void *argp1 = 0 ;
21177 int res1 = 0 ;
21178 int val2 ;
21179 int ecode2 = 0 ;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char * kwnames[] = {
21183 (char *) "self",(char *) "orient", NULL
21184 };
21185
21186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21188 if (!SWIG_IsOK(res1)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21190 }
21191 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21192 if (obj1) {
21193 ecode2 = SWIG_AsVal_int(obj1, &val2);
21194 if (!SWIG_IsOK(ecode2)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21196 }
21197 arg2 = static_cast< wxOrientation >(val2);
21198 }
21199 {
21200 PyThreadState* __tstate = wxPyBeginAllowThreads();
21201 (arg1)->Tile(arg2);
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
21205 resultobj = SWIG_Py_Void();
21206 return resultobj;
21207 fail:
21208 return NULL;
21209 }
21210
21211
21212 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21213 PyObject *obj;
21214 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21215 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21216 return SWIG_Py_Void();
21217 }
21218
21219 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21220 return SWIG_Python_InitShadowInstance(args);
21221 }
21222
21223 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj = 0;
21225 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21226 int arg2 = (int) (int)-1 ;
21227 wxString const &arg3_defvalue = wxPyEmptyString ;
21228 wxString *arg3 = (wxString *) &arg3_defvalue ;
21229 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21230 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21231 wxSize const &arg5_defvalue = wxDefaultSize ;
21232 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21233 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21234 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21235 wxString *arg7 = (wxString *) &arg7_defvalue ;
21236 wxMDIChildFrame *result = 0 ;
21237 void *argp1 = 0 ;
21238 int res1 = 0 ;
21239 int val2 ;
21240 int ecode2 = 0 ;
21241 bool temp3 = false ;
21242 wxPoint temp4 ;
21243 wxSize temp5 ;
21244 long val6 ;
21245 int ecode6 = 0 ;
21246 bool temp7 = false ;
21247 PyObject * obj0 = 0 ;
21248 PyObject * obj1 = 0 ;
21249 PyObject * obj2 = 0 ;
21250 PyObject * obj3 = 0 ;
21251 PyObject * obj4 = 0 ;
21252 PyObject * obj5 = 0 ;
21253 PyObject * obj6 = 0 ;
21254 char * kwnames[] = {
21255 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21256 };
21257
21258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21260 if (!SWIG_IsOK(res1)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21262 }
21263 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21264 if (obj1) {
21265 ecode2 = SWIG_AsVal_int(obj1, &val2);
21266 if (!SWIG_IsOK(ecode2)) {
21267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21268 }
21269 arg2 = static_cast< int >(val2);
21270 }
21271 if (obj2) {
21272 {
21273 arg3 = wxString_in_helper(obj2);
21274 if (arg3 == NULL) SWIG_fail;
21275 temp3 = true;
21276 }
21277 }
21278 if (obj3) {
21279 {
21280 arg4 = &temp4;
21281 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21282 }
21283 }
21284 if (obj4) {
21285 {
21286 arg5 = &temp5;
21287 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21288 }
21289 }
21290 if (obj5) {
21291 ecode6 = SWIG_AsVal_long(obj5, &val6);
21292 if (!SWIG_IsOK(ecode6)) {
21293 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21294 }
21295 arg6 = static_cast< long >(val6);
21296 }
21297 if (obj6) {
21298 {
21299 arg7 = wxString_in_helper(obj6);
21300 if (arg7 == NULL) SWIG_fail;
21301 temp7 = true;
21302 }
21303 }
21304 {
21305 if (!wxPyCheckForApp()) SWIG_fail;
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21312 {
21313 if (temp3)
21314 delete arg3;
21315 }
21316 {
21317 if (temp7)
21318 delete arg7;
21319 }
21320 return resultobj;
21321 fail:
21322 {
21323 if (temp3)
21324 delete arg3;
21325 }
21326 {
21327 if (temp7)
21328 delete arg7;
21329 }
21330 return NULL;
21331 }
21332
21333
21334 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21335 PyObject *resultobj = 0;
21336 wxMDIChildFrame *result = 0 ;
21337
21338 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21339 {
21340 if (!wxPyCheckForApp()) SWIG_fail;
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj = 0;
21355 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21356 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21357 int arg3 = (int) (int)-1 ;
21358 wxString const &arg4_defvalue = wxPyEmptyString ;
21359 wxString *arg4 = (wxString *) &arg4_defvalue ;
21360 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21361 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21362 wxSize const &arg6_defvalue = wxDefaultSize ;
21363 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21364 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21365 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21366 wxString *arg8 = (wxString *) &arg8_defvalue ;
21367 bool result;
21368 void *argp1 = 0 ;
21369 int res1 = 0 ;
21370 void *argp2 = 0 ;
21371 int res2 = 0 ;
21372 int val3 ;
21373 int ecode3 = 0 ;
21374 bool temp4 = false ;
21375 wxPoint temp5 ;
21376 wxSize temp6 ;
21377 long val7 ;
21378 int ecode7 = 0 ;
21379 bool temp8 = false ;
21380 PyObject * obj0 = 0 ;
21381 PyObject * obj1 = 0 ;
21382 PyObject * obj2 = 0 ;
21383 PyObject * obj3 = 0 ;
21384 PyObject * obj4 = 0 ;
21385 PyObject * obj5 = 0 ;
21386 PyObject * obj6 = 0 ;
21387 PyObject * obj7 = 0 ;
21388 char * kwnames[] = {
21389 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21390 };
21391
21392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21394 if (!SWIG_IsOK(res1)) {
21395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21396 }
21397 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21398 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21399 if (!SWIG_IsOK(res2)) {
21400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21401 }
21402 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21403 if (obj2) {
21404 ecode3 = SWIG_AsVal_int(obj2, &val3);
21405 if (!SWIG_IsOK(ecode3)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21407 }
21408 arg3 = static_cast< int >(val3);
21409 }
21410 if (obj3) {
21411 {
21412 arg4 = wxString_in_helper(obj3);
21413 if (arg4 == NULL) SWIG_fail;
21414 temp4 = true;
21415 }
21416 }
21417 if (obj4) {
21418 {
21419 arg5 = &temp5;
21420 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21421 }
21422 }
21423 if (obj5) {
21424 {
21425 arg6 = &temp6;
21426 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21427 }
21428 }
21429 if (obj6) {
21430 ecode7 = SWIG_AsVal_long(obj6, &val7);
21431 if (!SWIG_IsOK(ecode7)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21433 }
21434 arg7 = static_cast< long >(val7);
21435 }
21436 if (obj7) {
21437 {
21438 arg8 = wxString_in_helper(obj7);
21439 if (arg8 == NULL) SWIG_fail;
21440 temp8 = true;
21441 }
21442 }
21443 {
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21446 wxPyEndAllowThreads(__tstate);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 }
21449 {
21450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21451 }
21452 {
21453 if (temp4)
21454 delete arg4;
21455 }
21456 {
21457 if (temp8)
21458 delete arg8;
21459 }
21460 return resultobj;
21461 fail:
21462 {
21463 if (temp4)
21464 delete arg4;
21465 }
21466 {
21467 if (temp8)
21468 delete arg8;
21469 }
21470 return NULL;
21471 }
21472
21473
21474 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21475 PyObject *resultobj = 0;
21476 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21477 void *argp1 = 0 ;
21478 int res1 = 0 ;
21479 PyObject *swig_obj[1] ;
21480
21481 if (!args) SWIG_fail;
21482 swig_obj[0] = args;
21483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21484 if (!SWIG_IsOK(res1)) {
21485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21486 }
21487 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21488 {
21489 PyThreadState* __tstate = wxPyBeginAllowThreads();
21490 (arg1)->Activate();
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 resultobj = SWIG_Py_Void();
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21502 PyObject *obj;
21503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21504 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21505 return SWIG_Py_Void();
21506 }
21507
21508 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21509 return SWIG_Python_InitShadowInstance(args);
21510 }
21511
21512 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj = 0;
21514 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21515 long arg2 = (long) 0 ;
21516 wxMDIClientWindow *result = 0 ;
21517 void *argp1 = 0 ;
21518 int res1 = 0 ;
21519 long val2 ;
21520 int ecode2 = 0 ;
21521 PyObject * obj0 = 0 ;
21522 PyObject * obj1 = 0 ;
21523 char * kwnames[] = {
21524 (char *) "parent",(char *) "style", NULL
21525 };
21526
21527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21529 if (!SWIG_IsOK(res1)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21531 }
21532 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21533 if (obj1) {
21534 ecode2 = SWIG_AsVal_long(obj1, &val2);
21535 if (!SWIG_IsOK(ecode2)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21537 }
21538 arg2 = static_cast< long >(val2);
21539 }
21540 {
21541 if (!wxPyCheckForApp()) SWIG_fail;
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21548 return resultobj;
21549 fail:
21550 return NULL;
21551 }
21552
21553
21554 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21555 PyObject *resultobj = 0;
21556 wxMDIClientWindow *result = 0 ;
21557
21558 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21559 {
21560 if (!wxPyCheckForApp()) SWIG_fail;
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj = 0;
21575 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21576 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21577 long arg3 = (long) 0 ;
21578 bool result;
21579 void *argp1 = 0 ;
21580 int res1 = 0 ;
21581 void *argp2 = 0 ;
21582 int res2 = 0 ;
21583 long val3 ;
21584 int ecode3 = 0 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 PyObject * obj2 = 0 ;
21588 char * kwnames[] = {
21589 (char *) "self",(char *) "parent",(char *) "style", NULL
21590 };
21591
21592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21594 if (!SWIG_IsOK(res1)) {
21595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21596 }
21597 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21599 if (!SWIG_IsOK(res2)) {
21600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21601 }
21602 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21603 if (obj2) {
21604 ecode3 = SWIG_AsVal_long(obj2, &val3);
21605 if (!SWIG_IsOK(ecode3)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21607 }
21608 arg3 = static_cast< long >(val3);
21609 }
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 result = (bool)(arg1)->Create(arg2,arg3);
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 {
21617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21618 }
21619 return resultobj;
21620 fail:
21621 return NULL;
21622 }
21623
21624
21625 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21626 PyObject *obj;
21627 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21628 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21629 return SWIG_Py_Void();
21630 }
21631
21632 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21633 return SWIG_Python_InitShadowInstance(args);
21634 }
21635
21636 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21637 PyObject *resultobj = 0;
21638 wxWindow *arg1 = (wxWindow *) 0 ;
21639 int arg2 = (int) (int)-1 ;
21640 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21641 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21642 wxSize const &arg4_defvalue = wxDefaultSize ;
21643 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21644 long arg5 = (long) 0 ;
21645 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21646 wxString *arg6 = (wxString *) &arg6_defvalue ;
21647 wxPyWindow *result = 0 ;
21648 void *argp1 = 0 ;
21649 int res1 = 0 ;
21650 int val2 ;
21651 int ecode2 = 0 ;
21652 wxPoint temp3 ;
21653 wxSize temp4 ;
21654 long val5 ;
21655 int ecode5 = 0 ;
21656 bool temp6 = false ;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
21659 PyObject * obj2 = 0 ;
21660 PyObject * obj3 = 0 ;
21661 PyObject * obj4 = 0 ;
21662 PyObject * obj5 = 0 ;
21663 char * kwnames[] = {
21664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21665 };
21666
21667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21669 if (!SWIG_IsOK(res1)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21671 }
21672 arg1 = reinterpret_cast< wxWindow * >(argp1);
21673 if (obj1) {
21674 ecode2 = SWIG_AsVal_int(obj1, &val2);
21675 if (!SWIG_IsOK(ecode2)) {
21676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21677 }
21678 arg2 = static_cast< int >(val2);
21679 }
21680 if (obj2) {
21681 {
21682 arg3 = &temp3;
21683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21684 }
21685 }
21686 if (obj3) {
21687 {
21688 arg4 = &temp4;
21689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21690 }
21691 }
21692 if (obj4) {
21693 ecode5 = SWIG_AsVal_long(obj4, &val5);
21694 if (!SWIG_IsOK(ecode5)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21696 }
21697 arg5 = static_cast< long >(val5);
21698 }
21699 if (obj5) {
21700 {
21701 arg6 = wxString_in_helper(obj5);
21702 if (arg6 == NULL) SWIG_fail;
21703 temp6 = true;
21704 }
21705 }
21706 {
21707 if (!wxPyCheckForApp()) SWIG_fail;
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21714 {
21715 if (temp6)
21716 delete arg6;
21717 }
21718 return resultobj;
21719 fail:
21720 {
21721 if (temp6)
21722 delete arg6;
21723 }
21724 return NULL;
21725 }
21726
21727
21728 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21729 PyObject *resultobj = 0;
21730 wxPyWindow *result = 0 ;
21731
21732 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21733 {
21734 if (!wxPyCheckForApp()) SWIG_fail;
21735 PyThreadState* __tstate = wxPyBeginAllowThreads();
21736 result = (wxPyWindow *)new wxPyWindow();
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj = 0;
21749 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21750 PyObject *arg2 = (PyObject *) 0 ;
21751 PyObject *arg3 = (PyObject *) 0 ;
21752 void *argp1 = 0 ;
21753 int res1 = 0 ;
21754 PyObject * obj0 = 0 ;
21755 PyObject * obj1 = 0 ;
21756 PyObject * obj2 = 0 ;
21757 char * kwnames[] = {
21758 (char *) "self",(char *) "self",(char *) "_class", NULL
21759 };
21760
21761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21763 if (!SWIG_IsOK(res1)) {
21764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21765 }
21766 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21767 arg2 = obj1;
21768 arg3 = obj2;
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 (arg1)->_setCallbackInfo(arg2,arg3);
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = SWIG_Py_Void();
21776 return resultobj;
21777 fail:
21778 return NULL;
21779 }
21780
21781
21782 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj = 0;
21784 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21785 wxDC *arg2 = (wxDC *) 0 ;
21786 bool result;
21787 void *argp1 = 0 ;
21788 int res1 = 0 ;
21789 void *argp2 = 0 ;
21790 int res2 = 0 ;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char * kwnames[] = {
21794 (char *) "self",(char *) "dc", NULL
21795 };
21796
21797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21799 if (!SWIG_IsOK(res1)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21801 }
21802 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21803 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21804 if (!SWIG_IsOK(res2)) {
21805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21806 }
21807 arg2 = reinterpret_cast< wxDC * >(argp2);
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = (bool)(arg1)->DoEraseBackground(arg2);
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 {
21815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21816 }
21817 return resultobj;
21818 fail:
21819 return NULL;
21820 }
21821
21822
21823 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21824 PyObject *resultobj = 0;
21825 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21826 int arg2 ;
21827 int arg3 ;
21828 int arg4 ;
21829 int arg5 ;
21830 void *argp1 = 0 ;
21831 int res1 = 0 ;
21832 int val2 ;
21833 int ecode2 = 0 ;
21834 int val3 ;
21835 int ecode3 = 0 ;
21836 int val4 ;
21837 int ecode4 = 0 ;
21838 int val5 ;
21839 int ecode5 = 0 ;
21840 PyObject * obj0 = 0 ;
21841 PyObject * obj1 = 0 ;
21842 PyObject * obj2 = 0 ;
21843 PyObject * obj3 = 0 ;
21844 PyObject * obj4 = 0 ;
21845 char * kwnames[] = {
21846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21847 };
21848
21849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21851 if (!SWIG_IsOK(res1)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21853 }
21854 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21855 ecode2 = SWIG_AsVal_int(obj1, &val2);
21856 if (!SWIG_IsOK(ecode2)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21858 }
21859 arg2 = static_cast< int >(val2);
21860 ecode3 = SWIG_AsVal_int(obj2, &val3);
21861 if (!SWIG_IsOK(ecode3)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21863 }
21864 arg3 = static_cast< int >(val3);
21865 ecode4 = SWIG_AsVal_int(obj3, &val4);
21866 if (!SWIG_IsOK(ecode4)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21868 }
21869 arg4 = static_cast< int >(val4);
21870 ecode5 = SWIG_AsVal_int(obj4, &val5);
21871 if (!SWIG_IsOK(ecode5)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21873 }
21874 arg5 = static_cast< int >(val5);
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 resultobj = SWIG_Py_Void();
21882 return resultobj;
21883 fail:
21884 return NULL;
21885 }
21886
21887
21888 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj = 0;
21890 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21891 int arg2 ;
21892 int arg3 ;
21893 int arg4 ;
21894 int arg5 ;
21895 int arg6 = (int) wxSIZE_AUTO ;
21896 void *argp1 = 0 ;
21897 int res1 = 0 ;
21898 int val2 ;
21899 int ecode2 = 0 ;
21900 int val3 ;
21901 int ecode3 = 0 ;
21902 int val4 ;
21903 int ecode4 = 0 ;
21904 int val5 ;
21905 int ecode5 = 0 ;
21906 int val6 ;
21907 int ecode6 = 0 ;
21908 PyObject * obj0 = 0 ;
21909 PyObject * obj1 = 0 ;
21910 PyObject * obj2 = 0 ;
21911 PyObject * obj3 = 0 ;
21912 PyObject * obj4 = 0 ;
21913 PyObject * obj5 = 0 ;
21914 char * kwnames[] = {
21915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21916 };
21917
21918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21920 if (!SWIG_IsOK(res1)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21922 }
21923 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21924 ecode2 = SWIG_AsVal_int(obj1, &val2);
21925 if (!SWIG_IsOK(ecode2)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21927 }
21928 arg2 = static_cast< int >(val2);
21929 ecode3 = SWIG_AsVal_int(obj2, &val3);
21930 if (!SWIG_IsOK(ecode3)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21932 }
21933 arg3 = static_cast< int >(val3);
21934 ecode4 = SWIG_AsVal_int(obj3, &val4);
21935 if (!SWIG_IsOK(ecode4)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21937 }
21938 arg4 = static_cast< int >(val4);
21939 ecode5 = SWIG_AsVal_int(obj4, &val5);
21940 if (!SWIG_IsOK(ecode5)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21942 }
21943 arg5 = static_cast< int >(val5);
21944 if (obj5) {
21945 ecode6 = SWIG_AsVal_int(obj5, &val6);
21946 if (!SWIG_IsOK(ecode6)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21948 }
21949 arg6 = static_cast< int >(val6);
21950 }
21951 {
21952 PyThreadState* __tstate = wxPyBeginAllowThreads();
21953 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 resultobj = SWIG_Py_Void();
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj = 0;
21966 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21967 int arg2 ;
21968 int arg3 ;
21969 void *argp1 = 0 ;
21970 int res1 = 0 ;
21971 int val2 ;
21972 int ecode2 = 0 ;
21973 int val3 ;
21974 int ecode3 = 0 ;
21975 PyObject * obj0 = 0 ;
21976 PyObject * obj1 = 0 ;
21977 PyObject * obj2 = 0 ;
21978 char * kwnames[] = {
21979 (char *) "self",(char *) "width",(char *) "height", NULL
21980 };
21981
21982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21984 if (!SWIG_IsOK(res1)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21986 }
21987 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21988 ecode2 = SWIG_AsVal_int(obj1, &val2);
21989 if (!SWIG_IsOK(ecode2)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21991 }
21992 arg2 = static_cast< int >(val2);
21993 ecode3 = SWIG_AsVal_int(obj2, &val3);
21994 if (!SWIG_IsOK(ecode3)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21996 }
21997 arg3 = static_cast< int >(val3);
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 (arg1)->DoSetClientSize(arg2,arg3);
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 resultobj = SWIG_Py_Void();
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22012 PyObject *resultobj = 0;
22013 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22014 int arg2 ;
22015 int arg3 ;
22016 void *argp1 = 0 ;
22017 int res1 = 0 ;
22018 int val2 ;
22019 int ecode2 = 0 ;
22020 int val3 ;
22021 int ecode3 = 0 ;
22022 PyObject * obj0 = 0 ;
22023 PyObject * obj1 = 0 ;
22024 PyObject * obj2 = 0 ;
22025 char * kwnames[] = {
22026 (char *) "self",(char *) "x",(char *) "y", NULL
22027 };
22028
22029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22031 if (!SWIG_IsOK(res1)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22033 }
22034 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22035 ecode2 = SWIG_AsVal_int(obj1, &val2);
22036 if (!SWIG_IsOK(ecode2)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22038 }
22039 arg2 = static_cast< int >(val2);
22040 ecode3 = SWIG_AsVal_int(obj2, &val3);
22041 if (!SWIG_IsOK(ecode3)) {
22042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22043 }
22044 arg3 = static_cast< int >(val3);
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 (arg1)->DoSetVirtualSize(arg2,arg3);
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 resultobj = SWIG_Py_Void();
22052 return resultobj;
22053 fail:
22054 return NULL;
22055 }
22056
22057
22058 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22059 PyObject *resultobj = 0;
22060 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22061 int *arg2 = (int *) 0 ;
22062 int *arg3 = (int *) 0 ;
22063 void *argp1 = 0 ;
22064 int res1 = 0 ;
22065 int temp2 ;
22066 int res2 = SWIG_TMPOBJ ;
22067 int temp3 ;
22068 int res3 = SWIG_TMPOBJ ;
22069 PyObject *swig_obj[1] ;
22070
22071 arg2 = &temp2;
22072 arg3 = &temp3;
22073 if (!args) SWIG_fail;
22074 swig_obj[0] = args;
22075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22076 if (!SWIG_IsOK(res1)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22078 }
22079 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22083 wxPyEndAllowThreads(__tstate);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 resultobj = SWIG_Py_Void();
22087 if (SWIG_IsTmpObj(res2)) {
22088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22089 } else {
22090 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22092 }
22093 if (SWIG_IsTmpObj(res3)) {
22094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22095 } else {
22096 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22098 }
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22106 PyObject *resultobj = 0;
22107 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22108 int *arg2 = (int *) 0 ;
22109 int *arg3 = (int *) 0 ;
22110 void *argp1 = 0 ;
22111 int res1 = 0 ;
22112 int temp2 ;
22113 int res2 = SWIG_TMPOBJ ;
22114 int temp3 ;
22115 int res3 = SWIG_TMPOBJ ;
22116 PyObject *swig_obj[1] ;
22117
22118 arg2 = &temp2;
22119 arg3 = &temp3;
22120 if (!args) SWIG_fail;
22121 swig_obj[0] = args;
22122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22123 if (!SWIG_IsOK(res1)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22125 }
22126 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 resultobj = SWIG_Py_Void();
22134 if (SWIG_IsTmpObj(res2)) {
22135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22136 } else {
22137 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22139 }
22140 if (SWIG_IsTmpObj(res3)) {
22141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22142 } else {
22143 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22144 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22145 }
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22153 PyObject *resultobj = 0;
22154 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22155 int *arg2 = (int *) 0 ;
22156 int *arg3 = (int *) 0 ;
22157 void *argp1 = 0 ;
22158 int res1 = 0 ;
22159 int temp2 ;
22160 int res2 = SWIG_TMPOBJ ;
22161 int temp3 ;
22162 int res3 = SWIG_TMPOBJ ;
22163 PyObject *swig_obj[1] ;
22164
22165 arg2 = &temp2;
22166 arg3 = &temp3;
22167 if (!args) SWIG_fail;
22168 swig_obj[0] = args;
22169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22170 if (!SWIG_IsOK(res1)) {
22171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22172 }
22173 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22177 wxPyEndAllowThreads(__tstate);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 }
22180 resultobj = SWIG_Py_Void();
22181 if (SWIG_IsTmpObj(res2)) {
22182 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22183 } else {
22184 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22185 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22186 }
22187 if (SWIG_IsTmpObj(res3)) {
22188 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22189 } else {
22190 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22191 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22192 }
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22200 PyObject *resultobj = 0;
22201 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22202 wxSize result;
22203 void *argp1 = 0 ;
22204 int res1 = 0 ;
22205 PyObject *swig_obj[1] ;
22206
22207 if (!args) SWIG_fail;
22208 swig_obj[0] = args;
22209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22210 if (!SWIG_IsOK(res1)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22212 }
22213 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22221 return resultobj;
22222 fail:
22223 return NULL;
22224 }
22225
22226
22227 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22228 PyObject *resultobj = 0;
22229 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22230 wxSize result;
22231 void *argp1 = 0 ;
22232 int res1 = 0 ;
22233 PyObject *swig_obj[1] ;
22234
22235 if (!args) SWIG_fail;
22236 swig_obj[0] = args;
22237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22238 if (!SWIG_IsOK(res1)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22240 }
22241 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22256 PyObject *resultobj = 0;
22257 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22258 SwigValueWrapper<wxVisualAttributes > result;
22259 void *argp1 = 0 ;
22260 int res1 = 0 ;
22261 PyObject *swig_obj[1] ;
22262
22263 if (!args) SWIG_fail;
22264 swig_obj[0] = args;
22265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22266 if (!SWIG_IsOK(res1)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22268 }
22269 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (arg1)->GetDefaultAttributes();
22273 wxPyEndAllowThreads(__tstate);
22274 if (PyErr_Occurred()) SWIG_fail;
22275 }
22276 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22277 return resultobj;
22278 fail:
22279 return NULL;
22280 }
22281
22282
22283 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22284 PyObject *resultobj = 0;
22285 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22286 void *argp1 = 0 ;
22287 int res1 = 0 ;
22288 PyObject *swig_obj[1] ;
22289
22290 if (!args) SWIG_fail;
22291 swig_obj[0] = args;
22292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22293 if (!SWIG_IsOK(res1)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22295 }
22296 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 (arg1)->OnInternalIdle();
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 resultobj = SWIG_Py_Void();
22304 return resultobj;
22305 fail:
22306 return NULL;
22307 }
22308
22309
22310 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22311 PyObject *obj;
22312 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22314 return SWIG_Py_Void();
22315 }
22316
22317 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22318 return SWIG_Python_InitShadowInstance(args);
22319 }
22320
22321 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj = 0;
22323 wxWindow *arg1 = (wxWindow *) 0 ;
22324 int arg2 = (int) (int)-1 ;
22325 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22326 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22327 wxSize const &arg4_defvalue = wxDefaultSize ;
22328 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22329 long arg5 = (long) 0 ;
22330 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22331 wxString *arg6 = (wxString *) &arg6_defvalue ;
22332 wxPyPanel *result = 0 ;
22333 void *argp1 = 0 ;
22334 int res1 = 0 ;
22335 int val2 ;
22336 int ecode2 = 0 ;
22337 wxPoint temp3 ;
22338 wxSize temp4 ;
22339 long val5 ;
22340 int ecode5 = 0 ;
22341 bool temp6 = false ;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
22344 PyObject * obj2 = 0 ;
22345 PyObject * obj3 = 0 ;
22346 PyObject * obj4 = 0 ;
22347 PyObject * obj5 = 0 ;
22348 char * kwnames[] = {
22349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22350 };
22351
22352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22354 if (!SWIG_IsOK(res1)) {
22355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22356 }
22357 arg1 = reinterpret_cast< wxWindow * >(argp1);
22358 if (obj1) {
22359 ecode2 = SWIG_AsVal_int(obj1, &val2);
22360 if (!SWIG_IsOK(ecode2)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22362 }
22363 arg2 = static_cast< int >(val2);
22364 }
22365 if (obj2) {
22366 {
22367 arg3 = &temp3;
22368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22369 }
22370 }
22371 if (obj3) {
22372 {
22373 arg4 = &temp4;
22374 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22375 }
22376 }
22377 if (obj4) {
22378 ecode5 = SWIG_AsVal_long(obj4, &val5);
22379 if (!SWIG_IsOK(ecode5)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22381 }
22382 arg5 = static_cast< long >(val5);
22383 }
22384 if (obj5) {
22385 {
22386 arg6 = wxString_in_helper(obj5);
22387 if (arg6 == NULL) SWIG_fail;
22388 temp6 = true;
22389 }
22390 }
22391 {
22392 if (!wxPyCheckForApp()) SWIG_fail;
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22399 {
22400 if (temp6)
22401 delete arg6;
22402 }
22403 return resultobj;
22404 fail:
22405 {
22406 if (temp6)
22407 delete arg6;
22408 }
22409 return NULL;
22410 }
22411
22412
22413 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22414 PyObject *resultobj = 0;
22415 wxPyPanel *result = 0 ;
22416
22417 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22418 {
22419 if (!wxPyCheckForApp()) SWIG_fail;
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = (wxPyPanel *)new wxPyPanel();
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj = 0;
22434 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22435 PyObject *arg2 = (PyObject *) 0 ;
22436 PyObject *arg3 = (PyObject *) 0 ;
22437 void *argp1 = 0 ;
22438 int res1 = 0 ;
22439 PyObject * obj0 = 0 ;
22440 PyObject * obj1 = 0 ;
22441 PyObject * obj2 = 0 ;
22442 char * kwnames[] = {
22443 (char *) "self",(char *) "self",(char *) "_class", NULL
22444 };
22445
22446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22448 if (!SWIG_IsOK(res1)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22450 }
22451 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22452 arg2 = obj1;
22453 arg3 = obj2;
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 (arg1)->_setCallbackInfo(arg2,arg3);
22457 wxPyEndAllowThreads(__tstate);
22458 if (PyErr_Occurred()) SWIG_fail;
22459 }
22460 resultobj = SWIG_Py_Void();
22461 return resultobj;
22462 fail:
22463 return NULL;
22464 }
22465
22466
22467 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22468 PyObject *resultobj = 0;
22469 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22470 wxDC *arg2 = (wxDC *) 0 ;
22471 bool result;
22472 void *argp1 = 0 ;
22473 int res1 = 0 ;
22474 void *argp2 = 0 ;
22475 int res2 = 0 ;
22476 PyObject * obj0 = 0 ;
22477 PyObject * obj1 = 0 ;
22478 char * kwnames[] = {
22479 (char *) "self",(char *) "dc", NULL
22480 };
22481
22482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22484 if (!SWIG_IsOK(res1)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22486 }
22487 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22488 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22489 if (!SWIG_IsOK(res2)) {
22490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22491 }
22492 arg2 = reinterpret_cast< wxDC * >(argp2);
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 result = (bool)(arg1)->DoEraseBackground(arg2);
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 {
22500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22501 }
22502 return resultobj;
22503 fail:
22504 return NULL;
22505 }
22506
22507
22508 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22509 PyObject *resultobj = 0;
22510 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22511 int arg2 ;
22512 int arg3 ;
22513 int arg4 ;
22514 int arg5 ;
22515 void *argp1 = 0 ;
22516 int res1 = 0 ;
22517 int val2 ;
22518 int ecode2 = 0 ;
22519 int val3 ;
22520 int ecode3 = 0 ;
22521 int val4 ;
22522 int ecode4 = 0 ;
22523 int val5 ;
22524 int ecode5 = 0 ;
22525 PyObject * obj0 = 0 ;
22526 PyObject * obj1 = 0 ;
22527 PyObject * obj2 = 0 ;
22528 PyObject * obj3 = 0 ;
22529 PyObject * obj4 = 0 ;
22530 char * kwnames[] = {
22531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22532 };
22533
22534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22536 if (!SWIG_IsOK(res1)) {
22537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22538 }
22539 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22540 ecode2 = SWIG_AsVal_int(obj1, &val2);
22541 if (!SWIG_IsOK(ecode2)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22543 }
22544 arg2 = static_cast< int >(val2);
22545 ecode3 = SWIG_AsVal_int(obj2, &val3);
22546 if (!SWIG_IsOK(ecode3)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22548 }
22549 arg3 = static_cast< int >(val3);
22550 ecode4 = SWIG_AsVal_int(obj3, &val4);
22551 if (!SWIG_IsOK(ecode4)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22553 }
22554 arg4 = static_cast< int >(val4);
22555 ecode5 = SWIG_AsVal_int(obj4, &val5);
22556 if (!SWIG_IsOK(ecode5)) {
22557 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22558 }
22559 arg5 = static_cast< int >(val5);
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 resultobj = SWIG_Py_Void();
22567 return resultobj;
22568 fail:
22569 return NULL;
22570 }
22571
22572
22573 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22574 PyObject *resultobj = 0;
22575 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22576 int arg2 ;
22577 int arg3 ;
22578 int arg4 ;
22579 int arg5 ;
22580 int arg6 = (int) wxSIZE_AUTO ;
22581 void *argp1 = 0 ;
22582 int res1 = 0 ;
22583 int val2 ;
22584 int ecode2 = 0 ;
22585 int val3 ;
22586 int ecode3 = 0 ;
22587 int val4 ;
22588 int ecode4 = 0 ;
22589 int val5 ;
22590 int ecode5 = 0 ;
22591 int val6 ;
22592 int ecode6 = 0 ;
22593 PyObject * obj0 = 0 ;
22594 PyObject * obj1 = 0 ;
22595 PyObject * obj2 = 0 ;
22596 PyObject * obj3 = 0 ;
22597 PyObject * obj4 = 0 ;
22598 PyObject * obj5 = 0 ;
22599 char * kwnames[] = {
22600 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22601 };
22602
22603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22605 if (!SWIG_IsOK(res1)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22607 }
22608 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22609 ecode2 = SWIG_AsVal_int(obj1, &val2);
22610 if (!SWIG_IsOK(ecode2)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22612 }
22613 arg2 = static_cast< int >(val2);
22614 ecode3 = SWIG_AsVal_int(obj2, &val3);
22615 if (!SWIG_IsOK(ecode3)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22617 }
22618 arg3 = static_cast< int >(val3);
22619 ecode4 = SWIG_AsVal_int(obj3, &val4);
22620 if (!SWIG_IsOK(ecode4)) {
22621 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22622 }
22623 arg4 = static_cast< int >(val4);
22624 ecode5 = SWIG_AsVal_int(obj4, &val5);
22625 if (!SWIG_IsOK(ecode5)) {
22626 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22627 }
22628 arg5 = static_cast< int >(val5);
22629 if (obj5) {
22630 ecode6 = SWIG_AsVal_int(obj5, &val6);
22631 if (!SWIG_IsOK(ecode6)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22633 }
22634 arg6 = static_cast< int >(val6);
22635 }
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22639 wxPyEndAllowThreads(__tstate);
22640 if (PyErr_Occurred()) SWIG_fail;
22641 }
22642 resultobj = SWIG_Py_Void();
22643 return resultobj;
22644 fail:
22645 return NULL;
22646 }
22647
22648
22649 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22650 PyObject *resultobj = 0;
22651 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22652 int arg2 ;
22653 int arg3 ;
22654 void *argp1 = 0 ;
22655 int res1 = 0 ;
22656 int val2 ;
22657 int ecode2 = 0 ;
22658 int val3 ;
22659 int ecode3 = 0 ;
22660 PyObject * obj0 = 0 ;
22661 PyObject * obj1 = 0 ;
22662 PyObject * obj2 = 0 ;
22663 char * kwnames[] = {
22664 (char *) "self",(char *) "width",(char *) "height", NULL
22665 };
22666
22667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22669 if (!SWIG_IsOK(res1)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22671 }
22672 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22673 ecode2 = SWIG_AsVal_int(obj1, &val2);
22674 if (!SWIG_IsOK(ecode2)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22676 }
22677 arg2 = static_cast< int >(val2);
22678 ecode3 = SWIG_AsVal_int(obj2, &val3);
22679 if (!SWIG_IsOK(ecode3)) {
22680 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22681 }
22682 arg3 = static_cast< int >(val3);
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 (arg1)->DoSetClientSize(arg2,arg3);
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 resultobj = SWIG_Py_Void();
22690 return resultobj;
22691 fail:
22692 return NULL;
22693 }
22694
22695
22696 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj = 0;
22698 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22699 int arg2 ;
22700 int arg3 ;
22701 void *argp1 = 0 ;
22702 int res1 = 0 ;
22703 int val2 ;
22704 int ecode2 = 0 ;
22705 int val3 ;
22706 int ecode3 = 0 ;
22707 PyObject * obj0 = 0 ;
22708 PyObject * obj1 = 0 ;
22709 PyObject * obj2 = 0 ;
22710 char * kwnames[] = {
22711 (char *) "self",(char *) "x",(char *) "y", NULL
22712 };
22713
22714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22716 if (!SWIG_IsOK(res1)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22718 }
22719 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22720 ecode2 = SWIG_AsVal_int(obj1, &val2);
22721 if (!SWIG_IsOK(ecode2)) {
22722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22723 }
22724 arg2 = static_cast< int >(val2);
22725 ecode3 = SWIG_AsVal_int(obj2, &val3);
22726 if (!SWIG_IsOK(ecode3)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22728 }
22729 arg3 = static_cast< int >(val3);
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 (arg1)->DoSetVirtualSize(arg2,arg3);
22733 wxPyEndAllowThreads(__tstate);
22734 if (PyErr_Occurred()) SWIG_fail;
22735 }
22736 resultobj = SWIG_Py_Void();
22737 return resultobj;
22738 fail:
22739 return NULL;
22740 }
22741
22742
22743 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22744 PyObject *resultobj = 0;
22745 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22746 int *arg2 = (int *) 0 ;
22747 int *arg3 = (int *) 0 ;
22748 void *argp1 = 0 ;
22749 int res1 = 0 ;
22750 int temp2 ;
22751 int res2 = SWIG_TMPOBJ ;
22752 int temp3 ;
22753 int res3 = SWIG_TMPOBJ ;
22754 PyObject *swig_obj[1] ;
22755
22756 arg2 = &temp2;
22757 arg3 = &temp3;
22758 if (!args) SWIG_fail;
22759 swig_obj[0] = args;
22760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22761 if (!SWIG_IsOK(res1)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22763 }
22764 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 resultobj = SWIG_Py_Void();
22772 if (SWIG_IsTmpObj(res2)) {
22773 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22774 } else {
22775 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22776 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22777 }
22778 if (SWIG_IsTmpObj(res3)) {
22779 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22780 } else {
22781 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22782 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22783 }
22784 return resultobj;
22785 fail:
22786 return NULL;
22787 }
22788
22789
22790 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22791 PyObject *resultobj = 0;
22792 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22793 int *arg2 = (int *) 0 ;
22794 int *arg3 = (int *) 0 ;
22795 void *argp1 = 0 ;
22796 int res1 = 0 ;
22797 int temp2 ;
22798 int res2 = SWIG_TMPOBJ ;
22799 int temp3 ;
22800 int res3 = SWIG_TMPOBJ ;
22801 PyObject *swig_obj[1] ;
22802
22803 arg2 = &temp2;
22804 arg3 = &temp3;
22805 if (!args) SWIG_fail;
22806 swig_obj[0] = args;
22807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22808 if (!SWIG_IsOK(res1)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22810 }
22811 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22812 {
22813 PyThreadState* __tstate = wxPyBeginAllowThreads();
22814 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22815 wxPyEndAllowThreads(__tstate);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 }
22818 resultobj = SWIG_Py_Void();
22819 if (SWIG_IsTmpObj(res2)) {
22820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22821 } else {
22822 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22824 }
22825 if (SWIG_IsTmpObj(res3)) {
22826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22827 } else {
22828 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22829 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22830 }
22831 return resultobj;
22832 fail:
22833 return NULL;
22834 }
22835
22836
22837 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22838 PyObject *resultobj = 0;
22839 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22840 int *arg2 = (int *) 0 ;
22841 int *arg3 = (int *) 0 ;
22842 void *argp1 = 0 ;
22843 int res1 = 0 ;
22844 int temp2 ;
22845 int res2 = SWIG_TMPOBJ ;
22846 int temp3 ;
22847 int res3 = SWIG_TMPOBJ ;
22848 PyObject *swig_obj[1] ;
22849
22850 arg2 = &temp2;
22851 arg3 = &temp3;
22852 if (!args) SWIG_fail;
22853 swig_obj[0] = args;
22854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22855 if (!SWIG_IsOK(res1)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22857 }
22858 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22859 {
22860 PyThreadState* __tstate = wxPyBeginAllowThreads();
22861 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22862 wxPyEndAllowThreads(__tstate);
22863 if (PyErr_Occurred()) SWIG_fail;
22864 }
22865 resultobj = SWIG_Py_Void();
22866 if (SWIG_IsTmpObj(res2)) {
22867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22868 } else {
22869 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22871 }
22872 if (SWIG_IsTmpObj(res3)) {
22873 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22874 } else {
22875 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22876 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22877 }
22878 return resultobj;
22879 fail:
22880 return NULL;
22881 }
22882
22883
22884 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22885 PyObject *resultobj = 0;
22886 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22887 wxSize result;
22888 void *argp1 = 0 ;
22889 int res1 = 0 ;
22890 PyObject *swig_obj[1] ;
22891
22892 if (!args) SWIG_fail;
22893 swig_obj[0] = args;
22894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22895 if (!SWIG_IsOK(res1)) {
22896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22897 }
22898 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22899 {
22900 PyThreadState* __tstate = wxPyBeginAllowThreads();
22901 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22913 PyObject *resultobj = 0;
22914 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22915 wxSize result;
22916 void *argp1 = 0 ;
22917 int res1 = 0 ;
22918 PyObject *swig_obj[1] ;
22919
22920 if (!args) SWIG_fail;
22921 swig_obj[0] = args;
22922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22923 if (!SWIG_IsOK(res1)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22925 }
22926 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22934 return resultobj;
22935 fail:
22936 return NULL;
22937 }
22938
22939
22940 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22941 PyObject *resultobj = 0;
22942 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22943 SwigValueWrapper<wxVisualAttributes > result;
22944 void *argp1 = 0 ;
22945 int res1 = 0 ;
22946 PyObject *swig_obj[1] ;
22947
22948 if (!args) SWIG_fail;
22949 swig_obj[0] = args;
22950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22951 if (!SWIG_IsOK(res1)) {
22952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22953 }
22954 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22955 {
22956 PyThreadState* __tstate = wxPyBeginAllowThreads();
22957 result = (arg1)->GetDefaultAttributes();
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22969 PyObject *resultobj = 0;
22970 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22971 void *argp1 = 0 ;
22972 int res1 = 0 ;
22973 PyObject *swig_obj[1] ;
22974
22975 if (!args) SWIG_fail;
22976 swig_obj[0] = args;
22977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22978 if (!SWIG_IsOK(res1)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22980 }
22981 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 (arg1)->OnInternalIdle();
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 resultobj = SWIG_Py_Void();
22989 return resultobj;
22990 fail:
22991 return NULL;
22992 }
22993
22994
22995 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22996 PyObject *obj;
22997 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22998 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22999 return SWIG_Py_Void();
23000 }
23001
23002 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23003 return SWIG_Python_InitShadowInstance(args);
23004 }
23005
23006 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23007 PyObject *resultobj = 0;
23008 wxWindow *arg1 = (wxWindow *) 0 ;
23009 int arg2 = (int) (int)-1 ;
23010 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23011 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23012 wxSize const &arg4_defvalue = wxDefaultSize ;
23013 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23014 long arg5 = (long) 0 ;
23015 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23016 wxString *arg6 = (wxString *) &arg6_defvalue ;
23017 wxPyScrolledWindow *result = 0 ;
23018 void *argp1 = 0 ;
23019 int res1 = 0 ;
23020 int val2 ;
23021 int ecode2 = 0 ;
23022 wxPoint temp3 ;
23023 wxSize temp4 ;
23024 long val5 ;
23025 int ecode5 = 0 ;
23026 bool temp6 = false ;
23027 PyObject * obj0 = 0 ;
23028 PyObject * obj1 = 0 ;
23029 PyObject * obj2 = 0 ;
23030 PyObject * obj3 = 0 ;
23031 PyObject * obj4 = 0 ;
23032 PyObject * obj5 = 0 ;
23033 char * kwnames[] = {
23034 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23035 };
23036
23037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23039 if (!SWIG_IsOK(res1)) {
23040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23041 }
23042 arg1 = reinterpret_cast< wxWindow * >(argp1);
23043 if (obj1) {
23044 ecode2 = SWIG_AsVal_int(obj1, &val2);
23045 if (!SWIG_IsOK(ecode2)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23047 }
23048 arg2 = static_cast< int >(val2);
23049 }
23050 if (obj2) {
23051 {
23052 arg3 = &temp3;
23053 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23054 }
23055 }
23056 if (obj3) {
23057 {
23058 arg4 = &temp4;
23059 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23060 }
23061 }
23062 if (obj4) {
23063 ecode5 = SWIG_AsVal_long(obj4, &val5);
23064 if (!SWIG_IsOK(ecode5)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23066 }
23067 arg5 = static_cast< long >(val5);
23068 }
23069 if (obj5) {
23070 {
23071 arg6 = wxString_in_helper(obj5);
23072 if (arg6 == NULL) SWIG_fail;
23073 temp6 = true;
23074 }
23075 }
23076 {
23077 if (!wxPyCheckForApp()) SWIG_fail;
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23080 wxPyEndAllowThreads(__tstate);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 }
23083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23084 {
23085 if (temp6)
23086 delete arg6;
23087 }
23088 return resultobj;
23089 fail:
23090 {
23091 if (temp6)
23092 delete arg6;
23093 }
23094 return NULL;
23095 }
23096
23097
23098 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23099 PyObject *resultobj = 0;
23100 wxPyScrolledWindow *result = 0 ;
23101
23102 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23103 {
23104 if (!wxPyCheckForApp()) SWIG_fail;
23105 PyThreadState* __tstate = wxPyBeginAllowThreads();
23106 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj = 0;
23119 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23120 PyObject *arg2 = (PyObject *) 0 ;
23121 PyObject *arg3 = (PyObject *) 0 ;
23122 void *argp1 = 0 ;
23123 int res1 = 0 ;
23124 PyObject * obj0 = 0 ;
23125 PyObject * obj1 = 0 ;
23126 PyObject * obj2 = 0 ;
23127 char * kwnames[] = {
23128 (char *) "self",(char *) "self",(char *) "_class", NULL
23129 };
23130
23131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23133 if (!SWIG_IsOK(res1)) {
23134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23135 }
23136 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23137 arg2 = obj1;
23138 arg3 = obj2;
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 (arg1)->_setCallbackInfo(arg2,arg3);
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 resultobj = SWIG_Py_Void();
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj = 0;
23154 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23155 wxDC *arg2 = (wxDC *) 0 ;
23156 bool result;
23157 void *argp1 = 0 ;
23158 int res1 = 0 ;
23159 void *argp2 = 0 ;
23160 int res2 = 0 ;
23161 PyObject * obj0 = 0 ;
23162 PyObject * obj1 = 0 ;
23163 char * kwnames[] = {
23164 (char *) "self",(char *) "dc", NULL
23165 };
23166
23167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23169 if (!SWIG_IsOK(res1)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23171 }
23172 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23173 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23174 if (!SWIG_IsOK(res2)) {
23175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23176 }
23177 arg2 = reinterpret_cast< wxDC * >(argp2);
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (bool)(arg1)->DoEraseBackground(arg2);
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23194 PyObject *resultobj = 0;
23195 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23196 int arg2 ;
23197 int arg3 ;
23198 int arg4 ;
23199 int arg5 ;
23200 void *argp1 = 0 ;
23201 int res1 = 0 ;
23202 int val2 ;
23203 int ecode2 = 0 ;
23204 int val3 ;
23205 int ecode3 = 0 ;
23206 int val4 ;
23207 int ecode4 = 0 ;
23208 int val5 ;
23209 int ecode5 = 0 ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 PyObject * obj2 = 0 ;
23213 PyObject * obj3 = 0 ;
23214 PyObject * obj4 = 0 ;
23215 char * kwnames[] = {
23216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23217 };
23218
23219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23221 if (!SWIG_IsOK(res1)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23223 }
23224 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23225 ecode2 = SWIG_AsVal_int(obj1, &val2);
23226 if (!SWIG_IsOK(ecode2)) {
23227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23228 }
23229 arg2 = static_cast< int >(val2);
23230 ecode3 = SWIG_AsVal_int(obj2, &val3);
23231 if (!SWIG_IsOK(ecode3)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23233 }
23234 arg3 = static_cast< int >(val3);
23235 ecode4 = SWIG_AsVal_int(obj3, &val4);
23236 if (!SWIG_IsOK(ecode4)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23238 }
23239 arg4 = static_cast< int >(val4);
23240 ecode5 = SWIG_AsVal_int(obj4, &val5);
23241 if (!SWIG_IsOK(ecode5)) {
23242 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23243 }
23244 arg5 = static_cast< int >(val5);
23245 {
23246 PyThreadState* __tstate = wxPyBeginAllowThreads();
23247 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 resultobj = SWIG_Py_Void();
23252 return resultobj;
23253 fail:
23254 return NULL;
23255 }
23256
23257
23258 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj = 0;
23260 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23261 int arg2 ;
23262 int arg3 ;
23263 int arg4 ;
23264 int arg5 ;
23265 int arg6 = (int) wxSIZE_AUTO ;
23266 void *argp1 = 0 ;
23267 int res1 = 0 ;
23268 int val2 ;
23269 int ecode2 = 0 ;
23270 int val3 ;
23271 int ecode3 = 0 ;
23272 int val4 ;
23273 int ecode4 = 0 ;
23274 int val5 ;
23275 int ecode5 = 0 ;
23276 int val6 ;
23277 int ecode6 = 0 ;
23278 PyObject * obj0 = 0 ;
23279 PyObject * obj1 = 0 ;
23280 PyObject * obj2 = 0 ;
23281 PyObject * obj3 = 0 ;
23282 PyObject * obj4 = 0 ;
23283 PyObject * obj5 = 0 ;
23284 char * kwnames[] = {
23285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23286 };
23287
23288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23290 if (!SWIG_IsOK(res1)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23292 }
23293 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23294 ecode2 = SWIG_AsVal_int(obj1, &val2);
23295 if (!SWIG_IsOK(ecode2)) {
23296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23297 }
23298 arg2 = static_cast< int >(val2);
23299 ecode3 = SWIG_AsVal_int(obj2, &val3);
23300 if (!SWIG_IsOK(ecode3)) {
23301 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23302 }
23303 arg3 = static_cast< int >(val3);
23304 ecode4 = SWIG_AsVal_int(obj3, &val4);
23305 if (!SWIG_IsOK(ecode4)) {
23306 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23307 }
23308 arg4 = static_cast< int >(val4);
23309 ecode5 = SWIG_AsVal_int(obj4, &val5);
23310 if (!SWIG_IsOK(ecode5)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23312 }
23313 arg5 = static_cast< int >(val5);
23314 if (obj5) {
23315 ecode6 = SWIG_AsVal_int(obj5, &val6);
23316 if (!SWIG_IsOK(ecode6)) {
23317 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23318 }
23319 arg6 = static_cast< int >(val6);
23320 }
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 resultobj = SWIG_Py_Void();
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj = 0;
23336 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23337 int arg2 ;
23338 int arg3 ;
23339 void *argp1 = 0 ;
23340 int res1 = 0 ;
23341 int val2 ;
23342 int ecode2 = 0 ;
23343 int val3 ;
23344 int ecode3 = 0 ;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347 PyObject * obj2 = 0 ;
23348 char * kwnames[] = {
23349 (char *) "self",(char *) "width",(char *) "height", NULL
23350 };
23351
23352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23354 if (!SWIG_IsOK(res1)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23356 }
23357 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23358 ecode2 = SWIG_AsVal_int(obj1, &val2);
23359 if (!SWIG_IsOK(ecode2)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23361 }
23362 arg2 = static_cast< int >(val2);
23363 ecode3 = SWIG_AsVal_int(obj2, &val3);
23364 if (!SWIG_IsOK(ecode3)) {
23365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23366 }
23367 arg3 = static_cast< int >(val3);
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 (arg1)->DoSetClientSize(arg2,arg3);
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 resultobj = SWIG_Py_Void();
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj = 0;
23383 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23384 int arg2 ;
23385 int arg3 ;
23386 void *argp1 = 0 ;
23387 int res1 = 0 ;
23388 int val2 ;
23389 int ecode2 = 0 ;
23390 int val3 ;
23391 int ecode3 = 0 ;
23392 PyObject * obj0 = 0 ;
23393 PyObject * obj1 = 0 ;
23394 PyObject * obj2 = 0 ;
23395 char * kwnames[] = {
23396 (char *) "self",(char *) "x",(char *) "y", NULL
23397 };
23398
23399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23401 if (!SWIG_IsOK(res1)) {
23402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23403 }
23404 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23405 ecode2 = SWIG_AsVal_int(obj1, &val2);
23406 if (!SWIG_IsOK(ecode2)) {
23407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23408 }
23409 arg2 = static_cast< int >(val2);
23410 ecode3 = SWIG_AsVal_int(obj2, &val3);
23411 if (!SWIG_IsOK(ecode3)) {
23412 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23413 }
23414 arg3 = static_cast< int >(val3);
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 (arg1)->DoSetVirtualSize(arg2,arg3);
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 resultobj = SWIG_Py_Void();
23422 return resultobj;
23423 fail:
23424 return NULL;
23425 }
23426
23427
23428 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23429 PyObject *resultobj = 0;
23430 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23431 int *arg2 = (int *) 0 ;
23432 int *arg3 = (int *) 0 ;
23433 void *argp1 = 0 ;
23434 int res1 = 0 ;
23435 int temp2 ;
23436 int res2 = SWIG_TMPOBJ ;
23437 int temp3 ;
23438 int res3 = SWIG_TMPOBJ ;
23439 PyObject *swig_obj[1] ;
23440
23441 arg2 = &temp2;
23442 arg3 = &temp3;
23443 if (!args) SWIG_fail;
23444 swig_obj[0] = args;
23445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23446 if (!SWIG_IsOK(res1)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23448 }
23449 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 resultobj = SWIG_Py_Void();
23457 if (SWIG_IsTmpObj(res2)) {
23458 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23459 } else {
23460 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23461 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23462 }
23463 if (SWIG_IsTmpObj(res3)) {
23464 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23465 } else {
23466 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23467 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23468 }
23469 return resultobj;
23470 fail:
23471 return NULL;
23472 }
23473
23474
23475 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23476 PyObject *resultobj = 0;
23477 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23478 int *arg2 = (int *) 0 ;
23479 int *arg3 = (int *) 0 ;
23480 void *argp1 = 0 ;
23481 int res1 = 0 ;
23482 int temp2 ;
23483 int res2 = SWIG_TMPOBJ ;
23484 int temp3 ;
23485 int res3 = SWIG_TMPOBJ ;
23486 PyObject *swig_obj[1] ;
23487
23488 arg2 = &temp2;
23489 arg3 = &temp3;
23490 if (!args) SWIG_fail;
23491 swig_obj[0] = args;
23492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23493 if (!SWIG_IsOK(res1)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23495 }
23496 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23497 {
23498 PyThreadState* __tstate = wxPyBeginAllowThreads();
23499 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 resultobj = SWIG_Py_Void();
23504 if (SWIG_IsTmpObj(res2)) {
23505 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23506 } else {
23507 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23508 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23509 }
23510 if (SWIG_IsTmpObj(res3)) {
23511 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23512 } else {
23513 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23514 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23515 }
23516 return resultobj;
23517 fail:
23518 return NULL;
23519 }
23520
23521
23522 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23523 PyObject *resultobj = 0;
23524 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23525 int *arg2 = (int *) 0 ;
23526 int *arg3 = (int *) 0 ;
23527 void *argp1 = 0 ;
23528 int res1 = 0 ;
23529 int temp2 ;
23530 int res2 = SWIG_TMPOBJ ;
23531 int temp3 ;
23532 int res3 = SWIG_TMPOBJ ;
23533 PyObject *swig_obj[1] ;
23534
23535 arg2 = &temp2;
23536 arg3 = &temp3;
23537 if (!args) SWIG_fail;
23538 swig_obj[0] = args;
23539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23540 if (!SWIG_IsOK(res1)) {
23541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23542 }
23543 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 resultobj = SWIG_Py_Void();
23551 if (SWIG_IsTmpObj(res2)) {
23552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23553 } else {
23554 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23556 }
23557 if (SWIG_IsTmpObj(res3)) {
23558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23559 } else {
23560 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23562 }
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23570 PyObject *resultobj = 0;
23571 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23572 wxSize result;
23573 void *argp1 = 0 ;
23574 int res1 = 0 ;
23575 PyObject *swig_obj[1] ;
23576
23577 if (!args) SWIG_fail;
23578 swig_obj[0] = args;
23579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23580 if (!SWIG_IsOK(res1)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23582 }
23583 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23598 PyObject *resultobj = 0;
23599 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23600 wxSize result;
23601 void *argp1 = 0 ;
23602 int res1 = 0 ;
23603 PyObject *swig_obj[1] ;
23604
23605 if (!args) SWIG_fail;
23606 swig_obj[0] = args;
23607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23619 return resultobj;
23620 fail:
23621 return NULL;
23622 }
23623
23624
23625 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23626 PyObject *resultobj = 0;
23627 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23628 SwigValueWrapper<wxVisualAttributes > result;
23629 void *argp1 = 0 ;
23630 int res1 = 0 ;
23631 PyObject *swig_obj[1] ;
23632
23633 if (!args) SWIG_fail;
23634 swig_obj[0] = args;
23635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23636 if (!SWIG_IsOK(res1)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23638 }
23639 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (arg1)->GetDefaultAttributes();
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23654 PyObject *resultobj = 0;
23655 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23656 void *argp1 = 0 ;
23657 int res1 = 0 ;
23658 PyObject *swig_obj[1] ;
23659
23660 if (!args) SWIG_fail;
23661 swig_obj[0] = args;
23662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23663 if (!SWIG_IsOK(res1)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23665 }
23666 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 (arg1)->OnInternalIdle();
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 resultobj = SWIG_Py_Void();
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23681 PyObject *obj;
23682 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23683 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23684 return SWIG_Py_Void();
23685 }
23686
23687 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23688 return SWIG_Python_InitShadowInstance(args);
23689 }
23690
23691 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23692 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23693 return 1;
23694 }
23695
23696
23697 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23698 PyObject *pyobj = 0;
23699
23700 {
23701 #if wxUSE_UNICODE
23702 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23703 #else
23704 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23705 #endif
23706 }
23707 return pyobj;
23708 }
23709
23710
23711 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23712 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23713 return 1;
23714 }
23715
23716
23717 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23718 PyObject *pyobj = 0;
23719
23720 {
23721 #if wxUSE_UNICODE
23722 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23723 #else
23724 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23725 #endif
23726 }
23727 return pyobj;
23728 }
23729
23730
23731 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23732 PyObject *resultobj = 0;
23733 wxPrintData *result = 0 ;
23734
23735 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (wxPrintData *)new wxPrintData();
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23750 PyObject *resultobj = 0;
23751 wxPrintData *arg1 = 0 ;
23752 wxPrintData *result = 0 ;
23753 void *argp1 = 0 ;
23754 int res1 = 0 ;
23755
23756 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23758 if (!SWIG_IsOK(res1)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23760 }
23761 if (!argp1) {
23762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23763 }
23764 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23779 int argc;
23780 PyObject *argv[2];
23781
23782 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23783 --argc;
23784 if (argc == 0) {
23785 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23786 }
23787 if (argc == 1) {
23788 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23789 }
23790
23791 fail:
23792 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23793 return NULL;
23794 }
23795
23796
23797 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23798 PyObject *resultobj = 0;
23799 wxPrintData *arg1 = (wxPrintData *) 0 ;
23800 void *argp1 = 0 ;
23801 int res1 = 0 ;
23802 PyObject *swig_obj[1] ;
23803
23804 if (!args) SWIG_fail;
23805 swig_obj[0] = args;
23806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23807 if (!SWIG_IsOK(res1)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23809 }
23810 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 delete arg1;
23814
23815 wxPyEndAllowThreads(__tstate);
23816 if (PyErr_Occurred()) SWIG_fail;
23817 }
23818 resultobj = SWIG_Py_Void();
23819 return resultobj;
23820 fail:
23821 return NULL;
23822 }
23823
23824
23825 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23826 PyObject *resultobj = 0;
23827 wxPrintData *arg1 = (wxPrintData *) 0 ;
23828 int result;
23829 void *argp1 = 0 ;
23830 int res1 = 0 ;
23831 PyObject *swig_obj[1] ;
23832
23833 if (!args) SWIG_fail;
23834 swig_obj[0] = args;
23835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23836 if (!SWIG_IsOK(res1)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23838 }
23839 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (int)(arg1)->GetNoCopies();
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = SWIG_From_int(static_cast< int >(result));
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23854 PyObject *resultobj = 0;
23855 wxPrintData *arg1 = (wxPrintData *) 0 ;
23856 bool result;
23857 void *argp1 = 0 ;
23858 int res1 = 0 ;
23859 PyObject *swig_obj[1] ;
23860
23861 if (!args) SWIG_fail;
23862 swig_obj[0] = args;
23863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23864 if (!SWIG_IsOK(res1)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23866 }
23867 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (bool)(arg1)->GetCollate();
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 {
23875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23876 }
23877 return resultobj;
23878 fail:
23879 return NULL;
23880 }
23881
23882
23883 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23884 PyObject *resultobj = 0;
23885 wxPrintData *arg1 = (wxPrintData *) 0 ;
23886 int result;
23887 void *argp1 = 0 ;
23888 int res1 = 0 ;
23889 PyObject *swig_obj[1] ;
23890
23891 if (!args) SWIG_fail;
23892 swig_obj[0] = args;
23893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23894 if (!SWIG_IsOK(res1)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 }
23897 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 result = (int)(arg1)->GetOrientation();
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 resultobj = SWIG_From_int(static_cast< int >(result));
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23912 PyObject *resultobj = 0;
23913 wxPrintData *arg1 = (wxPrintData *) 0 ;
23914 bool result;
23915 void *argp1 = 0 ;
23916 int res1 = 0 ;
23917 PyObject *swig_obj[1] ;
23918
23919 if (!args) SWIG_fail;
23920 swig_obj[0] = args;
23921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23922 if (!SWIG_IsOK(res1)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23924 }
23925 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 {
23933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23934 }
23935 return resultobj;
23936 fail:
23937 return NULL;
23938 }
23939
23940
23941 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23942 PyObject *resultobj = 0;
23943 wxPrintData *arg1 = (wxPrintData *) 0 ;
23944 bool result;
23945 void *argp1 = 0 ;
23946 int res1 = 0 ;
23947 PyObject *swig_obj[1] ;
23948
23949 if (!args) SWIG_fail;
23950 swig_obj[0] = args;
23951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23952 if (!SWIG_IsOK(res1)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23954 }
23955 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 result = (bool)(arg1)->IsOk();
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 {
23963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23964 }
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23972 PyObject *resultobj = 0;
23973 wxPrintData *arg1 = (wxPrintData *) 0 ;
23974 wxString *result = 0 ;
23975 void *argp1 = 0 ;
23976 int res1 = 0 ;
23977 PyObject *swig_obj[1] ;
23978
23979 if (!args) SWIG_fail;
23980 swig_obj[0] = args;
23981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23982 if (!SWIG_IsOK(res1)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23984 }
23985 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 {
23989 wxString const &_result_ref = (arg1)->GetPrinterName();
23990 result = (wxString *) &_result_ref;
23991 }
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 {
23996 #if wxUSE_UNICODE
23997 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23998 #else
23999 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24000 #endif
24001 }
24002 return resultobj;
24003 fail:
24004 return NULL;
24005 }
24006
24007
24008 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24009 PyObject *resultobj = 0;
24010 wxPrintData *arg1 = (wxPrintData *) 0 ;
24011 bool result;
24012 void *argp1 = 0 ;
24013 int res1 = 0 ;
24014 PyObject *swig_obj[1] ;
24015
24016 if (!args) SWIG_fail;
24017 swig_obj[0] = args;
24018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24019 if (!SWIG_IsOK(res1)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24021 }
24022 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 result = (bool)(arg1)->GetColour();
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 {
24030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24031 }
24032 return resultobj;
24033 fail:
24034 return NULL;
24035 }
24036
24037
24038 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24039 PyObject *resultobj = 0;
24040 wxPrintData *arg1 = (wxPrintData *) 0 ;
24041 wxDuplexMode result;
24042 void *argp1 = 0 ;
24043 int res1 = 0 ;
24044 PyObject *swig_obj[1] ;
24045
24046 if (!args) SWIG_fail;
24047 swig_obj[0] = args;
24048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24049 if (!SWIG_IsOK(res1)) {
24050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24051 }
24052 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 result = (wxDuplexMode)(arg1)->GetDuplex();
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 resultobj = SWIG_From_int(static_cast< int >(result));
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24067 PyObject *resultobj = 0;
24068 wxPrintData *arg1 = (wxPrintData *) 0 ;
24069 wxPaperSize result;
24070 void *argp1 = 0 ;
24071 int res1 = 0 ;
24072 PyObject *swig_obj[1] ;
24073
24074 if (!args) SWIG_fail;
24075 swig_obj[0] = args;
24076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24077 if (!SWIG_IsOK(res1)) {
24078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24079 }
24080 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 result = (wxPaperSize)(arg1)->GetPaperId();
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 resultobj = SWIG_From_int(static_cast< int >(result));
24088 return resultobj;
24089 fail:
24090 return NULL;
24091 }
24092
24093
24094 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24095 PyObject *resultobj = 0;
24096 wxPrintData *arg1 = (wxPrintData *) 0 ;
24097 wxSize *result = 0 ;
24098 void *argp1 = 0 ;
24099 int res1 = 0 ;
24100 PyObject *swig_obj[1] ;
24101
24102 if (!args) SWIG_fail;
24103 swig_obj[0] = args;
24104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24105 if (!SWIG_IsOK(res1)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24107 }
24108 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 {
24112 wxSize const &_result_ref = (arg1)->GetPaperSize();
24113 result = (wxSize *) &_result_ref;
24114 }
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24119 return resultobj;
24120 fail:
24121 return NULL;
24122 }
24123
24124
24125 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24126 PyObject *resultobj = 0;
24127 wxPrintData *arg1 = (wxPrintData *) 0 ;
24128 int result;
24129 void *argp1 = 0 ;
24130 int res1 = 0 ;
24131 PyObject *swig_obj[1] ;
24132
24133 if (!args) SWIG_fail;
24134 swig_obj[0] = args;
24135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24136 if (!SWIG_IsOK(res1)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24138 }
24139 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 result = (int)(arg1)->GetQuality();
24143 wxPyEndAllowThreads(__tstate);
24144 if (PyErr_Occurred()) SWIG_fail;
24145 }
24146 resultobj = SWIG_From_int(static_cast< int >(result));
24147 return resultobj;
24148 fail:
24149 return NULL;
24150 }
24151
24152
24153 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24154 PyObject *resultobj = 0;
24155 wxPrintData *arg1 = (wxPrintData *) 0 ;
24156 wxPrintBin result;
24157 void *argp1 = 0 ;
24158 int res1 = 0 ;
24159 PyObject *swig_obj[1] ;
24160
24161 if (!args) SWIG_fail;
24162 swig_obj[0] = args;
24163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24164 if (!SWIG_IsOK(res1)) {
24165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24166 }
24167 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 result = (wxPrintBin)(arg1)->GetBin();
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 resultobj = SWIG_From_int(static_cast< int >(result));
24175 return resultobj;
24176 fail:
24177 return NULL;
24178 }
24179
24180
24181 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24182 PyObject *resultobj = 0;
24183 wxPrintData *arg1 = (wxPrintData *) 0 ;
24184 wxPrintMode result;
24185 void *argp1 = 0 ;
24186 int res1 = 0 ;
24187 PyObject *swig_obj[1] ;
24188
24189 if (!args) SWIG_fail;
24190 swig_obj[0] = args;
24191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24192 if (!SWIG_IsOK(res1)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24194 }
24195 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 resultobj = SWIG_From_int(static_cast< int >(result));
24203 return resultobj;
24204 fail:
24205 return NULL;
24206 }
24207
24208
24209 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24210 PyObject *resultobj = 0;
24211 wxPrintData *arg1 = (wxPrintData *) 0 ;
24212 int result;
24213 void *argp1 = 0 ;
24214 int res1 = 0 ;
24215 PyObject *swig_obj[1] ;
24216
24217 if (!args) SWIG_fail;
24218 swig_obj[0] = args;
24219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24220 if (!SWIG_IsOK(res1)) {
24221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24222 }
24223 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (int)((wxPrintData const *)arg1)->GetMedia();
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 resultobj = SWIG_From_int(static_cast< int >(result));
24231 return resultobj;
24232 fail:
24233 return NULL;
24234 }
24235
24236
24237 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24238 PyObject *resultobj = 0;
24239 wxPrintData *arg1 = (wxPrintData *) 0 ;
24240 int arg2 ;
24241 void *argp1 = 0 ;
24242 int res1 = 0 ;
24243 int val2 ;
24244 int ecode2 = 0 ;
24245 PyObject * obj0 = 0 ;
24246 PyObject * obj1 = 0 ;
24247 char * kwnames[] = {
24248 (char *) "self",(char *) "v", NULL
24249 };
24250
24251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24253 if (!SWIG_IsOK(res1)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24255 }
24256 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24257 ecode2 = SWIG_AsVal_int(obj1, &val2);
24258 if (!SWIG_IsOK(ecode2)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24260 }
24261 arg2 = static_cast< int >(val2);
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 (arg1)->SetNoCopies(arg2);
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 resultobj = SWIG_Py_Void();
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj = 0;
24277 wxPrintData *arg1 = (wxPrintData *) 0 ;
24278 bool arg2 ;
24279 void *argp1 = 0 ;
24280 int res1 = 0 ;
24281 bool val2 ;
24282 int ecode2 = 0 ;
24283 PyObject * obj0 = 0 ;
24284 PyObject * obj1 = 0 ;
24285 char * kwnames[] = {
24286 (char *) "self",(char *) "flag", NULL
24287 };
24288
24289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24291 if (!SWIG_IsOK(res1)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24293 }
24294 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24295 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24296 if (!SWIG_IsOK(ecode2)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24298 }
24299 arg2 = static_cast< bool >(val2);
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 (arg1)->SetCollate(arg2);
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 resultobj = SWIG_Py_Void();
24307 return resultobj;
24308 fail:
24309 return NULL;
24310 }
24311
24312
24313 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj = 0;
24315 wxPrintData *arg1 = (wxPrintData *) 0 ;
24316 int arg2 ;
24317 void *argp1 = 0 ;
24318 int res1 = 0 ;
24319 int val2 ;
24320 int ecode2 = 0 ;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 char * kwnames[] = {
24324 (char *) "self",(char *) "orient", NULL
24325 };
24326
24327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24329 if (!SWIG_IsOK(res1)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24331 }
24332 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24333 ecode2 = SWIG_AsVal_int(obj1, &val2);
24334 if (!SWIG_IsOK(ecode2)) {
24335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24336 }
24337 arg2 = static_cast< int >(val2);
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 (arg1)->SetOrientation(arg2);
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 resultobj = SWIG_Py_Void();
24345 return resultobj;
24346 fail:
24347 return NULL;
24348 }
24349
24350
24351 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj = 0;
24353 wxPrintData *arg1 = (wxPrintData *) 0 ;
24354 bool arg2 ;
24355 void *argp1 = 0 ;
24356 int res1 = 0 ;
24357 bool val2 ;
24358 int ecode2 = 0 ;
24359 PyObject * obj0 = 0 ;
24360 PyObject * obj1 = 0 ;
24361 char * kwnames[] = {
24362 (char *) "self",(char *) "reversed", NULL
24363 };
24364
24365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24367 if (!SWIG_IsOK(res1)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24369 }
24370 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24371 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24372 if (!SWIG_IsOK(ecode2)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24374 }
24375 arg2 = static_cast< bool >(val2);
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 (arg1)->SetOrientationReversed(arg2);
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 resultobj = SWIG_Py_Void();
24383 return resultobj;
24384 fail:
24385 return NULL;
24386 }
24387
24388
24389 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24390 PyObject *resultobj = 0;
24391 wxPrintData *arg1 = (wxPrintData *) 0 ;
24392 wxString *arg2 = 0 ;
24393 void *argp1 = 0 ;
24394 int res1 = 0 ;
24395 bool temp2 = false ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char * kwnames[] = {
24399 (char *) "self",(char *) "name", NULL
24400 };
24401
24402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 }
24407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24408 {
24409 arg2 = wxString_in_helper(obj1);
24410 if (arg2 == NULL) SWIG_fail;
24411 temp2 = true;
24412 }
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 (arg1)->SetPrinterName((wxString const &)*arg2);
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = SWIG_Py_Void();
24420 {
24421 if (temp2)
24422 delete arg2;
24423 }
24424 return resultobj;
24425 fail:
24426 {
24427 if (temp2)
24428 delete arg2;
24429 }
24430 return NULL;
24431 }
24432
24433
24434 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24435 PyObject *resultobj = 0;
24436 wxPrintData *arg1 = (wxPrintData *) 0 ;
24437 bool arg2 ;
24438 void *argp1 = 0 ;
24439 int res1 = 0 ;
24440 bool val2 ;
24441 int ecode2 = 0 ;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 char * kwnames[] = {
24445 (char *) "self",(char *) "colour", NULL
24446 };
24447
24448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24450 if (!SWIG_IsOK(res1)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24452 }
24453 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24454 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24455 if (!SWIG_IsOK(ecode2)) {
24456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24457 }
24458 arg2 = static_cast< bool >(val2);
24459 {
24460 PyThreadState* __tstate = wxPyBeginAllowThreads();
24461 (arg1)->SetColour(arg2);
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 resultobj = SWIG_Py_Void();
24466 return resultobj;
24467 fail:
24468 return NULL;
24469 }
24470
24471
24472 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24473 PyObject *resultobj = 0;
24474 wxPrintData *arg1 = (wxPrintData *) 0 ;
24475 wxDuplexMode arg2 ;
24476 void *argp1 = 0 ;
24477 int res1 = 0 ;
24478 int val2 ;
24479 int ecode2 = 0 ;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 char * kwnames[] = {
24483 (char *) "self",(char *) "duplex", NULL
24484 };
24485
24486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24488 if (!SWIG_IsOK(res1)) {
24489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24490 }
24491 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24492 ecode2 = SWIG_AsVal_int(obj1, &val2);
24493 if (!SWIG_IsOK(ecode2)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24495 }
24496 arg2 = static_cast< wxDuplexMode >(val2);
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 (arg1)->SetDuplex(arg2);
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 resultobj = SWIG_Py_Void();
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj = 0;
24512 wxPrintData *arg1 = (wxPrintData *) 0 ;
24513 wxPaperSize arg2 ;
24514 void *argp1 = 0 ;
24515 int res1 = 0 ;
24516 int val2 ;
24517 int ecode2 = 0 ;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 char * kwnames[] = {
24521 (char *) "self",(char *) "sizeId", NULL
24522 };
24523
24524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24526 if (!SWIG_IsOK(res1)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24528 }
24529 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24530 ecode2 = SWIG_AsVal_int(obj1, &val2);
24531 if (!SWIG_IsOK(ecode2)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24533 }
24534 arg2 = static_cast< wxPaperSize >(val2);
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 (arg1)->SetPaperId(arg2);
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 resultobj = SWIG_Py_Void();
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj = 0;
24550 wxPrintData *arg1 = (wxPrintData *) 0 ;
24551 wxSize *arg2 = 0 ;
24552 void *argp1 = 0 ;
24553 int res1 = 0 ;
24554 wxSize temp2 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char * kwnames[] = {
24558 (char *) "self",(char *) "sz", NULL
24559 };
24560
24561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24563 if (!SWIG_IsOK(res1)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24565 }
24566 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24567 {
24568 arg2 = &temp2;
24569 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24570 }
24571 {
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 (arg1)->SetPaperSize((wxSize const &)*arg2);
24574 wxPyEndAllowThreads(__tstate);
24575 if (PyErr_Occurred()) SWIG_fail;
24576 }
24577 resultobj = SWIG_Py_Void();
24578 return resultobj;
24579 fail:
24580 return NULL;
24581 }
24582
24583
24584 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24585 PyObject *resultobj = 0;
24586 wxPrintData *arg1 = (wxPrintData *) 0 ;
24587 int arg2 ;
24588 void *argp1 = 0 ;
24589 int res1 = 0 ;
24590 int val2 ;
24591 int ecode2 = 0 ;
24592 PyObject * obj0 = 0 ;
24593 PyObject * obj1 = 0 ;
24594 char * kwnames[] = {
24595 (char *) "self",(char *) "quality", NULL
24596 };
24597
24598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24600 if (!SWIG_IsOK(res1)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24602 }
24603 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24604 ecode2 = SWIG_AsVal_int(obj1, &val2);
24605 if (!SWIG_IsOK(ecode2)) {
24606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24607 }
24608 arg2 = static_cast< int >(val2);
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 (arg1)->SetQuality(arg2);
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 resultobj = SWIG_Py_Void();
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj = 0;
24624 wxPrintData *arg1 = (wxPrintData *) 0 ;
24625 wxPrintBin arg2 ;
24626 void *argp1 = 0 ;
24627 int res1 = 0 ;
24628 int val2 ;
24629 int ecode2 = 0 ;
24630 PyObject * obj0 = 0 ;
24631 PyObject * obj1 = 0 ;
24632 char * kwnames[] = {
24633 (char *) "self",(char *) "bin", NULL
24634 };
24635
24636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24638 if (!SWIG_IsOK(res1)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24640 }
24641 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24642 ecode2 = SWIG_AsVal_int(obj1, &val2);
24643 if (!SWIG_IsOK(ecode2)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24645 }
24646 arg2 = static_cast< wxPrintBin >(val2);
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 (arg1)->SetBin(arg2);
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
24653 resultobj = SWIG_Py_Void();
24654 return resultobj;
24655 fail:
24656 return NULL;
24657 }
24658
24659
24660 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj = 0;
24662 wxPrintData *arg1 = (wxPrintData *) 0 ;
24663 wxPrintMode arg2 ;
24664 void *argp1 = 0 ;
24665 int res1 = 0 ;
24666 int val2 ;
24667 int ecode2 = 0 ;
24668 PyObject * obj0 = 0 ;
24669 PyObject * obj1 = 0 ;
24670 char * kwnames[] = {
24671 (char *) "self",(char *) "printMode", NULL
24672 };
24673
24674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24676 if (!SWIG_IsOK(res1)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24678 }
24679 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24680 ecode2 = SWIG_AsVal_int(obj1, &val2);
24681 if (!SWIG_IsOK(ecode2)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24683 }
24684 arg2 = static_cast< wxPrintMode >(val2);
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 (arg1)->SetPrintMode(arg2);
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = SWIG_Py_Void();
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj = 0;
24700 wxPrintData *arg1 = (wxPrintData *) 0 ;
24701 int arg2 ;
24702 void *argp1 = 0 ;
24703 int res1 = 0 ;
24704 int val2 ;
24705 int ecode2 = 0 ;
24706 PyObject * obj0 = 0 ;
24707 PyObject * obj1 = 0 ;
24708 char * kwnames[] = {
24709 (char *) "self",(char *) "media", NULL
24710 };
24711
24712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24714 if (!SWIG_IsOK(res1)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24716 }
24717 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24718 ecode2 = SWIG_AsVal_int(obj1, &val2);
24719 if (!SWIG_IsOK(ecode2)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24721 }
24722 arg2 = static_cast< int >(val2);
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 (arg1)->SetMedia(arg2);
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 resultobj = SWIG_Py_Void();
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24737 PyObject *resultobj = 0;
24738 wxPrintData *arg1 = (wxPrintData *) 0 ;
24739 wxString result;
24740 void *argp1 = 0 ;
24741 int res1 = 0 ;
24742 PyObject *swig_obj[1] ;
24743
24744 if (!args) SWIG_fail;
24745 swig_obj[0] = args;
24746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24747 if (!SWIG_IsOK(res1)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24749 }
24750 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = ((wxPrintData const *)arg1)->GetFilename();
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 {
24758 #if wxUSE_UNICODE
24759 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24760 #else
24761 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24762 #endif
24763 }
24764 return resultobj;
24765 fail:
24766 return NULL;
24767 }
24768
24769
24770 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24771 PyObject *resultobj = 0;
24772 wxPrintData *arg1 = (wxPrintData *) 0 ;
24773 wxString *arg2 = 0 ;
24774 void *argp1 = 0 ;
24775 int res1 = 0 ;
24776 bool temp2 = false ;
24777 PyObject * obj0 = 0 ;
24778 PyObject * obj1 = 0 ;
24779 char * kwnames[] = {
24780 (char *) "self",(char *) "filename", NULL
24781 };
24782
24783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24785 if (!SWIG_IsOK(res1)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24787 }
24788 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24789 {
24790 arg2 = wxString_in_helper(obj1);
24791 if (arg2 == NULL) SWIG_fail;
24792 temp2 = true;
24793 }
24794 {
24795 PyThreadState* __tstate = wxPyBeginAllowThreads();
24796 (arg1)->SetFilename((wxString const &)*arg2);
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 resultobj = SWIG_Py_Void();
24801 {
24802 if (temp2)
24803 delete arg2;
24804 }
24805 return resultobj;
24806 fail:
24807 {
24808 if (temp2)
24809 delete arg2;
24810 }
24811 return NULL;
24812 }
24813
24814
24815 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24816 PyObject *resultobj = 0;
24817 wxPrintData *arg1 = (wxPrintData *) 0 ;
24818 PyObject *result = 0 ;
24819 void *argp1 = 0 ;
24820 int res1 = 0 ;
24821 PyObject *swig_obj[1] ;
24822
24823 if (!args) SWIG_fail;
24824 swig_obj[0] = args;
24825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24826 if (!SWIG_IsOK(res1)) {
24827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24828 }
24829 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24830 {
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24833 wxPyEndAllowThreads(__tstate);
24834 if (PyErr_Occurred()) SWIG_fail;
24835 }
24836 resultobj = result;
24837 return resultobj;
24838 fail:
24839 return NULL;
24840 }
24841
24842
24843 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj = 0;
24845 wxPrintData *arg1 = (wxPrintData *) 0 ;
24846 PyObject *arg2 = (PyObject *) 0 ;
24847 void *argp1 = 0 ;
24848 int res1 = 0 ;
24849 PyObject * obj0 = 0 ;
24850 PyObject * obj1 = 0 ;
24851 char * kwnames[] = {
24852 (char *) "self",(char *) "data", NULL
24853 };
24854
24855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24857 if (!SWIG_IsOK(res1)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24859 }
24860 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24861 arg2 = obj1;
24862 {
24863 PyThreadState* __tstate = wxPyBeginAllowThreads();
24864 wxPrintData_SetPrivData(arg1,arg2);
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 resultobj = SWIG_Py_Void();
24869 return resultobj;
24870 fail:
24871 return NULL;
24872 }
24873
24874
24875 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24876 PyObject *obj;
24877 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24879 return SWIG_Py_Void();
24880 }
24881
24882 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24883 return SWIG_Python_InitShadowInstance(args);
24884 }
24885
24886 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24887 PyObject *resultobj = 0;
24888 wxPageSetupDialogData *result = 0 ;
24889
24890 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24898 return resultobj;
24899 fail:
24900 return NULL;
24901 }
24902
24903
24904 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24905 PyObject *resultobj = 0;
24906 wxPageSetupDialogData *arg1 = 0 ;
24907 wxPageSetupDialogData *result = 0 ;
24908 void *argp1 = 0 ;
24909 int res1 = 0 ;
24910
24911 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24913 if (!SWIG_IsOK(res1)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24915 }
24916 if (!argp1) {
24917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24918 }
24919 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24923 wxPyEndAllowThreads(__tstate);
24924 if (PyErr_Occurred()) SWIG_fail;
24925 }
24926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24927 return resultobj;
24928 fail:
24929 return NULL;
24930 }
24931
24932
24933 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24934 PyObject *resultobj = 0;
24935 wxPrintData *arg1 = 0 ;
24936 wxPageSetupDialogData *result = 0 ;
24937 void *argp1 = 0 ;
24938 int res1 = 0 ;
24939
24940 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24942 if (!SWIG_IsOK(res1)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24944 }
24945 if (!argp1) {
24946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24947 }
24948 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24963 int argc;
24964 PyObject *argv[2];
24965
24966 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24967 --argc;
24968 if (argc == 0) {
24969 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24970 }
24971 if (argc == 1) {
24972 int _v = 0;
24973 {
24974 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24975 _v = SWIG_CheckState(res);
24976 }
24977 if (!_v) goto check_2;
24978 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24979 }
24980 check_2:
24981
24982 if (argc == 1) {
24983 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24984 }
24985
24986 fail:
24987 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24988 return NULL;
24989 }
24990
24991
24992 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24993 PyObject *resultobj = 0;
24994 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24995 void *argp1 = 0 ;
24996 int res1 = 0 ;
24997 PyObject *swig_obj[1] ;
24998
24999 if (!args) SWIG_fail;
25000 swig_obj[0] = args;
25001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25002 if (!SWIG_IsOK(res1)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25004 }
25005 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25006 {
25007 PyThreadState* __tstate = wxPyBeginAllowThreads();
25008 delete arg1;
25009
25010 wxPyEndAllowThreads(__tstate);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 }
25013 resultobj = SWIG_Py_Void();
25014 return resultobj;
25015 fail:
25016 return NULL;
25017 }
25018
25019
25020 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25021 PyObject *resultobj = 0;
25022 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25023 bool arg2 ;
25024 void *argp1 = 0 ;
25025 int res1 = 0 ;
25026 bool val2 ;
25027 int ecode2 = 0 ;
25028 PyObject * obj0 = 0 ;
25029 PyObject * obj1 = 0 ;
25030 char * kwnames[] = {
25031 (char *) "self",(char *) "flag", NULL
25032 };
25033
25034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25036 if (!SWIG_IsOK(res1)) {
25037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25038 }
25039 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25040 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25041 if (!SWIG_IsOK(ecode2)) {
25042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25043 }
25044 arg2 = static_cast< bool >(val2);
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 (arg1)->EnableHelp(arg2);
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
25051 resultobj = SWIG_Py_Void();
25052 return resultobj;
25053 fail:
25054 return NULL;
25055 }
25056
25057
25058 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25059 PyObject *resultobj = 0;
25060 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25061 bool arg2 ;
25062 void *argp1 = 0 ;
25063 int res1 = 0 ;
25064 bool val2 ;
25065 int ecode2 = 0 ;
25066 PyObject * obj0 = 0 ;
25067 PyObject * obj1 = 0 ;
25068 char * kwnames[] = {
25069 (char *) "self",(char *) "flag", NULL
25070 };
25071
25072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25074 if (!SWIG_IsOK(res1)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25076 }
25077 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25078 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25079 if (!SWIG_IsOK(ecode2)) {
25080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25081 }
25082 arg2 = static_cast< bool >(val2);
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 (arg1)->EnableMargins(arg2);
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 resultobj = SWIG_Py_Void();
25090 return resultobj;
25091 fail:
25092 return NULL;
25093 }
25094
25095
25096 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25097 PyObject *resultobj = 0;
25098 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25099 bool arg2 ;
25100 void *argp1 = 0 ;
25101 int res1 = 0 ;
25102 bool val2 ;
25103 int ecode2 = 0 ;
25104 PyObject * obj0 = 0 ;
25105 PyObject * obj1 = 0 ;
25106 char * kwnames[] = {
25107 (char *) "self",(char *) "flag", NULL
25108 };
25109
25110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25112 if (!SWIG_IsOK(res1)) {
25113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25114 }
25115 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25116 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25117 if (!SWIG_IsOK(ecode2)) {
25118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25119 }
25120 arg2 = static_cast< bool >(val2);
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 (arg1)->EnableOrientation(arg2);
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 resultobj = SWIG_Py_Void();
25128 return resultobj;
25129 fail:
25130 return NULL;
25131 }
25132
25133
25134 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj = 0;
25136 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25137 bool arg2 ;
25138 void *argp1 = 0 ;
25139 int res1 = 0 ;
25140 bool val2 ;
25141 int ecode2 = 0 ;
25142 PyObject * obj0 = 0 ;
25143 PyObject * obj1 = 0 ;
25144 char * kwnames[] = {
25145 (char *) "self",(char *) "flag", NULL
25146 };
25147
25148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25150 if (!SWIG_IsOK(res1)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25152 }
25153 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25154 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25155 if (!SWIG_IsOK(ecode2)) {
25156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25157 }
25158 arg2 = static_cast< bool >(val2);
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 (arg1)->EnablePaper(arg2);
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = SWIG_Py_Void();
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj = 0;
25174 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25175 bool arg2 ;
25176 void *argp1 = 0 ;
25177 int res1 = 0 ;
25178 bool val2 ;
25179 int ecode2 = 0 ;
25180 PyObject * obj0 = 0 ;
25181 PyObject * obj1 = 0 ;
25182 char * kwnames[] = {
25183 (char *) "self",(char *) "flag", NULL
25184 };
25185
25186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25188 if (!SWIG_IsOK(res1)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25190 }
25191 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25192 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25193 if (!SWIG_IsOK(ecode2)) {
25194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25195 }
25196 arg2 = static_cast< bool >(val2);
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 (arg1)->EnablePrinter(arg2);
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 resultobj = SWIG_Py_Void();
25204 return resultobj;
25205 fail:
25206 return NULL;
25207 }
25208
25209
25210 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25211 PyObject *resultobj = 0;
25212 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25213 bool result;
25214 void *argp1 = 0 ;
25215 int res1 = 0 ;
25216 PyObject *swig_obj[1] ;
25217
25218 if (!args) SWIG_fail;
25219 swig_obj[0] = args;
25220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25221 if (!SWIG_IsOK(res1)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25223 }
25224 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25225 {
25226 PyThreadState* __tstate = wxPyBeginAllowThreads();
25227 result = (bool)(arg1)->GetDefaultMinMargins();
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 {
25232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25233 }
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25241 PyObject *resultobj = 0;
25242 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25243 bool result;
25244 void *argp1 = 0 ;
25245 int res1 = 0 ;
25246 PyObject *swig_obj[1] ;
25247
25248 if (!args) SWIG_fail;
25249 swig_obj[0] = args;
25250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25251 if (!SWIG_IsOK(res1)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25253 }
25254 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = (bool)(arg1)->GetEnableMargins();
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 {
25262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25263 }
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25271 PyObject *resultobj = 0;
25272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25273 bool result;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 PyObject *swig_obj[1] ;
25277
25278 if (!args) SWIG_fail;
25279 swig_obj[0] = args;
25280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 }
25284 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25285 {
25286 PyThreadState* __tstate = wxPyBeginAllowThreads();
25287 result = (bool)(arg1)->GetEnableOrientation();
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 {
25292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25293 }
25294 return resultobj;
25295 fail:
25296 return NULL;
25297 }
25298
25299
25300 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25301 PyObject *resultobj = 0;
25302 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25303 bool result;
25304 void *argp1 = 0 ;
25305 int res1 = 0 ;
25306 PyObject *swig_obj[1] ;
25307
25308 if (!args) SWIG_fail;
25309 swig_obj[0] = args;
25310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25311 if (!SWIG_IsOK(res1)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25313 }
25314 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 result = (bool)(arg1)->GetEnablePaper();
25318 wxPyEndAllowThreads(__tstate);
25319 if (PyErr_Occurred()) SWIG_fail;
25320 }
25321 {
25322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25323 }
25324 return resultobj;
25325 fail:
25326 return NULL;
25327 }
25328
25329
25330 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25331 PyObject *resultobj = 0;
25332 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25333 bool result;
25334 void *argp1 = 0 ;
25335 int res1 = 0 ;
25336 PyObject *swig_obj[1] ;
25337
25338 if (!args) SWIG_fail;
25339 swig_obj[0] = args;
25340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25341 if (!SWIG_IsOK(res1)) {
25342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25343 }
25344 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25345 {
25346 PyThreadState* __tstate = wxPyBeginAllowThreads();
25347 result = (bool)(arg1)->GetEnablePrinter();
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 {
25352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25353 }
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25361 PyObject *resultobj = 0;
25362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25363 bool result;
25364 void *argp1 = 0 ;
25365 int res1 = 0 ;
25366 PyObject *swig_obj[1] ;
25367
25368 if (!args) SWIG_fail;
25369 swig_obj[0] = args;
25370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25371 if (!SWIG_IsOK(res1)) {
25372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25373 }
25374 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25375 {
25376 PyThreadState* __tstate = wxPyBeginAllowThreads();
25377 result = (bool)(arg1)->GetEnableHelp();
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 {
25382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25383 }
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25391 PyObject *resultobj = 0;
25392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25393 bool result;
25394 void *argp1 = 0 ;
25395 int res1 = 0 ;
25396 PyObject *swig_obj[1] ;
25397
25398 if (!args) SWIG_fail;
25399 swig_obj[0] = args;
25400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25401 if (!SWIG_IsOK(res1)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25403 }
25404 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 result = (bool)(arg1)->GetDefaultInfo();
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
25411 {
25412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25413 }
25414 return resultobj;
25415 fail:
25416 return NULL;
25417 }
25418
25419
25420 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25421 PyObject *resultobj = 0;
25422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25423 wxPoint result;
25424 void *argp1 = 0 ;
25425 int res1 = 0 ;
25426 PyObject *swig_obj[1] ;
25427
25428 if (!args) SWIG_fail;
25429 swig_obj[0] = args;
25430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25431 if (!SWIG_IsOK(res1)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25433 }
25434 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25435 {
25436 PyThreadState* __tstate = wxPyBeginAllowThreads();
25437 result = (arg1)->GetMarginTopLeft();
25438 wxPyEndAllowThreads(__tstate);
25439 if (PyErr_Occurred()) SWIG_fail;
25440 }
25441 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25442 return resultobj;
25443 fail:
25444 return NULL;
25445 }
25446
25447
25448 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25449 PyObject *resultobj = 0;
25450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25451 wxPoint result;
25452 void *argp1 = 0 ;
25453 int res1 = 0 ;
25454 PyObject *swig_obj[1] ;
25455
25456 if (!args) SWIG_fail;
25457 swig_obj[0] = args;
25458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25459 if (!SWIG_IsOK(res1)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25461 }
25462 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25463 {
25464 PyThreadState* __tstate = wxPyBeginAllowThreads();
25465 result = (arg1)->GetMarginBottomRight();
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25470 return resultobj;
25471 fail:
25472 return NULL;
25473 }
25474
25475
25476 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25477 PyObject *resultobj = 0;
25478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25479 wxPoint result;
25480 void *argp1 = 0 ;
25481 int res1 = 0 ;
25482 PyObject *swig_obj[1] ;
25483
25484 if (!args) SWIG_fail;
25485 swig_obj[0] = args;
25486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25487 if (!SWIG_IsOK(res1)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25489 }
25490 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (arg1)->GetMinMarginTopLeft();
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25498 return resultobj;
25499 fail:
25500 return NULL;
25501 }
25502
25503
25504 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25505 PyObject *resultobj = 0;
25506 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25507 wxPoint result;
25508 void *argp1 = 0 ;
25509 int res1 = 0 ;
25510 PyObject *swig_obj[1] ;
25511
25512 if (!args) SWIG_fail;
25513 swig_obj[0] = args;
25514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25515 if (!SWIG_IsOK(res1)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25517 }
25518 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 result = (arg1)->GetMinMarginBottomRight();
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25526 return resultobj;
25527 fail:
25528 return NULL;
25529 }
25530
25531
25532 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25533 PyObject *resultobj = 0;
25534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25535 wxPaperSize result;
25536 void *argp1 = 0 ;
25537 int res1 = 0 ;
25538 PyObject *swig_obj[1] ;
25539
25540 if (!args) SWIG_fail;
25541 swig_obj[0] = args;
25542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25543 if (!SWIG_IsOK(res1)) {
25544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25545 }
25546 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 result = (wxPaperSize)(arg1)->GetPaperId();
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 resultobj = SWIG_From_int(static_cast< int >(result));
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25561 PyObject *resultobj = 0;
25562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25563 wxSize result;
25564 void *argp1 = 0 ;
25565 int res1 = 0 ;
25566 PyObject *swig_obj[1] ;
25567
25568 if (!args) SWIG_fail;
25569 swig_obj[0] = args;
25570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25571 if (!SWIG_IsOK(res1)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25573 }
25574 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 result = (arg1)->GetPaperSize();
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
25581 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25582 return resultobj;
25583 fail:
25584 return NULL;
25585 }
25586
25587
25588 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25589 PyObject *resultobj = 0;
25590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25591 wxPrintData *result = 0 ;
25592 void *argp1 = 0 ;
25593 int res1 = 0 ;
25594 PyObject *swig_obj[1] ;
25595
25596 if (!args) SWIG_fail;
25597 swig_obj[0] = args;
25598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25599 if (!SWIG_IsOK(res1)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25601 }
25602 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25603 {
25604 PyThreadState* __tstate = wxPyBeginAllowThreads();
25605 {
25606 wxPrintData &_result_ref = (arg1)->GetPrintData();
25607 result = (wxPrintData *) &_result_ref;
25608 }
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25613 return resultobj;
25614 fail:
25615 return NULL;
25616 }
25617
25618
25619 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25620 PyObject *resultobj = 0;
25621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25622 bool result;
25623 void *argp1 = 0 ;
25624 int res1 = 0 ;
25625 PyObject *swig_obj[1] ;
25626
25627 if (!args) SWIG_fail;
25628 swig_obj[0] = args;
25629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25630 if (!SWIG_IsOK(res1)) {
25631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25632 }
25633 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 result = (bool)(arg1)->IsOk();
25637 wxPyEndAllowThreads(__tstate);
25638 if (PyErr_Occurred()) SWIG_fail;
25639 }
25640 {
25641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25642 }
25643 return resultobj;
25644 fail:
25645 return NULL;
25646 }
25647
25648
25649 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25650 PyObject *resultobj = 0;
25651 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25652 bool arg2 ;
25653 void *argp1 = 0 ;
25654 int res1 = 0 ;
25655 bool val2 ;
25656 int ecode2 = 0 ;
25657 PyObject * obj0 = 0 ;
25658 PyObject * obj1 = 0 ;
25659 char * kwnames[] = {
25660 (char *) "self",(char *) "flag", NULL
25661 };
25662
25663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25665 if (!SWIG_IsOK(res1)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25667 }
25668 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25669 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25670 if (!SWIG_IsOK(ecode2)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25672 }
25673 arg2 = static_cast< bool >(val2);
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 (arg1)->SetDefaultInfo(arg2);
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 resultobj = SWIG_Py_Void();
25681 return resultobj;
25682 fail:
25683 return NULL;
25684 }
25685
25686
25687 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj = 0;
25689 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25690 bool arg2 ;
25691 void *argp1 = 0 ;
25692 int res1 = 0 ;
25693 bool val2 ;
25694 int ecode2 = 0 ;
25695 PyObject * obj0 = 0 ;
25696 PyObject * obj1 = 0 ;
25697 char * kwnames[] = {
25698 (char *) "self",(char *) "flag", NULL
25699 };
25700
25701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25703 if (!SWIG_IsOK(res1)) {
25704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25705 }
25706 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25707 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25708 if (!SWIG_IsOK(ecode2)) {
25709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25710 }
25711 arg2 = static_cast< bool >(val2);
25712 {
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 (arg1)->SetDefaultMinMargins(arg2);
25715 wxPyEndAllowThreads(__tstate);
25716 if (PyErr_Occurred()) SWIG_fail;
25717 }
25718 resultobj = SWIG_Py_Void();
25719 return resultobj;
25720 fail:
25721 return NULL;
25722 }
25723
25724
25725 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25726 PyObject *resultobj = 0;
25727 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25728 wxPoint *arg2 = 0 ;
25729 void *argp1 = 0 ;
25730 int res1 = 0 ;
25731 wxPoint temp2 ;
25732 PyObject * obj0 = 0 ;
25733 PyObject * obj1 = 0 ;
25734 char * kwnames[] = {
25735 (char *) "self",(char *) "pt", NULL
25736 };
25737
25738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25740 if (!SWIG_IsOK(res1)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25742 }
25743 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25744 {
25745 arg2 = &temp2;
25746 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25747 }
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = SWIG_Py_Void();
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj = 0;
25763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25764 wxPoint *arg2 = 0 ;
25765 void *argp1 = 0 ;
25766 int res1 = 0 ;
25767 wxPoint temp2 ;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 char * kwnames[] = {
25771 (char *) "self",(char *) "pt", NULL
25772 };
25773
25774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25776 if (!SWIG_IsOK(res1)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25778 }
25779 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25780 {
25781 arg2 = &temp2;
25782 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25783 }
25784 {
25785 PyThreadState* __tstate = wxPyBeginAllowThreads();
25786 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25787 wxPyEndAllowThreads(__tstate);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 resultobj = SWIG_Py_Void();
25791 return resultobj;
25792 fail:
25793 return NULL;
25794 }
25795
25796
25797 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25798 PyObject *resultobj = 0;
25799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25800 wxPoint *arg2 = 0 ;
25801 void *argp1 = 0 ;
25802 int res1 = 0 ;
25803 wxPoint temp2 ;
25804 PyObject * obj0 = 0 ;
25805 PyObject * obj1 = 0 ;
25806 char * kwnames[] = {
25807 (char *) "self",(char *) "pt", NULL
25808 };
25809
25810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25812 if (!SWIG_IsOK(res1)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25814 }
25815 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25816 {
25817 arg2 = &temp2;
25818 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25819 }
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 resultobj = SWIG_Py_Void();
25827 return resultobj;
25828 fail:
25829 return NULL;
25830 }
25831
25832
25833 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj = 0;
25835 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25836 wxPoint *arg2 = 0 ;
25837 void *argp1 = 0 ;
25838 int res1 = 0 ;
25839 wxPoint temp2 ;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj1 = 0 ;
25842 char * kwnames[] = {
25843 (char *) "self",(char *) "pt", NULL
25844 };
25845
25846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25848 if (!SWIG_IsOK(res1)) {
25849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25850 }
25851 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25852 {
25853 arg2 = &temp2;
25854 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25855 }
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25859 wxPyEndAllowThreads(__tstate);
25860 if (PyErr_Occurred()) SWIG_fail;
25861 }
25862 resultobj = SWIG_Py_Void();
25863 return resultobj;
25864 fail:
25865 return NULL;
25866 }
25867
25868
25869 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25870 PyObject *resultobj = 0;
25871 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25872 wxPaperSize arg2 ;
25873 void *argp1 = 0 ;
25874 int res1 = 0 ;
25875 int val2 ;
25876 int ecode2 = 0 ;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 char * kwnames[] = {
25880 (char *) "self",(char *) "id", NULL
25881 };
25882
25883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25885 if (!SWIG_IsOK(res1)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25887 }
25888 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25889 ecode2 = SWIG_AsVal_int(obj1, &val2);
25890 if (!SWIG_IsOK(ecode2)) {
25891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25892 }
25893 arg2 = static_cast< wxPaperSize >(val2);
25894 {
25895 PyThreadState* __tstate = wxPyBeginAllowThreads();
25896 (arg1)->SetPaperId(arg2);
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 resultobj = SWIG_Py_Void();
25901 return resultobj;
25902 fail:
25903 return NULL;
25904 }
25905
25906
25907 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25908 PyObject *resultobj = 0;
25909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25910 wxSize *arg2 = 0 ;
25911 void *argp1 = 0 ;
25912 int res1 = 0 ;
25913 wxSize temp2 ;
25914 PyObject * obj0 = 0 ;
25915 PyObject * obj1 = 0 ;
25916 char * kwnames[] = {
25917 (char *) "self",(char *) "size", NULL
25918 };
25919
25920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25922 if (!SWIG_IsOK(res1)) {
25923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25924 }
25925 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25926 {
25927 arg2 = &temp2;
25928 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25929 }
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 (arg1)->SetPaperSize((wxSize const &)*arg2);
25933 wxPyEndAllowThreads(__tstate);
25934 if (PyErr_Occurred()) SWIG_fail;
25935 }
25936 resultobj = SWIG_Py_Void();
25937 return resultobj;
25938 fail:
25939 return NULL;
25940 }
25941
25942
25943 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25944 PyObject *resultobj = 0;
25945 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25946 wxPrintData *arg2 = 0 ;
25947 void *argp1 = 0 ;
25948 int res1 = 0 ;
25949 void *argp2 = 0 ;
25950 int res2 = 0 ;
25951 PyObject * obj0 = 0 ;
25952 PyObject * obj1 = 0 ;
25953 char * kwnames[] = {
25954 (char *) "self",(char *) "printData", NULL
25955 };
25956
25957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25959 if (!SWIG_IsOK(res1)) {
25960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25961 }
25962 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25963 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25964 if (!SWIG_IsOK(res2)) {
25965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25966 }
25967 if (!argp2) {
25968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25969 }
25970 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25971 {
25972 PyThreadState* __tstate = wxPyBeginAllowThreads();
25973 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 resultobj = SWIG_Py_Void();
25978 return resultobj;
25979 fail:
25980 return NULL;
25981 }
25982
25983
25984 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25985 PyObject *resultobj = 0;
25986 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25987 void *argp1 = 0 ;
25988 int res1 = 0 ;
25989 PyObject *swig_obj[1] ;
25990
25991 if (!args) SWIG_fail;
25992 swig_obj[0] = args;
25993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25994 if (!SWIG_IsOK(res1)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25996 }
25997 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 (arg1)->CalculateIdFromPaperSize();
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 resultobj = SWIG_Py_Void();
26005 return resultobj;
26006 fail:
26007 return NULL;
26008 }
26009
26010
26011 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26012 PyObject *resultobj = 0;
26013 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26014 void *argp1 = 0 ;
26015 int res1 = 0 ;
26016 PyObject *swig_obj[1] ;
26017
26018 if (!args) SWIG_fail;
26019 swig_obj[0] = args;
26020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26021 if (!SWIG_IsOK(res1)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26023 }
26024 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 (arg1)->CalculatePaperSizeFromId();
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 resultobj = SWIG_Py_Void();
26032 return resultobj;
26033 fail:
26034 return NULL;
26035 }
26036
26037
26038 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26039 PyObject *obj;
26040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26042 return SWIG_Py_Void();
26043 }
26044
26045 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26046 return SWIG_Python_InitShadowInstance(args);
26047 }
26048
26049 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26050 PyObject *resultobj = 0;
26051 wxWindow *arg1 = (wxWindow *) 0 ;
26052 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26053 wxPageSetupDialog *result = 0 ;
26054 void *argp1 = 0 ;
26055 int res1 = 0 ;
26056 void *argp2 = 0 ;
26057 int res2 = 0 ;
26058 PyObject * obj0 = 0 ;
26059 PyObject * obj1 = 0 ;
26060 char * kwnames[] = {
26061 (char *) "parent",(char *) "data", NULL
26062 };
26063
26064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26066 if (!SWIG_IsOK(res1)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26068 }
26069 arg1 = reinterpret_cast< wxWindow * >(argp1);
26070 if (obj1) {
26071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26072 if (!SWIG_IsOK(res2)) {
26073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26074 }
26075 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26076 }
26077 {
26078 if (!wxPyCheckForApp()) SWIG_fail;
26079 PyThreadState* __tstate = wxPyBeginAllowThreads();
26080 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26081 wxPyEndAllowThreads(__tstate);
26082 if (PyErr_Occurred()) SWIG_fail;
26083 }
26084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26085 return resultobj;
26086 fail:
26087 return NULL;
26088 }
26089
26090
26091 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26092 PyObject *resultobj = 0;
26093 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26094 void *argp1 = 0 ;
26095 int res1 = 0 ;
26096 PyObject *swig_obj[1] ;
26097
26098 if (!args) SWIG_fail;
26099 swig_obj[0] = args;
26100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26101 if (!SWIG_IsOK(res1)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26103 }
26104 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 delete arg1;
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 resultobj = SWIG_Py_Void();
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26120 PyObject *resultobj = 0;
26121 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26122 wxPageSetupDialogData *result = 0 ;
26123 void *argp1 = 0 ;
26124 int res1 = 0 ;
26125 PyObject *swig_obj[1] ;
26126
26127 if (!args) SWIG_fail;
26128 swig_obj[0] = args;
26129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26132 }
26133 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26134 {
26135 PyThreadState* __tstate = wxPyBeginAllowThreads();
26136 {
26137 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26138 result = (wxPageSetupDialogData *) &_result_ref;
26139 }
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26144 return resultobj;
26145 fail:
26146 return NULL;
26147 }
26148
26149
26150 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26151 PyObject *resultobj = 0;
26152 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26153 wxPageSetupDialogData *result = 0 ;
26154 void *argp1 = 0 ;
26155 int res1 = 0 ;
26156 PyObject *swig_obj[1] ;
26157
26158 if (!args) SWIG_fail;
26159 swig_obj[0] = args;
26160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26161 if (!SWIG_IsOK(res1)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26163 }
26164 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 {
26168 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26169 result = (wxPageSetupDialogData *) &_result_ref;
26170 }
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26175 return resultobj;
26176 fail:
26177 return NULL;
26178 }
26179
26180
26181 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26182 PyObject *resultobj = 0;
26183 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26184 int result;
26185 void *argp1 = 0 ;
26186 int res1 = 0 ;
26187 PyObject *swig_obj[1] ;
26188
26189 if (!args) SWIG_fail;
26190 swig_obj[0] = args;
26191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26192 if (!SWIG_IsOK(res1)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26194 }
26195 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 result = (int)(arg1)->ShowModal();
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 resultobj = SWIG_From_int(static_cast< int >(result));
26203 return resultobj;
26204 fail:
26205 return NULL;
26206 }
26207
26208
26209 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26210 PyObject *obj;
26211 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26212 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26213 return SWIG_Py_Void();
26214 }
26215
26216 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26217 return SWIG_Python_InitShadowInstance(args);
26218 }
26219
26220 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26221 PyObject *resultobj = 0;
26222 wxPrintDialogData *result = 0 ;
26223
26224 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 result = (wxPrintDialogData *)new wxPrintDialogData();
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26232 return resultobj;
26233 fail:
26234 return NULL;
26235 }
26236
26237
26238 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26239 PyObject *resultobj = 0;
26240 wxPrintData *arg1 = 0 ;
26241 wxPrintDialogData *result = 0 ;
26242 void *argp1 = 0 ;
26243 int res1 = 0 ;
26244
26245 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26247 if (!SWIG_IsOK(res1)) {
26248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26249 }
26250 if (!argp1) {
26251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26252 }
26253 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26261 return resultobj;
26262 fail:
26263 return NULL;
26264 }
26265
26266
26267 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26268 PyObject *resultobj = 0;
26269 wxPrintDialogData *arg1 = 0 ;
26270 wxPrintDialogData *result = 0 ;
26271 void *argp1 = 0 ;
26272 int res1 = 0 ;
26273
26274 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26276 if (!SWIG_IsOK(res1)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26278 }
26279 if (!argp1) {
26280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26281 }
26282 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26283 {
26284 PyThreadState* __tstate = wxPyBeginAllowThreads();
26285 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26290 return resultobj;
26291 fail:
26292 return NULL;
26293 }
26294
26295
26296 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26297 int argc;
26298 PyObject *argv[2];
26299
26300 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26301 --argc;
26302 if (argc == 0) {
26303 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26304 }
26305 if (argc == 1) {
26306 int _v = 0;
26307 {
26308 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26309 _v = SWIG_CheckState(res);
26310 }
26311 if (!_v) goto check_2;
26312 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26313 }
26314 check_2:
26315
26316 if (argc == 1) {
26317 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26318 }
26319
26320 fail:
26321 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26322 return NULL;
26323 }
26324
26325
26326 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26327 PyObject *resultobj = 0;
26328 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26329 void *argp1 = 0 ;
26330 int res1 = 0 ;
26331 PyObject *swig_obj[1] ;
26332
26333 if (!args) SWIG_fail;
26334 swig_obj[0] = args;
26335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26336 if (!SWIG_IsOK(res1)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26338 }
26339 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 delete arg1;
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 resultobj = SWIG_Py_Void();
26348 return resultobj;
26349 fail:
26350 return NULL;
26351 }
26352
26353
26354 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26355 PyObject *resultobj = 0;
26356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26357 int result;
26358 void *argp1 = 0 ;
26359 int res1 = 0 ;
26360 PyObject *swig_obj[1] ;
26361
26362 if (!args) SWIG_fail;
26363 swig_obj[0] = args;
26364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26365 if (!SWIG_IsOK(res1)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26367 }
26368 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26369 {
26370 PyThreadState* __tstate = wxPyBeginAllowThreads();
26371 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26372 wxPyEndAllowThreads(__tstate);
26373 if (PyErr_Occurred()) SWIG_fail;
26374 }
26375 resultobj = SWIG_From_int(static_cast< int >(result));
26376 return resultobj;
26377 fail:
26378 return NULL;
26379 }
26380
26381
26382 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26383 PyObject *resultobj = 0;
26384 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26385 int result;
26386 void *argp1 = 0 ;
26387 int res1 = 0 ;
26388 PyObject *swig_obj[1] ;
26389
26390 if (!args) SWIG_fail;
26391 swig_obj[0] = args;
26392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26393 if (!SWIG_IsOK(res1)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26395 }
26396 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26400 wxPyEndAllowThreads(__tstate);
26401 if (PyErr_Occurred()) SWIG_fail;
26402 }
26403 resultobj = SWIG_From_int(static_cast< int >(result));
26404 return resultobj;
26405 fail:
26406 return NULL;
26407 }
26408
26409
26410 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26411 PyObject *resultobj = 0;
26412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26413 int result;
26414 void *argp1 = 0 ;
26415 int res1 = 0 ;
26416 PyObject *swig_obj[1] ;
26417
26418 if (!args) SWIG_fail;
26419 swig_obj[0] = args;
26420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26421 if (!SWIG_IsOK(res1)) {
26422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26423 }
26424 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
26427 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26428 wxPyEndAllowThreads(__tstate);
26429 if (PyErr_Occurred()) SWIG_fail;
26430 }
26431 resultobj = SWIG_From_int(static_cast< int >(result));
26432 return resultobj;
26433 fail:
26434 return NULL;
26435 }
26436
26437
26438 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26439 PyObject *resultobj = 0;
26440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26441 int result;
26442 void *argp1 = 0 ;
26443 int res1 = 0 ;
26444 PyObject *swig_obj[1] ;
26445
26446 if (!args) SWIG_fail;
26447 swig_obj[0] = args;
26448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 resultobj = SWIG_From_int(static_cast< int >(result));
26460 return resultobj;
26461 fail:
26462 return NULL;
26463 }
26464
26465
26466 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26467 PyObject *resultobj = 0;
26468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26469 int result;
26470 void *argp1 = 0 ;
26471 int res1 = 0 ;
26472 PyObject *swig_obj[1] ;
26473
26474 if (!args) SWIG_fail;
26475 swig_obj[0] = args;
26476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26477 if (!SWIG_IsOK(res1)) {
26478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26479 }
26480 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = SWIG_From_int(static_cast< int >(result));
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26495 PyObject *resultobj = 0;
26496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26497 bool result;
26498 void *argp1 = 0 ;
26499 int res1 = 0 ;
26500 PyObject *swig_obj[1] ;
26501
26502 if (!args) SWIG_fail;
26503 swig_obj[0] = args;
26504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26505 if (!SWIG_IsOK(res1)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26507 }
26508 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 {
26516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26517 }
26518 return resultobj;
26519 fail:
26520 return NULL;
26521 }
26522
26523
26524 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26525 PyObject *resultobj = 0;
26526 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26527 bool result;
26528 void *argp1 = 0 ;
26529 int res1 = 0 ;
26530 PyObject *swig_obj[1] ;
26531
26532 if (!args) SWIG_fail;
26533 swig_obj[0] = args;
26534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26535 if (!SWIG_IsOK(res1)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26537 }
26538 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 {
26546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26547 }
26548 return resultobj;
26549 fail:
26550 return NULL;
26551 }
26552
26553
26554 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26555 PyObject *resultobj = 0;
26556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26557 bool result;
26558 void *argp1 = 0 ;
26559 int res1 = 0 ;
26560 PyObject *swig_obj[1] ;
26561
26562 if (!args) SWIG_fail;
26563 swig_obj[0] = args;
26564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26565 if (!SWIG_IsOK(res1)) {
26566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26567 }
26568 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 {
26576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26577 }
26578 return resultobj;
26579 fail:
26580 return NULL;
26581 }
26582
26583
26584 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26585 PyObject *resultobj = 0;
26586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26587 bool result;
26588 void *argp1 = 0 ;
26589 int res1 = 0 ;
26590 PyObject *swig_obj[1] ;
26591
26592 if (!args) SWIG_fail;
26593 swig_obj[0] = args;
26594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26595 if (!SWIG_IsOK(res1)) {
26596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26597 }
26598 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 {
26606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26607 }
26608 return resultobj;
26609 fail:
26610 return NULL;
26611 }
26612
26613
26614 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26615 PyObject *resultobj = 0;
26616 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26617 int arg2 ;
26618 void *argp1 = 0 ;
26619 int res1 = 0 ;
26620 int val2 ;
26621 int ecode2 = 0 ;
26622 PyObject * obj0 = 0 ;
26623 PyObject * obj1 = 0 ;
26624 char * kwnames[] = {
26625 (char *) "self",(char *) "v", NULL
26626 };
26627
26628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26630 if (!SWIG_IsOK(res1)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26632 }
26633 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26634 ecode2 = SWIG_AsVal_int(obj1, &val2);
26635 if (!SWIG_IsOK(ecode2)) {
26636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26637 }
26638 arg2 = static_cast< int >(val2);
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 (arg1)->SetFromPage(arg2);
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 resultobj = SWIG_Py_Void();
26646 return resultobj;
26647 fail:
26648 return NULL;
26649 }
26650
26651
26652 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26653 PyObject *resultobj = 0;
26654 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26655 int arg2 ;
26656 void *argp1 = 0 ;
26657 int res1 = 0 ;
26658 int val2 ;
26659 int ecode2 = 0 ;
26660 PyObject * obj0 = 0 ;
26661 PyObject * obj1 = 0 ;
26662 char * kwnames[] = {
26663 (char *) "self",(char *) "v", NULL
26664 };
26665
26666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26668 if (!SWIG_IsOK(res1)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26670 }
26671 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26672 ecode2 = SWIG_AsVal_int(obj1, &val2);
26673 if (!SWIG_IsOK(ecode2)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26675 }
26676 arg2 = static_cast< int >(val2);
26677 {
26678 PyThreadState* __tstate = wxPyBeginAllowThreads();
26679 (arg1)->SetToPage(arg2);
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 resultobj = SWIG_Py_Void();
26684 return resultobj;
26685 fail:
26686 return NULL;
26687 }
26688
26689
26690 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26691 PyObject *resultobj = 0;
26692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26693 int arg2 ;
26694 void *argp1 = 0 ;
26695 int res1 = 0 ;
26696 int val2 ;
26697 int ecode2 = 0 ;
26698 PyObject * obj0 = 0 ;
26699 PyObject * obj1 = 0 ;
26700 char * kwnames[] = {
26701 (char *) "self",(char *) "v", NULL
26702 };
26703
26704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26706 if (!SWIG_IsOK(res1)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26708 }
26709 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26710 ecode2 = SWIG_AsVal_int(obj1, &val2);
26711 if (!SWIG_IsOK(ecode2)) {
26712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26713 }
26714 arg2 = static_cast< int >(val2);
26715 {
26716 PyThreadState* __tstate = wxPyBeginAllowThreads();
26717 (arg1)->SetMinPage(arg2);
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 resultobj = SWIG_Py_Void();
26722 return resultobj;
26723 fail:
26724 return NULL;
26725 }
26726
26727
26728 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26729 PyObject *resultobj = 0;
26730 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26731 int arg2 ;
26732 void *argp1 = 0 ;
26733 int res1 = 0 ;
26734 int val2 ;
26735 int ecode2 = 0 ;
26736 PyObject * obj0 = 0 ;
26737 PyObject * obj1 = 0 ;
26738 char * kwnames[] = {
26739 (char *) "self",(char *) "v", NULL
26740 };
26741
26742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26744 if (!SWIG_IsOK(res1)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26746 }
26747 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26748 ecode2 = SWIG_AsVal_int(obj1, &val2);
26749 if (!SWIG_IsOK(ecode2)) {
26750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26751 }
26752 arg2 = static_cast< int >(val2);
26753 {
26754 PyThreadState* __tstate = wxPyBeginAllowThreads();
26755 (arg1)->SetMaxPage(arg2);
26756 wxPyEndAllowThreads(__tstate);
26757 if (PyErr_Occurred()) SWIG_fail;
26758 }
26759 resultobj = SWIG_Py_Void();
26760 return resultobj;
26761 fail:
26762 return NULL;
26763 }
26764
26765
26766 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26767 PyObject *resultobj = 0;
26768 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26769 int arg2 ;
26770 void *argp1 = 0 ;
26771 int res1 = 0 ;
26772 int val2 ;
26773 int ecode2 = 0 ;
26774 PyObject * obj0 = 0 ;
26775 PyObject * obj1 = 0 ;
26776 char * kwnames[] = {
26777 (char *) "self",(char *) "v", NULL
26778 };
26779
26780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26782 if (!SWIG_IsOK(res1)) {
26783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26784 }
26785 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26786 ecode2 = SWIG_AsVal_int(obj1, &val2);
26787 if (!SWIG_IsOK(ecode2)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26789 }
26790 arg2 = static_cast< int >(val2);
26791 {
26792 PyThreadState* __tstate = wxPyBeginAllowThreads();
26793 (arg1)->SetNoCopies(arg2);
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 resultobj = SWIG_Py_Void();
26798 return resultobj;
26799 fail:
26800 return NULL;
26801 }
26802
26803
26804 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj = 0;
26806 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26807 bool arg2 ;
26808 void *argp1 = 0 ;
26809 int res1 = 0 ;
26810 bool val2 ;
26811 int ecode2 = 0 ;
26812 PyObject * obj0 = 0 ;
26813 PyObject * obj1 = 0 ;
26814 char * kwnames[] = {
26815 (char *) "self",(char *) "flag", NULL
26816 };
26817
26818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26820 if (!SWIG_IsOK(res1)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26822 }
26823 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26824 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26825 if (!SWIG_IsOK(ecode2)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26827 }
26828 arg2 = static_cast< bool >(val2);
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 (arg1)->SetAllPages(arg2);
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 resultobj = SWIG_Py_Void();
26836 return resultobj;
26837 fail:
26838 return NULL;
26839 }
26840
26841
26842 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26843 PyObject *resultobj = 0;
26844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26845 bool arg2 ;
26846 void *argp1 = 0 ;
26847 int res1 = 0 ;
26848 bool val2 ;
26849 int ecode2 = 0 ;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26852 char * kwnames[] = {
26853 (char *) "self",(char *) "flag", NULL
26854 };
26855
26856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26858 if (!SWIG_IsOK(res1)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26860 }
26861 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26862 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26863 if (!SWIG_IsOK(ecode2)) {
26864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26865 }
26866 arg2 = static_cast< bool >(val2);
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 (arg1)->SetSelection(arg2);
26870 wxPyEndAllowThreads(__tstate);
26871 if (PyErr_Occurred()) SWIG_fail;
26872 }
26873 resultobj = SWIG_Py_Void();
26874 return resultobj;
26875 fail:
26876 return NULL;
26877 }
26878
26879
26880 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26881 PyObject *resultobj = 0;
26882 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26883 bool arg2 ;
26884 void *argp1 = 0 ;
26885 int res1 = 0 ;
26886 bool val2 ;
26887 int ecode2 = 0 ;
26888 PyObject * obj0 = 0 ;
26889 PyObject * obj1 = 0 ;
26890 char * kwnames[] = {
26891 (char *) "self",(char *) "flag", NULL
26892 };
26893
26894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26896 if (!SWIG_IsOK(res1)) {
26897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26898 }
26899 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26900 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26901 if (!SWIG_IsOK(ecode2)) {
26902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26903 }
26904 arg2 = static_cast< bool >(val2);
26905 {
26906 PyThreadState* __tstate = wxPyBeginAllowThreads();
26907 (arg1)->SetCollate(arg2);
26908 wxPyEndAllowThreads(__tstate);
26909 if (PyErr_Occurred()) SWIG_fail;
26910 }
26911 resultobj = SWIG_Py_Void();
26912 return resultobj;
26913 fail:
26914 return NULL;
26915 }
26916
26917
26918 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26919 PyObject *resultobj = 0;
26920 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26921 bool arg2 ;
26922 void *argp1 = 0 ;
26923 int res1 = 0 ;
26924 bool val2 ;
26925 int ecode2 = 0 ;
26926 PyObject * obj0 = 0 ;
26927 PyObject * obj1 = 0 ;
26928 char * kwnames[] = {
26929 (char *) "self",(char *) "flag", NULL
26930 };
26931
26932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26934 if (!SWIG_IsOK(res1)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26936 }
26937 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26938 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26939 if (!SWIG_IsOK(ecode2)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26941 }
26942 arg2 = static_cast< bool >(val2);
26943 {
26944 PyThreadState* __tstate = wxPyBeginAllowThreads();
26945 (arg1)->SetPrintToFile(arg2);
26946 wxPyEndAllowThreads(__tstate);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
26949 resultobj = SWIG_Py_Void();
26950 return resultobj;
26951 fail:
26952 return NULL;
26953 }
26954
26955
26956 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26957 PyObject *resultobj = 0;
26958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26959 bool arg2 ;
26960 void *argp1 = 0 ;
26961 int res1 = 0 ;
26962 bool val2 ;
26963 int ecode2 = 0 ;
26964 PyObject * obj0 = 0 ;
26965 PyObject * obj1 = 0 ;
26966 char * kwnames[] = {
26967 (char *) "self",(char *) "flag", NULL
26968 };
26969
26970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26972 if (!SWIG_IsOK(res1)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26974 }
26975 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26976 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26977 if (!SWIG_IsOK(ecode2)) {
26978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26979 }
26980 arg2 = static_cast< bool >(val2);
26981 {
26982 PyThreadState* __tstate = wxPyBeginAllowThreads();
26983 (arg1)->EnablePrintToFile(arg2);
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 resultobj = SWIG_Py_Void();
26988 return resultobj;
26989 fail:
26990 return NULL;
26991 }
26992
26993
26994 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26995 PyObject *resultobj = 0;
26996 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26997 bool arg2 ;
26998 void *argp1 = 0 ;
26999 int res1 = 0 ;
27000 bool val2 ;
27001 int ecode2 = 0 ;
27002 PyObject * obj0 = 0 ;
27003 PyObject * obj1 = 0 ;
27004 char * kwnames[] = {
27005 (char *) "self",(char *) "flag", NULL
27006 };
27007
27008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27010 if (!SWIG_IsOK(res1)) {
27011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27012 }
27013 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27014 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27015 if (!SWIG_IsOK(ecode2)) {
27016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27017 }
27018 arg2 = static_cast< bool >(val2);
27019 {
27020 PyThreadState* __tstate = wxPyBeginAllowThreads();
27021 (arg1)->EnableSelection(arg2);
27022 wxPyEndAllowThreads(__tstate);
27023 if (PyErr_Occurred()) SWIG_fail;
27024 }
27025 resultobj = SWIG_Py_Void();
27026 return resultobj;
27027 fail:
27028 return NULL;
27029 }
27030
27031
27032 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27033 PyObject *resultobj = 0;
27034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27035 bool arg2 ;
27036 void *argp1 = 0 ;
27037 int res1 = 0 ;
27038 bool val2 ;
27039 int ecode2 = 0 ;
27040 PyObject * obj0 = 0 ;
27041 PyObject * obj1 = 0 ;
27042 char * kwnames[] = {
27043 (char *) "self",(char *) "flag", NULL
27044 };
27045
27046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27048 if (!SWIG_IsOK(res1)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27050 }
27051 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27052 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27053 if (!SWIG_IsOK(ecode2)) {
27054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27055 }
27056 arg2 = static_cast< bool >(val2);
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 (arg1)->EnablePageNumbers(arg2);
27060 wxPyEndAllowThreads(__tstate);
27061 if (PyErr_Occurred()) SWIG_fail;
27062 }
27063 resultobj = SWIG_Py_Void();
27064 return resultobj;
27065 fail:
27066 return NULL;
27067 }
27068
27069
27070 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27071 PyObject *resultobj = 0;
27072 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27073 bool arg2 ;
27074 void *argp1 = 0 ;
27075 int res1 = 0 ;
27076 bool val2 ;
27077 int ecode2 = 0 ;
27078 PyObject * obj0 = 0 ;
27079 PyObject * obj1 = 0 ;
27080 char * kwnames[] = {
27081 (char *) "self",(char *) "flag", NULL
27082 };
27083
27084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27086 if (!SWIG_IsOK(res1)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27088 }
27089 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27090 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27091 if (!SWIG_IsOK(ecode2)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27093 }
27094 arg2 = static_cast< bool >(val2);
27095 {
27096 PyThreadState* __tstate = wxPyBeginAllowThreads();
27097 (arg1)->EnableHelp(arg2);
27098 wxPyEndAllowThreads(__tstate);
27099 if (PyErr_Occurred()) SWIG_fail;
27100 }
27101 resultobj = SWIG_Py_Void();
27102 return resultobj;
27103 fail:
27104 return NULL;
27105 }
27106
27107
27108 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27109 PyObject *resultobj = 0;
27110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27111 bool result;
27112 void *argp1 = 0 ;
27113 int res1 = 0 ;
27114 PyObject *swig_obj[1] ;
27115
27116 if (!args) SWIG_fail;
27117 swig_obj[0] = args;
27118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27119 if (!SWIG_IsOK(res1)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27121 }
27122 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27123 {
27124 PyThreadState* __tstate = wxPyBeginAllowThreads();
27125 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27126 wxPyEndAllowThreads(__tstate);
27127 if (PyErr_Occurred()) SWIG_fail;
27128 }
27129 {
27130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27131 }
27132 return resultobj;
27133 fail:
27134 return NULL;
27135 }
27136
27137
27138 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27139 PyObject *resultobj = 0;
27140 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27141 bool result;
27142 void *argp1 = 0 ;
27143 int res1 = 0 ;
27144 PyObject *swig_obj[1] ;
27145
27146 if (!args) SWIG_fail;
27147 swig_obj[0] = args;
27148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27149 if (!SWIG_IsOK(res1)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27151 }
27152 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27156 wxPyEndAllowThreads(__tstate);
27157 if (PyErr_Occurred()) SWIG_fail;
27158 }
27159 {
27160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27161 }
27162 return resultobj;
27163 fail:
27164 return NULL;
27165 }
27166
27167
27168 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27169 PyObject *resultobj = 0;
27170 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27171 bool result;
27172 void *argp1 = 0 ;
27173 int res1 = 0 ;
27174 PyObject *swig_obj[1] ;
27175
27176 if (!args) SWIG_fail;
27177 swig_obj[0] = args;
27178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27179 if (!SWIG_IsOK(res1)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27181 }
27182 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27186 wxPyEndAllowThreads(__tstate);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 }
27189 {
27190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27191 }
27192 return resultobj;
27193 fail:
27194 return NULL;
27195 }
27196
27197
27198 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27199 PyObject *resultobj = 0;
27200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27201 bool result;
27202 void *argp1 = 0 ;
27203 int res1 = 0 ;
27204 PyObject *swig_obj[1] ;
27205
27206 if (!args) SWIG_fail;
27207 swig_obj[0] = args;
27208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27209 if (!SWIG_IsOK(res1)) {
27210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27211 }
27212 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 {
27220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27221 }
27222 return resultobj;
27223 fail:
27224 return NULL;
27225 }
27226
27227
27228 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27229 PyObject *resultobj = 0;
27230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27231 bool result;
27232 void *argp1 = 0 ;
27233 int res1 = 0 ;
27234 PyObject *swig_obj[1] ;
27235
27236 if (!args) SWIG_fail;
27237 swig_obj[0] = args;
27238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27239 if (!SWIG_IsOK(res1)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27241 }
27242 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27246 wxPyEndAllowThreads(__tstate);
27247 if (PyErr_Occurred()) SWIG_fail;
27248 }
27249 {
27250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27251 }
27252 return resultobj;
27253 fail:
27254 return NULL;
27255 }
27256
27257
27258 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27259 PyObject *resultobj = 0;
27260 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27261 wxPrintData *result = 0 ;
27262 void *argp1 = 0 ;
27263 int res1 = 0 ;
27264 PyObject *swig_obj[1] ;
27265
27266 if (!args) SWIG_fail;
27267 swig_obj[0] = args;
27268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27269 if (!SWIG_IsOK(res1)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27271 }
27272 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 {
27276 wxPrintData &_result_ref = (arg1)->GetPrintData();
27277 result = (wxPrintData *) &_result_ref;
27278 }
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27283 return resultobj;
27284 fail:
27285 return NULL;
27286 }
27287
27288
27289 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj = 0;
27291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27292 wxPrintData *arg2 = 0 ;
27293 void *argp1 = 0 ;
27294 int res1 = 0 ;
27295 void *argp2 = 0 ;
27296 int res2 = 0 ;
27297 PyObject * obj0 = 0 ;
27298 PyObject * obj1 = 0 ;
27299 char * kwnames[] = {
27300 (char *) "self",(char *) "printData", NULL
27301 };
27302
27303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27305 if (!SWIG_IsOK(res1)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27307 }
27308 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27309 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27310 if (!SWIG_IsOK(res2)) {
27311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27312 }
27313 if (!argp2) {
27314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27315 }
27316 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27317 {
27318 PyThreadState* __tstate = wxPyBeginAllowThreads();
27319 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27320 wxPyEndAllowThreads(__tstate);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 resultobj = SWIG_Py_Void();
27324 return resultobj;
27325 fail:
27326 return NULL;
27327 }
27328
27329
27330 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27331 PyObject *obj;
27332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27333 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27334 return SWIG_Py_Void();
27335 }
27336
27337 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27338 return SWIG_Python_InitShadowInstance(args);
27339 }
27340
27341 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27342 PyObject *resultobj = 0;
27343 wxWindow *arg1 = (wxWindow *) 0 ;
27344 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27345 wxPrintDialog *result = 0 ;
27346 void *argp1 = 0 ;
27347 int res1 = 0 ;
27348 void *argp2 = 0 ;
27349 int res2 = 0 ;
27350 PyObject * obj0 = 0 ;
27351 PyObject * obj1 = 0 ;
27352 char * kwnames[] = {
27353 (char *) "parent",(char *) "data", NULL
27354 };
27355
27356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27358 if (!SWIG_IsOK(res1)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27360 }
27361 arg1 = reinterpret_cast< wxWindow * >(argp1);
27362 if (obj1) {
27363 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27364 if (!SWIG_IsOK(res2)) {
27365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27366 }
27367 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27368 }
27369 {
27370 if (!wxPyCheckForApp()) SWIG_fail;
27371 PyThreadState* __tstate = wxPyBeginAllowThreads();
27372 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27373 wxPyEndAllowThreads(__tstate);
27374 if (PyErr_Occurred()) SWIG_fail;
27375 }
27376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27377 return resultobj;
27378 fail:
27379 return NULL;
27380 }
27381
27382
27383 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27384 PyObject *resultobj = 0;
27385 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27386 void *argp1 = 0 ;
27387 int res1 = 0 ;
27388 PyObject *swig_obj[1] ;
27389
27390 if (!args) SWIG_fail;
27391 swig_obj[0] = args;
27392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27393 if (!SWIG_IsOK(res1)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27395 }
27396 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27397 {
27398 PyThreadState* __tstate = wxPyBeginAllowThreads();
27399 delete arg1;
27400
27401 wxPyEndAllowThreads(__tstate);
27402 if (PyErr_Occurred()) SWIG_fail;
27403 }
27404 resultobj = SWIG_Py_Void();
27405 return resultobj;
27406 fail:
27407 return NULL;
27408 }
27409
27410
27411 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27412 PyObject *resultobj = 0;
27413 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27414 int result;
27415 void *argp1 = 0 ;
27416 int res1 = 0 ;
27417 PyObject *swig_obj[1] ;
27418
27419 if (!args) SWIG_fail;
27420 swig_obj[0] = args;
27421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27422 if (!SWIG_IsOK(res1)) {
27423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27424 }
27425 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27426 {
27427 PyThreadState* __tstate = wxPyBeginAllowThreads();
27428 result = (int)(arg1)->ShowModal();
27429 wxPyEndAllowThreads(__tstate);
27430 if (PyErr_Occurred()) SWIG_fail;
27431 }
27432 resultobj = SWIG_From_int(static_cast< int >(result));
27433 return resultobj;
27434 fail:
27435 return NULL;
27436 }
27437
27438
27439 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27440 PyObject *resultobj = 0;
27441 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27442 wxPrintDialogData *result = 0 ;
27443 void *argp1 = 0 ;
27444 int res1 = 0 ;
27445 PyObject *swig_obj[1] ;
27446
27447 if (!args) SWIG_fail;
27448 swig_obj[0] = args;
27449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27450 if (!SWIG_IsOK(res1)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27452 }
27453 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 {
27457 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27458 result = (wxPrintDialogData *) &_result_ref;
27459 }
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27464 return resultobj;
27465 fail:
27466 return NULL;
27467 }
27468
27469
27470 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 PyObject *resultobj = 0;
27472 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27473 wxPrintData *result = 0 ;
27474 void *argp1 = 0 ;
27475 int res1 = 0 ;
27476 PyObject *swig_obj[1] ;
27477
27478 if (!args) SWIG_fail;
27479 swig_obj[0] = args;
27480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27481 if (!SWIG_IsOK(res1)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27483 }
27484 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27485 {
27486 PyThreadState* __tstate = wxPyBeginAllowThreads();
27487 {
27488 wxPrintData &_result_ref = (arg1)->GetPrintData();
27489 result = (wxPrintData *) &_result_ref;
27490 }
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27495 return resultobj;
27496 fail:
27497 return NULL;
27498 }
27499
27500
27501 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27502 PyObject *resultobj = 0;
27503 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27504 wxDC *result = 0 ;
27505 void *argp1 = 0 ;
27506 int res1 = 0 ;
27507 PyObject *swig_obj[1] ;
27508
27509 if (!args) SWIG_fail;
27510 swig_obj[0] = args;
27511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27512 if (!SWIG_IsOK(res1)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27514 }
27515 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27516 {
27517 PyThreadState* __tstate = wxPyBeginAllowThreads();
27518 result = (wxDC *)(arg1)->GetPrintDC();
27519 wxPyEndAllowThreads(__tstate);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 {
27523 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27524 }
27525 return resultobj;
27526 fail:
27527 return NULL;
27528 }
27529
27530
27531 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27532 PyObject *obj;
27533 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27534 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27535 return SWIG_Py_Void();
27536 }
27537
27538 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27539 return SWIG_Python_InitShadowInstance(args);
27540 }
27541
27542 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27543 PyObject *resultobj = 0;
27544 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27545 wxPrinter *result = 0 ;
27546 void *argp1 = 0 ;
27547 int res1 = 0 ;
27548 PyObject * obj0 = 0 ;
27549 char * kwnames[] = {
27550 (char *) "data", NULL
27551 };
27552
27553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27554 if (obj0) {
27555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27556 if (!SWIG_IsOK(res1)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27558 }
27559 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27560 }
27561 {
27562 if (!wxPyCheckForApp()) SWIG_fail;
27563 PyThreadState* __tstate = wxPyBeginAllowThreads();
27564 result = (wxPrinter *)new wxPrinter(arg1);
27565 wxPyEndAllowThreads(__tstate);
27566 if (PyErr_Occurred()) SWIG_fail;
27567 }
27568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27569 return resultobj;
27570 fail:
27571 return NULL;
27572 }
27573
27574
27575 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27576 PyObject *resultobj = 0;
27577 wxPrinter *arg1 = (wxPrinter *) 0 ;
27578 void *argp1 = 0 ;
27579 int res1 = 0 ;
27580 PyObject *swig_obj[1] ;
27581
27582 if (!args) SWIG_fail;
27583 swig_obj[0] = args;
27584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27585 if (!SWIG_IsOK(res1)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27587 }
27588 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27589 {
27590 PyThreadState* __tstate = wxPyBeginAllowThreads();
27591 delete arg1;
27592
27593 wxPyEndAllowThreads(__tstate);
27594 if (PyErr_Occurred()) SWIG_fail;
27595 }
27596 resultobj = SWIG_Py_Void();
27597 return resultobj;
27598 fail:
27599 return NULL;
27600 }
27601
27602
27603 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27604 PyObject *resultobj = 0;
27605 wxPrinter *arg1 = (wxPrinter *) 0 ;
27606 wxWindow *arg2 = (wxWindow *) 0 ;
27607 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27608 wxWindow *result = 0 ;
27609 void *argp1 = 0 ;
27610 int res1 = 0 ;
27611 void *argp2 = 0 ;
27612 int res2 = 0 ;
27613 void *argp3 = 0 ;
27614 int res3 = 0 ;
27615 PyObject * obj0 = 0 ;
27616 PyObject * obj1 = 0 ;
27617 PyObject * obj2 = 0 ;
27618 char * kwnames[] = {
27619 (char *) "self",(char *) "parent",(char *) "printout", NULL
27620 };
27621
27622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27624 if (!SWIG_IsOK(res1)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27626 }
27627 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27629 if (!SWIG_IsOK(res2)) {
27630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27631 }
27632 arg2 = reinterpret_cast< wxWindow * >(argp2);
27633 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27634 if (!SWIG_IsOK(res3)) {
27635 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27636 }
27637 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27638 {
27639 PyThreadState* __tstate = wxPyBeginAllowThreads();
27640 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 {
27645 resultobj = wxPyMake_wxObject(result, 0);
27646 }
27647 return resultobj;
27648 fail:
27649 return NULL;
27650 }
27651
27652
27653 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27654 PyObject *resultobj = 0;
27655 wxPrinter *arg1 = (wxPrinter *) 0 ;
27656 wxWindow *arg2 = (wxWindow *) 0 ;
27657 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27658 wxString *arg4 = 0 ;
27659 void *argp1 = 0 ;
27660 int res1 = 0 ;
27661 void *argp2 = 0 ;
27662 int res2 = 0 ;
27663 void *argp3 = 0 ;
27664 int res3 = 0 ;
27665 bool temp4 = false ;
27666 PyObject * obj0 = 0 ;
27667 PyObject * obj1 = 0 ;
27668 PyObject * obj2 = 0 ;
27669 PyObject * obj3 = 0 ;
27670 char * kwnames[] = {
27671 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27672 };
27673
27674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27676 if (!SWIG_IsOK(res1)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27678 }
27679 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27680 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27681 if (!SWIG_IsOK(res2)) {
27682 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27683 }
27684 arg2 = reinterpret_cast< wxWindow * >(argp2);
27685 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27686 if (!SWIG_IsOK(res3)) {
27687 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27688 }
27689 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27690 {
27691 arg4 = wxString_in_helper(obj3);
27692 if (arg4 == NULL) SWIG_fail;
27693 temp4 = true;
27694 }
27695 {
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 resultobj = SWIG_Py_Void();
27702 {
27703 if (temp4)
27704 delete arg4;
27705 }
27706 return resultobj;
27707 fail:
27708 {
27709 if (temp4)
27710 delete arg4;
27711 }
27712 return NULL;
27713 }
27714
27715
27716 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27717 PyObject *resultobj = 0;
27718 wxPrinter *arg1 = (wxPrinter *) 0 ;
27719 wxWindow *arg2 = (wxWindow *) 0 ;
27720 bool result;
27721 void *argp1 = 0 ;
27722 int res1 = 0 ;
27723 void *argp2 = 0 ;
27724 int res2 = 0 ;
27725 PyObject * obj0 = 0 ;
27726 PyObject * obj1 = 0 ;
27727 char * kwnames[] = {
27728 (char *) "self",(char *) "parent", NULL
27729 };
27730
27731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27733 if (!SWIG_IsOK(res1)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27735 }
27736 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27738 if (!SWIG_IsOK(res2)) {
27739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27740 }
27741 arg2 = reinterpret_cast< wxWindow * >(argp2);
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 result = (bool)(arg1)->Setup(arg2);
27745 wxPyEndAllowThreads(__tstate);
27746 if (PyErr_Occurred()) SWIG_fail;
27747 }
27748 {
27749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27750 }
27751 return resultobj;
27752 fail:
27753 return NULL;
27754 }
27755
27756
27757 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27758 PyObject *resultobj = 0;
27759 wxPrinter *arg1 = (wxPrinter *) 0 ;
27760 wxWindow *arg2 = (wxWindow *) 0 ;
27761 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27762 bool arg4 = (bool) true ;
27763 bool result;
27764 void *argp1 = 0 ;
27765 int res1 = 0 ;
27766 void *argp2 = 0 ;
27767 int res2 = 0 ;
27768 void *argp3 = 0 ;
27769 int res3 = 0 ;
27770 bool val4 ;
27771 int ecode4 = 0 ;
27772 PyObject * obj0 = 0 ;
27773 PyObject * obj1 = 0 ;
27774 PyObject * obj2 = 0 ;
27775 PyObject * obj3 = 0 ;
27776 char * kwnames[] = {
27777 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27778 };
27779
27780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27782 if (!SWIG_IsOK(res1)) {
27783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27784 }
27785 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27787 if (!SWIG_IsOK(res2)) {
27788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27789 }
27790 arg2 = reinterpret_cast< wxWindow * >(argp2);
27791 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27792 if (!SWIG_IsOK(res3)) {
27793 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27794 }
27795 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27796 if (obj3) {
27797 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27798 if (!SWIG_IsOK(ecode4)) {
27799 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27800 }
27801 arg4 = static_cast< bool >(val4);
27802 }
27803 {
27804 PyThreadState* __tstate = wxPyBeginAllowThreads();
27805 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27806 wxPyEndAllowThreads(__tstate);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 {
27810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27811 }
27812 return resultobj;
27813 fail:
27814 return NULL;
27815 }
27816
27817
27818 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27819 PyObject *resultobj = 0;
27820 wxPrinter *arg1 = (wxPrinter *) 0 ;
27821 wxWindow *arg2 = (wxWindow *) 0 ;
27822 wxDC *result = 0 ;
27823 void *argp1 = 0 ;
27824 int res1 = 0 ;
27825 void *argp2 = 0 ;
27826 int res2 = 0 ;
27827 PyObject * obj0 = 0 ;
27828 PyObject * obj1 = 0 ;
27829 char * kwnames[] = {
27830 (char *) "self",(char *) "parent", NULL
27831 };
27832
27833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27835 if (!SWIG_IsOK(res1)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27837 }
27838 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27840 if (!SWIG_IsOK(res2)) {
27841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27842 }
27843 arg2 = reinterpret_cast< wxWindow * >(argp2);
27844 {
27845 PyThreadState* __tstate = wxPyBeginAllowThreads();
27846 result = (wxDC *)(arg1)->PrintDialog(arg2);
27847 wxPyEndAllowThreads(__tstate);
27848 if (PyErr_Occurred()) SWIG_fail;
27849 }
27850 {
27851 resultobj = wxPyMake_wxObject(result, (bool)0);
27852 }
27853 return resultobj;
27854 fail:
27855 return NULL;
27856 }
27857
27858
27859 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27860 PyObject *resultobj = 0;
27861 wxPrinter *arg1 = (wxPrinter *) 0 ;
27862 wxPrintDialogData *result = 0 ;
27863 void *argp1 = 0 ;
27864 int res1 = 0 ;
27865 PyObject *swig_obj[1] ;
27866
27867 if (!args) SWIG_fail;
27868 swig_obj[0] = args;
27869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27870 if (!SWIG_IsOK(res1)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27872 }
27873 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27874 {
27875 PyThreadState* __tstate = wxPyBeginAllowThreads();
27876 {
27877 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27878 result = (wxPrintDialogData *) &_result_ref;
27879 }
27880 wxPyEndAllowThreads(__tstate);
27881 if (PyErr_Occurred()) SWIG_fail;
27882 }
27883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27884 return resultobj;
27885 fail:
27886 return NULL;
27887 }
27888
27889
27890 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27891 PyObject *resultobj = 0;
27892 wxPrinter *arg1 = (wxPrinter *) 0 ;
27893 bool result;
27894 void *argp1 = 0 ;
27895 int res1 = 0 ;
27896 PyObject *swig_obj[1] ;
27897
27898 if (!args) SWIG_fail;
27899 swig_obj[0] = args;
27900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27901 if (!SWIG_IsOK(res1)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27903 }
27904 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27905 {
27906 PyThreadState* __tstate = wxPyBeginAllowThreads();
27907 result = (bool)(arg1)->GetAbort();
27908 wxPyEndAllowThreads(__tstate);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 {
27912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27913 }
27914 return resultobj;
27915 fail:
27916 return NULL;
27917 }
27918
27919
27920 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27921 PyObject *resultobj = 0;
27922 wxPrinterError result;
27923
27924 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27925 {
27926 PyThreadState* __tstate = wxPyBeginAllowThreads();
27927 result = (wxPrinterError)wxPrinter::GetLastError();
27928 wxPyEndAllowThreads(__tstate);
27929 if (PyErr_Occurred()) SWIG_fail;
27930 }
27931 resultobj = SWIG_From_int(static_cast< int >(result));
27932 return resultobj;
27933 fail:
27934 return NULL;
27935 }
27936
27937
27938 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27939 PyObject *obj;
27940 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27941 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27942 return SWIG_Py_Void();
27943 }
27944
27945 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27946 return SWIG_Python_InitShadowInstance(args);
27947 }
27948
27949 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27950 PyObject *resultobj = 0;
27951 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27952 wxString *arg1 = (wxString *) &arg1_defvalue ;
27953 wxPyPrintout *result = 0 ;
27954 bool temp1 = false ;
27955 PyObject * obj0 = 0 ;
27956 char * kwnames[] = {
27957 (char *) "title", NULL
27958 };
27959
27960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27961 if (obj0) {
27962 {
27963 arg1 = wxString_in_helper(obj0);
27964 if (arg1 == NULL) SWIG_fail;
27965 temp1 = true;
27966 }
27967 }
27968 {
27969 if (!wxPyCheckForApp()) SWIG_fail;
27970 PyThreadState* __tstate = wxPyBeginAllowThreads();
27971 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27972 wxPyEndAllowThreads(__tstate);
27973 if (PyErr_Occurred()) SWIG_fail;
27974 }
27975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27976 {
27977 if (temp1)
27978 delete arg1;
27979 }
27980 return resultobj;
27981 fail:
27982 {
27983 if (temp1)
27984 delete arg1;
27985 }
27986 return NULL;
27987 }
27988
27989
27990 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27991 PyObject *resultobj = 0;
27992 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27993 void *argp1 = 0 ;
27994 int res1 = 0 ;
27995 PyObject *swig_obj[1] ;
27996
27997 if (!args) SWIG_fail;
27998 swig_obj[0] = args;
27999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28000 if (!SWIG_IsOK(res1)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28002 }
28003 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28004 {
28005 PyThreadState* __tstate = wxPyBeginAllowThreads();
28006 delete arg1;
28007
28008 wxPyEndAllowThreads(__tstate);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 resultobj = SWIG_Py_Void();
28012 return resultobj;
28013 fail:
28014 return NULL;
28015 }
28016
28017
28018 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28019 PyObject *resultobj = 0;
28020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28021 PyObject *arg2 = (PyObject *) 0 ;
28022 PyObject *arg3 = (PyObject *) 0 ;
28023 void *argp1 = 0 ;
28024 int res1 = 0 ;
28025 PyObject * obj0 = 0 ;
28026 PyObject * obj1 = 0 ;
28027 PyObject * obj2 = 0 ;
28028 char * kwnames[] = {
28029 (char *) "self",(char *) "self",(char *) "_class", NULL
28030 };
28031
28032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28034 if (!SWIG_IsOK(res1)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28036 }
28037 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28038 arg2 = obj1;
28039 arg3 = obj2;
28040 {
28041 PyThreadState* __tstate = wxPyBeginAllowThreads();
28042 (arg1)->_setCallbackInfo(arg2,arg3);
28043 wxPyEndAllowThreads(__tstate);
28044 if (PyErr_Occurred()) SWIG_fail;
28045 }
28046 resultobj = SWIG_Py_Void();
28047 return resultobj;
28048 fail:
28049 return NULL;
28050 }
28051
28052
28053 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28054 PyObject *resultobj = 0;
28055 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28056 wxString result;
28057 void *argp1 = 0 ;
28058 int res1 = 0 ;
28059 PyObject *swig_obj[1] ;
28060
28061 if (!args) SWIG_fail;
28062 swig_obj[0] = args;
28063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28064 if (!SWIG_IsOK(res1)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28066 }
28067 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 result = ((wxPyPrintout const *)arg1)->GetTitle();
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 {
28075 #if wxUSE_UNICODE
28076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28077 #else
28078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28079 #endif
28080 }
28081 return resultobj;
28082 fail:
28083 return NULL;
28084 }
28085
28086
28087 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28088 PyObject *resultobj = 0;
28089 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28090 wxDC *result = 0 ;
28091 void *argp1 = 0 ;
28092 int res1 = 0 ;
28093 PyObject *swig_obj[1] ;
28094
28095 if (!args) SWIG_fail;
28096 swig_obj[0] = args;
28097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28098 if (!SWIG_IsOK(res1)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28100 }
28101 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28102 {
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 result = (wxDC *)(arg1)->GetDC();
28105 wxPyEndAllowThreads(__tstate);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 {
28109 resultobj = wxPyMake_wxObject(result, (bool)0);
28110 }
28111 return resultobj;
28112 fail:
28113 return NULL;
28114 }
28115
28116
28117 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28118 PyObject *resultobj = 0;
28119 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28120 wxDC *arg2 = (wxDC *) 0 ;
28121 void *argp1 = 0 ;
28122 int res1 = 0 ;
28123 void *argp2 = 0 ;
28124 int res2 = 0 ;
28125 PyObject * obj0 = 0 ;
28126 PyObject * obj1 = 0 ;
28127 char * kwnames[] = {
28128 (char *) "self",(char *) "dc", NULL
28129 };
28130
28131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28133 if (!SWIG_IsOK(res1)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28135 }
28136 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28138 if (!SWIG_IsOK(res2)) {
28139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28140 }
28141 arg2 = reinterpret_cast< wxDC * >(argp2);
28142 {
28143 PyThreadState* __tstate = wxPyBeginAllowThreads();
28144 (arg1)->SetDC(arg2);
28145 wxPyEndAllowThreads(__tstate);
28146 if (PyErr_Occurred()) SWIG_fail;
28147 }
28148 resultobj = SWIG_Py_Void();
28149 return resultobj;
28150 fail:
28151 return NULL;
28152 }
28153
28154
28155 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28156 PyObject *resultobj = 0;
28157 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28158 wxSize *arg2 = 0 ;
28159 void *argp1 = 0 ;
28160 int res1 = 0 ;
28161 wxSize temp2 ;
28162 PyObject * obj0 = 0 ;
28163 PyObject * obj1 = 0 ;
28164 char * kwnames[] = {
28165 (char *) "self",(char *) "imageSize", NULL
28166 };
28167
28168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28170 if (!SWIG_IsOK(res1)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28172 }
28173 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28174 {
28175 arg2 = &temp2;
28176 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28177 }
28178 {
28179 PyThreadState* __tstate = wxPyBeginAllowThreads();
28180 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28181 wxPyEndAllowThreads(__tstate);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
28184 resultobj = SWIG_Py_Void();
28185 return resultobj;
28186 fail:
28187 return NULL;
28188 }
28189
28190
28191 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28192 PyObject *resultobj = 0;
28193 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28194 wxSize *arg2 = 0 ;
28195 void *argp1 = 0 ;
28196 int res1 = 0 ;
28197 wxSize temp2 ;
28198 PyObject * obj0 = 0 ;
28199 PyObject * obj1 = 0 ;
28200 char * kwnames[] = {
28201 (char *) "self",(char *) "imageSize", NULL
28202 };
28203
28204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28206 if (!SWIG_IsOK(res1)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28208 }
28209 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28210 {
28211 arg2 = &temp2;
28212 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28213 }
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28217 wxPyEndAllowThreads(__tstate);
28218 if (PyErr_Occurred()) SWIG_fail;
28219 }
28220 resultobj = SWIG_Py_Void();
28221 return resultobj;
28222 fail:
28223 return NULL;
28224 }
28225
28226
28227 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28228 PyObject *resultobj = 0;
28229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28230 wxSize *arg2 = 0 ;
28231 wxPageSetupDialogData *arg3 = 0 ;
28232 void *argp1 = 0 ;
28233 int res1 = 0 ;
28234 wxSize temp2 ;
28235 void *argp3 = 0 ;
28236 int res3 = 0 ;
28237 PyObject * obj0 = 0 ;
28238 PyObject * obj1 = 0 ;
28239 PyObject * obj2 = 0 ;
28240 char * kwnames[] = {
28241 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28242 };
28243
28244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28246 if (!SWIG_IsOK(res1)) {
28247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28248 }
28249 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28250 {
28251 arg2 = &temp2;
28252 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28253 }
28254 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28255 if (!SWIG_IsOK(res3)) {
28256 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28257 }
28258 if (!argp3) {
28259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28260 }
28261 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28262 {
28263 PyThreadState* __tstate = wxPyBeginAllowThreads();
28264 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28265 wxPyEndAllowThreads(__tstate);
28266 if (PyErr_Occurred()) SWIG_fail;
28267 }
28268 resultobj = SWIG_Py_Void();
28269 return resultobj;
28270 fail:
28271 return NULL;
28272 }
28273
28274
28275 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28276 PyObject *resultobj = 0;
28277 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28278 void *argp1 = 0 ;
28279 int res1 = 0 ;
28280 PyObject *swig_obj[1] ;
28281
28282 if (!args) SWIG_fail;
28283 swig_obj[0] = args;
28284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28285 if (!SWIG_IsOK(res1)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28287 }
28288 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 (arg1)->MapScreenSizeToPaper();
28292 wxPyEndAllowThreads(__tstate);
28293 if (PyErr_Occurred()) SWIG_fail;
28294 }
28295 resultobj = SWIG_Py_Void();
28296 return resultobj;
28297 fail:
28298 return NULL;
28299 }
28300
28301
28302 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28303 PyObject *resultobj = 0;
28304 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28305 void *argp1 = 0 ;
28306 int res1 = 0 ;
28307 PyObject *swig_obj[1] ;
28308
28309 if (!args) SWIG_fail;
28310 swig_obj[0] = args;
28311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28312 if (!SWIG_IsOK(res1)) {
28313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28314 }
28315 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28316 {
28317 PyThreadState* __tstate = wxPyBeginAllowThreads();
28318 (arg1)->MapScreenSizeToPage();
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 resultobj = SWIG_Py_Void();
28323 return resultobj;
28324 fail:
28325 return NULL;
28326 }
28327
28328
28329 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28330 PyObject *resultobj = 0;
28331 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28332 wxPageSetupDialogData *arg2 = 0 ;
28333 void *argp1 = 0 ;
28334 int res1 = 0 ;
28335 void *argp2 = 0 ;
28336 int res2 = 0 ;
28337 PyObject * obj0 = 0 ;
28338 PyObject * obj1 = 0 ;
28339 char * kwnames[] = {
28340 (char *) "self",(char *) "pageSetupData", NULL
28341 };
28342
28343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28345 if (!SWIG_IsOK(res1)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28347 }
28348 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28350 if (!SWIG_IsOK(res2)) {
28351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28352 }
28353 if (!argp2) {
28354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28355 }
28356 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28357 {
28358 PyThreadState* __tstate = wxPyBeginAllowThreads();
28359 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28360 wxPyEndAllowThreads(__tstate);
28361 if (PyErr_Occurred()) SWIG_fail;
28362 }
28363 resultobj = SWIG_Py_Void();
28364 return resultobj;
28365 fail:
28366 return NULL;
28367 }
28368
28369
28370 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28371 PyObject *resultobj = 0;
28372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28373 void *argp1 = 0 ;
28374 int res1 = 0 ;
28375 PyObject *swig_obj[1] ;
28376
28377 if (!args) SWIG_fail;
28378 swig_obj[0] = args;
28379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 }
28383 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 (arg1)->MapScreenSizeToDevice();
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 resultobj = SWIG_Py_Void();
28391 return resultobj;
28392 fail:
28393 return NULL;
28394 }
28395
28396
28397 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28398 PyObject *resultobj = 0;
28399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28400 wxRect result;
28401 void *argp1 = 0 ;
28402 int res1 = 0 ;
28403 PyObject *swig_obj[1] ;
28404
28405 if (!args) SWIG_fail;
28406 swig_obj[0] = args;
28407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28408 if (!SWIG_IsOK(res1)) {
28409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28410 }
28411 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28412 {
28413 PyThreadState* __tstate = wxPyBeginAllowThreads();
28414 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28415 wxPyEndAllowThreads(__tstate);
28416 if (PyErr_Occurred()) SWIG_fail;
28417 }
28418 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28419 return resultobj;
28420 fail:
28421 return NULL;
28422 }
28423
28424
28425 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28426 PyObject *resultobj = 0;
28427 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28428 wxRect result;
28429 void *argp1 = 0 ;
28430 int res1 = 0 ;
28431 PyObject *swig_obj[1] ;
28432
28433 if (!args) SWIG_fail;
28434 swig_obj[0] = args;
28435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28436 if (!SWIG_IsOK(res1)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28438 }
28439 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28440 {
28441 PyThreadState* __tstate = wxPyBeginAllowThreads();
28442 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28443 wxPyEndAllowThreads(__tstate);
28444 if (PyErr_Occurred()) SWIG_fail;
28445 }
28446 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28447 return resultobj;
28448 fail:
28449 return NULL;
28450 }
28451
28452
28453 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28454 PyObject *resultobj = 0;
28455 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28456 wxPageSetupDialogData *arg2 = 0 ;
28457 wxRect result;
28458 void *argp1 = 0 ;
28459 int res1 = 0 ;
28460 void *argp2 = 0 ;
28461 int res2 = 0 ;
28462 PyObject * obj0 = 0 ;
28463 PyObject * obj1 = 0 ;
28464 char * kwnames[] = {
28465 (char *) "self",(char *) "pageSetupData", NULL
28466 };
28467
28468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28470 if (!SWIG_IsOK(res1)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28472 }
28473 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28474 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28475 if (!SWIG_IsOK(res2)) {
28476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28477 }
28478 if (!argp2) {
28479 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28480 }
28481 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28482 {
28483 PyThreadState* __tstate = wxPyBeginAllowThreads();
28484 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28489 return resultobj;
28490 fail:
28491 return NULL;
28492 }
28493
28494
28495 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28496 PyObject *resultobj = 0;
28497 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28498 int arg2 ;
28499 int arg3 ;
28500 void *argp1 = 0 ;
28501 int res1 = 0 ;
28502 int val2 ;
28503 int ecode2 = 0 ;
28504 int val3 ;
28505 int ecode3 = 0 ;
28506 PyObject * obj0 = 0 ;
28507 PyObject * obj1 = 0 ;
28508 PyObject * obj2 = 0 ;
28509 char * kwnames[] = {
28510 (char *) "self",(char *) "x",(char *) "y", NULL
28511 };
28512
28513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28515 if (!SWIG_IsOK(res1)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28517 }
28518 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28519 ecode2 = SWIG_AsVal_int(obj1, &val2);
28520 if (!SWIG_IsOK(ecode2)) {
28521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28522 }
28523 arg2 = static_cast< int >(val2);
28524 ecode3 = SWIG_AsVal_int(obj2, &val3);
28525 if (!SWIG_IsOK(ecode3)) {
28526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28527 }
28528 arg3 = static_cast< int >(val3);
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 (arg1)->SetLogicalOrigin(arg2,arg3);
28532 wxPyEndAllowThreads(__tstate);
28533 if (PyErr_Occurred()) SWIG_fail;
28534 }
28535 resultobj = SWIG_Py_Void();
28536 return resultobj;
28537 fail:
28538 return NULL;
28539 }
28540
28541
28542 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28543 PyObject *resultobj = 0;
28544 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28545 int arg2 ;
28546 int arg3 ;
28547 void *argp1 = 0 ;
28548 int res1 = 0 ;
28549 int val2 ;
28550 int ecode2 = 0 ;
28551 int val3 ;
28552 int ecode3 = 0 ;
28553 PyObject * obj0 = 0 ;
28554 PyObject * obj1 = 0 ;
28555 PyObject * obj2 = 0 ;
28556 char * kwnames[] = {
28557 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28558 };
28559
28560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28562 if (!SWIG_IsOK(res1)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28564 }
28565 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28566 ecode2 = SWIG_AsVal_int(obj1, &val2);
28567 if (!SWIG_IsOK(ecode2)) {
28568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28569 }
28570 arg2 = static_cast< int >(val2);
28571 ecode3 = SWIG_AsVal_int(obj2, &val3);
28572 if (!SWIG_IsOK(ecode3)) {
28573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28574 }
28575 arg3 = static_cast< int >(val3);
28576 {
28577 PyThreadState* __tstate = wxPyBeginAllowThreads();
28578 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 resultobj = SWIG_Py_Void();
28583 return resultobj;
28584 fail:
28585 return NULL;
28586 }
28587
28588
28589 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28590 PyObject *resultobj = 0;
28591 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28592 int arg2 ;
28593 int arg3 ;
28594 void *argp1 = 0 ;
28595 int res1 = 0 ;
28596 int val2 ;
28597 int ecode2 = 0 ;
28598 int val3 ;
28599 int ecode3 = 0 ;
28600 PyObject * obj0 = 0 ;
28601 PyObject * obj1 = 0 ;
28602 PyObject * obj2 = 0 ;
28603 char * kwnames[] = {
28604 (char *) "self",(char *) "w",(char *) "h", NULL
28605 };
28606
28607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28609 if (!SWIG_IsOK(res1)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28611 }
28612 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28613 ecode2 = SWIG_AsVal_int(obj1, &val2);
28614 if (!SWIG_IsOK(ecode2)) {
28615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28616 }
28617 arg2 = static_cast< int >(val2);
28618 ecode3 = SWIG_AsVal_int(obj2, &val3);
28619 if (!SWIG_IsOK(ecode3)) {
28620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28621 }
28622 arg3 = static_cast< int >(val3);
28623 {
28624 PyThreadState* __tstate = wxPyBeginAllowThreads();
28625 (arg1)->SetPageSizePixels(arg2,arg3);
28626 wxPyEndAllowThreads(__tstate);
28627 if (PyErr_Occurred()) SWIG_fail;
28628 }
28629 resultobj = SWIG_Py_Void();
28630 return resultobj;
28631 fail:
28632 return NULL;
28633 }
28634
28635
28636 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28637 PyObject *resultobj = 0;
28638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28639 int *arg2 = (int *) 0 ;
28640 int *arg3 = (int *) 0 ;
28641 void *argp1 = 0 ;
28642 int res1 = 0 ;
28643 int temp2 ;
28644 int res2 = SWIG_TMPOBJ ;
28645 int temp3 ;
28646 int res3 = SWIG_TMPOBJ ;
28647 PyObject *swig_obj[1] ;
28648
28649 arg2 = &temp2;
28650 arg3 = &temp3;
28651 if (!args) SWIG_fail;
28652 swig_obj[0] = args;
28653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28654 if (!SWIG_IsOK(res1)) {
28655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28656 }
28657 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28658 {
28659 PyThreadState* __tstate = wxPyBeginAllowThreads();
28660 (arg1)->GetPageSizePixels(arg2,arg3);
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
28664 resultobj = SWIG_Py_Void();
28665 if (SWIG_IsTmpObj(res2)) {
28666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28667 } else {
28668 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28670 }
28671 if (SWIG_IsTmpObj(res3)) {
28672 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28673 } else {
28674 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28675 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28676 }
28677 return resultobj;
28678 fail:
28679 return NULL;
28680 }
28681
28682
28683 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28684 PyObject *resultobj = 0;
28685 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28686 int arg2 ;
28687 int arg3 ;
28688 void *argp1 = 0 ;
28689 int res1 = 0 ;
28690 int val2 ;
28691 int ecode2 = 0 ;
28692 int val3 ;
28693 int ecode3 = 0 ;
28694 PyObject * obj0 = 0 ;
28695 PyObject * obj1 = 0 ;
28696 PyObject * obj2 = 0 ;
28697 char * kwnames[] = {
28698 (char *) "self",(char *) "w",(char *) "h", NULL
28699 };
28700
28701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28703 if (!SWIG_IsOK(res1)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28705 }
28706 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28707 ecode2 = SWIG_AsVal_int(obj1, &val2);
28708 if (!SWIG_IsOK(ecode2)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28710 }
28711 arg2 = static_cast< int >(val2);
28712 ecode3 = SWIG_AsVal_int(obj2, &val3);
28713 if (!SWIG_IsOK(ecode3)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28715 }
28716 arg3 = static_cast< int >(val3);
28717 {
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 (arg1)->SetPageSizeMM(arg2,arg3);
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 resultobj = SWIG_Py_Void();
28724 return resultobj;
28725 fail:
28726 return NULL;
28727 }
28728
28729
28730 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28731 PyObject *resultobj = 0;
28732 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28733 int *arg2 = (int *) 0 ;
28734 int *arg3 = (int *) 0 ;
28735 void *argp1 = 0 ;
28736 int res1 = 0 ;
28737 int temp2 ;
28738 int res2 = SWIG_TMPOBJ ;
28739 int temp3 ;
28740 int res3 = SWIG_TMPOBJ ;
28741 PyObject *swig_obj[1] ;
28742
28743 arg2 = &temp2;
28744 arg3 = &temp3;
28745 if (!args) SWIG_fail;
28746 swig_obj[0] = args;
28747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28748 if (!SWIG_IsOK(res1)) {
28749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28750 }
28751 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28752 {
28753 PyThreadState* __tstate = wxPyBeginAllowThreads();
28754 (arg1)->GetPageSizeMM(arg2,arg3);
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 resultobj = SWIG_Py_Void();
28759 if (SWIG_IsTmpObj(res2)) {
28760 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28761 } else {
28762 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28763 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28764 }
28765 if (SWIG_IsTmpObj(res3)) {
28766 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28767 } else {
28768 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28770 }
28771 return resultobj;
28772 fail:
28773 return NULL;
28774 }
28775
28776
28777 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28778 PyObject *resultobj = 0;
28779 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28780 int arg2 ;
28781 int arg3 ;
28782 void *argp1 = 0 ;
28783 int res1 = 0 ;
28784 int val2 ;
28785 int ecode2 = 0 ;
28786 int val3 ;
28787 int ecode3 = 0 ;
28788 PyObject * obj0 = 0 ;
28789 PyObject * obj1 = 0 ;
28790 PyObject * obj2 = 0 ;
28791 char * kwnames[] = {
28792 (char *) "self",(char *) "x",(char *) "y", NULL
28793 };
28794
28795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28797 if (!SWIG_IsOK(res1)) {
28798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28799 }
28800 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28801 ecode2 = SWIG_AsVal_int(obj1, &val2);
28802 if (!SWIG_IsOK(ecode2)) {
28803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28804 }
28805 arg2 = static_cast< int >(val2);
28806 ecode3 = SWIG_AsVal_int(obj2, &val3);
28807 if (!SWIG_IsOK(ecode3)) {
28808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28809 }
28810 arg3 = static_cast< int >(val3);
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 (arg1)->SetPPIScreen(arg2,arg3);
28814 wxPyEndAllowThreads(__tstate);
28815 if (PyErr_Occurred()) SWIG_fail;
28816 }
28817 resultobj = SWIG_Py_Void();
28818 return resultobj;
28819 fail:
28820 return NULL;
28821 }
28822
28823
28824 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28825 PyObject *resultobj = 0;
28826 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28827 int *arg2 = (int *) 0 ;
28828 int *arg3 = (int *) 0 ;
28829 void *argp1 = 0 ;
28830 int res1 = 0 ;
28831 int temp2 ;
28832 int res2 = SWIG_TMPOBJ ;
28833 int temp3 ;
28834 int res3 = SWIG_TMPOBJ ;
28835 PyObject *swig_obj[1] ;
28836
28837 arg2 = &temp2;
28838 arg3 = &temp3;
28839 if (!args) SWIG_fail;
28840 swig_obj[0] = args;
28841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28842 if (!SWIG_IsOK(res1)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28844 }
28845 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28846 {
28847 PyThreadState* __tstate = wxPyBeginAllowThreads();
28848 (arg1)->GetPPIScreen(arg2,arg3);
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 resultobj = SWIG_Py_Void();
28853 if (SWIG_IsTmpObj(res2)) {
28854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28855 } else {
28856 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28858 }
28859 if (SWIG_IsTmpObj(res3)) {
28860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28861 } else {
28862 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28864 }
28865 return resultobj;
28866 fail:
28867 return NULL;
28868 }
28869
28870
28871 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28872 PyObject *resultobj = 0;
28873 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28874 int arg2 ;
28875 int arg3 ;
28876 void *argp1 = 0 ;
28877 int res1 = 0 ;
28878 int val2 ;
28879 int ecode2 = 0 ;
28880 int val3 ;
28881 int ecode3 = 0 ;
28882 PyObject * obj0 = 0 ;
28883 PyObject * obj1 = 0 ;
28884 PyObject * obj2 = 0 ;
28885 char * kwnames[] = {
28886 (char *) "self",(char *) "x",(char *) "y", NULL
28887 };
28888
28889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28891 if (!SWIG_IsOK(res1)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28893 }
28894 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28895 ecode2 = SWIG_AsVal_int(obj1, &val2);
28896 if (!SWIG_IsOK(ecode2)) {
28897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28898 }
28899 arg2 = static_cast< int >(val2);
28900 ecode3 = SWIG_AsVal_int(obj2, &val3);
28901 if (!SWIG_IsOK(ecode3)) {
28902 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28903 }
28904 arg3 = static_cast< int >(val3);
28905 {
28906 PyThreadState* __tstate = wxPyBeginAllowThreads();
28907 (arg1)->SetPPIPrinter(arg2,arg3);
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 resultobj = SWIG_Py_Void();
28912 return resultobj;
28913 fail:
28914 return NULL;
28915 }
28916
28917
28918 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28919 PyObject *resultobj = 0;
28920 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28921 int *arg2 = (int *) 0 ;
28922 int *arg3 = (int *) 0 ;
28923 void *argp1 = 0 ;
28924 int res1 = 0 ;
28925 int temp2 ;
28926 int res2 = SWIG_TMPOBJ ;
28927 int temp3 ;
28928 int res3 = SWIG_TMPOBJ ;
28929 PyObject *swig_obj[1] ;
28930
28931 arg2 = &temp2;
28932 arg3 = &temp3;
28933 if (!args) SWIG_fail;
28934 swig_obj[0] = args;
28935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28936 if (!SWIG_IsOK(res1)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28938 }
28939 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28940 {
28941 PyThreadState* __tstate = wxPyBeginAllowThreads();
28942 (arg1)->GetPPIPrinter(arg2,arg3);
28943 wxPyEndAllowThreads(__tstate);
28944 if (PyErr_Occurred()) SWIG_fail;
28945 }
28946 resultobj = SWIG_Py_Void();
28947 if (SWIG_IsTmpObj(res2)) {
28948 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28949 } else {
28950 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28952 }
28953 if (SWIG_IsTmpObj(res3)) {
28954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28955 } else {
28956 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28958 }
28959 return resultobj;
28960 fail:
28961 return NULL;
28962 }
28963
28964
28965 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28966 PyObject *resultobj = 0;
28967 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28968 wxRect *arg2 = 0 ;
28969 void *argp1 = 0 ;
28970 int res1 = 0 ;
28971 wxRect temp2 ;
28972 PyObject * obj0 = 0 ;
28973 PyObject * obj1 = 0 ;
28974 char * kwnames[] = {
28975 (char *) "self",(char *) "paperRectPixels", NULL
28976 };
28977
28978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28980 if (!SWIG_IsOK(res1)) {
28981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28982 }
28983 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28984 {
28985 arg2 = &temp2;
28986 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28987 }
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 resultobj = SWIG_Py_Void();
28995 return resultobj;
28996 fail:
28997 return NULL;
28998 }
28999
29000
29001 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29002 PyObject *resultobj = 0;
29003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29004 wxRect result;
29005 void *argp1 = 0 ;
29006 int res1 = 0 ;
29007 PyObject *swig_obj[1] ;
29008
29009 if (!args) SWIG_fail;
29010 swig_obj[0] = args;
29011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29012 if (!SWIG_IsOK(res1)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29014 }
29015 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
29018 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29019 wxPyEndAllowThreads(__tstate);
29020 if (PyErr_Occurred()) SWIG_fail;
29021 }
29022 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29023 return resultobj;
29024 fail:
29025 return NULL;
29026 }
29027
29028
29029 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29030 PyObject *resultobj = 0;
29031 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29032 bool result;
29033 void *argp1 = 0 ;
29034 int res1 = 0 ;
29035 PyObject *swig_obj[1] ;
29036
29037 if (!args) SWIG_fail;
29038 swig_obj[0] = args;
29039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29040 if (!SWIG_IsOK(res1)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29042 }
29043 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29044 {
29045 PyThreadState* __tstate = wxPyBeginAllowThreads();
29046 result = (bool)(arg1)->IsPreview();
29047 wxPyEndAllowThreads(__tstate);
29048 if (PyErr_Occurred()) SWIG_fail;
29049 }
29050 {
29051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29052 }
29053 return resultobj;
29054 fail:
29055 return NULL;
29056 }
29057
29058
29059 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29060 PyObject *resultobj = 0;
29061 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29062 bool arg2 ;
29063 void *argp1 = 0 ;
29064 int res1 = 0 ;
29065 bool val2 ;
29066 int ecode2 = 0 ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 char * kwnames[] = {
29070 (char *) "self",(char *) "p", NULL
29071 };
29072
29073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29075 if (!SWIG_IsOK(res1)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29077 }
29078 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29079 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29080 if (!SWIG_IsOK(ecode2)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29082 }
29083 arg2 = static_cast< bool >(val2);
29084 {
29085 PyThreadState* __tstate = wxPyBeginAllowThreads();
29086 (arg1)->SetIsPreview(arg2);
29087 wxPyEndAllowThreads(__tstate);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 resultobj = SWIG_Py_Void();
29091 return resultobj;
29092 fail:
29093 return NULL;
29094 }
29095
29096
29097 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29098 PyObject *resultobj = 0;
29099 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29100 int arg2 ;
29101 int arg3 ;
29102 bool result;
29103 void *argp1 = 0 ;
29104 int res1 = 0 ;
29105 int val2 ;
29106 int ecode2 = 0 ;
29107 int val3 ;
29108 int ecode3 = 0 ;
29109 PyObject * obj0 = 0 ;
29110 PyObject * obj1 = 0 ;
29111 PyObject * obj2 = 0 ;
29112 char * kwnames[] = {
29113 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29114 };
29115
29116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29118 if (!SWIG_IsOK(res1)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29120 }
29121 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29122 ecode2 = SWIG_AsVal_int(obj1, &val2);
29123 if (!SWIG_IsOK(ecode2)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29125 }
29126 arg2 = static_cast< int >(val2);
29127 ecode3 = SWIG_AsVal_int(obj2, &val3);
29128 if (!SWIG_IsOK(ecode3)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29130 }
29131 arg3 = static_cast< int >(val3);
29132 {
29133 PyThreadState* __tstate = wxPyBeginAllowThreads();
29134 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 {
29139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29140 }
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29148 PyObject *resultobj = 0;
29149 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29150 void *argp1 = 0 ;
29151 int res1 = 0 ;
29152 PyObject *swig_obj[1] ;
29153
29154 if (!args) SWIG_fail;
29155 swig_obj[0] = args;
29156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29157 if (!SWIG_IsOK(res1)) {
29158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29159 }
29160 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29161 {
29162 PyThreadState* __tstate = wxPyBeginAllowThreads();
29163 (arg1)->OnEndDocument();
29164 wxPyEndAllowThreads(__tstate);
29165 if (PyErr_Occurred()) SWIG_fail;
29166 }
29167 resultobj = SWIG_Py_Void();
29168 return resultobj;
29169 fail:
29170 return NULL;
29171 }
29172
29173
29174 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29175 PyObject *resultobj = 0;
29176 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29177 void *argp1 = 0 ;
29178 int res1 = 0 ;
29179 PyObject *swig_obj[1] ;
29180
29181 if (!args) SWIG_fail;
29182 swig_obj[0] = args;
29183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29184 if (!SWIG_IsOK(res1)) {
29185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29186 }
29187 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29188 {
29189 PyThreadState* __tstate = wxPyBeginAllowThreads();
29190 (arg1)->OnBeginPrinting();
29191 wxPyEndAllowThreads(__tstate);
29192 if (PyErr_Occurred()) SWIG_fail;
29193 }
29194 resultobj = SWIG_Py_Void();
29195 return resultobj;
29196 fail:
29197 return NULL;
29198 }
29199
29200
29201 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29202 PyObject *resultobj = 0;
29203 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29204 void *argp1 = 0 ;
29205 int res1 = 0 ;
29206 PyObject *swig_obj[1] ;
29207
29208 if (!args) SWIG_fail;
29209 swig_obj[0] = args;
29210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29211 if (!SWIG_IsOK(res1)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29213 }
29214 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29215 {
29216 PyThreadState* __tstate = wxPyBeginAllowThreads();
29217 (arg1)->OnEndPrinting();
29218 wxPyEndAllowThreads(__tstate);
29219 if (PyErr_Occurred()) SWIG_fail;
29220 }
29221 resultobj = SWIG_Py_Void();
29222 return resultobj;
29223 fail:
29224 return NULL;
29225 }
29226
29227
29228 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29229 PyObject *resultobj = 0;
29230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29231 void *argp1 = 0 ;
29232 int res1 = 0 ;
29233 PyObject *swig_obj[1] ;
29234
29235 if (!args) SWIG_fail;
29236 swig_obj[0] = args;
29237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29238 if (!SWIG_IsOK(res1)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29240 }
29241 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29242 {
29243 PyThreadState* __tstate = wxPyBeginAllowThreads();
29244 (arg1)->OnPreparePrinting();
29245 wxPyEndAllowThreads(__tstate);
29246 if (PyErr_Occurred()) SWIG_fail;
29247 }
29248 resultobj = SWIG_Py_Void();
29249 return resultobj;
29250 fail:
29251 return NULL;
29252 }
29253
29254
29255 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29256 PyObject *resultobj = 0;
29257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29258 int arg2 ;
29259 bool result;
29260 void *argp1 = 0 ;
29261 int res1 = 0 ;
29262 int val2 ;
29263 int ecode2 = 0 ;
29264 PyObject * obj0 = 0 ;
29265 PyObject * obj1 = 0 ;
29266 char * kwnames[] = {
29267 (char *) "self",(char *) "page", NULL
29268 };
29269
29270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29272 if (!SWIG_IsOK(res1)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29274 }
29275 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29276 ecode2 = SWIG_AsVal_int(obj1, &val2);
29277 if (!SWIG_IsOK(ecode2)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29279 }
29280 arg2 = static_cast< int >(val2);
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 result = (bool)(arg1)->HasPage(arg2);
29284 wxPyEndAllowThreads(__tstate);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 {
29288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29289 }
29290 return resultobj;
29291 fail:
29292 return NULL;
29293 }
29294
29295
29296 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29297 PyObject *resultobj = 0;
29298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29299 int *arg2 = (int *) 0 ;
29300 int *arg3 = (int *) 0 ;
29301 int *arg4 = (int *) 0 ;
29302 int *arg5 = (int *) 0 ;
29303 void *argp1 = 0 ;
29304 int res1 = 0 ;
29305 int temp2 ;
29306 int res2 = SWIG_TMPOBJ ;
29307 int temp3 ;
29308 int res3 = SWIG_TMPOBJ ;
29309 int temp4 ;
29310 int res4 = SWIG_TMPOBJ ;
29311 int temp5 ;
29312 int res5 = SWIG_TMPOBJ ;
29313 PyObject *swig_obj[1] ;
29314
29315 arg2 = &temp2;
29316 arg3 = &temp3;
29317 arg4 = &temp4;
29318 arg5 = &temp5;
29319 if (!args) SWIG_fail;
29320 swig_obj[0] = args;
29321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29322 if (!SWIG_IsOK(res1)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29324 }
29325 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29326 {
29327 PyThreadState* __tstate = wxPyBeginAllowThreads();
29328 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29329 wxPyEndAllowThreads(__tstate);
29330 if (PyErr_Occurred()) SWIG_fail;
29331 }
29332 resultobj = SWIG_Py_Void();
29333 if (SWIG_IsTmpObj(res2)) {
29334 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29335 } else {
29336 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29337 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29338 }
29339 if (SWIG_IsTmpObj(res3)) {
29340 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29341 } else {
29342 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29343 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29344 }
29345 if (SWIG_IsTmpObj(res4)) {
29346 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29347 } else {
29348 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29349 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29350 }
29351 if (SWIG_IsTmpObj(res5)) {
29352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29353 } else {
29354 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29356 }
29357 return resultobj;
29358 fail:
29359 return NULL;
29360 }
29361
29362
29363 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29364 PyObject *obj;
29365 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29366 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29367 return SWIG_Py_Void();
29368 }
29369
29370 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29371 return SWIG_Python_InitShadowInstance(args);
29372 }
29373
29374 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29375 PyObject *resultobj = 0;
29376 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29377 wxWindow *arg2 = (wxWindow *) 0 ;
29378 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29379 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29380 wxSize const &arg4_defvalue = wxDefaultSize ;
29381 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29382 long arg5 = (long) 0 ;
29383 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29384 wxString *arg6 = (wxString *) &arg6_defvalue ;
29385 wxPreviewCanvas *result = 0 ;
29386 void *argp1 = 0 ;
29387 int res1 = 0 ;
29388 void *argp2 = 0 ;
29389 int res2 = 0 ;
29390 wxPoint temp3 ;
29391 wxSize temp4 ;
29392 long val5 ;
29393 int ecode5 = 0 ;
29394 bool temp6 = false ;
29395 PyObject * obj0 = 0 ;
29396 PyObject * obj1 = 0 ;
29397 PyObject * obj2 = 0 ;
29398 PyObject * obj3 = 0 ;
29399 PyObject * obj4 = 0 ;
29400 PyObject * obj5 = 0 ;
29401 char * kwnames[] = {
29402 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29403 };
29404
29405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29407 if (!SWIG_IsOK(res1)) {
29408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29409 }
29410 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29412 if (!SWIG_IsOK(res2)) {
29413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29414 }
29415 arg2 = reinterpret_cast< wxWindow * >(argp2);
29416 if (obj2) {
29417 {
29418 arg3 = &temp3;
29419 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29420 }
29421 }
29422 if (obj3) {
29423 {
29424 arg4 = &temp4;
29425 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29426 }
29427 }
29428 if (obj4) {
29429 ecode5 = SWIG_AsVal_long(obj4, &val5);
29430 if (!SWIG_IsOK(ecode5)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29432 }
29433 arg5 = static_cast< long >(val5);
29434 }
29435 if (obj5) {
29436 {
29437 arg6 = wxString_in_helper(obj5);
29438 if (arg6 == NULL) SWIG_fail;
29439 temp6 = true;
29440 }
29441 }
29442 {
29443 if (!wxPyCheckForApp()) SWIG_fail;
29444 PyThreadState* __tstate = wxPyBeginAllowThreads();
29445 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29450 {
29451 if (temp6)
29452 delete arg6;
29453 }
29454 return resultobj;
29455 fail:
29456 {
29457 if (temp6)
29458 delete arg6;
29459 }
29460 return NULL;
29461 }
29462
29463
29464 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29465 PyObject *obj;
29466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29467 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29468 return SWIG_Py_Void();
29469 }
29470
29471 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29472 return SWIG_Python_InitShadowInstance(args);
29473 }
29474
29475 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29476 PyObject *resultobj = 0;
29477 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29478 wxFrame *arg2 = (wxFrame *) 0 ;
29479 wxString *arg3 = 0 ;
29480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29482 wxSize const &arg5_defvalue = wxDefaultSize ;
29483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29484 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29485 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29486 wxString *arg7 = (wxString *) &arg7_defvalue ;
29487 wxPreviewFrame *result = 0 ;
29488 int res1 = 0 ;
29489 void *argp2 = 0 ;
29490 int res2 = 0 ;
29491 bool temp3 = false ;
29492 wxPoint temp4 ;
29493 wxSize temp5 ;
29494 long val6 ;
29495 int ecode6 = 0 ;
29496 bool temp7 = false ;
29497 PyObject * obj0 = 0 ;
29498 PyObject * obj1 = 0 ;
29499 PyObject * obj2 = 0 ;
29500 PyObject * obj3 = 0 ;
29501 PyObject * obj4 = 0 ;
29502 PyObject * obj5 = 0 ;
29503 PyObject * obj6 = 0 ;
29504 char * kwnames[] = {
29505 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29506 };
29507
29508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29509 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29510 if (!SWIG_IsOK(res1)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29512 }
29513 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29514 if (!SWIG_IsOK(res2)) {
29515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29516 }
29517 arg2 = reinterpret_cast< wxFrame * >(argp2);
29518 {
29519 arg3 = wxString_in_helper(obj2);
29520 if (arg3 == NULL) SWIG_fail;
29521 temp3 = true;
29522 }
29523 if (obj3) {
29524 {
29525 arg4 = &temp4;
29526 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29527 }
29528 }
29529 if (obj4) {
29530 {
29531 arg5 = &temp5;
29532 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29533 }
29534 }
29535 if (obj5) {
29536 ecode6 = SWIG_AsVal_long(obj5, &val6);
29537 if (!SWIG_IsOK(ecode6)) {
29538 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29539 }
29540 arg6 = static_cast< long >(val6);
29541 }
29542 if (obj6) {
29543 {
29544 arg7 = wxString_in_helper(obj6);
29545 if (arg7 == NULL) SWIG_fail;
29546 temp7 = true;
29547 }
29548 }
29549 {
29550 if (!wxPyCheckForApp()) SWIG_fail;
29551 PyThreadState* __tstate = wxPyBeginAllowThreads();
29552 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29553 wxPyEndAllowThreads(__tstate);
29554 if (PyErr_Occurred()) SWIG_fail;
29555 }
29556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29557 {
29558 if (temp3)
29559 delete arg3;
29560 }
29561 {
29562 if (temp7)
29563 delete arg7;
29564 }
29565 return resultobj;
29566 fail:
29567 {
29568 if (temp3)
29569 delete arg3;
29570 }
29571 {
29572 if (temp7)
29573 delete arg7;
29574 }
29575 return NULL;
29576 }
29577
29578
29579 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29580 PyObject *resultobj = 0;
29581 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29582 void *argp1 = 0 ;
29583 int res1 = 0 ;
29584 PyObject *swig_obj[1] ;
29585
29586 if (!args) SWIG_fail;
29587 swig_obj[0] = args;
29588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29589 if (!SWIG_IsOK(res1)) {
29590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29591 }
29592 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 (arg1)->Initialize();
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 resultobj = SWIG_Py_Void();
29600 return resultobj;
29601 fail:
29602 return NULL;
29603 }
29604
29605
29606 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29607 PyObject *resultobj = 0;
29608 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29609 void *argp1 = 0 ;
29610 int res1 = 0 ;
29611 PyObject *swig_obj[1] ;
29612
29613 if (!args) SWIG_fail;
29614 swig_obj[0] = args;
29615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29616 if (!SWIG_IsOK(res1)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29618 }
29619 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29620 {
29621 PyThreadState* __tstate = wxPyBeginAllowThreads();
29622 (arg1)->CreateControlBar();
29623 wxPyEndAllowThreads(__tstate);
29624 if (PyErr_Occurred()) SWIG_fail;
29625 }
29626 resultobj = SWIG_Py_Void();
29627 return resultobj;
29628 fail:
29629 return NULL;
29630 }
29631
29632
29633 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29634 PyObject *resultobj = 0;
29635 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29636 void *argp1 = 0 ;
29637 int res1 = 0 ;
29638 PyObject *swig_obj[1] ;
29639
29640 if (!args) SWIG_fail;
29641 swig_obj[0] = args;
29642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29643 if (!SWIG_IsOK(res1)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29645 }
29646 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29647 {
29648 PyThreadState* __tstate = wxPyBeginAllowThreads();
29649 (arg1)->CreateCanvas();
29650 wxPyEndAllowThreads(__tstate);
29651 if (PyErr_Occurred()) SWIG_fail;
29652 }
29653 resultobj = SWIG_Py_Void();
29654 return resultobj;
29655 fail:
29656 return NULL;
29657 }
29658
29659
29660 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29661 PyObject *resultobj = 0;
29662 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29663 wxPreviewControlBar *result = 0 ;
29664 void *argp1 = 0 ;
29665 int res1 = 0 ;
29666 PyObject *swig_obj[1] ;
29667
29668 if (!args) SWIG_fail;
29669 swig_obj[0] = args;
29670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29671 if (!SWIG_IsOK(res1)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29673 }
29674 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29675 {
29676 PyThreadState* __tstate = wxPyBeginAllowThreads();
29677 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29678 wxPyEndAllowThreads(__tstate);
29679 if (PyErr_Occurred()) SWIG_fail;
29680 }
29681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29682 return resultobj;
29683 fail:
29684 return NULL;
29685 }
29686
29687
29688 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29689 PyObject *obj;
29690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29692 return SWIG_Py_Void();
29693 }
29694
29695 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29696 return SWIG_Python_InitShadowInstance(args);
29697 }
29698
29699 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29700 PyObject *resultobj = 0;
29701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29702 long arg2 ;
29703 wxWindow *arg3 = (wxWindow *) 0 ;
29704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29706 wxSize const &arg5_defvalue = wxDefaultSize ;
29707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29708 long arg6 = (long) wxTAB_TRAVERSAL ;
29709 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29710 wxString *arg7 = (wxString *) &arg7_defvalue ;
29711 wxPreviewControlBar *result = 0 ;
29712 void *argp1 = 0 ;
29713 int res1 = 0 ;
29714 long val2 ;
29715 int ecode2 = 0 ;
29716 void *argp3 = 0 ;
29717 int res3 = 0 ;
29718 wxPoint temp4 ;
29719 wxSize temp5 ;
29720 long val6 ;
29721 int ecode6 = 0 ;
29722 bool temp7 = false ;
29723 PyObject * obj0 = 0 ;
29724 PyObject * obj1 = 0 ;
29725 PyObject * obj2 = 0 ;
29726 PyObject * obj3 = 0 ;
29727 PyObject * obj4 = 0 ;
29728 PyObject * obj5 = 0 ;
29729 PyObject * obj6 = 0 ;
29730 char * kwnames[] = {
29731 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29732 };
29733
29734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29736 if (!SWIG_IsOK(res1)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29738 }
29739 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29740 ecode2 = SWIG_AsVal_long(obj1, &val2);
29741 if (!SWIG_IsOK(ecode2)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29743 }
29744 arg2 = static_cast< long >(val2);
29745 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29746 if (!SWIG_IsOK(res3)) {
29747 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29748 }
29749 arg3 = reinterpret_cast< wxWindow * >(argp3);
29750 if (obj3) {
29751 {
29752 arg4 = &temp4;
29753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29754 }
29755 }
29756 if (obj4) {
29757 {
29758 arg5 = &temp5;
29759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29760 }
29761 }
29762 if (obj5) {
29763 ecode6 = SWIG_AsVal_long(obj5, &val6);
29764 if (!SWIG_IsOK(ecode6)) {
29765 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29766 }
29767 arg6 = static_cast< long >(val6);
29768 }
29769 if (obj6) {
29770 {
29771 arg7 = wxString_in_helper(obj6);
29772 if (arg7 == NULL) SWIG_fail;
29773 temp7 = true;
29774 }
29775 }
29776 {
29777 if (!wxPyCheckForApp()) SWIG_fail;
29778 PyThreadState* __tstate = wxPyBeginAllowThreads();
29779 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29780 wxPyEndAllowThreads(__tstate);
29781 if (PyErr_Occurred()) SWIG_fail;
29782 }
29783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29784 {
29785 if (temp7)
29786 delete arg7;
29787 }
29788 return resultobj;
29789 fail:
29790 {
29791 if (temp7)
29792 delete arg7;
29793 }
29794 return NULL;
29795 }
29796
29797
29798 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29799 PyObject *resultobj = 0;
29800 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29801 int result;
29802 void *argp1 = 0 ;
29803 int res1 = 0 ;
29804 PyObject *swig_obj[1] ;
29805
29806 if (!args) SWIG_fail;
29807 swig_obj[0] = args;
29808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29809 if (!SWIG_IsOK(res1)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29811 }
29812 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29813 {
29814 PyThreadState* __tstate = wxPyBeginAllowThreads();
29815 result = (int)(arg1)->GetZoomControl();
29816 wxPyEndAllowThreads(__tstate);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 resultobj = SWIG_From_int(static_cast< int >(result));
29820 return resultobj;
29821 fail:
29822 return NULL;
29823 }
29824
29825
29826 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29827 PyObject *resultobj = 0;
29828 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29829 int arg2 ;
29830 void *argp1 = 0 ;
29831 int res1 = 0 ;
29832 int val2 ;
29833 int ecode2 = 0 ;
29834 PyObject * obj0 = 0 ;
29835 PyObject * obj1 = 0 ;
29836 char * kwnames[] = {
29837 (char *) "self",(char *) "zoom", NULL
29838 };
29839
29840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29842 if (!SWIG_IsOK(res1)) {
29843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29844 }
29845 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29846 ecode2 = SWIG_AsVal_int(obj1, &val2);
29847 if (!SWIG_IsOK(ecode2)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29849 }
29850 arg2 = static_cast< int >(val2);
29851 {
29852 PyThreadState* __tstate = wxPyBeginAllowThreads();
29853 (arg1)->SetZoomControl(arg2);
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 resultobj = SWIG_Py_Void();
29858 return resultobj;
29859 fail:
29860 return NULL;
29861 }
29862
29863
29864 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29865 PyObject *resultobj = 0;
29866 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29867 wxPrintPreview *result = 0 ;
29868 void *argp1 = 0 ;
29869 int res1 = 0 ;
29870 PyObject *swig_obj[1] ;
29871
29872 if (!args) SWIG_fail;
29873 swig_obj[0] = args;
29874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29875 if (!SWIG_IsOK(res1)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29877 }
29878 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29879 {
29880 PyThreadState* __tstate = wxPyBeginAllowThreads();
29881 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29882 wxPyEndAllowThreads(__tstate);
29883 if (PyErr_Occurred()) SWIG_fail;
29884 }
29885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29886 return resultobj;
29887 fail:
29888 return NULL;
29889 }
29890
29891
29892 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29893 PyObject *resultobj = 0;
29894 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29895 void *argp1 = 0 ;
29896 int res1 = 0 ;
29897 PyObject *swig_obj[1] ;
29898
29899 if (!args) SWIG_fail;
29900 swig_obj[0] = args;
29901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29902 if (!SWIG_IsOK(res1)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29904 }
29905 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29906 {
29907 PyThreadState* __tstate = wxPyBeginAllowThreads();
29908 (arg1)->OnNext();
29909 wxPyEndAllowThreads(__tstate);
29910 if (PyErr_Occurred()) SWIG_fail;
29911 }
29912 resultobj = SWIG_Py_Void();
29913 return resultobj;
29914 fail:
29915 return NULL;
29916 }
29917
29918
29919 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29920 PyObject *resultobj = 0;
29921 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29922 void *argp1 = 0 ;
29923 int res1 = 0 ;
29924 PyObject *swig_obj[1] ;
29925
29926 if (!args) SWIG_fail;
29927 swig_obj[0] = args;
29928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29929 if (!SWIG_IsOK(res1)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29931 }
29932 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29933 {
29934 PyThreadState* __tstate = wxPyBeginAllowThreads();
29935 (arg1)->OnPrevious();
29936 wxPyEndAllowThreads(__tstate);
29937 if (PyErr_Occurred()) SWIG_fail;
29938 }
29939 resultobj = SWIG_Py_Void();
29940 return resultobj;
29941 fail:
29942 return NULL;
29943 }
29944
29945
29946 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29947 PyObject *resultobj = 0;
29948 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29949 void *argp1 = 0 ;
29950 int res1 = 0 ;
29951 PyObject *swig_obj[1] ;
29952
29953 if (!args) SWIG_fail;
29954 swig_obj[0] = args;
29955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29956 if (!SWIG_IsOK(res1)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29958 }
29959 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29960 {
29961 PyThreadState* __tstate = wxPyBeginAllowThreads();
29962 (arg1)->OnFirst();
29963 wxPyEndAllowThreads(__tstate);
29964 if (PyErr_Occurred()) SWIG_fail;
29965 }
29966 resultobj = SWIG_Py_Void();
29967 return resultobj;
29968 fail:
29969 return NULL;
29970 }
29971
29972
29973 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29974 PyObject *resultobj = 0;
29975 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29976 void *argp1 = 0 ;
29977 int res1 = 0 ;
29978 PyObject *swig_obj[1] ;
29979
29980 if (!args) SWIG_fail;
29981 swig_obj[0] = args;
29982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29983 if (!SWIG_IsOK(res1)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29985 }
29986 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29987 {
29988 PyThreadState* __tstate = wxPyBeginAllowThreads();
29989 (arg1)->OnLast();
29990 wxPyEndAllowThreads(__tstate);
29991 if (PyErr_Occurred()) SWIG_fail;
29992 }
29993 resultobj = SWIG_Py_Void();
29994 return resultobj;
29995 fail:
29996 return NULL;
29997 }
29998
29999
30000 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30001 PyObject *resultobj = 0;
30002 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30003 void *argp1 = 0 ;
30004 int res1 = 0 ;
30005 PyObject *swig_obj[1] ;
30006
30007 if (!args) SWIG_fail;
30008 swig_obj[0] = args;
30009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30010 if (!SWIG_IsOK(res1)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30012 }
30013 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30014 {
30015 PyThreadState* __tstate = wxPyBeginAllowThreads();
30016 (arg1)->OnGoto();
30017 wxPyEndAllowThreads(__tstate);
30018 if (PyErr_Occurred()) SWIG_fail;
30019 }
30020 resultobj = SWIG_Py_Void();
30021 return resultobj;
30022 fail:
30023 return NULL;
30024 }
30025
30026
30027 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30028 PyObject *obj;
30029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30030 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30031 return SWIG_Py_Void();
30032 }
30033
30034 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30035 return SWIG_Python_InitShadowInstance(args);
30036 }
30037
30038 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30039 PyObject *resultobj = 0;
30040 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30041 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30042 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30043 wxPrintPreview *result = 0 ;
30044 int res1 = 0 ;
30045 int res2 = 0 ;
30046 void *argp3 = 0 ;
30047 int res3 = 0 ;
30048
30049 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30050 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30051 if (!SWIG_IsOK(res1)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30053 }
30054 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30055 if (!SWIG_IsOK(res2)) {
30056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30057 }
30058 if (swig_obj[2]) {
30059 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30060 if (!SWIG_IsOK(res3)) {
30061 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30062 }
30063 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30064 }
30065 {
30066 if (!wxPyCheckForApp()) SWIG_fail;
30067 PyThreadState* __tstate = wxPyBeginAllowThreads();
30068 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30069 wxPyEndAllowThreads(__tstate);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30073 return resultobj;
30074 fail:
30075 return NULL;
30076 }
30077
30078
30079 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30080 PyObject *resultobj = 0;
30081 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30082 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30083 wxPrintData *arg3 = (wxPrintData *) 0 ;
30084 wxPrintPreview *result = 0 ;
30085 int res1 = 0 ;
30086 int res2 = 0 ;
30087 void *argp3 = 0 ;
30088 int res3 = 0 ;
30089
30090 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30091 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30092 if (!SWIG_IsOK(res1)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30094 }
30095 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30096 if (!SWIG_IsOK(res2)) {
30097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30098 }
30099 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30100 if (!SWIG_IsOK(res3)) {
30101 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30102 }
30103 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30104 {
30105 if (!wxPyCheckForApp()) SWIG_fail;
30106 PyThreadState* __tstate = wxPyBeginAllowThreads();
30107 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30108 wxPyEndAllowThreads(__tstate);
30109 if (PyErr_Occurred()) SWIG_fail;
30110 }
30111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30112 return resultobj;
30113 fail:
30114 return NULL;
30115 }
30116
30117
30118 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30119 int argc;
30120 PyObject *argv[4];
30121
30122 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30123 --argc;
30124 if ((argc >= 2) && (argc <= 3)) {
30125 int _v = 0;
30126 if (argc > 2) {
30127 {
30128 void *vptr = 0;
30129 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30130 _v = SWIG_CheckState(res);
30131 }
30132 if (!_v) goto check_1;
30133 }
30134 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30135 }
30136 check_1:
30137
30138 if (argc == 3) {
30139 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30140 }
30141
30142 fail:
30143 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30144 return NULL;
30145 }
30146
30147
30148 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30149 PyObject *resultobj = 0;
30150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30151 void *argp1 = 0 ;
30152 int res1 = 0 ;
30153 PyObject *swig_obj[1] ;
30154
30155 if (!args) SWIG_fail;
30156 swig_obj[0] = args;
30157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30158 if (!SWIG_IsOK(res1)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30160 }
30161 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30162 {
30163 PyThreadState* __tstate = wxPyBeginAllowThreads();
30164 delete arg1;
30165
30166 wxPyEndAllowThreads(__tstate);
30167 if (PyErr_Occurred()) SWIG_fail;
30168 }
30169 resultobj = SWIG_Py_Void();
30170 return resultobj;
30171 fail:
30172 return NULL;
30173 }
30174
30175
30176 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30177 PyObject *resultobj = 0;
30178 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30179 int arg2 ;
30180 bool result;
30181 void *argp1 = 0 ;
30182 int res1 = 0 ;
30183 int val2 ;
30184 int ecode2 = 0 ;
30185 PyObject * obj0 = 0 ;
30186 PyObject * obj1 = 0 ;
30187 char * kwnames[] = {
30188 (char *) "self",(char *) "pageNum", NULL
30189 };
30190
30191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30193 if (!SWIG_IsOK(res1)) {
30194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30195 }
30196 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30197 ecode2 = SWIG_AsVal_int(obj1, &val2);
30198 if (!SWIG_IsOK(ecode2)) {
30199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30200 }
30201 arg2 = static_cast< int >(val2);
30202 {
30203 PyThreadState* __tstate = wxPyBeginAllowThreads();
30204 result = (bool)(arg1)->SetCurrentPage(arg2);
30205 wxPyEndAllowThreads(__tstate);
30206 if (PyErr_Occurred()) SWIG_fail;
30207 }
30208 {
30209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30210 }
30211 return resultobj;
30212 fail:
30213 return NULL;
30214 }
30215
30216
30217 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30218 PyObject *resultobj = 0;
30219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30220 int result;
30221 void *argp1 = 0 ;
30222 int res1 = 0 ;
30223 PyObject *swig_obj[1] ;
30224
30225 if (!args) SWIG_fail;
30226 swig_obj[0] = args;
30227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30228 if (!SWIG_IsOK(res1)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30230 }
30231 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30232 {
30233 PyThreadState* __tstate = wxPyBeginAllowThreads();
30234 result = (int)(arg1)->GetCurrentPage();
30235 wxPyEndAllowThreads(__tstate);
30236 if (PyErr_Occurred()) SWIG_fail;
30237 }
30238 resultobj = SWIG_From_int(static_cast< int >(result));
30239 return resultobj;
30240 fail:
30241 return NULL;
30242 }
30243
30244
30245 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30246 PyObject *resultobj = 0;
30247 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30248 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30249 void *argp1 = 0 ;
30250 int res1 = 0 ;
30251 int res2 = 0 ;
30252 PyObject * obj0 = 0 ;
30253 PyObject * obj1 = 0 ;
30254 char * kwnames[] = {
30255 (char *) "self",(char *) "printout", NULL
30256 };
30257
30258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30260 if (!SWIG_IsOK(res1)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30262 }
30263 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30264 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30265 if (!SWIG_IsOK(res2)) {
30266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30267 }
30268 {
30269 PyThreadState* __tstate = wxPyBeginAllowThreads();
30270 (arg1)->SetPrintout(arg2);
30271 wxPyEndAllowThreads(__tstate);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 }
30274 resultobj = SWIG_Py_Void();
30275 return resultobj;
30276 fail:
30277 return NULL;
30278 }
30279
30280
30281 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30282 PyObject *resultobj = 0;
30283 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30284 wxPyPrintout *result = 0 ;
30285 void *argp1 = 0 ;
30286 int res1 = 0 ;
30287 PyObject *swig_obj[1] ;
30288
30289 if (!args) SWIG_fail;
30290 swig_obj[0] = args;
30291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30292 if (!SWIG_IsOK(res1)) {
30293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30294 }
30295 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30296 {
30297 PyThreadState* __tstate = wxPyBeginAllowThreads();
30298 result = (wxPyPrintout *)(arg1)->GetPrintout();
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 {
30303 resultobj = wxPyMake_wxObject(result, 0);
30304 }
30305 return resultobj;
30306 fail:
30307 return NULL;
30308 }
30309
30310
30311 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30312 PyObject *resultobj = 0;
30313 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30314 wxPyPrintout *result = 0 ;
30315 void *argp1 = 0 ;
30316 int res1 = 0 ;
30317 PyObject *swig_obj[1] ;
30318
30319 if (!args) SWIG_fail;
30320 swig_obj[0] = args;
30321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30322 if (!SWIG_IsOK(res1)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30324 }
30325 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30329 wxPyEndAllowThreads(__tstate);
30330 if (PyErr_Occurred()) SWIG_fail;
30331 }
30332 {
30333 resultobj = wxPyMake_wxObject(result, 0);
30334 }
30335 return resultobj;
30336 fail:
30337 return NULL;
30338 }
30339
30340
30341 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30342 PyObject *resultobj = 0;
30343 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30344 wxFrame *arg2 = (wxFrame *) 0 ;
30345 void *argp1 = 0 ;
30346 int res1 = 0 ;
30347 void *argp2 = 0 ;
30348 int res2 = 0 ;
30349 PyObject * obj0 = 0 ;
30350 PyObject * obj1 = 0 ;
30351 char * kwnames[] = {
30352 (char *) "self",(char *) "frame", NULL
30353 };
30354
30355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30357 if (!SWIG_IsOK(res1)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30359 }
30360 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30361 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30362 if (!SWIG_IsOK(res2)) {
30363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30364 }
30365 arg2 = reinterpret_cast< wxFrame * >(argp2);
30366 {
30367 PyThreadState* __tstate = wxPyBeginAllowThreads();
30368 (arg1)->SetFrame(arg2);
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 resultobj = SWIG_Py_Void();
30373 return resultobj;
30374 fail:
30375 return NULL;
30376 }
30377
30378
30379 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30380 PyObject *resultobj = 0;
30381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30382 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30383 void *argp1 = 0 ;
30384 int res1 = 0 ;
30385 void *argp2 = 0 ;
30386 int res2 = 0 ;
30387 PyObject * obj0 = 0 ;
30388 PyObject * obj1 = 0 ;
30389 char * kwnames[] = {
30390 (char *) "self",(char *) "canvas", NULL
30391 };
30392
30393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30395 if (!SWIG_IsOK(res1)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30397 }
30398 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30400 if (!SWIG_IsOK(res2)) {
30401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30402 }
30403 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30404 {
30405 PyThreadState* __tstate = wxPyBeginAllowThreads();
30406 (arg1)->SetCanvas(arg2);
30407 wxPyEndAllowThreads(__tstate);
30408 if (PyErr_Occurred()) SWIG_fail;
30409 }
30410 resultobj = SWIG_Py_Void();
30411 return resultobj;
30412 fail:
30413 return NULL;
30414 }
30415
30416
30417 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30418 PyObject *resultobj = 0;
30419 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30420 wxFrame *result = 0 ;
30421 void *argp1 = 0 ;
30422 int res1 = 0 ;
30423 PyObject *swig_obj[1] ;
30424
30425 if (!args) SWIG_fail;
30426 swig_obj[0] = args;
30427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30428 if (!SWIG_IsOK(res1)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30430 }
30431 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30432 {
30433 PyThreadState* __tstate = wxPyBeginAllowThreads();
30434 result = (wxFrame *)(arg1)->GetFrame();
30435 wxPyEndAllowThreads(__tstate);
30436 if (PyErr_Occurred()) SWIG_fail;
30437 }
30438 {
30439 resultobj = wxPyMake_wxObject(result, 0);
30440 }
30441 return resultobj;
30442 fail:
30443 return NULL;
30444 }
30445
30446
30447 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30448 PyObject *resultobj = 0;
30449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30450 wxPreviewCanvas *result = 0 ;
30451 void *argp1 = 0 ;
30452 int res1 = 0 ;
30453 PyObject *swig_obj[1] ;
30454
30455 if (!args) SWIG_fail;
30456 swig_obj[0] = args;
30457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30458 if (!SWIG_IsOK(res1)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30460 }
30461 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30462 {
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30465 wxPyEndAllowThreads(__tstate);
30466 if (PyErr_Occurred()) SWIG_fail;
30467 }
30468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30469 return resultobj;
30470 fail:
30471 return NULL;
30472 }
30473
30474
30475 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30476 PyObject *resultobj = 0;
30477 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30478 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30479 wxDC *arg3 = 0 ;
30480 bool result;
30481 void *argp1 = 0 ;
30482 int res1 = 0 ;
30483 void *argp2 = 0 ;
30484 int res2 = 0 ;
30485 void *argp3 = 0 ;
30486 int res3 = 0 ;
30487 PyObject * obj0 = 0 ;
30488 PyObject * obj1 = 0 ;
30489 PyObject * obj2 = 0 ;
30490 char * kwnames[] = {
30491 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30492 };
30493
30494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30496 if (!SWIG_IsOK(res1)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30498 }
30499 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30500 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30501 if (!SWIG_IsOK(res2)) {
30502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30503 }
30504 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30505 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30506 if (!SWIG_IsOK(res3)) {
30507 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30508 }
30509 if (!argp3) {
30510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30511 }
30512 arg3 = reinterpret_cast< wxDC * >(argp3);
30513 {
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 {
30520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30521 }
30522 return resultobj;
30523 fail:
30524 return NULL;
30525 }
30526
30527
30528 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30529 PyObject *resultobj = 0;
30530 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30531 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30532 wxDC *arg3 = 0 ;
30533 bool result;
30534 void *argp1 = 0 ;
30535 int res1 = 0 ;
30536 void *argp2 = 0 ;
30537 int res2 = 0 ;
30538 void *argp3 = 0 ;
30539 int res3 = 0 ;
30540 PyObject * obj0 = 0 ;
30541 PyObject * obj1 = 0 ;
30542 PyObject * obj2 = 0 ;
30543 char * kwnames[] = {
30544 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30545 };
30546
30547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30549 if (!SWIG_IsOK(res1)) {
30550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30551 }
30552 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30554 if (!SWIG_IsOK(res2)) {
30555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30556 }
30557 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30558 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30559 if (!SWIG_IsOK(res3)) {
30560 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30561 }
30562 if (!argp3) {
30563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30564 }
30565 arg3 = reinterpret_cast< wxDC * >(argp3);
30566 {
30567 PyThreadState* __tstate = wxPyBeginAllowThreads();
30568 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30569 wxPyEndAllowThreads(__tstate);
30570 if (PyErr_Occurred()) SWIG_fail;
30571 }
30572 {
30573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30574 }
30575 return resultobj;
30576 fail:
30577 return NULL;
30578 }
30579
30580
30581 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30582 PyObject *resultobj = 0;
30583 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30584 int arg2 ;
30585 bool result;
30586 void *argp1 = 0 ;
30587 int res1 = 0 ;
30588 int val2 ;
30589 int ecode2 = 0 ;
30590 PyObject * obj0 = 0 ;
30591 PyObject * obj1 = 0 ;
30592 char * kwnames[] = {
30593 (char *) "self",(char *) "pageNum", NULL
30594 };
30595
30596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30598 if (!SWIG_IsOK(res1)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30600 }
30601 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30602 ecode2 = SWIG_AsVal_int(obj1, &val2);
30603 if (!SWIG_IsOK(ecode2)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30605 }
30606 arg2 = static_cast< int >(val2);
30607 {
30608 PyThreadState* __tstate = wxPyBeginAllowThreads();
30609 result = (bool)(arg1)->RenderPage(arg2);
30610 wxPyEndAllowThreads(__tstate);
30611 if (PyErr_Occurred()) SWIG_fail;
30612 }
30613 {
30614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30615 }
30616 return resultobj;
30617 fail:
30618 return NULL;
30619 }
30620
30621
30622 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30623 PyObject *resultobj = 0;
30624 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30625 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30626 void *argp1 = 0 ;
30627 int res1 = 0 ;
30628 void *argp2 = 0 ;
30629 int res2 = 0 ;
30630 PyObject * obj0 = 0 ;
30631 PyObject * obj1 = 0 ;
30632 char * kwnames[] = {
30633 (char *) "self",(char *) "canvas", NULL
30634 };
30635
30636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30638 if (!SWIG_IsOK(res1)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30640 }
30641 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30643 if (!SWIG_IsOK(res2)) {
30644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30645 }
30646 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30647 {
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 (arg1)->AdjustScrollbars(arg2);
30650 wxPyEndAllowThreads(__tstate);
30651 if (PyErr_Occurred()) SWIG_fail;
30652 }
30653 resultobj = SWIG_Py_Void();
30654 return resultobj;
30655 fail:
30656 return NULL;
30657 }
30658
30659
30660 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30661 PyObject *resultobj = 0;
30662 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30663 wxPrintDialogData *result = 0 ;
30664 void *argp1 = 0 ;
30665 int res1 = 0 ;
30666 PyObject *swig_obj[1] ;
30667
30668 if (!args) SWIG_fail;
30669 swig_obj[0] = args;
30670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30671 if (!SWIG_IsOK(res1)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30673 }
30674 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 {
30678 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30679 result = (wxPrintDialogData *) &_result_ref;
30680 }
30681 wxPyEndAllowThreads(__tstate);
30682 if (PyErr_Occurred()) SWIG_fail;
30683 }
30684 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30685 return resultobj;
30686 fail:
30687 return NULL;
30688 }
30689
30690
30691 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30692 PyObject *resultobj = 0;
30693 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30694 int arg2 ;
30695 void *argp1 = 0 ;
30696 int res1 = 0 ;
30697 int val2 ;
30698 int ecode2 = 0 ;
30699 PyObject * obj0 = 0 ;
30700 PyObject * obj1 = 0 ;
30701 char * kwnames[] = {
30702 (char *) "self",(char *) "percent", NULL
30703 };
30704
30705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30707 if (!SWIG_IsOK(res1)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30709 }
30710 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30711 ecode2 = SWIG_AsVal_int(obj1, &val2);
30712 if (!SWIG_IsOK(ecode2)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30714 }
30715 arg2 = static_cast< int >(val2);
30716 {
30717 PyThreadState* __tstate = wxPyBeginAllowThreads();
30718 (arg1)->SetZoom(arg2);
30719 wxPyEndAllowThreads(__tstate);
30720 if (PyErr_Occurred()) SWIG_fail;
30721 }
30722 resultobj = SWIG_Py_Void();
30723 return resultobj;
30724 fail:
30725 return NULL;
30726 }
30727
30728
30729 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30730 PyObject *resultobj = 0;
30731 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30732 int result;
30733 void *argp1 = 0 ;
30734 int res1 = 0 ;
30735 PyObject *swig_obj[1] ;
30736
30737 if (!args) SWIG_fail;
30738 swig_obj[0] = args;
30739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30740 if (!SWIG_IsOK(res1)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30742 }
30743 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30744 {
30745 PyThreadState* __tstate = wxPyBeginAllowThreads();
30746 result = (int)(arg1)->GetZoom();
30747 wxPyEndAllowThreads(__tstate);
30748 if (PyErr_Occurred()) SWIG_fail;
30749 }
30750 resultobj = SWIG_From_int(static_cast< int >(result));
30751 return resultobj;
30752 fail:
30753 return NULL;
30754 }
30755
30756
30757 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30758 PyObject *resultobj = 0;
30759 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30760 int result;
30761 void *argp1 = 0 ;
30762 int res1 = 0 ;
30763 PyObject *swig_obj[1] ;
30764
30765 if (!args) SWIG_fail;
30766 swig_obj[0] = args;
30767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30768 if (!SWIG_IsOK(res1)) {
30769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30770 }
30771 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30772 {
30773 PyThreadState* __tstate = wxPyBeginAllowThreads();
30774 result = (int)(arg1)->GetMaxPage();
30775 wxPyEndAllowThreads(__tstate);
30776 if (PyErr_Occurred()) SWIG_fail;
30777 }
30778 resultobj = SWIG_From_int(static_cast< int >(result));
30779 return resultobj;
30780 fail:
30781 return NULL;
30782 }
30783
30784
30785 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30786 PyObject *resultobj = 0;
30787 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30788 int result;
30789 void *argp1 = 0 ;
30790 int res1 = 0 ;
30791 PyObject *swig_obj[1] ;
30792
30793 if (!args) SWIG_fail;
30794 swig_obj[0] = args;
30795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30796 if (!SWIG_IsOK(res1)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30798 }
30799 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 result = (int)(arg1)->GetMinPage();
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 resultobj = SWIG_From_int(static_cast< int >(result));
30807 return resultobj;
30808 fail:
30809 return NULL;
30810 }
30811
30812
30813 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30814 PyObject *resultobj = 0;
30815 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30816 bool result;
30817 void *argp1 = 0 ;
30818 int res1 = 0 ;
30819 PyObject *swig_obj[1] ;
30820
30821 if (!args) SWIG_fail;
30822 swig_obj[0] = args;
30823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30824 if (!SWIG_IsOK(res1)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30826 }
30827 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30828 {
30829 PyThreadState* __tstate = wxPyBeginAllowThreads();
30830 result = (bool)(arg1)->IsOk();
30831 wxPyEndAllowThreads(__tstate);
30832 if (PyErr_Occurred()) SWIG_fail;
30833 }
30834 {
30835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30836 }
30837 return resultobj;
30838 fail:
30839 return NULL;
30840 }
30841
30842
30843 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30844 PyObject *resultobj = 0;
30845 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30846 bool arg2 ;
30847 void *argp1 = 0 ;
30848 int res1 = 0 ;
30849 bool val2 ;
30850 int ecode2 = 0 ;
30851 PyObject * obj0 = 0 ;
30852 PyObject * obj1 = 0 ;
30853 char * kwnames[] = {
30854 (char *) "self",(char *) "ok", NULL
30855 };
30856
30857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30859 if (!SWIG_IsOK(res1)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30861 }
30862 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30863 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30864 if (!SWIG_IsOK(ecode2)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30866 }
30867 arg2 = static_cast< bool >(val2);
30868 {
30869 PyThreadState* __tstate = wxPyBeginAllowThreads();
30870 (arg1)->SetOk(arg2);
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 resultobj = SWIG_Py_Void();
30875 return resultobj;
30876 fail:
30877 return NULL;
30878 }
30879
30880
30881 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30882 PyObject *resultobj = 0;
30883 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30884 bool arg2 ;
30885 bool result;
30886 void *argp1 = 0 ;
30887 int res1 = 0 ;
30888 bool val2 ;
30889 int ecode2 = 0 ;
30890 PyObject * obj0 = 0 ;
30891 PyObject * obj1 = 0 ;
30892 char * kwnames[] = {
30893 (char *) "self",(char *) "interactive", NULL
30894 };
30895
30896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30898 if (!SWIG_IsOK(res1)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30900 }
30901 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30902 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30903 if (!SWIG_IsOK(ecode2)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30905 }
30906 arg2 = static_cast< bool >(val2);
30907 {
30908 PyThreadState* __tstate = wxPyBeginAllowThreads();
30909 result = (bool)(arg1)->Print(arg2);
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
30913 {
30914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30915 }
30916 return resultobj;
30917 fail:
30918 return NULL;
30919 }
30920
30921
30922 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30923 PyObject *resultobj = 0;
30924 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30925 void *argp1 = 0 ;
30926 int res1 = 0 ;
30927 PyObject *swig_obj[1] ;
30928
30929 if (!args) SWIG_fail;
30930 swig_obj[0] = args;
30931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30932 if (!SWIG_IsOK(res1)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30934 }
30935 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30936 {
30937 PyThreadState* __tstate = wxPyBeginAllowThreads();
30938 (arg1)->DetermineScaling();
30939 wxPyEndAllowThreads(__tstate);
30940 if (PyErr_Occurred()) SWIG_fail;
30941 }
30942 resultobj = SWIG_Py_Void();
30943 return resultobj;
30944 fail:
30945 return NULL;
30946 }
30947
30948
30949 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30950 PyObject *obj;
30951 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30952 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30953 return SWIG_Py_Void();
30954 }
30955
30956 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30957 return SWIG_Python_InitShadowInstance(args);
30958 }
30959
30960 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30961 PyObject *resultobj = 0;
30962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30963 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30964 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30965 wxPyPrintPreview *result = 0 ;
30966 int res1 = 0 ;
30967 int res2 = 0 ;
30968 void *argp3 = 0 ;
30969 int res3 = 0 ;
30970
30971 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30972 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30973 if (!SWIG_IsOK(res1)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30975 }
30976 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30977 if (!SWIG_IsOK(res2)) {
30978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30979 }
30980 if (swig_obj[2]) {
30981 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30982 if (!SWIG_IsOK(res3)) {
30983 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30984 }
30985 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30986 }
30987 {
30988 if (!wxPyCheckForApp()) SWIG_fail;
30989 PyThreadState* __tstate = wxPyBeginAllowThreads();
30990 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30991 wxPyEndAllowThreads(__tstate);
30992 if (PyErr_Occurred()) SWIG_fail;
30993 }
30994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30995 return resultobj;
30996 fail:
30997 return NULL;
30998 }
30999
31000
31001 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31002 PyObject *resultobj = 0;
31003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31004 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31005 wxPrintData *arg3 = (wxPrintData *) 0 ;
31006 wxPyPrintPreview *result = 0 ;
31007 int res1 = 0 ;
31008 int res2 = 0 ;
31009 void *argp3 = 0 ;
31010 int res3 = 0 ;
31011
31012 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31013 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31014 if (!SWIG_IsOK(res1)) {
31015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31016 }
31017 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31018 if (!SWIG_IsOK(res2)) {
31019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31020 }
31021 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31022 if (!SWIG_IsOK(res3)) {
31023 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31024 }
31025 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31026 {
31027 if (!wxPyCheckForApp()) SWIG_fail;
31028 PyThreadState* __tstate = wxPyBeginAllowThreads();
31029 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
31033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31034 return resultobj;
31035 fail:
31036 return NULL;
31037 }
31038
31039
31040 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31041 int argc;
31042 PyObject *argv[4];
31043
31044 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31045 --argc;
31046 if ((argc >= 2) && (argc <= 3)) {
31047 int _v = 0;
31048 if (argc > 2) {
31049 {
31050 void *vptr = 0;
31051 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31052 _v = SWIG_CheckState(res);
31053 }
31054 if (!_v) goto check_1;
31055 }
31056 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31057 }
31058 check_1:
31059
31060 if (argc == 3) {
31061 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31062 }
31063
31064 fail:
31065 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31066 return NULL;
31067 }
31068
31069
31070 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31071 PyObject *resultobj = 0;
31072 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31073 PyObject *arg2 = (PyObject *) 0 ;
31074 PyObject *arg3 = (PyObject *) 0 ;
31075 void *argp1 = 0 ;
31076 int res1 = 0 ;
31077 PyObject * obj0 = 0 ;
31078 PyObject * obj1 = 0 ;
31079 PyObject * obj2 = 0 ;
31080 char * kwnames[] = {
31081 (char *) "self",(char *) "self",(char *) "_class", NULL
31082 };
31083
31084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31086 if (!SWIG_IsOK(res1)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31088 }
31089 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31090 arg2 = obj1;
31091 arg3 = obj2;
31092 {
31093 PyThreadState* __tstate = wxPyBeginAllowThreads();
31094 (arg1)->_setCallbackInfo(arg2,arg3);
31095 wxPyEndAllowThreads(__tstate);
31096 if (PyErr_Occurred()) SWIG_fail;
31097 }
31098 resultobj = SWIG_Py_Void();
31099 return resultobj;
31100 fail:
31101 return NULL;
31102 }
31103
31104
31105 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31106 PyObject *obj;
31107 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31109 return SWIG_Py_Void();
31110 }
31111
31112 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31113 return SWIG_Python_InitShadowInstance(args);
31114 }
31115
31116 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31117 PyObject *resultobj = 0;
31118 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31119 wxFrame *arg2 = (wxFrame *) 0 ;
31120 wxString *arg3 = 0 ;
31121 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31122 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31123 wxSize const &arg5_defvalue = wxDefaultSize ;
31124 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31125 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31126 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31127 wxString *arg7 = (wxString *) &arg7_defvalue ;
31128 wxPyPreviewFrame *result = 0 ;
31129 int res1 = 0 ;
31130 void *argp2 = 0 ;
31131 int res2 = 0 ;
31132 bool temp3 = false ;
31133 wxPoint temp4 ;
31134 wxSize temp5 ;
31135 long val6 ;
31136 int ecode6 = 0 ;
31137 bool temp7 = false ;
31138 PyObject * obj0 = 0 ;
31139 PyObject * obj1 = 0 ;
31140 PyObject * obj2 = 0 ;
31141 PyObject * obj3 = 0 ;
31142 PyObject * obj4 = 0 ;
31143 PyObject * obj5 = 0 ;
31144 PyObject * obj6 = 0 ;
31145 char * kwnames[] = {
31146 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31147 };
31148
31149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31150 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31151 if (!SWIG_IsOK(res1)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31153 }
31154 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31155 if (!SWIG_IsOK(res2)) {
31156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31157 }
31158 arg2 = reinterpret_cast< wxFrame * >(argp2);
31159 {
31160 arg3 = wxString_in_helper(obj2);
31161 if (arg3 == NULL) SWIG_fail;
31162 temp3 = true;
31163 }
31164 if (obj3) {
31165 {
31166 arg4 = &temp4;
31167 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31168 }
31169 }
31170 if (obj4) {
31171 {
31172 arg5 = &temp5;
31173 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31174 }
31175 }
31176 if (obj5) {
31177 ecode6 = SWIG_AsVal_long(obj5, &val6);
31178 if (!SWIG_IsOK(ecode6)) {
31179 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31180 }
31181 arg6 = static_cast< long >(val6);
31182 }
31183 if (obj6) {
31184 {
31185 arg7 = wxString_in_helper(obj6);
31186 if (arg7 == NULL) SWIG_fail;
31187 temp7 = true;
31188 }
31189 }
31190 {
31191 if (!wxPyCheckForApp()) SWIG_fail;
31192 PyThreadState* __tstate = wxPyBeginAllowThreads();
31193 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31194 wxPyEndAllowThreads(__tstate);
31195 if (PyErr_Occurred()) SWIG_fail;
31196 }
31197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31198 {
31199 if (temp3)
31200 delete arg3;
31201 }
31202 {
31203 if (temp7)
31204 delete arg7;
31205 }
31206 return resultobj;
31207 fail:
31208 {
31209 if (temp3)
31210 delete arg3;
31211 }
31212 {
31213 if (temp7)
31214 delete arg7;
31215 }
31216 return NULL;
31217 }
31218
31219
31220 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31221 PyObject *resultobj = 0;
31222 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31223 PyObject *arg2 = (PyObject *) 0 ;
31224 PyObject *arg3 = (PyObject *) 0 ;
31225 void *argp1 = 0 ;
31226 int res1 = 0 ;
31227 PyObject * obj0 = 0 ;
31228 PyObject * obj1 = 0 ;
31229 PyObject * obj2 = 0 ;
31230 char * kwnames[] = {
31231 (char *) "self",(char *) "self",(char *) "_class", NULL
31232 };
31233
31234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31236 if (!SWIG_IsOK(res1)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31238 }
31239 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31240 arg2 = obj1;
31241 arg3 = obj2;
31242 {
31243 PyThreadState* __tstate = wxPyBeginAllowThreads();
31244 (arg1)->_setCallbackInfo(arg2,arg3);
31245 wxPyEndAllowThreads(__tstate);
31246 if (PyErr_Occurred()) SWIG_fail;
31247 }
31248 resultobj = SWIG_Py_Void();
31249 return resultobj;
31250 fail:
31251 return NULL;
31252 }
31253
31254
31255 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31256 PyObject *resultobj = 0;
31257 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31258 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31259 void *argp1 = 0 ;
31260 int res1 = 0 ;
31261 void *argp2 = 0 ;
31262 int res2 = 0 ;
31263 PyObject * obj0 = 0 ;
31264 PyObject * obj1 = 0 ;
31265 char * kwnames[] = {
31266 (char *) "self",(char *) "canvas", NULL
31267 };
31268
31269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31271 if (!SWIG_IsOK(res1)) {
31272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31273 }
31274 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31276 if (!SWIG_IsOK(res2)) {
31277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31278 }
31279 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31280 {
31281 PyThreadState* __tstate = wxPyBeginAllowThreads();
31282 (arg1)->SetPreviewCanvas(arg2);
31283 wxPyEndAllowThreads(__tstate);
31284 if (PyErr_Occurred()) SWIG_fail;
31285 }
31286 resultobj = SWIG_Py_Void();
31287 return resultobj;
31288 fail:
31289 return NULL;
31290 }
31291
31292
31293 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31294 PyObject *resultobj = 0;
31295 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31296 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31297 void *argp1 = 0 ;
31298 int res1 = 0 ;
31299 void *argp2 = 0 ;
31300 int res2 = 0 ;
31301 PyObject * obj0 = 0 ;
31302 PyObject * obj1 = 0 ;
31303 char * kwnames[] = {
31304 (char *) "self",(char *) "bar", NULL
31305 };
31306
31307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31309 if (!SWIG_IsOK(res1)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31311 }
31312 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31313 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31314 if (!SWIG_IsOK(res2)) {
31315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31316 }
31317 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31318 {
31319 PyThreadState* __tstate = wxPyBeginAllowThreads();
31320 (arg1)->SetControlBar(arg2);
31321 wxPyEndAllowThreads(__tstate);
31322 if (PyErr_Occurred()) SWIG_fail;
31323 }
31324 resultobj = SWIG_Py_Void();
31325 return resultobj;
31326 fail:
31327 return NULL;
31328 }
31329
31330
31331 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31332 PyObject *resultobj = 0;
31333 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31334 void *argp1 = 0 ;
31335 int res1 = 0 ;
31336 PyObject *swig_obj[1] ;
31337
31338 if (!args) SWIG_fail;
31339 swig_obj[0] = args;
31340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31341 if (!SWIG_IsOK(res1)) {
31342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31343 }
31344 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31345 {
31346 PyThreadState* __tstate = wxPyBeginAllowThreads();
31347 (arg1)->Initialize();
31348 wxPyEndAllowThreads(__tstate);
31349 if (PyErr_Occurred()) SWIG_fail;
31350 }
31351 resultobj = SWIG_Py_Void();
31352 return resultobj;
31353 fail:
31354 return NULL;
31355 }
31356
31357
31358 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31359 PyObject *resultobj = 0;
31360 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31361 void *argp1 = 0 ;
31362 int res1 = 0 ;
31363 PyObject *swig_obj[1] ;
31364
31365 if (!args) SWIG_fail;
31366 swig_obj[0] = args;
31367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31368 if (!SWIG_IsOK(res1)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31370 }
31371 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31372 {
31373 PyThreadState* __tstate = wxPyBeginAllowThreads();
31374 (arg1)->CreateCanvas();
31375 wxPyEndAllowThreads(__tstate);
31376 if (PyErr_Occurred()) SWIG_fail;
31377 }
31378 resultobj = SWIG_Py_Void();
31379 return resultobj;
31380 fail:
31381 return NULL;
31382 }
31383
31384
31385 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31386 PyObject *resultobj = 0;
31387 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31388 void *argp1 = 0 ;
31389 int res1 = 0 ;
31390 PyObject *swig_obj[1] ;
31391
31392 if (!args) SWIG_fail;
31393 swig_obj[0] = args;
31394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31395 if (!SWIG_IsOK(res1)) {
31396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31397 }
31398 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31399 {
31400 PyThreadState* __tstate = wxPyBeginAllowThreads();
31401 (arg1)->CreateControlBar();
31402 wxPyEndAllowThreads(__tstate);
31403 if (PyErr_Occurred()) SWIG_fail;
31404 }
31405 resultobj = SWIG_Py_Void();
31406 return resultobj;
31407 fail:
31408 return NULL;
31409 }
31410
31411
31412 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31413 PyObject *obj;
31414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31416 return SWIG_Py_Void();
31417 }
31418
31419 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31420 return SWIG_Python_InitShadowInstance(args);
31421 }
31422
31423 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31424 PyObject *resultobj = 0;
31425 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31426 long arg2 ;
31427 wxWindow *arg3 = (wxWindow *) 0 ;
31428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31430 wxSize const &arg5_defvalue = wxDefaultSize ;
31431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31432 long arg6 = (long) 0 ;
31433 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31434 wxString *arg7 = (wxString *) &arg7_defvalue ;
31435 wxPyPreviewControlBar *result = 0 ;
31436 int res1 = 0 ;
31437 long val2 ;
31438 int ecode2 = 0 ;
31439 void *argp3 = 0 ;
31440 int res3 = 0 ;
31441 wxPoint temp4 ;
31442 wxSize temp5 ;
31443 long val6 ;
31444 int ecode6 = 0 ;
31445 bool temp7 = false ;
31446 PyObject * obj0 = 0 ;
31447 PyObject * obj1 = 0 ;
31448 PyObject * obj2 = 0 ;
31449 PyObject * obj3 = 0 ;
31450 PyObject * obj4 = 0 ;
31451 PyObject * obj5 = 0 ;
31452 PyObject * obj6 = 0 ;
31453 char * kwnames[] = {
31454 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31455 };
31456
31457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31458 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31459 if (!SWIG_IsOK(res1)) {
31460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31461 }
31462 ecode2 = SWIG_AsVal_long(obj1, &val2);
31463 if (!SWIG_IsOK(ecode2)) {
31464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31465 }
31466 arg2 = static_cast< long >(val2);
31467 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31468 if (!SWIG_IsOK(res3)) {
31469 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31470 }
31471 arg3 = reinterpret_cast< wxWindow * >(argp3);
31472 if (obj3) {
31473 {
31474 arg4 = &temp4;
31475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31476 }
31477 }
31478 if (obj4) {
31479 {
31480 arg5 = &temp5;
31481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31482 }
31483 }
31484 if (obj5) {
31485 ecode6 = SWIG_AsVal_long(obj5, &val6);
31486 if (!SWIG_IsOK(ecode6)) {
31487 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31488 }
31489 arg6 = static_cast< long >(val6);
31490 }
31491 if (obj6) {
31492 {
31493 arg7 = wxString_in_helper(obj6);
31494 if (arg7 == NULL) SWIG_fail;
31495 temp7 = true;
31496 }
31497 }
31498 {
31499 if (!wxPyCheckForApp()) SWIG_fail;
31500 PyThreadState* __tstate = wxPyBeginAllowThreads();
31501 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31502 wxPyEndAllowThreads(__tstate);
31503 if (PyErr_Occurred()) SWIG_fail;
31504 }
31505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31506 {
31507 if (temp7)
31508 delete arg7;
31509 }
31510 return resultobj;
31511 fail:
31512 {
31513 if (temp7)
31514 delete arg7;
31515 }
31516 return NULL;
31517 }
31518
31519
31520 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31521 PyObject *resultobj = 0;
31522 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31523 PyObject *arg2 = (PyObject *) 0 ;
31524 PyObject *arg3 = (PyObject *) 0 ;
31525 void *argp1 = 0 ;
31526 int res1 = 0 ;
31527 PyObject * obj0 = 0 ;
31528 PyObject * obj1 = 0 ;
31529 PyObject * obj2 = 0 ;
31530 char * kwnames[] = {
31531 (char *) "self",(char *) "self",(char *) "_class", NULL
31532 };
31533
31534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31536 if (!SWIG_IsOK(res1)) {
31537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31538 }
31539 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31540 arg2 = obj1;
31541 arg3 = obj2;
31542 {
31543 PyThreadState* __tstate = wxPyBeginAllowThreads();
31544 (arg1)->_setCallbackInfo(arg2,arg3);
31545 wxPyEndAllowThreads(__tstate);
31546 if (PyErr_Occurred()) SWIG_fail;
31547 }
31548 resultobj = SWIG_Py_Void();
31549 return resultobj;
31550 fail:
31551 return NULL;
31552 }
31553
31554
31555 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31556 PyObject *resultobj = 0;
31557 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31558 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31559 void *argp1 = 0 ;
31560 int res1 = 0 ;
31561 int res2 = 0 ;
31562 PyObject * obj0 = 0 ;
31563 PyObject * obj1 = 0 ;
31564 char * kwnames[] = {
31565 (char *) "self",(char *) "preview", NULL
31566 };
31567
31568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31570 if (!SWIG_IsOK(res1)) {
31571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31572 }
31573 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31574 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31575 if (!SWIG_IsOK(res2)) {
31576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31577 }
31578 {
31579 PyThreadState* __tstate = wxPyBeginAllowThreads();
31580 (arg1)->SetPrintPreview(arg2);
31581 wxPyEndAllowThreads(__tstate);
31582 if (PyErr_Occurred()) SWIG_fail;
31583 }
31584 resultobj = SWIG_Py_Void();
31585 return resultobj;
31586 fail:
31587 return NULL;
31588 }
31589
31590
31591 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31592 PyObject *resultobj = 0;
31593 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31594 void *argp1 = 0 ;
31595 int res1 = 0 ;
31596 PyObject *swig_obj[1] ;
31597
31598 if (!args) SWIG_fail;
31599 swig_obj[0] = args;
31600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31601 if (!SWIG_IsOK(res1)) {
31602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31603 }
31604 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31605 {
31606 PyThreadState* __tstate = wxPyBeginAllowThreads();
31607 (arg1)->CreateButtons();
31608 wxPyEndAllowThreads(__tstate);
31609 if (PyErr_Occurred()) SWIG_fail;
31610 }
31611 resultobj = SWIG_Py_Void();
31612 return resultobj;
31613 fail:
31614 return NULL;
31615 }
31616
31617
31618 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31619 PyObject *resultobj = 0;
31620 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31621 int arg2 ;
31622 void *argp1 = 0 ;
31623 int res1 = 0 ;
31624 int val2 ;
31625 int ecode2 = 0 ;
31626 PyObject * obj0 = 0 ;
31627 PyObject * obj1 = 0 ;
31628 char * kwnames[] = {
31629 (char *) "self",(char *) "zoom", NULL
31630 };
31631
31632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31634 if (!SWIG_IsOK(res1)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31636 }
31637 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31638 ecode2 = SWIG_AsVal_int(obj1, &val2);
31639 if (!SWIG_IsOK(ecode2)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31641 }
31642 arg2 = static_cast< int >(val2);
31643 {
31644 PyThreadState* __tstate = wxPyBeginAllowThreads();
31645 (arg1)->SetZoomControl(arg2);
31646 wxPyEndAllowThreads(__tstate);
31647 if (PyErr_Occurred()) SWIG_fail;
31648 }
31649 resultobj = SWIG_Py_Void();
31650 return resultobj;
31651 fail:
31652 return NULL;
31653 }
31654
31655
31656 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31657 PyObject *obj;
31658 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31659 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31660 return SWIG_Py_Void();
31661 }
31662
31663 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31664 return SWIG_Python_InitShadowInstance(args);
31665 }
31666
31667 static PyMethodDef SwigMethods[] = {
31668 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31670 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31672 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31674 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31675 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31677 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31684 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31686 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31688 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31689 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31690 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31691 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31692 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31695 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31697 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31700 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31701 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31703 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31705 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31706 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31707 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31708 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31712 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31714 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31718 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31720 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31722 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31725 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31726 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31728 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31730 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31732 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31735 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31742 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31744 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31749 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31750 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31752 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31755 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31757 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31759 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31764 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31765 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31768 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31769 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31771 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31773 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31774 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31777 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31778 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31779 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31781 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31782 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31783 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31784 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31785 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31787 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31790 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31799 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31800 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31802 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31803 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31805 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31807 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31808 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31810 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31816 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31817 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31820 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31821 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31822 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31823 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31825 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31827 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31829 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31831 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31833 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31834 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31837 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31838 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31839 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31840 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31841 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31842 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31844 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31852 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31854 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31857 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31858 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31861 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31862 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31864 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31865 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31866 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31869 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31871 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31873 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31874 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31875 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31878 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31880 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31882 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31884 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31886 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31887 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31888 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31891 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31893 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31894 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31895 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31897 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31899 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31900 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31904 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31905 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31906 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31907 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31911 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31912 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31914 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31915 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31916 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31918 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31919 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31920 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31923 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31924 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31925 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31927 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31936 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31937 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31938 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31939 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31941 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31942 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31945 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31946 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31948 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31951 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31952 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31953 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31956 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31957 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31959 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31960 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31962 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31967 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31968 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31974 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31975 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31977 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31981 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31983 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31984 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
31986 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
31988 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
31989 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31990 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31991 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31993 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31994 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31995 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31997 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31999 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32000 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32002 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32003 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32004 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32005 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32006 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32007 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32012 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32013 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32015 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32016 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32017 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32020 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32021 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32024 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32025 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32033 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32034 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32035 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32036 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32037 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32038 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32039 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32040 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32041 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32042 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32045 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32046 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32047 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32049 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32050 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32052 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32053 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32055 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32057 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32058 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32060 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32061 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32063 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32064 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32065 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32066 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32067 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32069 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32070 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32071 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32072 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32073 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32074 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32081 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32082 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32084 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32085 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32086 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32089 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32090 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32094 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32095 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32096 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32098 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32099 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32100 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32101 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32105 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32106 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32108 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32109 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32110 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32111 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32115 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32116 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32118 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32120 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32122 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32123 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32125 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32127 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32128 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32129 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32130 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32131 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32132 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32134 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32135 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32137 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32139 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32140 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32141 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32143 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32145 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32146 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32148 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32155 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32156 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32157 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32158 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32159 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32160 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32161 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32162 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32163 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32165 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32172 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32173 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32174 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32175 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32176 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32177 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32178 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32179 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32180 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32182 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32189 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32190 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32191 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32192 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32193 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32194 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32195 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32196 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32197 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32198 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32199 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32200 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32201 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32202 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32203 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32204 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32205 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32206 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32207 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32208 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32209 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32210 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32211 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32212 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32213 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32227 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32229 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32231 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32232 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32233 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32234 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32240 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32241 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32242 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32243 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32244 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32245 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32246 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32247 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32248 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32249 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32250 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32251 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32252 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32253 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32254 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32263 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32264 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32265 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32266 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32267 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32268 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32269 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32270 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32271 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32272 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32273 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32274 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32275 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32276 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32277 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32278 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32279 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32280 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32281 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32282 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32283 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32284 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32285 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32299 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32300 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32301 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32302 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32303 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32304 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32306 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32307 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32308 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32309 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32310 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32311 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32312 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32313 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32314 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32315 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32317 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32318 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32319 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32321 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32323 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32324 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32325 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32326 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32327 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32329 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32330 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32331 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32332 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32334 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32336 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32337 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32338 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32339 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32340 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32341 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32342 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32343 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32344 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32345 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32346 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32347 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32348 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32349 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32351 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32352 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32353 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32354 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32355 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32356 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32358 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32359 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32360 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32361 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32362 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32364 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32365 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32366 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32367 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32368 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32369 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32370 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32371 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32372 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32373 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32374 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32375 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32376 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32377 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32378 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32379 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32380 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32381 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32382 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32383 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32384 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32385 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32386 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32387 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32388 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32389 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32390 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32391 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32392 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32393 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32394 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32395 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32397 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32398 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32400 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32401 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32402 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32403 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32404 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32405 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32406 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32407 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32408 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32409 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32410 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32411 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32412 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32413 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32414 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32415 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32416 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32417 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32418 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32419 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32420 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32421 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32422 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32423 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32424 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32425 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32426 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32430 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32431 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32432 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32433 { NULL, NULL, 0, NULL }
32434 };
32435
32436
32437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32438
32439 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32440 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32441 }
32442 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32444 }
32445 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32446 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32447 }
32448 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32449 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32450 }
32451 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32452 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32453 }
32454 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32455 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32456 }
32457 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32458 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32459 }
32460 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32461 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32462 }
32463 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32464 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32465 }
32466 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32467 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32468 }
32469 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32470 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32471 }
32472 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32474 }
32475 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32476 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32477 }
32478 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32479 return (void *)((wxEvent *) ((wxPyEvent *) x));
32480 }
32481 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32482 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32483 }
32484 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32485 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32486 }
32487 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32489 }
32490 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32491 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32492 }
32493 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32494 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32495 }
32496 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32497 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32498 }
32499 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32500 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32501 }
32502 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32503 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32504 }
32505 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32506 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32507 }
32508 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32509 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32510 }
32511 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32512 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32513 }
32514 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32515 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32516 }
32517 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32518 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32519 }
32520 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32521 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32522 }
32523 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32524 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32525 }
32526 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32527 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32528 }
32529 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32530 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32531 }
32532 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32533 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32534 }
32535 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32536 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32537 }
32538 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32539 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32540 }
32541 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32542 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32543 }
32544 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32545 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32546 }
32547 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32548 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32549 }
32550 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32551 return (void *)((wxEvent *) ((wxShowEvent *) x));
32552 }
32553 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32554 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32555 }
32556 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32558 }
32559 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32561 }
32562 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32563 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32564 }
32565 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32566 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32567 }
32568 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32569 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32570 }
32571 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32572 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32573 }
32574 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32575 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32576 }
32577 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32578 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32579 }
32580 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32581 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32582 }
32583 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32584 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32585 }
32586 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32587 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32588 }
32589 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32591 }
32592 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
32593 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
32594 }
32595 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32596 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32597 }
32598 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32599 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32600 }
32601 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32602 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32603 }
32604 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32605 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32606 }
32607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32608 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32609 }
32610 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32612 }
32613 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32614 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32615 }
32616 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32617 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32618 }
32619 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32620 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32621 }
32622 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32623 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32624 }
32625 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32626 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32627 }
32628 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32630 }
32631 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32633 }
32634 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32635 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32636 }
32637 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32638 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32639 }
32640 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32641 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32642 }
32643 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32644 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32645 }
32646 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32647 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32648 }
32649 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32650 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32651 }
32652 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32654 }
32655 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32656 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32657 }
32658 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32659 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32660 }
32661 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32662 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32663 }
32664 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32666 }
32667 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32668 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32669 }
32670 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32671 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32672 }
32673 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32674 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32675 }
32676 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32677 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32678 }
32679 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32680 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32681 }
32682 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32683 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32684 }
32685 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32686 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32687 }
32688 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32689 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32690 }
32691 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32692 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32693 }
32694 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32695 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32696 }
32697 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32699 }
32700 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32701 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32702 }
32703 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32704 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32705 }
32706 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32707 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32708 }
32709 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32710 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32711 }
32712 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32713 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32714 }
32715 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32716 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32717 }
32718 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32719 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32720 }
32721 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32722 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32723 }
32724 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32725 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32726 }
32727 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32728 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32729 }
32730 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32732 }
32733 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32735 }
32736 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32738 }
32739 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32741 }
32742 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32743 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32744 }
32745 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32746 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32747 }
32748 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32749 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32750 }
32751 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32752 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32753 }
32754 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32755 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32756 }
32757 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
32758 return (void *)((wxFrame *) ((wxTipWindow *) x));
32759 }
32760 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32761 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32762 }
32763 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32764 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32765 }
32766 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32767 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32768 }
32769 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32770 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32771 }
32772 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32773 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32774 }
32775 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32777 }
32778 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32780 }
32781 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
32783 }
32784 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32786 }
32787 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32789 }
32790 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) ((wxSizerItem *) x));
32792 }
32793 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32795 }
32796 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32798 }
32799 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32801 }
32802 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32804 }
32805 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32807 }
32808 static void *_p_wxSizerTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) ((wxSizer *) x));
32810 }
32811 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32813 }
32814 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32816 }
32817 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32819 }
32820 static void *_p_wxEventTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) ((wxEvent *) x));
32822 }
32823 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) ((wxFontData *) x));
32825 }
32826 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) ((wxPrintData *) x));
32828 }
32829 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32831 }
32832 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32834 }
32835 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32837 }
32838 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32840 }
32841 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32843 }
32844 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32846 }
32847 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32849 }
32850 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32852 }
32853 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32855 }
32856 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32858 }
32859 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32861 }
32862 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32864 }
32865 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32867 }
32868 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32870 }
32871 static void *_p_wxControlTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32873 }
32874 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32876 }
32877 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32879 }
32880 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) ((wxFSFile *) x));
32882 }
32883 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32885 }
32886 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32888 }
32889 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32891 }
32892 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) ((wxColourData *) x));
32894 }
32895 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32896 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32897 }
32898 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32899 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32900 }
32901 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32903 }
32904 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32906 }
32907 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32909 }
32910 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32912 }
32913 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32915 }
32916 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32918 }
32919 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32921 }
32922 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32924 }
32925 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32927 }
32928 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32930 }
32931 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32933 }
32934 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32935 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32936 }
32937 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32938 return (void *)((wxObject *) ((wxPrinter *) x));
32939 }
32940 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32941 return (void *)((wxObject *) ((wxMenuItem *) x));
32942 }
32943 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32945 }
32946 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32947 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32948 }
32949 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32951 }
32952 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32953 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32954 }
32955 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32956 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32957 }
32958 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32959 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32960 }
32961 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32962 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32963 }
32964 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32965 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32966 }
32967 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32968 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32969 }
32970 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32971 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32972 }
32973 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32974 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32975 }
32976 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32977 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32978 }
32979 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32980 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32981 }
32982 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32983 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32984 }
32985 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32986 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32987 }
32988 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32989 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32990 }
32991 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32992 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32993 }
32994 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32995 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32996 }
32997 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32998 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32999 }
33000 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33001 return (void *)((wxObject *) ((wxImageHandler *) x));
33002 }
33003 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33004 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33005 }
33006 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33007 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33008 }
33009 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33010 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33011 }
33012 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) ((wxEvtHandler *) x));
33014 }
33015 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33017 }
33018 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33020 }
33021 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33023 }
33024 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33026 }
33027 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33029 }
33030 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33032 }
33033 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33035 }
33036 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33038 }
33039 static void *_p_wxImageTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) ((wxImage *) x));
33041 }
33042 static void *_p_wxFrameTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33044 }
33045 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) ((wxPyPrintout *) x));
33047 }
33048 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33050 }
33051 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33053 }
33054 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33056 }
33057 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33059 }
33060 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33062 }
33063 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33065 }
33066 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33068 }
33069 static void *_p_wxWindowTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33071 }
33072 static void *_p_wxMenuTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33074 }
33075 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33077 }
33078 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33080 }
33081 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33083 }
33084 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33086 }
33087 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33089 }
33090 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33092 }
33093 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33095 }
33096 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33098 }
33099 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33101 }
33102 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33104 }
33105 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33107 }
33108 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33110 }
33111 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33113 }
33114 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33115 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33116 }
33117 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33118 return (void *)((wxObject *) ((wxPrintPreview *) x));
33119 }
33120 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33121 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33122 }
33123 static void *_p_wxPanelTo_p_wxObject(void *x) {
33124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33125 }
33126 static void *_p_wxDialogTo_p_wxObject(void *x) {
33127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33128 }
33129 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33131 }
33132 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33134 }
33135 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33137 }
33138 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33139 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33140 }
33141 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33142 return (void *)((wxObject *) ((wxPrintDialog *) x));
33143 }
33144 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33145 return (void *)((wxObject *) ((wxFileSystem *) x));
33146 }
33147 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33149 }
33150 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33151 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33152 }
33153 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33154 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33155 }
33156 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33157 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33158 }
33159 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33160 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33161 }
33162 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33163 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33164 }
33165 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33166 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33167 }
33168 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33169 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33170 }
33171 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33173 }
33174 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33176 }
33177 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33178 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33179 }
33180 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33181 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33182 }
33183 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33184 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33185 }
33186 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33188 }
33189 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33190 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33191 }
33192 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33193 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33194 }
33195 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33196 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33197 }
33198 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33199 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33200 }
33201 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33202 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33203 }
33204 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33205 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33206 }
33207 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33208 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33209 }
33210 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33211 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33212 }
33213 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33214 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33215 }
33216 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33217 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33218 }
33219 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33220 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33221 }
33222 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33223 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33224 }
33225 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33226 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33227 }
33228 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33229 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33230 }
33231 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33232 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33233 }
33234 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33235 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33236 }
33237 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
33238 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
33239 }
33240 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33241 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33242 }
33243 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33244 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33245 }
33246 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33247 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33248 }
33249 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33250 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33251 }
33252 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33253 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33254 }
33255 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33256 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33257 }
33258 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33259 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33260 }
33261 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33262 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33263 }
33264 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33265 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33266 }
33267 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33268 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33269 }
33270 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33271 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33272 }
33273 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33274 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33275 }
33276 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33277 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33278 }
33279 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33280 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33281 }
33282 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33283 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33284 }
33285 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33286 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33287 }
33288 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33289 return (void *)((wxWindow *) ((wxMenuBar *) x));
33290 }
33291 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33292 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33293 }
33294 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33295 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33296 }
33297 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33298 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33299 }
33300 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33301 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33302 }
33303 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33305 }
33306 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33307 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33308 }
33309 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33310 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33311 }
33312 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33313 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33314 }
33315 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33316 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33317 }
33318 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33319 return (void *)((wxWindow *) ((wxPanel *) x));
33320 }
33321 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33322 return (void *)((wxWindow *) ((wxStatusBar *) x));
33323 }
33324 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33325 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33326 }
33327 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33328 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33329 }
33330 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33331 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33332 }
33333 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33334 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33335 }
33336 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33337 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33338 }
33339 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33340 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33341 }
33342 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33343 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33344 }
33345 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33346 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33347 }
33348 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33349 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33350 }
33351 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33352 return (void *)((wxWindow *) ((wxSashWindow *) x));
33353 }
33354 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33355 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33356 }
33357 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33358 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33359 }
33360 static void *_p_wxControlTo_p_wxWindow(void *x) {
33361 return (void *)((wxWindow *) ((wxControl *) x));
33362 }
33363 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33365 }
33366 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33368 }
33369 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33370 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33371 }
33372 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33373 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33374 }
33375 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33376 return (void *)((wxWindow *) ((wxPyWindow *) x));
33377 }
33378 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33379 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33380 }
33381 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33382 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33383 }
33384 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33385 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33386 }
33387 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33388 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33389 }
33390 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33391 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33392 }
33393 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33394 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33395 }
33396 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33397 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33398 }
33399 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33400 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33401 }
33402 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33403 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33404 }
33405 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33407 }
33408 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33409 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33410 }
33411 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33413 }
33414 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33415 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33416 }
33417 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33418 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33419 }
33420 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33421 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33422 }
33423 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33424 return (void *)((wxDialog *) ((wxColourDialog *) x));
33425 }
33426 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33427 return (void *)((wxDialog *) ((wxDirDialog *) x));
33428 }
33429 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33430 return (void *)((wxDialog *) ((wxFontDialog *) x));
33431 }
33432 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33433 return (void *)((wxDialog *) ((wxFileDialog *) x));
33434 }
33435 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33436 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33437 }
33438 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33439 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33440 }
33441 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33442 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33443 }
33444 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33445 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33446 }
33447 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33448 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33449 }
33450 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33451 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33452 }
33453 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33454 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33455 }
33456 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33457 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33458 }
33459 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33460 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33461 }
33462 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33463 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33464 }
33465 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33466 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33467 }
33468 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33469 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33470 }
33471 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33472 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33473 }
33474 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33475 return (void *)((wxPanel *) ((wxPyPanel *) x));
33476 }
33477 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33478 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33479 }
33480 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33481 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33482 }
33483 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33484 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33485 }
33486 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33487 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33488 }
33489 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33490 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33491 }
33492 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33493 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33494 }
33495 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33496 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33497 }
33498 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33499 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33500 }
33501 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33502 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33503 }
33504 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33505 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33506 }
33507 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33508 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33509 }
33510 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33511 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33512 }
33513 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33514 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33515 }
33516 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33517 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33518 }
33519 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33520 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33521 }
33522 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33523 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33524 }
33525 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33526 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33527 }
33528 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33529 return (void *)((wxValidator *) ((wxPyValidator *) x));
33530 }
33531 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33533 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};
33534 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33547 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33548 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33549 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33550 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33551 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33552 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33553 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33554 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33555 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33556 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33557 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33558 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33559 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33560 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33561 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33562 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33563 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33564 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33565 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33566 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33567 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33568 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33569 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33570 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33571 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33572 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33573 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33574 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33575 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33576 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33577 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33578 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33579 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33580 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33581 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33582 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33583 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33584 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33585 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33586 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33588 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33589 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33590 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33591 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33592 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33593 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33594 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33595 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33596 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33597 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33598 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33599 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33600 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33601 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33602 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33603 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33604 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33605 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33606 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33607 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33608 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33610 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33611 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33618 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33619 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33620 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33621 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33622 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33623 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33624 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33625 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33626 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33627 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33628 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33629 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33630 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33631 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33632 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33633 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33634 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33635 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33636 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33637 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33638 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33639 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33640 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33641 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33642 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33643 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33644 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33645 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33646 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33647 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33648 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33649 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33650 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33651 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33652 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33653 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33654 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33655 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33656 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33657 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33658 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33659 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33660 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33661 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33662 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33663 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33664 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33665 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33666 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33667 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33668 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33669 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33691 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33692 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33693 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33694 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33695 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33696 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33697 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33698 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33699 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33700 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33701
33702 static swig_type_info *swig_type_initial[] = {
33703 &_swigt__p_bool,
33704 &_swigt__p_char,
33705 &_swigt__p_form_ops_t,
33706 &_swigt__p_int,
33707 &_swigt__p_unsigned_char,
33708 &_swigt__p_unsigned_int,
33709 &_swigt__p_unsigned_long,
33710 &_swigt__p_wxANIHandler,
33711 &_swigt__p_wxAcceleratorTable,
33712 &_swigt__p_wxActivateEvent,
33713 &_swigt__p_wxArrayInt,
33714 &_swigt__p_wxArrayString,
33715 &_swigt__p_wxBMPHandler,
33716 &_swigt__p_wxBitmap,
33717 &_swigt__p_wxBoxSizer,
33718 &_swigt__p_wxCURHandler,
33719 &_swigt__p_wxCalculateLayoutEvent,
33720 &_swigt__p_wxChildFocusEvent,
33721 &_swigt__p_wxClipboardTextEvent,
33722 &_swigt__p_wxCloseEvent,
33723 &_swigt__p_wxColour,
33724 &_swigt__p_wxColourData,
33725 &_swigt__p_wxColourDialog,
33726 &_swigt__p_wxCommandEvent,
33727 &_swigt__p_wxContextMenuEvent,
33728 &_swigt__p_wxControl,
33729 &_swigt__p_wxControlWithItems,
33730 &_swigt__p_wxDC,
33731 &_swigt__p_wxDateEvent,
33732 &_swigt__p_wxDialog,
33733 &_swigt__p_wxDirDialog,
33734 &_swigt__p_wxDisplayChangedEvent,
33735 &_swigt__p_wxDropFilesEvent,
33736 &_swigt__p_wxDuplexMode,
33737 &_swigt__p_wxEraseEvent,
33738 &_swigt__p_wxEvent,
33739 &_swigt__p_wxEventBlocker,
33740 &_swigt__p_wxEvtHandler,
33741 &_swigt__p_wxFSFile,
33742 &_swigt__p_wxFileDialog,
33743 &_swigt__p_wxFileSystem,
33744 &_swigt__p_wxFindDialogEvent,
33745 &_swigt__p_wxFindReplaceData,
33746 &_swigt__p_wxFindReplaceDialog,
33747 &_swigt__p_wxFlexGridSizer,
33748 &_swigt__p_wxFocusEvent,
33749 &_swigt__p_wxFont,
33750 &_swigt__p_wxFontData,
33751 &_swigt__p_wxFontDialog,
33752 &_swigt__p_wxFrame,
33753 &_swigt__p_wxGBSizerItem,
33754 &_swigt__p_wxGIFHandler,
33755 &_swigt__p_wxGridBagSizer,
33756 &_swigt__p_wxGridSizer,
33757 &_swigt__p_wxHtmlLinkInfo,
33758 &_swigt__p_wxICOHandler,
33759 &_swigt__p_wxIcon,
33760 &_swigt__p_wxIconBundle,
33761 &_swigt__p_wxIconizeEvent,
33762 &_swigt__p_wxIdleEvent,
33763 &_swigt__p_wxImage,
33764 &_swigt__p_wxImageHandler,
33765 &_swigt__p_wxIndividualLayoutConstraint,
33766 &_swigt__p_wxInitDialogEvent,
33767 &_swigt__p_wxItemContainer,
33768 &_swigt__p_wxJPEGHandler,
33769 &_swigt__p_wxKeyEvent,
33770 &_swigt__p_wxLayoutAlgorithm,
33771 &_swigt__p_wxLayoutConstraints,
33772 &_swigt__p_wxMDIChildFrame,
33773 &_swigt__p_wxMDIClientWindow,
33774 &_swigt__p_wxMDIParentFrame,
33775 &_swigt__p_wxMaximizeEvent,
33776 &_swigt__p_wxMenu,
33777 &_swigt__p_wxMenuBar,
33778 &_swigt__p_wxMenuEvent,
33779 &_swigt__p_wxMenuItem,
33780 &_swigt__p_wxMessageDialog,
33781 &_swigt__p_wxMiniFrame,
33782 &_swigt__p_wxMouseCaptureChangedEvent,
33783 &_swigt__p_wxMouseCaptureLostEvent,
33784 &_swigt__p_wxMouseEvent,
33785 &_swigt__p_wxMoveEvent,
33786 &_swigt__p_wxMultiChoiceDialog,
33787 &_swigt__p_wxNavigationKeyEvent,
33788 &_swigt__p_wxNcPaintEvent,
33789 &_swigt__p_wxNotifyEvent,
33790 &_swigt__p_wxNumberEntryDialog,
33791 &_swigt__p_wxObject,
33792 &_swigt__p_wxPCXHandler,
33793 &_swigt__p_wxPNGHandler,
33794 &_swigt__p_wxPNMHandler,
33795 &_swigt__p_wxPageSetupDialog,
33796 &_swigt__p_wxPageSetupDialogData,
33797 &_swigt__p_wxPaintEvent,
33798 &_swigt__p_wxPaletteChangedEvent,
33799 &_swigt__p_wxPanel,
33800 &_swigt__p_wxPaperSize,
33801 &_swigt__p_wxPasswordEntryDialog,
33802 &_swigt__p_wxPoint,
33803 &_swigt__p_wxPopupWindow,
33804 &_swigt__p_wxPreviewCanvas,
33805 &_swigt__p_wxPreviewControlBar,
33806 &_swigt__p_wxPreviewFrame,
33807 &_swigt__p_wxPrintData,
33808 &_swigt__p_wxPrintDialog,
33809 &_swigt__p_wxPrintDialogData,
33810 &_swigt__p_wxPrintPreview,
33811 &_swigt__p_wxPrinter,
33812 &_swigt__p_wxProgressDialog,
33813 &_swigt__p_wxPyApp,
33814 &_swigt__p_wxPyCommandEvent,
33815 &_swigt__p_wxPyEvent,
33816 &_swigt__p_wxPyHtmlListBox,
33817 &_swigt__p_wxPyImageHandler,
33818 &_swigt__p_wxPyPanel,
33819 &_swigt__p_wxPyPopupTransientWindow,
33820 &_swigt__p_wxPyPreviewControlBar,
33821 &_swigt__p_wxPyPreviewFrame,
33822 &_swigt__p_wxPyPrintPreview,
33823 &_swigt__p_wxPyPrintout,
33824 &_swigt__p_wxPyScrolledWindow,
33825 &_swigt__p_wxPySizer,
33826 &_swigt__p_wxPyTaskBarIcon,
33827 &_swigt__p_wxPyVListBox,
33828 &_swigt__p_wxPyVScrolledWindow,
33829 &_swigt__p_wxPyValidator,
33830 &_swigt__p_wxPyWindow,
33831 &_swigt__p_wxQueryLayoutInfoEvent,
33832 &_swigt__p_wxQueryNewPaletteEvent,
33833 &_swigt__p_wxRect,
33834 &_swigt__p_wxRegion,
33835 &_swigt__p_wxSashEvent,
33836 &_swigt__p_wxSashLayoutWindow,
33837 &_swigt__p_wxSashWindow,
33838 &_swigt__p_wxScrollEvent,
33839 &_swigt__p_wxScrollWinEvent,
33840 &_swigt__p_wxScrolledWindow,
33841 &_swigt__p_wxSetCursorEvent,
33842 &_swigt__p_wxShowEvent,
33843 &_swigt__p_wxSimpleHtmlListBox,
33844 &_swigt__p_wxSingleChoiceDialog,
33845 &_swigt__p_wxSize,
33846 &_swigt__p_wxSizeEvent,
33847 &_swigt__p_wxSizer,
33848 &_swigt__p_wxSizerItem,
33849 &_swigt__p_wxSplashScreen,
33850 &_swigt__p_wxSplashScreenWindow,
33851 &_swigt__p_wxSplitterEvent,
33852 &_swigt__p_wxSplitterWindow,
33853 &_swigt__p_wxStaticBoxSizer,
33854 &_swigt__p_wxStatusBar,
33855 &_swigt__p_wxStdDialogButtonSizer,
33856 &_swigt__p_wxString,
33857 &_swigt__p_wxSysColourChangedEvent,
33858 &_swigt__p_wxTGAHandler,
33859 &_swigt__p_wxTIFFHandler,
33860 &_swigt__p_wxTaskBarIcon,
33861 &_swigt__p_wxTaskBarIconEvent,
33862 &_swigt__p_wxTextEntryDialog,
33863 &_swigt__p_wxTipWindow,
33864 &_swigt__p_wxToolBar,
33865 &_swigt__p_wxTopLevelWindow,
33866 &_swigt__p_wxUpdateUIEvent,
33867 &_swigt__p_wxValidator,
33868 &_swigt__p_wxVisualAttributes,
33869 &_swigt__p_wxWindow,
33870 &_swigt__p_wxWindowCreateEvent,
33871 &_swigt__p_wxWindowDestroyEvent,
33872 &_swigt__p_wxXPMHandler,
33873 };
33874
33875 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33878 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33887 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33888 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33890 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33896 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33897 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33898 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}};
33899 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33900 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}};
33901 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33905 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33906 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33907 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33908 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33910 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33911 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33914 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33915 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33916 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33917 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33918 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33919 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33920 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33921 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33922 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33923 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33924 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33925 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33926 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33927 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33928 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33929 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}};
33930 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
33931 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33932 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33933 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33934 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33935 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
33936 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33937 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33938 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33939 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33940 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33941 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33942 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33943 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33944 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}};
33945 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33946 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33947 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33948 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
33949 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33950 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33951 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33952 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33955 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33956 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33958 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}};
33959 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33961 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33962 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33963 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33964 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33965 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33966 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33967 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33968 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33969 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33970 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33971 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33972 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33973 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33974 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33975 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33976 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33977 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33978 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33979 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33980 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33981 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33982 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33983 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33984 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33985 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33986 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
33987 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33988 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33989 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_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_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_wxBMPHandler, _p_wxBMPHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_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}};
33990 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33991 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33992 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
33993 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33994 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33995 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33996 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}};
33997 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33998 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}};
33999 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}};
34000 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34001 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34002 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34003 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}};
34004 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34005 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34013 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34016 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}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34023 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}};
34024 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34025 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}};
34026 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34038 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}};
34039 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34041 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}};
34042 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34044 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
34045
34046 static swig_cast_info *swig_cast_initial[] = {
34047 _swigc__p_bool,
34048 _swigc__p_char,
34049 _swigc__p_form_ops_t,
34050 _swigc__p_int,
34051 _swigc__p_unsigned_char,
34052 _swigc__p_unsigned_int,
34053 _swigc__p_unsigned_long,
34054 _swigc__p_wxANIHandler,
34055 _swigc__p_wxAcceleratorTable,
34056 _swigc__p_wxActivateEvent,
34057 _swigc__p_wxArrayInt,
34058 _swigc__p_wxArrayString,
34059 _swigc__p_wxBMPHandler,
34060 _swigc__p_wxBitmap,
34061 _swigc__p_wxBoxSizer,
34062 _swigc__p_wxCURHandler,
34063 _swigc__p_wxCalculateLayoutEvent,
34064 _swigc__p_wxChildFocusEvent,
34065 _swigc__p_wxClipboardTextEvent,
34066 _swigc__p_wxCloseEvent,
34067 _swigc__p_wxColour,
34068 _swigc__p_wxColourData,
34069 _swigc__p_wxColourDialog,
34070 _swigc__p_wxCommandEvent,
34071 _swigc__p_wxContextMenuEvent,
34072 _swigc__p_wxControl,
34073 _swigc__p_wxControlWithItems,
34074 _swigc__p_wxDC,
34075 _swigc__p_wxDateEvent,
34076 _swigc__p_wxDialog,
34077 _swigc__p_wxDirDialog,
34078 _swigc__p_wxDisplayChangedEvent,
34079 _swigc__p_wxDropFilesEvent,
34080 _swigc__p_wxDuplexMode,
34081 _swigc__p_wxEraseEvent,
34082 _swigc__p_wxEvent,
34083 _swigc__p_wxEventBlocker,
34084 _swigc__p_wxEvtHandler,
34085 _swigc__p_wxFSFile,
34086 _swigc__p_wxFileDialog,
34087 _swigc__p_wxFileSystem,
34088 _swigc__p_wxFindDialogEvent,
34089 _swigc__p_wxFindReplaceData,
34090 _swigc__p_wxFindReplaceDialog,
34091 _swigc__p_wxFlexGridSizer,
34092 _swigc__p_wxFocusEvent,
34093 _swigc__p_wxFont,
34094 _swigc__p_wxFontData,
34095 _swigc__p_wxFontDialog,
34096 _swigc__p_wxFrame,
34097 _swigc__p_wxGBSizerItem,
34098 _swigc__p_wxGIFHandler,
34099 _swigc__p_wxGridBagSizer,
34100 _swigc__p_wxGridSizer,
34101 _swigc__p_wxHtmlLinkInfo,
34102 _swigc__p_wxICOHandler,
34103 _swigc__p_wxIcon,
34104 _swigc__p_wxIconBundle,
34105 _swigc__p_wxIconizeEvent,
34106 _swigc__p_wxIdleEvent,
34107 _swigc__p_wxImage,
34108 _swigc__p_wxImageHandler,
34109 _swigc__p_wxIndividualLayoutConstraint,
34110 _swigc__p_wxInitDialogEvent,
34111 _swigc__p_wxItemContainer,
34112 _swigc__p_wxJPEGHandler,
34113 _swigc__p_wxKeyEvent,
34114 _swigc__p_wxLayoutAlgorithm,
34115 _swigc__p_wxLayoutConstraints,
34116 _swigc__p_wxMDIChildFrame,
34117 _swigc__p_wxMDIClientWindow,
34118 _swigc__p_wxMDIParentFrame,
34119 _swigc__p_wxMaximizeEvent,
34120 _swigc__p_wxMenu,
34121 _swigc__p_wxMenuBar,
34122 _swigc__p_wxMenuEvent,
34123 _swigc__p_wxMenuItem,
34124 _swigc__p_wxMessageDialog,
34125 _swigc__p_wxMiniFrame,
34126 _swigc__p_wxMouseCaptureChangedEvent,
34127 _swigc__p_wxMouseCaptureLostEvent,
34128 _swigc__p_wxMouseEvent,
34129 _swigc__p_wxMoveEvent,
34130 _swigc__p_wxMultiChoiceDialog,
34131 _swigc__p_wxNavigationKeyEvent,
34132 _swigc__p_wxNcPaintEvent,
34133 _swigc__p_wxNotifyEvent,
34134 _swigc__p_wxNumberEntryDialog,
34135 _swigc__p_wxObject,
34136 _swigc__p_wxPCXHandler,
34137 _swigc__p_wxPNGHandler,
34138 _swigc__p_wxPNMHandler,
34139 _swigc__p_wxPageSetupDialog,
34140 _swigc__p_wxPageSetupDialogData,
34141 _swigc__p_wxPaintEvent,
34142 _swigc__p_wxPaletteChangedEvent,
34143 _swigc__p_wxPanel,
34144 _swigc__p_wxPaperSize,
34145 _swigc__p_wxPasswordEntryDialog,
34146 _swigc__p_wxPoint,
34147 _swigc__p_wxPopupWindow,
34148 _swigc__p_wxPreviewCanvas,
34149 _swigc__p_wxPreviewControlBar,
34150 _swigc__p_wxPreviewFrame,
34151 _swigc__p_wxPrintData,
34152 _swigc__p_wxPrintDialog,
34153 _swigc__p_wxPrintDialogData,
34154 _swigc__p_wxPrintPreview,
34155 _swigc__p_wxPrinter,
34156 _swigc__p_wxProgressDialog,
34157 _swigc__p_wxPyApp,
34158 _swigc__p_wxPyCommandEvent,
34159 _swigc__p_wxPyEvent,
34160 _swigc__p_wxPyHtmlListBox,
34161 _swigc__p_wxPyImageHandler,
34162 _swigc__p_wxPyPanel,
34163 _swigc__p_wxPyPopupTransientWindow,
34164 _swigc__p_wxPyPreviewControlBar,
34165 _swigc__p_wxPyPreviewFrame,
34166 _swigc__p_wxPyPrintPreview,
34167 _swigc__p_wxPyPrintout,
34168 _swigc__p_wxPyScrolledWindow,
34169 _swigc__p_wxPySizer,
34170 _swigc__p_wxPyTaskBarIcon,
34171 _swigc__p_wxPyVListBox,
34172 _swigc__p_wxPyVScrolledWindow,
34173 _swigc__p_wxPyValidator,
34174 _swigc__p_wxPyWindow,
34175 _swigc__p_wxQueryLayoutInfoEvent,
34176 _swigc__p_wxQueryNewPaletteEvent,
34177 _swigc__p_wxRect,
34178 _swigc__p_wxRegion,
34179 _swigc__p_wxSashEvent,
34180 _swigc__p_wxSashLayoutWindow,
34181 _swigc__p_wxSashWindow,
34182 _swigc__p_wxScrollEvent,
34183 _swigc__p_wxScrollWinEvent,
34184 _swigc__p_wxScrolledWindow,
34185 _swigc__p_wxSetCursorEvent,
34186 _swigc__p_wxShowEvent,
34187 _swigc__p_wxSimpleHtmlListBox,
34188 _swigc__p_wxSingleChoiceDialog,
34189 _swigc__p_wxSize,
34190 _swigc__p_wxSizeEvent,
34191 _swigc__p_wxSizer,
34192 _swigc__p_wxSizerItem,
34193 _swigc__p_wxSplashScreen,
34194 _swigc__p_wxSplashScreenWindow,
34195 _swigc__p_wxSplitterEvent,
34196 _swigc__p_wxSplitterWindow,
34197 _swigc__p_wxStaticBoxSizer,
34198 _swigc__p_wxStatusBar,
34199 _swigc__p_wxStdDialogButtonSizer,
34200 _swigc__p_wxString,
34201 _swigc__p_wxSysColourChangedEvent,
34202 _swigc__p_wxTGAHandler,
34203 _swigc__p_wxTIFFHandler,
34204 _swigc__p_wxTaskBarIcon,
34205 _swigc__p_wxTaskBarIconEvent,
34206 _swigc__p_wxTextEntryDialog,
34207 _swigc__p_wxTipWindow,
34208 _swigc__p_wxToolBar,
34209 _swigc__p_wxTopLevelWindow,
34210 _swigc__p_wxUpdateUIEvent,
34211 _swigc__p_wxValidator,
34212 _swigc__p_wxVisualAttributes,
34213 _swigc__p_wxWindow,
34214 _swigc__p_wxWindowCreateEvent,
34215 _swigc__p_wxWindowDestroyEvent,
34216 _swigc__p_wxXPMHandler,
34217 };
34218
34219
34220 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34221
34222 static swig_const_info swig_const_table[] = {
34223 {0, 0, 0, 0.0, 0, 0}};
34224
34225 #ifdef __cplusplus
34226 }
34227 #endif
34228 /* -----------------------------------------------------------------------------
34229 * Type initialization:
34230 * This problem is tough by the requirement that no dynamic
34231 * memory is used. Also, since swig_type_info structures store pointers to
34232 * swig_cast_info structures and swig_cast_info structures store pointers back
34233 * to swig_type_info structures, we need some lookup code at initialization.
34234 * The idea is that swig generates all the structures that are needed.
34235 * The runtime then collects these partially filled structures.
34236 * The SWIG_InitializeModule function takes these initial arrays out of
34237 * swig_module, and does all the lookup, filling in the swig_module.types
34238 * array with the correct data and linking the correct swig_cast_info
34239 * structures together.
34240 *
34241 * The generated swig_type_info structures are assigned staticly to an initial
34242 * array. We just loop though that array, and handle each type individually.
34243 * First we lookup if this type has been already loaded, and if so, use the
34244 * loaded structure instead of the generated one. Then we have to fill in the
34245 * cast linked list. The cast data is initially stored in something like a
34246 * two-dimensional array. Each row corresponds to a type (there are the same
34247 * number of rows as there are in the swig_type_initial array). Each entry in
34248 * a column is one of the swig_cast_info structures for that type.
34249 * The cast_initial array is actually an array of arrays, because each row has
34250 * a variable number of columns. So to actually build the cast linked list,
34251 * we find the array of casts associated with the type, and loop through it
34252 * adding the casts to the list. The one last trick we need to do is making
34253 * sure the type pointer in the swig_cast_info struct is correct.
34254 *
34255 * First off, we lookup the cast->type name to see if it is already loaded.
34256 * There are three cases to handle:
34257 * 1) If the cast->type has already been loaded AND the type we are adding
34258 * casting info to has not been loaded (it is in this module), THEN we
34259 * replace the cast->type pointer with the type pointer that has already
34260 * been loaded.
34261 * 2) If BOTH types (the one we are adding casting info to, and the
34262 * cast->type) are loaded, THEN the cast info has already been loaded by
34263 * the previous module so we just ignore it.
34264 * 3) Finally, if cast->type has not already been loaded, then we add that
34265 * swig_cast_info to the linked list (because the cast->type) pointer will
34266 * be correct.
34267 * ----------------------------------------------------------------------------- */
34268
34269 #ifdef __cplusplus
34270 extern "C" {
34271 #if 0
34272 } /* c-mode */
34273 #endif
34274 #endif
34275
34276 #if 0
34277 #define SWIGRUNTIME_DEBUG
34278 #endif
34279
34280 SWIGRUNTIME void
34281 SWIG_InitializeModule(void *clientdata) {
34282 size_t i;
34283 swig_module_info *module_head;
34284 static int init_run = 0;
34285
34286 clientdata = clientdata;
34287
34288 if (init_run) return;
34289 init_run = 1;
34290
34291 /* Initialize the swig_module */
34292 swig_module.type_initial = swig_type_initial;
34293 swig_module.cast_initial = swig_cast_initial;
34294
34295 /* Try and load any already created modules */
34296 module_head = SWIG_GetModule(clientdata);
34297 if (module_head) {
34298 swig_module.next = module_head->next;
34299 module_head->next = &swig_module;
34300 } else {
34301 /* This is the first module loaded */
34302 swig_module.next = &swig_module;
34303 SWIG_SetModule(clientdata, &swig_module);
34304 }
34305
34306 /* Now work on filling in swig_module.types */
34307 #ifdef SWIGRUNTIME_DEBUG
34308 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34309 #endif
34310 for (i = 0; i < swig_module.size; ++i) {
34311 swig_type_info *type = 0;
34312 swig_type_info *ret;
34313 swig_cast_info *cast;
34314
34315 #ifdef SWIGRUNTIME_DEBUG
34316 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34317 #endif
34318
34319 /* if there is another module already loaded */
34320 if (swig_module.next != &swig_module) {
34321 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34322 }
34323 if (type) {
34324 /* Overwrite clientdata field */
34325 #ifdef SWIGRUNTIME_DEBUG
34326 printf("SWIG_InitializeModule: found type %s\n", type->name);
34327 #endif
34328 if (swig_module.type_initial[i]->clientdata) {
34329 type->clientdata = swig_module.type_initial[i]->clientdata;
34330 #ifdef SWIGRUNTIME_DEBUG
34331 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34332 #endif
34333 }
34334 } else {
34335 type = swig_module.type_initial[i];
34336 }
34337
34338 /* Insert casting types */
34339 cast = swig_module.cast_initial[i];
34340 while (cast->type) {
34341 /* Don't need to add information already in the list */
34342 ret = 0;
34343 #ifdef SWIGRUNTIME_DEBUG
34344 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34345 #endif
34346 if (swig_module.next != &swig_module) {
34347 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34348 #ifdef SWIGRUNTIME_DEBUG
34349 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34350 #endif
34351 }
34352 if (ret) {
34353 if (type == swig_module.type_initial[i]) {
34354 #ifdef SWIGRUNTIME_DEBUG
34355 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34356 #endif
34357 cast->type = ret;
34358 ret = 0;
34359 } else {
34360 /* Check for casting already in the list */
34361 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34362 #ifdef SWIGRUNTIME_DEBUG
34363 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34364 #endif
34365 if (!ocast) ret = 0;
34366 }
34367 }
34368
34369 if (!ret) {
34370 #ifdef SWIGRUNTIME_DEBUG
34371 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34372 #endif
34373 if (type->cast) {
34374 type->cast->prev = cast;
34375 cast->next = type->cast;
34376 }
34377 type->cast = cast;
34378 }
34379 cast++;
34380 }
34381 /* Set entry in modules->types array equal to the type */
34382 swig_module.types[i] = type;
34383 }
34384 swig_module.types[i] = 0;
34385
34386 #ifdef SWIGRUNTIME_DEBUG
34387 printf("**** SWIG_InitializeModule: Cast List ******\n");
34388 for (i = 0; i < swig_module.size; ++i) {
34389 int j = 0;
34390 swig_cast_info *cast = swig_module.cast_initial[i];
34391 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34392 while (cast->type) {
34393 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34394 cast++;
34395 ++j;
34396 }
34397 printf("---- Total casts: %d\n",j);
34398 }
34399 printf("**** SWIG_InitializeModule: Cast List ******\n");
34400 #endif
34401 }
34402
34403 /* This function will propagate the clientdata field of type to
34404 * any new swig_type_info structures that have been added into the list
34405 * of equivalent types. It is like calling
34406 * SWIG_TypeClientData(type, clientdata) a second time.
34407 */
34408 SWIGRUNTIME void
34409 SWIG_PropagateClientData(void) {
34410 size_t i;
34411 swig_cast_info *equiv;
34412 static int init_run = 0;
34413
34414 if (init_run) return;
34415 init_run = 1;
34416
34417 for (i = 0; i < swig_module.size; i++) {
34418 if (swig_module.types[i]->clientdata) {
34419 equiv = swig_module.types[i]->cast;
34420 while (equiv) {
34421 if (!equiv->converter) {
34422 if (equiv->type && !equiv->type->clientdata)
34423 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34424 }
34425 equiv = equiv->next;
34426 }
34427 }
34428 }
34429 }
34430
34431 #ifdef __cplusplus
34432 #if 0
34433 {
34434 /* c-mode */
34435 #endif
34436 }
34437 #endif
34438
34439
34440
34441 #ifdef __cplusplus
34442 extern "C" {
34443 #endif
34444
34445 /* Python-specific SWIG API */
34446 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34447 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34448 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34449
34450 /* -----------------------------------------------------------------------------
34451 * global variable support code.
34452 * ----------------------------------------------------------------------------- */
34453
34454 typedef struct swig_globalvar {
34455 char *name; /* Name of global variable */
34456 PyObject *(*get_attr)(void); /* Return the current value */
34457 int (*set_attr)(PyObject *); /* Set the value */
34458 struct swig_globalvar *next;
34459 } swig_globalvar;
34460
34461 typedef struct swig_varlinkobject {
34462 PyObject_HEAD
34463 swig_globalvar *vars;
34464 } swig_varlinkobject;
34465
34466 SWIGINTERN PyObject *
34467 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34468 return PyString_FromString("<Swig global variables>");
34469 }
34470
34471 SWIGINTERN PyObject *
34472 swig_varlink_str(swig_varlinkobject *v) {
34473 PyObject *str = PyString_FromString("(");
34474 swig_globalvar *var;
34475 for (var = v->vars; var; var=var->next) {
34476 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34477 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34478 }
34479 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34480 return str;
34481 }
34482
34483 SWIGINTERN int
34484 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34485 PyObject *str = swig_varlink_str(v);
34486 fprintf(fp,"Swig global variables ");
34487 fprintf(fp,"%s\n", PyString_AsString(str));
34488 Py_DECREF(str);
34489 return 0;
34490 }
34491
34492 SWIGINTERN void
34493 swig_varlink_dealloc(swig_varlinkobject *v) {
34494 swig_globalvar *var = v->vars;
34495 while (var) {
34496 swig_globalvar *n = var->next;
34497 free(var->name);
34498 free(var);
34499 var = n;
34500 }
34501 }
34502
34503 SWIGINTERN PyObject *
34504 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34505 PyObject *res = NULL;
34506 swig_globalvar *var = v->vars;
34507 while (var) {
34508 if (strcmp(var->name,n) == 0) {
34509 res = (*var->get_attr)();
34510 break;
34511 }
34512 var = var->next;
34513 }
34514 if (res == NULL && !PyErr_Occurred()) {
34515 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34516 }
34517 return res;
34518 }
34519
34520 SWIGINTERN int
34521 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34522 int res = 1;
34523 swig_globalvar *var = v->vars;
34524 while (var) {
34525 if (strcmp(var->name,n) == 0) {
34526 res = (*var->set_attr)(p);
34527 break;
34528 }
34529 var = var->next;
34530 }
34531 if (res == 1 && !PyErr_Occurred()) {
34532 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34533 }
34534 return res;
34535 }
34536
34537 SWIGINTERN PyTypeObject*
34538 swig_varlink_type(void) {
34539 static char varlink__doc__[] = "Swig var link object";
34540 static PyTypeObject varlink_type;
34541 static int type_init = 0;
34542 if (!type_init) {
34543 const PyTypeObject tmp
34544 = {
34545 PyObject_HEAD_INIT(NULL)
34546 0, /* Number of items in variable part (ob_size) */
34547 (char *)"swigvarlink", /* Type name (tp_name) */
34548 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34549 0, /* Itemsize (tp_itemsize) */
34550 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34551 (printfunc) swig_varlink_print, /* Print (tp_print) */
34552 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34553 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34554 0, /* tp_compare */
34555 (reprfunc) swig_varlink_repr, /* tp_repr */
34556 0, /* tp_as_number */
34557 0, /* tp_as_sequence */
34558 0, /* tp_as_mapping */
34559 0, /* tp_hash */
34560 0, /* tp_call */
34561 (reprfunc)swig_varlink_str, /* tp_str */
34562 0, /* tp_getattro */
34563 0, /* tp_setattro */
34564 0, /* tp_as_buffer */
34565 0, /* tp_flags */
34566 varlink__doc__, /* tp_doc */
34567 0, /* tp_traverse */
34568 0, /* tp_clear */
34569 0, /* tp_richcompare */
34570 0, /* tp_weaklistoffset */
34571 #if PY_VERSION_HEX >= 0x02020000
34572 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34573 #endif
34574 #if PY_VERSION_HEX >= 0x02030000
34575 0, /* tp_del */
34576 #endif
34577 #ifdef COUNT_ALLOCS
34578 0,0,0,0 /* tp_alloc -> tp_next */
34579 #endif
34580 };
34581 varlink_type = tmp;
34582 varlink_type.ob_type = &PyType_Type;
34583 type_init = 1;
34584 }
34585 return &varlink_type;
34586 }
34587
34588 /* Create a variable linking object for use later */
34589 SWIGINTERN PyObject *
34590 SWIG_Python_newvarlink(void) {
34591 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34592 if (result) {
34593 result->vars = 0;
34594 }
34595 return ((PyObject*) result);
34596 }
34597
34598 SWIGINTERN void
34599 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34600 swig_varlinkobject *v = (swig_varlinkobject *) p;
34601 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34602 if (gv) {
34603 size_t size = strlen(name)+1;
34604 gv->name = (char *)malloc(size);
34605 if (gv->name) {
34606 strncpy(gv->name,name,size);
34607 gv->get_attr = get_attr;
34608 gv->set_attr = set_attr;
34609 gv->next = v->vars;
34610 }
34611 }
34612 v->vars = gv;
34613 }
34614
34615 SWIGINTERN PyObject *
34616 SWIG_globals() {
34617 static PyObject *_SWIG_globals = 0;
34618 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34619 return _SWIG_globals;
34620 }
34621
34622 /* -----------------------------------------------------------------------------
34623 * constants/methods manipulation
34624 * ----------------------------------------------------------------------------- */
34625
34626 /* Install Constants */
34627 SWIGINTERN void
34628 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34629 PyObject *obj = 0;
34630 size_t i;
34631 for (i = 0; constants[i].type; ++i) {
34632 switch(constants[i].type) {
34633 case SWIG_PY_POINTER:
34634 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34635 break;
34636 case SWIG_PY_BINARY:
34637 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34638 break;
34639 default:
34640 obj = 0;
34641 break;
34642 }
34643 if (obj) {
34644 PyDict_SetItemString(d, constants[i].name, obj);
34645 Py_DECREF(obj);
34646 }
34647 }
34648 }
34649
34650 /* -----------------------------------------------------------------------------*/
34651 /* Fix SwigMethods to carry the callback ptrs when needed */
34652 /* -----------------------------------------------------------------------------*/
34653
34654 SWIGINTERN void
34655 SWIG_Python_FixMethods(PyMethodDef *methods,
34656 swig_const_info *const_table,
34657 swig_type_info **types,
34658 swig_type_info **types_initial) {
34659 size_t i;
34660 for (i = 0; methods[i].ml_name; ++i) {
34661 const char *c = methods[i].ml_doc;
34662 if (c && (c = strstr(c, "swig_ptr: "))) {
34663 int j;
34664 swig_const_info *ci = 0;
34665 const char *name = c + 10;
34666 for (j = 0; const_table[j].type; ++j) {
34667 if (strncmp(const_table[j].name, name,
34668 strlen(const_table[j].name)) == 0) {
34669 ci = &(const_table[j]);
34670 break;
34671 }
34672 }
34673 if (ci) {
34674 size_t shift = (ci->ptype) - types;
34675 swig_type_info *ty = types_initial[shift];
34676 size_t ldoc = (c - methods[i].ml_doc);
34677 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34678 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34679 if (ndoc) {
34680 char *buff = ndoc;
34681 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34682 if (ptr) {
34683 strncpy(buff, methods[i].ml_doc, ldoc);
34684 buff += ldoc;
34685 strncpy(buff, "swig_ptr: ", 10);
34686 buff += 10;
34687 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34688 methods[i].ml_doc = ndoc;
34689 }
34690 }
34691 }
34692 }
34693 }
34694 }
34695
34696 #ifdef __cplusplus
34697 }
34698 #endif
34699
34700 /* -----------------------------------------------------------------------------*
34701 * Partial Init method
34702 * -----------------------------------------------------------------------------*/
34703
34704 #ifdef __cplusplus
34705 extern "C"
34706 #endif
34707 SWIGEXPORT void SWIG_init(void) {
34708 PyObject *m, *d;
34709
34710 /* Fix SwigMethods to carry the callback ptrs when needed */
34711 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34712
34713 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34714 d = PyModule_GetDict(m);
34715
34716 SWIG_InitializeModule(0);
34717 SWIG_InstallConstants(d,swig_const_table);
34718
34719
34720 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34721 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34722 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34723 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34724 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34725 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34726 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34727 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34728 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34729 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34730 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34731 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34732 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34733 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34734 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34735 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34736 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34737 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34738 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34739 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34740 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34741 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34742 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34743 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34744 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34745 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34746 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34747 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34748 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34749 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34750 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34751 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34752 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34753 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34754 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34755 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34756 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34757 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34758 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34759 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34760 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34761 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34762 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34763 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34764 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34765 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34766 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34767 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34768 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34769 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34770 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34771 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34772 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34773 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34774 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34775 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34776 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34777 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34778 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34779 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34780 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34781 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34782 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34783 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34784 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34785 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34786 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34787 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34788 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34789 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34790 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34791 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34792 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34793 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34794 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34795 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34796 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34797 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34798 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34799 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34800 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34801 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34802 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34803 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34804 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34805 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34806 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34807 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34808 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34809 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34810 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34811 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34812 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34813 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34814 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34815 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34816 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34817 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34818 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34819 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34820 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34821 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34822 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34823 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34824 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34825 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34826 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
34827 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
34828 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
34829
34830 // Map renamed classes back to their common name for OOR
34831 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34832 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34833 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34834
34835 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34836 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34837 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34838 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34839 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34840 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34841 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34842 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
34843 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34844 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34845 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34846 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34847 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34848 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34849 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34850 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34851 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34852 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34853 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34854 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34855 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34856 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34857 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34858 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34859 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34860 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34861 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34862 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34863 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34864 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34865 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34866 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34867 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34868 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34869 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34870 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34871 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34872 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34873 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34874 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34875 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34876 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34877 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34878 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34879 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34880 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34881 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34882 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34883 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34884 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34885 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34886 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34887 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34888 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34889 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34890 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34891 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34892 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34893 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34894 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34895 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34896 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34897 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34898 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34899 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34900 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34901 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34902 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34903 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34904 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34905 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34906 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34907 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34908 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34909 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34910 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34911 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34912 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34913 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34914 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34915 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34916 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34917 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34918 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34919 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34920 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34921 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34922 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34923 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34924 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34925 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34926 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34927 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34928 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34929 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34930 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34931 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34932 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34933 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34934 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34935 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34936 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34937 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34938 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34939 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34940
34941 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34942
34943 }
34944