fix for longlongHash for architectures where sizeof(long long) == sizeof(long)
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info *swig_types[167];
2633 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636
2637 /* -------- TYPES TABLE (END) -------- */
2638
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2642 # endif
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 #endif
2650 #ifndef METH_O
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 #endif
2653
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2658
2659 #define SWIG_name "_windows_"
2660
2661 #define SWIGVERSION 0x010329
2662
2663
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666
2667
2668 #include <stdexcept>
2669
2670
2671 namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
2675
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
2680
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
2684 }
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr & operator=(const PyObject_ptr& item)
2692 {
2693 Py_XINCREF(item._obj);
2694 Py_XDECREF(_obj);
2695 _obj = item._obj;
2696 return *this;
2697 }
2698
2699 ~PyObject_ptr()
2700 {
2701 Py_XDECREF(_obj);
2702 }
2703
2704 operator PyObject *() const
2705 {
2706 return _obj;
2707 }
2708
2709 PyObject *operator->() const
2710 {
2711 return _obj;
2712 }
2713 };
2714 }
2715
2716
2717 namespace swig {
2718 struct PyObject_var : PyObject_ptr {
2719 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2720
2721 PyObject_var & operator = (PyObject* obj)
2722 {
2723 Py_XDECREF(_obj);
2724 _obj = obj;
2725 return *this;
2726 }
2727 };
2728 }
2729
2730
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733
2734
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2737
2738
2739
2740 #include <limits.h>
2741 #ifndef LLONG_MIN
2742 # define LLONG_MIN LONG_LONG_MIN
2743 #endif
2744 #ifndef LLONG_MAX
2745 # define LLONG_MAX LONG_LONG_MAX
2746 #endif
2747 #ifndef ULLONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2749 #endif
2750
2751
2752 SWIGINTERN int
2753 SWIG_AsVal_long (PyObject* obj, long* val)
2754 {
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
2760 }
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_int (PyObject * obj, int *val)
2765 {
2766 long v;
2767 int res = SWIG_AsVal_long (obj, &v);
2768 if (SWIG_IsOK(res)) {
2769 if ((v < INT_MIN || v > INT_MAX)) {
2770 return SWIG_OverflowError;
2771 } else {
2772 if (val) *val = static_cast< int >(v);
2773 }
2774 }
2775 return res;
2776 }
2777
2778
2779 SWIGINTERN int
2780 SWIG_AsVal_bool (PyObject *obj, bool *val)
2781 {
2782 if (obj == Py_True) {
2783 if (val) *val = true;
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
2786 if (val) *val = false;
2787 return SWIG_OK;
2788 } else {
2789 long v = 0;
2790 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2791 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2792 return res;
2793 }
2794 }
2795
2796
2797 #define SWIG_From_long PyInt_FromLong
2798
2799
2800 SWIGINTERNINLINE PyObject *
2801 SWIG_From_int (int value)
2802 {
2803 return SWIG_From_long (value);
2804 }
2805
2806
2807 SWIGINTERN int
2808 SWIG_AsVal_double (PyObject *obj, double* val)
2809 {
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
2812 return SWIG_OK;
2813 }
2814 return SWIG_TypeError;
2815 }
2816
2817
2818 #define SWIG_From_double PyFloat_FromDouble
2819
2820 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2821 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2822 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2823 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2824 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2825 int style = self->GetExtraStyle();
2826 if ( on )
2827 style |= wxFRAME_EX_METAL;
2828 else
2829 style &= ~wxFRAME_EX_METAL;
2830 self->SetExtraStyle(style);
2831 }
2832
2833
2834 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2835 wxRect r;
2836 self->GetFieldRect(i, r);
2837 return r;
2838 }
2839 static const wxString wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2842
2843 #include <wx/popupwin.h>
2844
2845
2846 class wxPopupWindow : public wxWindow {
2847 public:
2848 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2850 };
2851
2852 class wxPyPopupTransientWindow : public wxPopupWindow
2853 {
2854 public:
2855 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2857 };
2858
2859
2860 #include <wx/tipwin.h>
2861
2862 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2863 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2864 }
2865
2866 #include <wx/tipwin.h>
2867
2868
2869 #include <wx/vscroll.h>
2870
2871
2872 class wxPyVScrolledWindow : public wxVScrolledWindow
2873 {
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2875 public:
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877
2878 wxPyVScrolledWindow(wxWindow *parent,
2879 wxWindowID id = wxID_ANY,
2880 const wxPoint& pos = wxDefaultPosition,
2881 const wxSize& size = wxDefaultSize,
2882 long style = 0,
2883 const wxString& name = wxPyPanelNameStr)
2884 : wxVScrolledWindow(parent, id, pos, size, style, name)
2885 {}
2886
2887 // Overridable virtuals
2888
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2892
2893
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2897 // once
2898 //
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2904 //
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 // usual
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2908
2909
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2914 // its own logic
2915 //
2916 // this function should return the best guess for the total height it may
2917 // make
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2919
2920
2921 // Also expose some other interesting protected methods
2922
2923
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2928
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2933
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2939
2940 PYPRIVATE;
2941 };
2942
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2944
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2948
2949
2950 SWIGINTERN int
2951 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2952 {
2953 long v = 0;
2954 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2955 return SWIG_TypeError;
2956 }
2957 else if (val)
2958 *val = (unsigned long)v;
2959 return SWIG_OK;
2960 }
2961
2962
2963 SWIGINTERNINLINE int
2964 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2965 {
2966 unsigned long v;
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
2970 }
2971
2972
2973 SWIGINTERNINLINE PyObject*
2974 SWIG_From_unsigned_SS_long (unsigned long value)
2975 {
2976 return (value > LONG_MAX) ?
2977 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2978 }
2979
2980
2981 SWIGINTERNINLINE PyObject *
2982 SWIG_From_size_t (size_t value)
2983 {
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2985 }
2986
2987
2988 #include <wx/vlbox.h>
2989
2990 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2991
2992 class wxPyVListBox : public wxVListBox
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2995 public:
2996 wxPyVListBox() : wxVListBox() {}
2997
2998 wxPyVListBox(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyVListBoxNameStr)
3004 : wxVListBox(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3013
3014
3015 // the derived class must implement this method to return the height of the
3016 // specified item
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3019
3020
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3024 //
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3028
3029
3030 // this method is used to draw the items background and, maybe, a border
3031 // around it
3032 //
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3036 // current
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3039
3040
3041 PYPRIVATE;
3042 };
3043
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3045
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3050
3051
3052 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3053 unsigned long cookie = 0;
3054 int selected = self->GetFirstSelected(cookie);
3055 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3056 PyObject* tup = PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3058 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3059 wxPyEndBlockThreads(blocked);
3060 return tup;
3061 }
3062 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3063 int selected = self->GetNextSelected(cookie);
3064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3065 PyObject* tup = PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3067 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3068 wxPyEndBlockThreads(blocked);
3069 return tup;
3070 }
3071
3072 #include <wx/htmllbox.h>
3073
3074
3075 class wxPyHtmlListBox : public wxHtmlListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3078 public:
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3080
3081 wxPyHtmlListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxHtmlListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3095
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3098
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3102
3103 // TODO:
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3107 // //
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3116
3117
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n,
3121 const wxHtmlLinkInfo& link);
3122
3123 PYPRIVATE;
3124 };
3125
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3128
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3133
3134
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link) {
3137 bool found;
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3140 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3142 Py_DECREF(obj);
3143 }
3144 wxPyEndBlockThreads(blocked);
3145 if (! found)
3146 wxPyHtmlListBox::OnLinkClicked(n, link);
3147 }
3148
3149
3150
3151
3152
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3155
3156 class wxTaskBarIcon : public wxEvtHandler
3157 {
3158 public:
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3160 };
3161
3162
3163 class wxTaskBarIconEvent : public wxEvent
3164 {
3165 public:
3166 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent* Clone() const { return NULL; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu *menu) { return false; }
3174 };
3175
3176 enum {
3177 wxEVT_TASKBAR_MOVE = 0,
3178 wxEVT_TASKBAR_LEFT_DOWN = 0,
3179 wxEVT_TASKBAR_LEFT_UP = 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3181 wxEVT_TASKBAR_RIGHT_UP = 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3184 };
3185
3186
3187 #else
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon : public wxTaskBarIcon
3190 {
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3192 public:
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3194 {}
3195
3196 wxMenu* CreatePopupMenu() {
3197 wxMenu *rval = NULL;
3198 bool found;
3199 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3200 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3201 PyObject* ro;
3202 wxMenu* ptr;
3203 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3204 if (ro) {
3205 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3206 rval = ptr;
3207 Py_DECREF(ro);
3208 }
3209 }
3210 wxPyEndBlockThreads(blocked);
3211 if (! found)
3212 rval = wxTaskBarIcon::CreatePopupMenu();
3213 return rval;
3214 }
3215
3216 PYPRIVATE;
3217 };
3218
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3220
3221 #endif
3222
3223 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3224 self->RemoveIcon();
3225 delete self;
3226 }
3227 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3228 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3229 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3230 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3231 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3232 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3233
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3236
3237 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3238 wxArrayString arr;
3239 self->GetFilenames(arr);
3240 return wxArrayString2PyList_helper(arr);
3241 }
3242 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3243 wxArrayString arr;
3244 self->GetPaths(arr);
3245 return wxArrayString2PyList_helper(arr);
3246 }
3247 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3248 return wxArrayInt2PyList_helper(self->GetSelections());
3249 }
3250 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3251 return new wxSingleChoiceDialog(parent, message, caption,
3252 choices, choices_array, NULL, style, pos);
3253 }
3254 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3255
3256 SWIGINTERNINLINE PyObject*
3257 SWIG_From_bool (bool value)
3258 {
3259 return PyBool_FromLong(value ? 1 : 0);
3260 }
3261
3262
3263 #include <wx/mdi.h>
3264
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow : public wxWindow
3267 {
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3269 public:
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow* parent, const wxWindowID id,
3272 const wxPoint& pos = wxDefaultPosition,
3273 const wxSize& size = wxDefaultSize,
3274 long style = 0,
3275 const wxString& name = wxPyPanelNameStr)
3276 : wxWindow(parent, id, pos, size, style, name) {}
3277
3278
3279 bool DoEraseBackground(wxDC* dc) {
3280 #ifdef __WXMSW__
3281 return wxWindow::DoEraseBackground(dc->GetHDC());
3282 #else
3283 dc->SetBackground(wxBrush(GetBackgroundColour()));
3284 dc->Clear();
3285 return true;
3286 #endif
3287 }
3288
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3293
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3297
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3300
3301 DEC_PYCALLBACK__(InitDialog);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3304 DEC_PYCALLBACK_BOOL_(Validate);
3305
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3309
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3312
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3315
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3317
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3319
3320 PYPRIVATE;
3321 };
3322
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3324
3325 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3329
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3333
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3336
3337 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3341
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3345
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3348
3349 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3351
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3353
3354 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3355
3356 // C++ version of Python aware wxPanel
3357 class wxPyPanel : public wxPanel
3358 {
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3360 public:
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow* parent, const wxWindowID id,
3363 const wxPoint& pos = wxDefaultPosition,
3364 const wxSize& size = wxDefaultSize,
3365 long style = 0,
3366 const wxString& name = wxPyPanelNameStr)
3367 : wxPanel(parent, id, pos, size, style, name) {}
3368
3369 bool DoEraseBackground(wxDC* dc) {
3370 #ifdef __WXMSW__
3371 return wxWindow::DoEraseBackground(dc->GetHDC());
3372 #else
3373 dc->SetBackground(wxBrush(GetBackgroundColour()));
3374 dc->Clear();
3375 return true;
3376 #endif
3377 }
3378
3379
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3384
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3388
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3391
3392 DEC_PYCALLBACK__(InitDialog);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3395 DEC_PYCALLBACK_BOOL_(Validate);
3396
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3400
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3403
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3406
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3408
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3410
3411 PYPRIVATE;
3412 };
3413
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3415
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3420
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3424
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3427
3428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3432
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3436
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3439
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3442
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3444
3445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3446
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow : public wxScrolledWindow
3449 {
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3451 public:
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3454 const wxPoint& pos = wxDefaultPosition,
3455 const wxSize& size = wxDefaultSize,
3456 long style = 0,
3457 const wxString& name = wxPyPanelNameStr)
3458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3459
3460 bool DoEraseBackground(wxDC* dc) {
3461 #ifdef __WXMSW__
3462 return wxWindow::DoEraseBackground(dc->GetHDC());
3463 #else
3464 dc->SetBackground(wxBrush(GetBackgroundColour()));
3465 dc->Clear();
3466 return true;
3467 #endif
3468 }
3469
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3474
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3478
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3481
3482 DEC_PYCALLBACK__(InitDialog);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3485 DEC_PYCALLBACK_BOOL_(Validate);
3486
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3490
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3493
3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3496
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3498
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3500
3501 PYPRIVATE;
3502 };
3503
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3505
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3510
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3514
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3517
3518 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3522
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3526
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3529
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3532
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3534
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3536
3537
3538 #include "wx/wxPython/printfw.h"
3539
3540
3541 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3543 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3544 PyObject* data;
3545 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3546 data = PyString_FromStringAndSize(self->GetPrivData(),
3547 self->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked);
3549 return data;
3550 }
3551 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3552 if (! PyString_Check(data)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3554 "Expected string object"));
3555 return /* NULL */ ;
3556 }
3557
3558 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3559 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3560 wxPyEndBlockThreads(blocked);
3561 }
3562
3563
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3565
3566 // Since this one would be tough and ugly to do with the Macros...
3567 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3568 bool hadErr = false;
3569 bool found;
3570
3571 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3572 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3573 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3574 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3575 PyObject* val;
3576
3577 val = PyTuple_GetItem(result, 0);
3578 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3579 else hadErr = true;
3580
3581 val = PyTuple_GetItem(result, 1);
3582 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3583 else hadErr = true;
3584
3585 val = PyTuple_GetItem(result, 2);
3586 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3587 else hadErr = true;
3588
3589 val = PyTuple_GetItem(result, 3);
3590 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3591 else hadErr = true;
3592 }
3593 else
3594 hadErr = true;
3595
3596 if (hadErr) {
3597 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3598 PyErr_Print();
3599 }
3600 Py_DECREF(result);
3601 }
3602 wxPyEndBlockThreads(blocked);
3603 if (! found)
3604 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3605 }
3606
3607
3608
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3616
3617
3618
3619
3620
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3623
3624
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3627 bool rval=false; \
3628 bool found; \
3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3634 Py_DECREF(win); \
3635 Py_DECREF(dc); \
3636 } \
3637 wxPyEndBlockThreads(blocked); \
3638 if (! found) \
3639 rval = PCLASS::CBNAME(a, b); \
3640 return rval; \
3641 }
3642
3643
3644
3645
3646 class wxPyPrintPreview : public wxPrintPreview
3647 {
3648 DECLARE_CLASS(wxPyPrintPreview)
3649 public:
3650 wxPyPrintPreview(wxPyPrintout* printout,
3651 wxPyPrintout* printoutForPrinting,
3652 wxPrintDialogData* data=NULL)
3653 : wxPrintPreview(printout, printoutForPrinting, data)
3654 {}
3655 wxPyPrintPreview(wxPyPrintout* printout,
3656 wxPyPrintout* printoutForPrinting,
3657 wxPrintData* data)
3658 : wxPrintPreview(printout, printoutForPrinting, data)
3659 {}
3660
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling);
3668
3669 PYPRIVATE;
3670 };
3671
3672 // Stupid renamed classes... Fix this in 2.5...
3673 #if defined(__WXMSW__)
3674 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3675 #elif defined(__WXMAC__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3677 #else
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3679 #endif
3680
3681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3688
3689
3690 class wxPyPreviewFrame : public wxPreviewFrame
3691 {
3692 DECLARE_CLASS(wxPyPreviewFrame)
3693 public:
3694 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3695 const wxString& title,
3696 const wxPoint& pos = wxDefaultPosition,
3697 const wxSize& size = wxDefaultSize,
3698 long style = wxDEFAULT_FRAME_STYLE,
3699 const wxString& name = wxPyFrameNameStr)
3700 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3701 {}
3702
3703 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3704 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3705
3706 DEC_PYCALLBACK_VOID_(Initialize);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar);
3709
3710 PYPRIVATE;
3711 };
3712
3713 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3714
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3718
3719
3720 class wxPyPreviewControlBar : public wxPreviewControlBar
3721 {
3722 DECLARE_CLASS(wxPyPreviewControlBar)
3723 public:
3724 wxPyPreviewControlBar(wxPrintPreview *preview,
3725 long buttons,
3726 wxWindow *parent,
3727 const wxPoint& pos = wxDefaultPosition,
3728 const wxSize& size = wxDefaultSize,
3729 long style = 0,
3730 const wxString& name = wxPyPanelNameStr)
3731 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3732 {}
3733
3734 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3735
3736 DEC_PYCALLBACK_VOID_(CreateButtons);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3738
3739 PYPRIVATE;
3740 };
3741
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3745
3746 #ifdef __cplusplus
3747 extern "C" {
3748 #endif
3749 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj = 0;
3751 wxWindow *arg1 = (wxWindow *) 0 ;
3752 int arg2 = (int) (int)-1 ;
3753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3755 wxSize const &arg4_defvalue = wxDefaultSize ;
3756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3757 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3758 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3759 wxString *arg6 = (wxString *) &arg6_defvalue ;
3760 wxPanel *result = 0 ;
3761 void *argp1 = 0 ;
3762 int res1 = 0 ;
3763 int val2 ;
3764 int ecode2 = 0 ;
3765 wxPoint temp3 ;
3766 wxSize temp4 ;
3767 long val5 ;
3768 int ecode5 = 0 ;
3769 bool temp6 = false ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 PyObject * obj4 = 0 ;
3775 PyObject * obj5 = 0 ;
3776 char * kwnames[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3778 };
3779
3780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3782 if (!SWIG_IsOK(res1)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 }
3785 arg1 = reinterpret_cast< wxWindow * >(argp1);
3786 if (obj1) {
3787 ecode2 = SWIG_AsVal_int(obj1, &val2);
3788 if (!SWIG_IsOK(ecode2)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 }
3791 arg2 = static_cast< int >(val2);
3792 }
3793 if (obj2) {
3794 {
3795 arg3 = &temp3;
3796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3797 }
3798 }
3799 if (obj3) {
3800 {
3801 arg4 = &temp4;
3802 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3803 }
3804 }
3805 if (obj4) {
3806 ecode5 = SWIG_AsVal_long(obj4, &val5);
3807 if (!SWIG_IsOK(ecode5)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 }
3810 arg5 = static_cast< long >(val5);
3811 }
3812 if (obj5) {
3813 {
3814 arg6 = wxString_in_helper(obj5);
3815 if (arg6 == NULL) SWIG_fail;
3816 temp6 = true;
3817 }
3818 }
3819 {
3820 if (!wxPyCheckForApp()) SWIG_fail;
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3827 {
3828 if (temp6)
3829 delete arg6;
3830 }
3831 return resultobj;
3832 fail:
3833 {
3834 if (temp6)
3835 delete arg6;
3836 }
3837 return NULL;
3838 }
3839
3840
3841 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxPanel *result = 0 ;
3844
3845 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3846 {
3847 if (!wxPyCheckForApp()) SWIG_fail;
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 result = (wxPanel *)new wxPanel();
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj = 0;
3862 wxPanel *arg1 = (wxPanel *) 0 ;
3863 wxWindow *arg2 = (wxWindow *) 0 ;
3864 int arg3 = (int) (int)-1 ;
3865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3867 wxSize const &arg5_defvalue = wxDefaultSize ;
3868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3869 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3870 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3871 wxString *arg7 = (wxString *) &arg7_defvalue ;
3872 bool result;
3873 void *argp1 = 0 ;
3874 int res1 = 0 ;
3875 void *argp2 = 0 ;
3876 int res2 = 0 ;
3877 int val3 ;
3878 int ecode3 = 0 ;
3879 wxPoint temp4 ;
3880 wxSize temp5 ;
3881 long val6 ;
3882 int ecode6 = 0 ;
3883 bool temp7 = false ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 PyObject * obj2 = 0 ;
3887 PyObject * obj3 = 0 ;
3888 PyObject * obj4 = 0 ;
3889 PyObject * obj5 = 0 ;
3890 PyObject * obj6 = 0 ;
3891 char * kwnames[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3893 };
3894
3895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3897 if (!SWIG_IsOK(res1)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 }
3900 arg1 = reinterpret_cast< wxPanel * >(argp1);
3901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3902 if (!SWIG_IsOK(res2)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 }
3905 arg2 = reinterpret_cast< wxWindow * >(argp2);
3906 if (obj2) {
3907 ecode3 = SWIG_AsVal_int(obj2, &val3);
3908 if (!SWIG_IsOK(ecode3)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 }
3911 arg3 = static_cast< int >(val3);
3912 }
3913 if (obj3) {
3914 {
3915 arg4 = &temp4;
3916 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3917 }
3918 }
3919 if (obj4) {
3920 {
3921 arg5 = &temp5;
3922 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3923 }
3924 }
3925 if (obj5) {
3926 ecode6 = SWIG_AsVal_long(obj5, &val6);
3927 if (!SWIG_IsOK(ecode6)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 }
3930 arg6 = static_cast< long >(val6);
3931 }
3932 if (obj6) {
3933 {
3934 arg7 = wxString_in_helper(obj6);
3935 if (arg7 == NULL) SWIG_fail;
3936 temp7 = true;
3937 }
3938 }
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3947 }
3948 {
3949 if (temp7)
3950 delete arg7;
3951 }
3952 return resultobj;
3953 fail:
3954 {
3955 if (temp7)
3956 delete arg7;
3957 }
3958 return NULL;
3959 }
3960
3961
3962 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxPanel *arg1 = (wxPanel *) 0 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 PyObject *swig_obj[1] ;
3968
3969 if (!args) SWIG_fail;
3970 swig_obj[0] = args;
3971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3972 if (!SWIG_IsOK(res1)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 }
3975 arg1 = reinterpret_cast< wxPanel * >(argp1);
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_Py_Void();
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj = 0;
3991 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3992 SwigValueWrapper<wxVisualAttributes > result;
3993 int val1 ;
3994 int ecode1 = 0 ;
3995 PyObject * obj0 = 0 ;
3996 char * kwnames[] = {
3997 (char *) "variant", NULL
3998 };
3999
4000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4001 if (obj0) {
4002 ecode1 = SWIG_AsVal_int(obj0, &val1);
4003 if (!SWIG_IsOK(ecode1)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 }
4006 arg1 = static_cast< wxWindowVariant >(val1);
4007 }
4008 {
4009 if (!wxPyCheckForApp()) SWIG_fail;
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = wxPanel::GetClassDefaultAttributes(arg1);
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *obj;
4024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4026 return SWIG_Py_Void();
4027 }
4028
4029 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4030 return SWIG_Python_InitShadowInstance(args);
4031 }
4032
4033 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj = 0;
4035 wxWindow *arg1 = (wxWindow *) 0 ;
4036 int arg2 = (int) (int)-1 ;
4037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4039 wxSize const &arg4_defvalue = wxDefaultSize ;
4040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4041 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4042 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4043 wxString *arg6 = (wxString *) &arg6_defvalue ;
4044 wxScrolledWindow *result = 0 ;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 int val2 ;
4048 int ecode2 = 0 ;
4049 wxPoint temp3 ;
4050 wxSize temp4 ;
4051 long val5 ;
4052 int ecode5 = 0 ;
4053 bool temp6 = false ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 char * kwnames[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4062 };
4063
4064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4066 if (!SWIG_IsOK(res1)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 }
4069 arg1 = reinterpret_cast< wxWindow * >(argp1);
4070 if (obj1) {
4071 ecode2 = SWIG_AsVal_int(obj1, &val2);
4072 if (!SWIG_IsOK(ecode2)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 }
4075 arg2 = static_cast< int >(val2);
4076 }
4077 if (obj2) {
4078 {
4079 arg3 = &temp3;
4080 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4081 }
4082 }
4083 if (obj3) {
4084 {
4085 arg4 = &temp4;
4086 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4087 }
4088 }
4089 if (obj4) {
4090 ecode5 = SWIG_AsVal_long(obj4, &val5);
4091 if (!SWIG_IsOK(ecode5)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 }
4094 arg5 = static_cast< long >(val5);
4095 }
4096 if (obj5) {
4097 {
4098 arg6 = wxString_in_helper(obj5);
4099 if (arg6 == NULL) SWIG_fail;
4100 temp6 = true;
4101 }
4102 }
4103 {
4104 if (!wxPyCheckForApp()) SWIG_fail;
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4111 {
4112 if (temp6)
4113 delete arg6;
4114 }
4115 return resultobj;
4116 fail:
4117 {
4118 if (temp6)
4119 delete arg6;
4120 }
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxScrolledWindow *result = 0 ;
4128
4129 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4130 {
4131 if (!wxPyCheckForApp()) SWIG_fail;
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (wxScrolledWindow *)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj = 0;
4146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4147 wxWindow *arg2 = (wxWindow *) 0 ;
4148 int arg3 = (int) (int)-1 ;
4149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4151 wxSize const &arg5_defvalue = wxDefaultSize ;
4152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4153 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4154 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4155 wxString *arg7 = (wxString *) &arg7_defvalue ;
4156 bool result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 void *argp2 = 0 ;
4160 int res2 = 0 ;
4161 int val3 ;
4162 int ecode3 = 0 ;
4163 wxPoint temp4 ;
4164 wxSize temp5 ;
4165 long val6 ;
4166 int ecode6 = 0 ;
4167 bool temp7 = false ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 PyObject * obj3 = 0 ;
4172 PyObject * obj4 = 0 ;
4173 PyObject * obj5 = 0 ;
4174 PyObject * obj6 = 0 ;
4175 char * kwnames[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4177 };
4178
4179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4181 if (!SWIG_IsOK(res1)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 }
4184 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4186 if (!SWIG_IsOK(res2)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 }
4189 arg2 = reinterpret_cast< wxWindow * >(argp2);
4190 if (obj2) {
4191 ecode3 = SWIG_AsVal_int(obj2, &val3);
4192 if (!SWIG_IsOK(ecode3)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 }
4195 arg3 = static_cast< int >(val3);
4196 }
4197 if (obj3) {
4198 {
4199 arg4 = &temp4;
4200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4201 }
4202 }
4203 if (obj4) {
4204 {
4205 arg5 = &temp5;
4206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4207 }
4208 }
4209 if (obj5) {
4210 ecode6 = SWIG_AsVal_long(obj5, &val6);
4211 if (!SWIG_IsOK(ecode6)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 }
4214 arg6 = static_cast< long >(val6);
4215 }
4216 if (obj6) {
4217 {
4218 arg7 = wxString_in_helper(obj6);
4219 if (arg7 == NULL) SWIG_fail;
4220 temp7 = true;
4221 }
4222 }
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4231 }
4232 {
4233 if (temp7)
4234 delete arg7;
4235 }
4236 return resultobj;
4237 fail:
4238 {
4239 if (temp7)
4240 delete arg7;
4241 }
4242 return NULL;
4243 }
4244
4245
4246 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj = 0;
4248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4249 int arg2 ;
4250 int arg3 ;
4251 int arg4 ;
4252 int arg5 ;
4253 int arg6 = (int) 0 ;
4254 int arg7 = (int) 0 ;
4255 bool arg8 = (bool) false ;
4256 void *argp1 = 0 ;
4257 int res1 = 0 ;
4258 int val2 ;
4259 int ecode2 = 0 ;
4260 int val3 ;
4261 int ecode3 = 0 ;
4262 int val4 ;
4263 int ecode4 = 0 ;
4264 int val5 ;
4265 int ecode5 = 0 ;
4266 int val6 ;
4267 int ecode6 = 0 ;
4268 int val7 ;
4269 int ecode7 = 0 ;
4270 bool val8 ;
4271 int ecode8 = 0 ;
4272 PyObject * obj0 = 0 ;
4273 PyObject * obj1 = 0 ;
4274 PyObject * obj2 = 0 ;
4275 PyObject * obj3 = 0 ;
4276 PyObject * obj4 = 0 ;
4277 PyObject * obj5 = 0 ;
4278 PyObject * obj6 = 0 ;
4279 PyObject * obj7 = 0 ;
4280 char * kwnames[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4282 };
4283
4284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 }
4289 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4290 ecode2 = SWIG_AsVal_int(obj1, &val2);
4291 if (!SWIG_IsOK(ecode2)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 }
4294 arg2 = static_cast< int >(val2);
4295 ecode3 = SWIG_AsVal_int(obj2, &val3);
4296 if (!SWIG_IsOK(ecode3)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 }
4299 arg3 = static_cast< int >(val3);
4300 ecode4 = SWIG_AsVal_int(obj3, &val4);
4301 if (!SWIG_IsOK(ecode4)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 }
4304 arg4 = static_cast< int >(val4);
4305 ecode5 = SWIG_AsVal_int(obj4, &val5);
4306 if (!SWIG_IsOK(ecode5)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 }
4309 arg5 = static_cast< int >(val5);
4310 if (obj5) {
4311 ecode6 = SWIG_AsVal_int(obj5, &val6);
4312 if (!SWIG_IsOK(ecode6)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 }
4315 arg6 = static_cast< int >(val6);
4316 }
4317 if (obj6) {
4318 ecode7 = SWIG_AsVal_int(obj6, &val7);
4319 if (!SWIG_IsOK(ecode7)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 }
4322 arg7 = static_cast< int >(val7);
4323 }
4324 if (obj7) {
4325 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4326 if (!SWIG_IsOK(ecode8)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 }
4329 arg8 = static_cast< bool >(val8);
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_Py_Void();
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4347 int arg2 ;
4348 int arg3 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 int val2 ;
4352 int ecode2 = 0 ;
4353 int val3 ;
4354 int ecode3 = 0 ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 PyObject * obj2 = 0 ;
4358 char * kwnames[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4360 };
4361
4362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4364 if (!SWIG_IsOK(res1)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 }
4367 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4368 ecode2 = SWIG_AsVal_int(obj1, &val2);
4369 if (!SWIG_IsOK(ecode2)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 }
4372 arg2 = static_cast< int >(val2);
4373 ecode3 = SWIG_AsVal_int(obj2, &val3);
4374 if (!SWIG_IsOK(ecode3)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 }
4377 arg3 = static_cast< int >(val3);
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->Scroll(arg2,arg3);
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = SWIG_Py_Void();
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj = 0;
4393 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4394 int arg2 ;
4395 int result;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 int val2 ;
4399 int ecode2 = 0 ;
4400 PyObject * obj0 = 0 ;
4401 PyObject * obj1 = 0 ;
4402 char * kwnames[] = {
4403 (char *) "self",(char *) "orient", NULL
4404 };
4405
4406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4408 if (!SWIG_IsOK(res1)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 }
4411 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4412 ecode2 = SWIG_AsVal_int(obj1, &val2);
4413 if (!SWIG_IsOK(ecode2)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 }
4416 arg2 = static_cast< int >(val2);
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = SWIG_From_int(static_cast< int >(result));
4424 return resultobj;
4425 fail:
4426 return NULL;
4427 }
4428
4429
4430 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj = 0;
4432 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4433 int arg2 ;
4434 int arg3 ;
4435 void *argp1 = 0 ;
4436 int res1 = 0 ;
4437 int val2 ;
4438 int ecode2 = 0 ;
4439 int val3 ;
4440 int ecode3 = 0 ;
4441 PyObject * obj0 = 0 ;
4442 PyObject * obj1 = 0 ;
4443 PyObject * obj2 = 0 ;
4444 char * kwnames[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4446 };
4447
4448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 }
4453 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4454 ecode2 = SWIG_AsVal_int(obj1, &val2);
4455 if (!SWIG_IsOK(ecode2)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 }
4458 arg2 = static_cast< int >(val2);
4459 ecode3 = SWIG_AsVal_int(obj2, &val3);
4460 if (!SWIG_IsOK(ecode3)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 }
4463 arg3 = static_cast< int >(val3);
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 (arg1)->SetScrollPageSize(arg2,arg3);
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_Py_Void();
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj = 0;
4479 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4480 int arg2 ;
4481 int arg3 ;
4482 void *argp1 = 0 ;
4483 int res1 = 0 ;
4484 int val2 ;
4485 int ecode2 = 0 ;
4486 int val3 ;
4487 int ecode3 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 PyObject * obj2 = 0 ;
4491 char * kwnames[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4493 };
4494
4495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4497 if (!SWIG_IsOK(res1)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 }
4500 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4501 ecode2 = SWIG_AsVal_int(obj1, &val2);
4502 if (!SWIG_IsOK(ecode2)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 }
4505 arg2 = static_cast< int >(val2);
4506 ecode3 = SWIG_AsVal_int(obj2, &val3);
4507 if (!SWIG_IsOK(ecode3)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 }
4510 arg3 = static_cast< int >(val3);
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 (arg1)->SetScrollRate(arg2,arg3);
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 resultobj = SWIG_Py_Void();
4518 return resultobj;
4519 fail:
4520 return NULL;
4521 }
4522
4523
4524 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4525 PyObject *resultobj = 0;
4526 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4527 int *arg2 = (int *) 0 ;
4528 int *arg3 = (int *) 0 ;
4529 void *argp1 = 0 ;
4530 int res1 = 0 ;
4531 int temp2 ;
4532 int res2 = SWIG_TMPOBJ ;
4533 int temp3 ;
4534 int res3 = SWIG_TMPOBJ ;
4535 PyObject *swig_obj[1] ;
4536
4537 arg2 = &temp2;
4538 arg3 = &temp3;
4539 if (!args) SWIG_fail;
4540 swig_obj[0] = args;
4541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4542 if (!SWIG_IsOK(res1)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 }
4545 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2)) {
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4555 } else {
4556 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4558 }
4559 if (SWIG_IsTmpObj(res3)) {
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4561 } else {
4562 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj = 0;
4573 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4574 bool arg2 ;
4575 bool arg3 ;
4576 void *argp1 = 0 ;
4577 int res1 = 0 ;
4578 bool val2 ;
4579 int ecode2 = 0 ;
4580 bool val3 ;
4581 int ecode3 = 0 ;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4584 PyObject * obj2 = 0 ;
4585 char * kwnames[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4587 };
4588
4589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4591 if (!SWIG_IsOK(res1)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 }
4594 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4596 if (!SWIG_IsOK(ecode2)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 }
4599 arg2 = static_cast< bool >(val2);
4600 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4601 if (!SWIG_IsOK(ecode3)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 }
4604 arg3 = static_cast< bool >(val3);
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->EnableScrolling(arg2,arg3);
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 resultobj = SWIG_Py_Void();
4612 return resultobj;
4613 fail:
4614 return NULL;
4615 }
4616
4617
4618 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4619 PyObject *resultobj = 0;
4620 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4621 int *arg2 = (int *) 0 ;
4622 int *arg3 = (int *) 0 ;
4623 void *argp1 = 0 ;
4624 int res1 = 0 ;
4625 int temp2 ;
4626 int res2 = SWIG_TMPOBJ ;
4627 int temp3 ;
4628 int res3 = SWIG_TMPOBJ ;
4629 PyObject *swig_obj[1] ;
4630
4631 arg2 = &temp2;
4632 arg3 = &temp3;
4633 if (!args) SWIG_fail;
4634 swig_obj[0] = args;
4635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4636 if (!SWIG_IsOK(res1)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 }
4639 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2)) {
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4649 } else {
4650 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4652 }
4653 if (SWIG_IsTmpObj(res3)) {
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4655 } else {
4656 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4658 }
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4668 double arg2 ;
4669 double arg3 ;
4670 void *argp1 = 0 ;
4671 int res1 = 0 ;
4672 double val2 ;
4673 int ecode2 = 0 ;
4674 double val3 ;
4675 int ecode3 = 0 ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 char * kwnames[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4681 };
4682
4683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4685 if (!SWIG_IsOK(res1)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 }
4688 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4689 ecode2 = SWIG_AsVal_double(obj1, &val2);
4690 if (!SWIG_IsOK(ecode2)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 }
4693 arg2 = static_cast< double >(val2);
4694 ecode3 = SWIG_AsVal_double(obj2, &val3);
4695 if (!SWIG_IsOK(ecode3)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 }
4698 arg3 = static_cast< double >(val3);
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->SetScale(arg2,arg3);
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_Py_Void();
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4713 PyObject *resultobj = 0;
4714 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4715 double result;
4716 void *argp1 = 0 ;
4717 int res1 = 0 ;
4718 PyObject *swig_obj[1] ;
4719
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_From_double(static_cast< double >(result));
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4741 PyObject *resultobj = 0;
4742 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4743 double result;
4744 void *argp1 = 0 ;
4745 int res1 = 0 ;
4746 PyObject *swig_obj[1] ;
4747
4748 if (!args) SWIG_fail;
4749 swig_obj[0] = args;
4750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4751 if (!SWIG_IsOK(res1)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 }
4754 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = SWIG_From_double(static_cast< double >(result));
4762 return resultobj;
4763 fail:
4764 return NULL;
4765 }
4766
4767
4768 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4769 PyObject *resultobj = 0;
4770 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4771 wxPoint *arg2 = 0 ;
4772 wxPoint result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 wxPoint temp2 ;
4776
4777 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4779 if (!SWIG_IsOK(res1)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 }
4782 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4783 {
4784 arg2 = &temp2;
4785 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4786 }
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4801 PyObject *resultobj = 0;
4802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4803 int arg2 ;
4804 int arg3 ;
4805 int *arg4 = (int *) 0 ;
4806 int *arg5 = (int *) 0 ;
4807 void *argp1 = 0 ;
4808 int res1 = 0 ;
4809 int val2 ;
4810 int ecode2 = 0 ;
4811 int val3 ;
4812 int ecode3 = 0 ;
4813 int temp4 ;
4814 int res4 = SWIG_TMPOBJ ;
4815 int temp5 ;
4816 int res5 = SWIG_TMPOBJ ;
4817
4818 arg4 = &temp4;
4819 arg5 = &temp5;
4820 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 }
4825 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4826 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4827 if (!SWIG_IsOK(ecode2)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 }
4830 arg2 = static_cast< int >(val2);
4831 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4832 if (!SWIG_IsOK(ecode3)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 }
4835 arg3 = static_cast< int >(val3);
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 resultobj = SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4)) {
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4845 } else {
4846 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4848 }
4849 if (SWIG_IsTmpObj(res5)) {
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4851 } else {
4852 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4862 int argc;
4863 PyObject *argv[4];
4864
4865 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4866 --argc;
4867 if (argc == 2) {
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4869 }
4870 if (argc == 3) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4872 }
4873
4874 fail:
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4876 return NULL;
4877 }
4878
4879
4880 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4881 PyObject *resultobj = 0;
4882 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4883 wxPoint *arg2 = 0 ;
4884 wxPoint result;
4885 void *argp1 = 0 ;
4886 int res1 = 0 ;
4887 wxPoint temp2 ;
4888
4889 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4891 if (!SWIG_IsOK(res1)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 }
4894 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4895 {
4896 arg2 = &temp2;
4897 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4898 }
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4913 PyObject *resultobj = 0;
4914 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4915 int arg2 ;
4916 int arg3 ;
4917 int *arg4 = (int *) 0 ;
4918 int *arg5 = (int *) 0 ;
4919 void *argp1 = 0 ;
4920 int res1 = 0 ;
4921 int val2 ;
4922 int ecode2 = 0 ;
4923 int val3 ;
4924 int ecode3 = 0 ;
4925 int temp4 ;
4926 int res4 = SWIG_TMPOBJ ;
4927 int temp5 ;
4928 int res5 = SWIG_TMPOBJ ;
4929
4930 arg4 = &temp4;
4931 arg5 = &temp5;
4932 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 }
4937 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4938 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4939 if (!SWIG_IsOK(ecode2)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 }
4942 arg2 = static_cast< int >(val2);
4943 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4944 if (!SWIG_IsOK(ecode3)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 }
4947 arg3 = static_cast< int >(val3);
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4)) {
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4957 } else {
4958 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4960 }
4961 if (SWIG_IsTmpObj(res5)) {
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4963 } else {
4964 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4974 int argc;
4975 PyObject *argv[4];
4976
4977 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4978 --argc;
4979 if (argc == 2) {
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4981 }
4982 if (argc == 3) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4984 }
4985
4986 fail:
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4988 return NULL;
4989 }
4990
4991
4992 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4993 PyObject *resultobj = 0;
4994 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 PyObject *swig_obj[1] ;
4998
4999 if (!args) SWIG_fail;
5000 swig_obj[0] = args;
5001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 }
5005 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 (arg1)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 resultobj = SWIG_Py_Void();
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj = 0;
5021 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5022 wxScrollWinEvent *arg2 = 0 ;
5023 int result;
5024 void *argp1 = 0 ;
5025 int res1 = 0 ;
5026 void *argp2 = 0 ;
5027 int res2 = 0 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char * kwnames[] = {
5031 (char *) "self",(char *) "event", NULL
5032 };
5033
5034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5036 if (!SWIG_IsOK(res1)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 }
5039 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5040 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5041 if (!SWIG_IsOK(res2)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5043 }
5044 if (!argp2) {
5045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 result = (int)(arg1)->CalcScrollInc(*arg2);
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = SWIG_From_int(static_cast< int >(result));
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj = 0;
5063 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5064 wxWindow *arg2 = (wxWindow *) 0 ;
5065 void *argp1 = 0 ;
5066 int res1 = 0 ;
5067 void *argp2 = 0 ;
5068 int res2 = 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char * kwnames[] = {
5072 (char *) "self",(char *) "target", NULL
5073 };
5074
5075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5077 if (!SWIG_IsOK(res1)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 }
5080 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5082 if (!SWIG_IsOK(res2)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 }
5085 arg2 = reinterpret_cast< wxWindow * >(argp2);
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 (arg1)->SetTargetWindow(arg2);
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_Py_Void();
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5100 PyObject *resultobj = 0;
5101 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5102 wxWindow *result = 0 ;
5103 void *argp1 = 0 ;
5104 int res1 = 0 ;
5105 PyObject *swig_obj[1] ;
5106
5107 if (!args) SWIG_fail;
5108 swig_obj[0] = args;
5109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5110 if (!SWIG_IsOK(res1)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 }
5113 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = wxPyMake_wxObject(result, 0);
5122 }
5123 return resultobj;
5124 fail:
5125 return NULL;
5126 }
5127
5128
5129 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj = 0;
5131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5132 wxRect *arg2 = 0 ;
5133 void *argp1 = 0 ;
5134 int res1 = 0 ;
5135 wxRect temp2 ;
5136 PyObject * obj0 = 0 ;
5137 PyObject * obj1 = 0 ;
5138 char * kwnames[] = {
5139 (char *) "self",(char *) "rect", NULL
5140 };
5141
5142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5144 if (!SWIG_IsOK(res1)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 }
5147 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5148 {
5149 arg2 = &temp2;
5150 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 (arg1)->SetTargetRect((wxRect const &)*arg2);
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_Py_Void();
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5166 PyObject *resultobj = 0;
5167 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5168 wxRect result;
5169 void *argp1 = 0 ;
5170 int res1 = 0 ;
5171 PyObject *swig_obj[1] ;
5172
5173 if (!args) SWIG_fail;
5174 swig_obj[0] = args;
5175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5176 if (!SWIG_IsOK(res1)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5178 }
5179 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj = 0;
5195 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5196 wxDC *arg2 = 0 ;
5197 void *argp1 = 0 ;
5198 int res1 = 0 ;
5199 void *argp2 = 0 ;
5200 int res2 = 0 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char * kwnames[] = {
5204 (char *) "self",(char *) "dc", NULL
5205 };
5206
5207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5209 if (!SWIG_IsOK(res1)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5211 }
5212 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5213 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5214 if (!SWIG_IsOK(res2)) {
5215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5216 }
5217 if (!argp2) {
5218 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 arg2 = reinterpret_cast< wxDC * >(argp2);
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->DoPrepareDC(*arg2);
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 resultobj = SWIG_Py_Void();
5228 return resultobj;
5229 fail:
5230 return NULL;
5231 }
5232
5233
5234 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj = 0;
5236 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5237 SwigValueWrapper<wxVisualAttributes > result;
5238 int val1 ;
5239 int ecode1 = 0 ;
5240 PyObject * obj0 = 0 ;
5241 char * kwnames[] = {
5242 (char *) "variant", NULL
5243 };
5244
5245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5246 if (obj0) {
5247 ecode1 = SWIG_AsVal_int(obj0, &val1);
5248 if (!SWIG_IsOK(ecode1)) {
5249 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5250 }
5251 arg1 = static_cast< wxWindowVariant >(val1);
5252 }
5253 {
5254 if (!wxPyCheckForApp()) SWIG_fail;
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5268 PyObject *obj;
5269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5270 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5271 return SWIG_Py_Void();
5272 }
5273
5274 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5275 return SWIG_Python_InitShadowInstance(args);
5276 }
5277
5278 SWIGINTERN int FrameNameStr_set(PyObject *) {
5279 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5280 return 1;
5281 }
5282
5283
5284 SWIGINTERN PyObject *FrameNameStr_get(void) {
5285 PyObject *pyobj = 0;
5286
5287 {
5288 #if wxUSE_UNICODE
5289 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5290 #else
5291 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5292 #endif
5293 }
5294 return pyobj;
5295 }
5296
5297
5298 SWIGINTERN int DialogNameStr_set(PyObject *) {
5299 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5300 return 1;
5301 }
5302
5303
5304 SWIGINTERN PyObject *DialogNameStr_get(void) {
5305 PyObject *pyobj = 0;
5306
5307 {
5308 #if wxUSE_UNICODE
5309 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5310 #else
5311 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5312 #endif
5313 }
5314 return pyobj;
5315 }
5316
5317
5318 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5319 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5320 return 1;
5321 }
5322
5323
5324 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5325 PyObject *pyobj = 0;
5326
5327 {
5328 #if wxUSE_UNICODE
5329 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5330 #else
5331 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5332 #endif
5333 }
5334 return pyobj;
5335 }
5336
5337
5338 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5339 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5340 return 1;
5341 }
5342
5343
5344 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5345 PyObject *pyobj = 0;
5346
5347 {
5348 #if wxUSE_UNICODE
5349 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5350 #else
5351 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5352 #endif
5353 }
5354 return pyobj;
5355 }
5356
5357
5358 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj = 0;
5360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5361 bool arg2 = (bool) true ;
5362 void *argp1 = 0 ;
5363 int res1 = 0 ;
5364 bool val2 ;
5365 int ecode2 = 0 ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 char * kwnames[] = {
5369 (char *) "self",(char *) "maximize", NULL
5370 };
5371
5372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5374 if (!SWIG_IsOK(res1)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5376 }
5377 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5378 if (obj1) {
5379 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5380 if (!SWIG_IsOK(ecode2)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5382 }
5383 arg2 = static_cast< bool >(val2);
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->Maximize(arg2);
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = SWIG_Py_Void();
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5399 PyObject *resultobj = 0;
5400 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5401 void *argp1 = 0 ;
5402 int res1 = 0 ;
5403 PyObject *swig_obj[1] ;
5404
5405 if (!args) SWIG_fail;
5406 swig_obj[0] = args;
5407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5408 if (!SWIG_IsOK(res1)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5410 }
5411 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 (arg1)->Restore();
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_Py_Void();
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = 0;
5427 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5428 bool arg2 = (bool) true ;
5429 void *argp1 = 0 ;
5430 int res1 = 0 ;
5431 bool val2 ;
5432 int ecode2 = 0 ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char * kwnames[] = {
5436 (char *) "self",(char *) "iconize", NULL
5437 };
5438
5439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5441 if (!SWIG_IsOK(res1)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5443 }
5444 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5445 if (obj1) {
5446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5447 if (!SWIG_IsOK(ecode2)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5449 }
5450 arg2 = static_cast< bool >(val2);
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->Iconize(arg2);
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = SWIG_Py_Void();
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5466 PyObject *resultobj = 0;
5467 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5468 bool result;
5469 void *argp1 = 0 ;
5470 int res1 = 0 ;
5471 PyObject *swig_obj[1] ;
5472
5473 if (!args) SWIG_fail;
5474 swig_obj[0] = args;
5475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5476 if (!SWIG_IsOK(res1)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5478 }
5479 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5488 }
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5496 PyObject *resultobj = 0;
5497 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5498 bool result;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 PyObject *swig_obj[1] ;
5502
5503 if (!args) SWIG_fail;
5504 swig_obj[0] = args;
5505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5506 if (!SWIG_IsOK(res1)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5508 }
5509 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5518 }
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5526 PyObject *resultobj = 0;
5527 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5528 bool result;
5529 void *argp1 = 0 ;
5530 int res1 = 0 ;
5531 PyObject *swig_obj[1] ;
5532
5533 if (!args) SWIG_fail;
5534 swig_obj[0] = args;
5535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5536 if (!SWIG_IsOK(res1)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5538 }
5539 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5548 }
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5556 PyObject *resultobj = 0;
5557 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5558 wxIcon result;
5559 void *argp1 = 0 ;
5560 int res1 = 0 ;
5561 PyObject *swig_obj[1] ;
5562
5563 if (!args) SWIG_fail;
5564 swig_obj[0] = args;
5565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5566 if (!SWIG_IsOK(res1)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5568 }
5569 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj = 0;
5585 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5586 wxIcon *arg2 = 0 ;
5587 void *argp1 = 0 ;
5588 int res1 = 0 ;
5589 void *argp2 = 0 ;
5590 int res2 = 0 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 char * kwnames[] = {
5594 (char *) "self",(char *) "icon", NULL
5595 };
5596
5597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5599 if (!SWIG_IsOK(res1)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5601 }
5602 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5603 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5604 if (!SWIG_IsOK(res2)) {
5605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5606 }
5607 if (!argp2) {
5608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 arg2 = reinterpret_cast< wxIcon * >(argp2);
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetIcon((wxIcon const &)*arg2);
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 resultobj = SWIG_Py_Void();
5618 return resultobj;
5619 fail:
5620 return NULL;
5621 }
5622
5623
5624 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj = 0;
5626 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5627 wxIconBundle *arg2 = 0 ;
5628 void *argp1 = 0 ;
5629 int res1 = 0 ;
5630 void *argp2 = 0 ;
5631 int res2 = 0 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char * kwnames[] = {
5635 (char *) "self",(char *) "icons", NULL
5636 };
5637
5638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5640 if (!SWIG_IsOK(res1)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 }
5643 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5645 if (!SWIG_IsOK(res2)) {
5646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5647 }
5648 if (!argp2) {
5649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 resultobj = SWIG_Py_Void();
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj = 0;
5667 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5668 bool arg2 ;
5669 long arg3 = (long) wxFULLSCREEN_ALL ;
5670 bool result;
5671 void *argp1 = 0 ;
5672 int res1 = 0 ;
5673 bool val2 ;
5674 int ecode2 = 0 ;
5675 long val3 ;
5676 int ecode3 = 0 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 PyObject * obj2 = 0 ;
5680 char * kwnames[] = {
5681 (char *) "self",(char *) "show",(char *) "style", NULL
5682 };
5683
5684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 }
5689 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5690 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5691 if (!SWIG_IsOK(ecode2)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5693 }
5694 arg2 = static_cast< bool >(val2);
5695 if (obj2) {
5696 ecode3 = SWIG_AsVal_long(obj2, &val3);
5697 if (!SWIG_IsOK(ecode3)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5699 }
5700 arg3 = static_cast< long >(val3);
5701 }
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 {
5709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5710 }
5711 return resultobj;
5712 fail:
5713 return NULL;
5714 }
5715
5716
5717 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5718 PyObject *resultobj = 0;
5719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5720 bool result;
5721 void *argp1 = 0 ;
5722 int res1 = 0 ;
5723 PyObject *swig_obj[1] ;
5724
5725 if (!args) SWIG_fail;
5726 swig_obj[0] = args;
5727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5728 if (!SWIG_IsOK(res1)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5730 }
5731 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 {
5739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5740 }
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj = 0;
5749 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5750 wxString *arg2 = 0 ;
5751 void *argp1 = 0 ;
5752 int res1 = 0 ;
5753 bool temp2 = false ;
5754 PyObject * obj0 = 0 ;
5755 PyObject * obj1 = 0 ;
5756 char * kwnames[] = {
5757 (char *) "self",(char *) "title", NULL
5758 };
5759
5760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5762 if (!SWIG_IsOK(res1)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5764 }
5765 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5766 {
5767 arg2 = wxString_in_helper(obj1);
5768 if (arg2 == NULL) SWIG_fail;
5769 temp2 = true;
5770 }
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 (arg1)->SetTitle((wxString const &)*arg2);
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 resultobj = SWIG_Py_Void();
5778 {
5779 if (temp2)
5780 delete arg2;
5781 }
5782 return resultobj;
5783 fail:
5784 {
5785 if (temp2)
5786 delete arg2;
5787 }
5788 return NULL;
5789 }
5790
5791
5792 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5793 PyObject *resultobj = 0;
5794 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5795 wxString result;
5796 void *argp1 = 0 ;
5797 int res1 = 0 ;
5798 PyObject *swig_obj[1] ;
5799
5800 if (!args) SWIG_fail;
5801 swig_obj[0] = args;
5802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5803 if (!SWIG_IsOK(res1)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5805 }
5806 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 {
5814 #if wxUSE_UNICODE
5815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5816 #else
5817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5818 #endif
5819 }
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj = 0;
5828 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5829 bool arg2 ;
5830 bool result;
5831 void *argp1 = 0 ;
5832 int res1 = 0 ;
5833 bool val2 ;
5834 int ecode2 = 0 ;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj1 = 0 ;
5837 char * kwnames[] = {
5838 (char *) "self",(char *) "enable", NULL
5839 };
5840
5841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5843 if (!SWIG_IsOK(res1)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5845 }
5846 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5847 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5848 if (!SWIG_IsOK(ecode2)) {
5849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5850 }
5851 arg2 = static_cast< bool >(val2);
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)(arg1)->EnableCloseButton(arg2);
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5860 }
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj = 0;
5869 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5870 wxRegion *arg2 = 0 ;
5871 bool result;
5872 void *argp1 = 0 ;
5873 int res1 = 0 ;
5874 void *argp2 = 0 ;
5875 int res2 = 0 ;
5876 PyObject * obj0 = 0 ;
5877 PyObject * obj1 = 0 ;
5878 char * kwnames[] = {
5879 (char *) "self",(char *) "region", NULL
5880 };
5881
5882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5884 if (!SWIG_IsOK(res1)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5886 }
5887 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5888 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5889 if (!SWIG_IsOK(res2)) {
5890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5891 }
5892 if (!argp2) {
5893 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5894 }
5895 arg2 = reinterpret_cast< wxRegion * >(argp2);
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 {
5903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5904 }
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5912 PyObject *resultobj = 0;
5913 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5914 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5915 void *argp1 = 0 ;
5916 int res1 = 0 ;
5917 int val2 ;
5918 int ecode2 = 0 ;
5919 PyObject * obj0 = 0 ;
5920 PyObject * obj1 = 0 ;
5921 char * kwnames[] = {
5922 (char *) "self",(char *) "flags", NULL
5923 };
5924
5925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5927 if (!SWIG_IsOK(res1)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5929 }
5930 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5931 if (obj1) {
5932 ecode2 = SWIG_AsVal_int(obj1, &val2);
5933 if (!SWIG_IsOK(ecode2)) {
5934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5935 }
5936 arg2 = static_cast< int >(val2);
5937 }
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 (arg1)->RequestUserAttention(arg2);
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 resultobj = SWIG_Py_Void();
5945 return resultobj;
5946 fail:
5947 return NULL;
5948 }
5949
5950
5951 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5952 PyObject *resultobj = 0;
5953 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5954 bool result;
5955 void *argp1 = 0 ;
5956 int res1 = 0 ;
5957 PyObject *swig_obj[1] ;
5958
5959 if (!args) SWIG_fail;
5960 swig_obj[0] = args;
5961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5962 if (!SWIG_IsOK(res1)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5964 }
5965 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 result = (bool)(arg1)->IsActive();
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 {
5973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5974 }
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5984 bool arg2 ;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 bool val2 ;
5988 int ecode2 = 0 ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "self",(char *) "on", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5999 }
6000 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6001 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6002 if (!SWIG_IsOK(ecode2)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6004 }
6005 arg2 = static_cast< bool >(val2);
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = SWIG_Py_Void();
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6020 PyObject *resultobj = 0;
6021 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6022 bool result;
6023 void *argp1 = 0 ;
6024 int res1 = 0 ;
6025 PyObject *swig_obj[1] ;
6026
6027 if (!args) SWIG_fail;
6028 swig_obj[0] = args;
6029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6030 if (!SWIG_IsOK(res1)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6032 }
6033 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 {
6041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6042 }
6043 return resultobj;
6044 fail:
6045 return NULL;
6046 }
6047
6048
6049 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj = 0;
6051 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6052 int arg2 = (int) wxBOTH ;
6053 void *argp1 = 0 ;
6054 int res1 = 0 ;
6055 int val2 ;
6056 int ecode2 = 0 ;
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
6059 char * kwnames[] = {
6060 (char *) "self",(char *) "dir", NULL
6061 };
6062
6063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6065 if (!SWIG_IsOK(res1)) {
6066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6067 }
6068 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6069 if (obj1) {
6070 ecode2 = SWIG_AsVal_int(obj1, &val2);
6071 if (!SWIG_IsOK(ecode2)) {
6072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6073 }
6074 arg2 = static_cast< int >(val2);
6075 }
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 (arg1)->CenterOnScreen(arg2);
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = SWIG_Py_Void();
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6090 PyObject *resultobj = 0;
6091 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6092 wxWindow *result = 0 ;
6093 void *argp1 = 0 ;
6094 int res1 = 0 ;
6095 PyObject *swig_obj[1] ;
6096
6097 if (!args) SWIG_fail;
6098 swig_obj[0] = args;
6099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6100 if (!SWIG_IsOK(res1)) {
6101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6102 }
6103 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 {
6111 resultobj = wxPyMake_wxObject(result, 0);
6112 }
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj = 0;
6121 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6122 wxWindow *arg2 = (wxWindow *) 0 ;
6123 wxWindow *result = 0 ;
6124 void *argp1 = 0 ;
6125 int res1 = 0 ;
6126 void *argp2 = 0 ;
6127 int res2 = 0 ;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 char * kwnames[] = {
6131 (char *) "self",(char *) "child", NULL
6132 };
6133
6134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6136 if (!SWIG_IsOK(res1)) {
6137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6138 }
6139 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6140 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6141 if (!SWIG_IsOK(res2)) {
6142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6143 }
6144 arg2 = reinterpret_cast< wxWindow * >(argp2);
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 {
6152 resultobj = wxPyMake_wxObject(result, 0);
6153 }
6154 return resultobj;
6155 fail:
6156 return NULL;
6157 }
6158
6159
6160 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj = 0;
6162 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6163 wxWindow *arg2 = (wxWindow *) 0 ;
6164 void *argp1 = 0 ;
6165 int res1 = 0 ;
6166 void *argp2 = 0 ;
6167 int res2 = 0 ;
6168 PyObject * obj0 = 0 ;
6169 PyObject * obj1 = 0 ;
6170 char * kwnames[] = {
6171 (char *) "self",(char *) "win", NULL
6172 };
6173
6174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6176 if (!SWIG_IsOK(res1)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6178 }
6179 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6180 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6181 if (!SWIG_IsOK(res2)) {
6182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6183 }
6184 arg2 = reinterpret_cast< wxWindow * >(argp2);
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 (arg1)->SetTmpDefaultItem(arg2);
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 resultobj = SWIG_Py_Void();
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6199 PyObject *resultobj = 0;
6200 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6201 wxWindow *result = 0 ;
6202 void *argp1 = 0 ;
6203 int res1 = 0 ;
6204 PyObject *swig_obj[1] ;
6205
6206 if (!args) SWIG_fail;
6207 swig_obj[0] = args;
6208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6209 if (!SWIG_IsOK(res1)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6211 }
6212 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 {
6220 resultobj = wxPyMake_wxObject(result, 0);
6221 }
6222 return resultobj;
6223 fail:
6224 return NULL;
6225 }
6226
6227
6228 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6229 PyObject *obj;
6230 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6231 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6232 return SWIG_Py_Void();
6233 }
6234
6235 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj = 0;
6237 wxWindow *arg1 = (wxWindow *) 0 ;
6238 int arg2 = (int) (int)-1 ;
6239 wxString const &arg3_defvalue = wxPyEmptyString ;
6240 wxString *arg3 = (wxString *) &arg3_defvalue ;
6241 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6242 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6243 wxSize const &arg5_defvalue = wxDefaultSize ;
6244 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6245 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6246 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6247 wxString *arg7 = (wxString *) &arg7_defvalue ;
6248 wxFrame *result = 0 ;
6249 void *argp1 = 0 ;
6250 int res1 = 0 ;
6251 int val2 ;
6252 int ecode2 = 0 ;
6253 bool temp3 = false ;
6254 wxPoint temp4 ;
6255 wxSize temp5 ;
6256 long val6 ;
6257 int ecode6 = 0 ;
6258 bool temp7 = false ;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 PyObject * obj2 = 0 ;
6262 PyObject * obj3 = 0 ;
6263 PyObject * obj4 = 0 ;
6264 PyObject * obj5 = 0 ;
6265 PyObject * obj6 = 0 ;
6266 char * kwnames[] = {
6267 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6268 };
6269
6270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6272 if (!SWIG_IsOK(res1)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6274 }
6275 arg1 = reinterpret_cast< wxWindow * >(argp1);
6276 if (obj1) {
6277 ecode2 = SWIG_AsVal_int(obj1, &val2);
6278 if (!SWIG_IsOK(ecode2)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6280 }
6281 arg2 = static_cast< int >(val2);
6282 }
6283 if (obj2) {
6284 {
6285 arg3 = wxString_in_helper(obj2);
6286 if (arg3 == NULL) SWIG_fail;
6287 temp3 = true;
6288 }
6289 }
6290 if (obj3) {
6291 {
6292 arg4 = &temp4;
6293 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6294 }
6295 }
6296 if (obj4) {
6297 {
6298 arg5 = &temp5;
6299 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6300 }
6301 }
6302 if (obj5) {
6303 ecode6 = SWIG_AsVal_long(obj5, &val6);
6304 if (!SWIG_IsOK(ecode6)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6306 }
6307 arg6 = static_cast< long >(val6);
6308 }
6309 if (obj6) {
6310 {
6311 arg7 = wxString_in_helper(obj6);
6312 if (arg7 == NULL) SWIG_fail;
6313 temp7 = true;
6314 }
6315 }
6316 {
6317 if (!wxPyCheckForApp()) SWIG_fail;
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6324 {
6325 if (temp3)
6326 delete arg3;
6327 }
6328 {
6329 if (temp7)
6330 delete arg7;
6331 }
6332 return resultobj;
6333 fail:
6334 {
6335 if (temp3)
6336 delete arg3;
6337 }
6338 {
6339 if (temp7)
6340 delete arg7;
6341 }
6342 return NULL;
6343 }
6344
6345
6346 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6347 PyObject *resultobj = 0;
6348 wxFrame *result = 0 ;
6349
6350 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6351 {
6352 if (!wxPyCheckForApp()) SWIG_fail;
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (wxFrame *)new wxFrame();
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6359 return resultobj;
6360 fail:
6361 return NULL;
6362 }
6363
6364
6365 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj = 0;
6367 wxFrame *arg1 = (wxFrame *) 0 ;
6368 wxWindow *arg2 = (wxWindow *) 0 ;
6369 int arg3 = (int) (int)-1 ;
6370 wxString const &arg4_defvalue = wxPyEmptyString ;
6371 wxString *arg4 = (wxString *) &arg4_defvalue ;
6372 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6373 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6374 wxSize const &arg6_defvalue = wxDefaultSize ;
6375 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6376 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6377 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6378 wxString *arg8 = (wxString *) &arg8_defvalue ;
6379 bool result;
6380 void *argp1 = 0 ;
6381 int res1 = 0 ;
6382 void *argp2 = 0 ;
6383 int res2 = 0 ;
6384 int val3 ;
6385 int ecode3 = 0 ;
6386 bool temp4 = false ;
6387 wxPoint temp5 ;
6388 wxSize temp6 ;
6389 long val7 ;
6390 int ecode7 = 0 ;
6391 bool temp8 = false ;
6392 PyObject * obj0 = 0 ;
6393 PyObject * obj1 = 0 ;
6394 PyObject * obj2 = 0 ;
6395 PyObject * obj3 = 0 ;
6396 PyObject * obj4 = 0 ;
6397 PyObject * obj5 = 0 ;
6398 PyObject * obj6 = 0 ;
6399 PyObject * obj7 = 0 ;
6400 char * kwnames[] = {
6401 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6402 };
6403
6404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6406 if (!SWIG_IsOK(res1)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6408 }
6409 arg1 = reinterpret_cast< wxFrame * >(argp1);
6410 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6411 if (!SWIG_IsOK(res2)) {
6412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6413 }
6414 arg2 = reinterpret_cast< wxWindow * >(argp2);
6415 if (obj2) {
6416 ecode3 = SWIG_AsVal_int(obj2, &val3);
6417 if (!SWIG_IsOK(ecode3)) {
6418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6419 }
6420 arg3 = static_cast< int >(val3);
6421 }
6422 if (obj3) {
6423 {
6424 arg4 = wxString_in_helper(obj3);
6425 if (arg4 == NULL) SWIG_fail;
6426 temp4 = true;
6427 }
6428 }
6429 if (obj4) {
6430 {
6431 arg5 = &temp5;
6432 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6433 }
6434 }
6435 if (obj5) {
6436 {
6437 arg6 = &temp6;
6438 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6439 }
6440 }
6441 if (obj6) {
6442 ecode7 = SWIG_AsVal_long(obj6, &val7);
6443 if (!SWIG_IsOK(ecode7)) {
6444 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6445 }
6446 arg7 = static_cast< long >(val7);
6447 }
6448 if (obj7) {
6449 {
6450 arg8 = wxString_in_helper(obj7);
6451 if (arg8 == NULL) SWIG_fail;
6452 temp8 = true;
6453 }
6454 }
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 {
6462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6463 }
6464 {
6465 if (temp4)
6466 delete arg4;
6467 }
6468 {
6469 if (temp8)
6470 delete arg8;
6471 }
6472 return resultobj;
6473 fail:
6474 {
6475 if (temp4)
6476 delete arg4;
6477 }
6478 {
6479 if (temp8)
6480 delete arg8;
6481 }
6482 return NULL;
6483 }
6484
6485
6486 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6487 PyObject *resultobj = 0;
6488 wxFrame *arg1 = (wxFrame *) 0 ;
6489 void *argp1 = 0 ;
6490 int res1 = 0 ;
6491 PyObject *swig_obj[1] ;
6492
6493 if (!args) SWIG_fail;
6494 swig_obj[0] = args;
6495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6496 if (!SWIG_IsOK(res1)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6498 }
6499 arg1 = reinterpret_cast< wxFrame * >(argp1);
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 (arg1)->SendSizeEvent();
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 resultobj = SWIG_Py_Void();
6507 return resultobj;
6508 fail:
6509 return NULL;
6510 }
6511
6512
6513 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj = 0;
6515 wxFrame *arg1 = (wxFrame *) 0 ;
6516 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6517 void *argp1 = 0 ;
6518 int res1 = 0 ;
6519 void *argp2 = 0 ;
6520 int res2 = 0 ;
6521 PyObject * obj0 = 0 ;
6522 PyObject * obj1 = 0 ;
6523 char * kwnames[] = {
6524 (char *) "self",(char *) "menubar", NULL
6525 };
6526
6527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6529 if (!SWIG_IsOK(res1)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6531 }
6532 arg1 = reinterpret_cast< wxFrame * >(argp1);
6533 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6534 if (!SWIG_IsOK(res2)) {
6535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6536 }
6537 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 (arg1)->SetMenuBar(arg2);
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 resultobj = SWIG_Py_Void();
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6552 PyObject *resultobj = 0;
6553 wxFrame *arg1 = (wxFrame *) 0 ;
6554 wxMenuBar *result = 0 ;
6555 void *argp1 = 0 ;
6556 int res1 = 0 ;
6557 PyObject *swig_obj[1] ;
6558
6559 if (!args) SWIG_fail;
6560 swig_obj[0] = args;
6561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6562 if (!SWIG_IsOK(res1)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6564 }
6565 arg1 = reinterpret_cast< wxFrame * >(argp1);
6566 {
6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6568 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 {
6573 resultobj = wxPyMake_wxObject(result, 0);
6574 }
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj = 0;
6583 wxFrame *arg1 = (wxFrame *) 0 ;
6584 int arg2 ;
6585 bool result;
6586 void *argp1 = 0 ;
6587 int res1 = 0 ;
6588 int val2 ;
6589 int ecode2 = 0 ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 char * kwnames[] = {
6593 (char *) "self",(char *) "winid", NULL
6594 };
6595
6596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6598 if (!SWIG_IsOK(res1)) {
6599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6600 }
6601 arg1 = reinterpret_cast< wxFrame * >(argp1);
6602 ecode2 = SWIG_AsVal_int(obj1, &val2);
6603 if (!SWIG_IsOK(ecode2)) {
6604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6605 }
6606 arg2 = static_cast< int >(val2);
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 result = (bool)(arg1)->ProcessCommand(arg2);
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 {
6614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6615 }
6616 return resultobj;
6617 fail:
6618 return NULL;
6619 }
6620
6621
6622 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6623 PyObject *resultobj = 0;
6624 wxFrame *arg1 = (wxFrame *) 0 ;
6625 int arg2 = (int) 1 ;
6626 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6627 int arg4 = (int) 0 ;
6628 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6629 wxString *arg5 = (wxString *) &arg5_defvalue ;
6630 wxStatusBar *result = 0 ;
6631 void *argp1 = 0 ;
6632 int res1 = 0 ;
6633 int val2 ;
6634 int ecode2 = 0 ;
6635 long val3 ;
6636 int ecode3 = 0 ;
6637 int val4 ;
6638 int ecode4 = 0 ;
6639 bool temp5 = false ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 PyObject * obj2 = 0 ;
6643 PyObject * obj3 = 0 ;
6644 PyObject * obj4 = 0 ;
6645 char * kwnames[] = {
6646 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6647 };
6648
6649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6651 if (!SWIG_IsOK(res1)) {
6652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6653 }
6654 arg1 = reinterpret_cast< wxFrame * >(argp1);
6655 if (obj1) {
6656 ecode2 = SWIG_AsVal_int(obj1, &val2);
6657 if (!SWIG_IsOK(ecode2)) {
6658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6659 }
6660 arg2 = static_cast< int >(val2);
6661 }
6662 if (obj2) {
6663 ecode3 = SWIG_AsVal_long(obj2, &val3);
6664 if (!SWIG_IsOK(ecode3)) {
6665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6666 }
6667 arg3 = static_cast< long >(val3);
6668 }
6669 if (obj3) {
6670 ecode4 = SWIG_AsVal_int(obj3, &val4);
6671 if (!SWIG_IsOK(ecode4)) {
6672 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6673 }
6674 arg4 = static_cast< int >(val4);
6675 }
6676 if (obj4) {
6677 {
6678 arg5 = wxString_in_helper(obj4);
6679 if (arg5 == NULL) SWIG_fail;
6680 temp5 = true;
6681 }
6682 }
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6686 wxPyEndAllowThreads(__tstate);
6687 if (PyErr_Occurred()) SWIG_fail;
6688 }
6689 {
6690 resultobj = wxPyMake_wxObject(result, (bool)0);
6691 }
6692 {
6693 if (temp5)
6694 delete arg5;
6695 }
6696 return resultobj;
6697 fail:
6698 {
6699 if (temp5)
6700 delete arg5;
6701 }
6702 return NULL;
6703 }
6704
6705
6706 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6707 PyObject *resultobj = 0;
6708 wxFrame *arg1 = (wxFrame *) 0 ;
6709 wxStatusBar *result = 0 ;
6710 void *argp1 = 0 ;
6711 int res1 = 0 ;
6712 PyObject *swig_obj[1] ;
6713
6714 if (!args) SWIG_fail;
6715 swig_obj[0] = args;
6716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6717 if (!SWIG_IsOK(res1)) {
6718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6719 }
6720 arg1 = reinterpret_cast< wxFrame * >(argp1);
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 {
6728 resultobj = wxPyMake_wxObject(result, (bool)0);
6729 }
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj = 0;
6738 wxFrame *arg1 = (wxFrame *) 0 ;
6739 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6740 void *argp1 = 0 ;
6741 int res1 = 0 ;
6742 void *argp2 = 0 ;
6743 int res2 = 0 ;
6744 PyObject * obj0 = 0 ;
6745 PyObject * obj1 = 0 ;
6746 char * kwnames[] = {
6747 (char *) "self",(char *) "statBar", NULL
6748 };
6749
6750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6752 if (!SWIG_IsOK(res1)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6754 }
6755 arg1 = reinterpret_cast< wxFrame * >(argp1);
6756 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6757 if (!SWIG_IsOK(res2)) {
6758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6759 }
6760 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 (arg1)->SetStatusBar(arg2);
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_Py_Void();
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj = 0;
6776 wxFrame *arg1 = (wxFrame *) 0 ;
6777 wxString *arg2 = 0 ;
6778 int arg3 = (int) 0 ;
6779 void *argp1 = 0 ;
6780 int res1 = 0 ;
6781 bool temp2 = false ;
6782 int val3 ;
6783 int ecode3 = 0 ;
6784 PyObject * obj0 = 0 ;
6785 PyObject * obj1 = 0 ;
6786 PyObject * obj2 = 0 ;
6787 char * kwnames[] = {
6788 (char *) "self",(char *) "text",(char *) "number", NULL
6789 };
6790
6791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6793 if (!SWIG_IsOK(res1)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6795 }
6796 arg1 = reinterpret_cast< wxFrame * >(argp1);
6797 {
6798 arg2 = wxString_in_helper(obj1);
6799 if (arg2 == NULL) SWIG_fail;
6800 temp2 = true;
6801 }
6802 if (obj2) {
6803 ecode3 = SWIG_AsVal_int(obj2, &val3);
6804 if (!SWIG_IsOK(ecode3)) {
6805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6806 }
6807 arg3 = static_cast< int >(val3);
6808 }
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = SWIG_Py_Void();
6816 {
6817 if (temp2)
6818 delete arg2;
6819 }
6820 return resultobj;
6821 fail:
6822 {
6823 if (temp2)
6824 delete arg2;
6825 }
6826 return NULL;
6827 }
6828
6829
6830 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj = 0;
6832 wxFrame *arg1 = (wxFrame *) 0 ;
6833 int arg2 ;
6834 int *arg3 = (int *) 0 ;
6835 void *argp1 = 0 ;
6836 int res1 = 0 ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 char * kwnames[] = {
6840 (char *) "self",(char *) "widths", NULL
6841 };
6842
6843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6845 if (!SWIG_IsOK(res1)) {
6846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6847 }
6848 arg1 = reinterpret_cast< wxFrame * >(argp1);
6849 {
6850 arg2 = PyList_Size(obj1);
6851 arg3 = int_LIST_helper(obj1);
6852 if (arg3 == NULL) SWIG_fail;
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = SWIG_Py_Void();
6861 {
6862 if (arg3) delete [] arg3;
6863 }
6864 return resultobj;
6865 fail:
6866 {
6867 if (arg3) delete [] arg3;
6868 }
6869 return NULL;
6870 }
6871
6872
6873 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj = 0;
6875 wxFrame *arg1 = (wxFrame *) 0 ;
6876 wxString *arg2 = 0 ;
6877 int arg3 = (int) 0 ;
6878 void *argp1 = 0 ;
6879 int res1 = 0 ;
6880 bool temp2 = false ;
6881 int val3 ;
6882 int ecode3 = 0 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 PyObject * obj2 = 0 ;
6886 char * kwnames[] = {
6887 (char *) "self",(char *) "text",(char *) "number", NULL
6888 };
6889
6890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6892 if (!SWIG_IsOK(res1)) {
6893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6894 }
6895 arg1 = reinterpret_cast< wxFrame * >(argp1);
6896 {
6897 arg2 = wxString_in_helper(obj1);
6898 if (arg2 == NULL) SWIG_fail;
6899 temp2 = true;
6900 }
6901 if (obj2) {
6902 ecode3 = SWIG_AsVal_int(obj2, &val3);
6903 if (!SWIG_IsOK(ecode3)) {
6904 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6905 }
6906 arg3 = static_cast< int >(val3);
6907 }
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_Py_Void();
6915 {
6916 if (temp2)
6917 delete arg2;
6918 }
6919 return resultobj;
6920 fail:
6921 {
6922 if (temp2)
6923 delete arg2;
6924 }
6925 return NULL;
6926 }
6927
6928
6929 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj = 0;
6931 wxFrame *arg1 = (wxFrame *) 0 ;
6932 int arg2 = (int) 0 ;
6933 void *argp1 = 0 ;
6934 int res1 = 0 ;
6935 int val2 ;
6936 int ecode2 = 0 ;
6937 PyObject * obj0 = 0 ;
6938 PyObject * obj1 = 0 ;
6939 char * kwnames[] = {
6940 (char *) "self",(char *) "number", NULL
6941 };
6942
6943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6945 if (!SWIG_IsOK(res1)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6947 }
6948 arg1 = reinterpret_cast< wxFrame * >(argp1);
6949 if (obj1) {
6950 ecode2 = SWIG_AsVal_int(obj1, &val2);
6951 if (!SWIG_IsOK(ecode2)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6953 }
6954 arg2 = static_cast< int >(val2);
6955 }
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 (arg1)->PopStatusText(arg2);
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_Py_Void();
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj = 0;
6971 wxFrame *arg1 = (wxFrame *) 0 ;
6972 int arg2 ;
6973 void *argp1 = 0 ;
6974 int res1 = 0 ;
6975 int val2 ;
6976 int ecode2 = 0 ;
6977 PyObject * obj0 = 0 ;
6978 PyObject * obj1 = 0 ;
6979 char * kwnames[] = {
6980 (char *) "self",(char *) "n", NULL
6981 };
6982
6983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6985 if (!SWIG_IsOK(res1)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6987 }
6988 arg1 = reinterpret_cast< wxFrame * >(argp1);
6989 ecode2 = SWIG_AsVal_int(obj1, &val2);
6990 if (!SWIG_IsOK(ecode2)) {
6991 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6992 }
6993 arg2 = static_cast< int >(val2);
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 (arg1)->SetStatusBarPane(arg2);
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) SWIG_fail;
6999 }
7000 resultobj = SWIG_Py_Void();
7001 return resultobj;
7002 fail:
7003 return NULL;
7004 }
7005
7006
7007 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7008 PyObject *resultobj = 0;
7009 wxFrame *arg1 = (wxFrame *) 0 ;
7010 int result;
7011 void *argp1 = 0 ;
7012 int res1 = 0 ;
7013 PyObject *swig_obj[1] ;
7014
7015 if (!args) SWIG_fail;
7016 swig_obj[0] = args;
7017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7018 if (!SWIG_IsOK(res1)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7020 }
7021 arg1 = reinterpret_cast< wxFrame * >(argp1);
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 resultobj = SWIG_From_int(static_cast< int >(result));
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj = 0;
7037 wxFrame *arg1 = (wxFrame *) 0 ;
7038 long arg2 = (long) -1 ;
7039 int arg3 = (int) -1 ;
7040 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7041 wxString *arg4 = (wxString *) &arg4_defvalue ;
7042 wxToolBar *result = 0 ;
7043 void *argp1 = 0 ;
7044 int res1 = 0 ;
7045 long val2 ;
7046 int ecode2 = 0 ;
7047 int val3 ;
7048 int ecode3 = 0 ;
7049 bool temp4 = false ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 PyObject * obj3 = 0 ;
7054 char * kwnames[] = {
7055 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7056 };
7057
7058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7060 if (!SWIG_IsOK(res1)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7062 }
7063 arg1 = reinterpret_cast< wxFrame * >(argp1);
7064 if (obj1) {
7065 ecode2 = SWIG_AsVal_long(obj1, &val2);
7066 if (!SWIG_IsOK(ecode2)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7068 }
7069 arg2 = static_cast< long >(val2);
7070 }
7071 if (obj2) {
7072 ecode3 = SWIG_AsVal_int(obj2, &val3);
7073 if (!SWIG_IsOK(ecode3)) {
7074 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7075 }
7076 arg3 = static_cast< int >(val3);
7077 }
7078 if (obj3) {
7079 {
7080 arg4 = wxString_in_helper(obj3);
7081 if (arg4 == NULL) SWIG_fail;
7082 temp4 = true;
7083 }
7084 }
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 {
7092 resultobj = wxPyMake_wxObject(result, (bool)0);
7093 }
7094 {
7095 if (temp4)
7096 delete arg4;
7097 }
7098 return resultobj;
7099 fail:
7100 {
7101 if (temp4)
7102 delete arg4;
7103 }
7104 return NULL;
7105 }
7106
7107
7108 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7109 PyObject *resultobj = 0;
7110 wxFrame *arg1 = (wxFrame *) 0 ;
7111 wxToolBar *result = 0 ;
7112 void *argp1 = 0 ;
7113 int res1 = 0 ;
7114 PyObject *swig_obj[1] ;
7115
7116 if (!args) SWIG_fail;
7117 swig_obj[0] = args;
7118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7119 if (!SWIG_IsOK(res1)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7121 }
7122 arg1 = reinterpret_cast< wxFrame * >(argp1);
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 {
7130 resultobj = wxPyMake_wxObject(result, (bool)0);
7131 }
7132 return resultobj;
7133 fail:
7134 return NULL;
7135 }
7136
7137
7138 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj = 0;
7140 wxFrame *arg1 = (wxFrame *) 0 ;
7141 wxToolBar *arg2 = (wxToolBar *) 0 ;
7142 void *argp1 = 0 ;
7143 int res1 = 0 ;
7144 void *argp2 = 0 ;
7145 int res2 = 0 ;
7146 PyObject * obj0 = 0 ;
7147 PyObject * obj1 = 0 ;
7148 char * kwnames[] = {
7149 (char *) "self",(char *) "toolbar", NULL
7150 };
7151
7152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7154 if (!SWIG_IsOK(res1)) {
7155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7156 }
7157 arg1 = reinterpret_cast< wxFrame * >(argp1);
7158 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7159 if (!SWIG_IsOK(res2)) {
7160 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7161 }
7162 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->SetToolBar(arg2);
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 resultobj = SWIG_Py_Void();
7170 return resultobj;
7171 fail:
7172 return NULL;
7173 }
7174
7175
7176 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj = 0;
7178 wxFrame *arg1 = (wxFrame *) 0 ;
7179 wxString *arg2 = 0 ;
7180 bool arg3 ;
7181 void *argp1 = 0 ;
7182 int res1 = 0 ;
7183 bool temp2 = false ;
7184 bool val3 ;
7185 int ecode3 = 0 ;
7186 PyObject * obj0 = 0 ;
7187 PyObject * obj1 = 0 ;
7188 PyObject * obj2 = 0 ;
7189 char * kwnames[] = {
7190 (char *) "self",(char *) "text",(char *) "show", NULL
7191 };
7192
7193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7195 if (!SWIG_IsOK(res1)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7197 }
7198 arg1 = reinterpret_cast< wxFrame * >(argp1);
7199 {
7200 arg2 = wxString_in_helper(obj1);
7201 if (arg2 == NULL) SWIG_fail;
7202 temp2 = true;
7203 }
7204 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7205 if (!SWIG_IsOK(ecode3)) {
7206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7207 }
7208 arg3 = static_cast< bool >(val3);
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = SWIG_Py_Void();
7216 {
7217 if (temp2)
7218 delete arg2;
7219 }
7220 return resultobj;
7221 fail:
7222 {
7223 if (temp2)
7224 delete arg2;
7225 }
7226 return NULL;
7227 }
7228
7229
7230 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj = 0;
7232 wxFrame *arg1 = (wxFrame *) 0 ;
7233 wxMenu *arg2 = (wxMenu *) NULL ;
7234 void *argp1 = 0 ;
7235 int res1 = 0 ;
7236 void *argp2 = 0 ;
7237 int res2 = 0 ;
7238 PyObject * obj0 = 0 ;
7239 PyObject * obj1 = 0 ;
7240 char * kwnames[] = {
7241 (char *) "self",(char *) "menu", NULL
7242 };
7243
7244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7246 if (!SWIG_IsOK(res1)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7248 }
7249 arg1 = reinterpret_cast< wxFrame * >(argp1);
7250 if (obj1) {
7251 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7252 if (!SWIG_IsOK(res2)) {
7253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7254 }
7255 arg2 = reinterpret_cast< wxMenu * >(argp2);
7256 }
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 (arg1)->DoMenuUpdates(arg2);
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 resultobj = SWIG_Py_Void();
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj = 0;
7272 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7273 SwigValueWrapper<wxVisualAttributes > result;
7274 int val1 ;
7275 int ecode1 = 0 ;
7276 PyObject * obj0 = 0 ;
7277 char * kwnames[] = {
7278 (char *) "variant", NULL
7279 };
7280
7281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7282 if (obj0) {
7283 ecode1 = SWIG_AsVal_int(obj0, &val1);
7284 if (!SWIG_IsOK(ecode1)) {
7285 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7286 }
7287 arg1 = static_cast< wxWindowVariant >(val1);
7288 }
7289 {
7290 if (!wxPyCheckForApp()) SWIG_fail;
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = wxFrame::GetClassDefaultAttributes(arg1);
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7297 return resultobj;
7298 fail:
7299 return NULL;
7300 }
7301
7302
7303 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7304 PyObject *obj;
7305 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7306 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7307 return SWIG_Py_Void();
7308 }
7309
7310 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7311 return SWIG_Python_InitShadowInstance(args);
7312 }
7313
7314 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj = 0;
7316 wxWindow *arg1 = (wxWindow *) 0 ;
7317 int arg2 = (int) (int)-1 ;
7318 wxString const &arg3_defvalue = wxPyEmptyString ;
7319 wxString *arg3 = (wxString *) &arg3_defvalue ;
7320 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7321 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7322 wxSize const &arg5_defvalue = wxDefaultSize ;
7323 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7324 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7325 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7326 wxString *arg7 = (wxString *) &arg7_defvalue ;
7327 wxDialog *result = 0 ;
7328 void *argp1 = 0 ;
7329 int res1 = 0 ;
7330 int val2 ;
7331 int ecode2 = 0 ;
7332 bool temp3 = false ;
7333 wxPoint temp4 ;
7334 wxSize temp5 ;
7335 long val6 ;
7336 int ecode6 = 0 ;
7337 bool temp7 = false ;
7338 PyObject * obj0 = 0 ;
7339 PyObject * obj1 = 0 ;
7340 PyObject * obj2 = 0 ;
7341 PyObject * obj3 = 0 ;
7342 PyObject * obj4 = 0 ;
7343 PyObject * obj5 = 0 ;
7344 PyObject * obj6 = 0 ;
7345 char * kwnames[] = {
7346 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7347 };
7348
7349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7351 if (!SWIG_IsOK(res1)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7353 }
7354 arg1 = reinterpret_cast< wxWindow * >(argp1);
7355 if (obj1) {
7356 ecode2 = SWIG_AsVal_int(obj1, &val2);
7357 if (!SWIG_IsOK(ecode2)) {
7358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7359 }
7360 arg2 = static_cast< int >(val2);
7361 }
7362 if (obj2) {
7363 {
7364 arg3 = wxString_in_helper(obj2);
7365 if (arg3 == NULL) SWIG_fail;
7366 temp3 = true;
7367 }
7368 }
7369 if (obj3) {
7370 {
7371 arg4 = &temp4;
7372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7373 }
7374 }
7375 if (obj4) {
7376 {
7377 arg5 = &temp5;
7378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7379 }
7380 }
7381 if (obj5) {
7382 ecode6 = SWIG_AsVal_long(obj5, &val6);
7383 if (!SWIG_IsOK(ecode6)) {
7384 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7385 }
7386 arg6 = static_cast< long >(val6);
7387 }
7388 if (obj6) {
7389 {
7390 arg7 = wxString_in_helper(obj6);
7391 if (arg7 == NULL) SWIG_fail;
7392 temp7 = true;
7393 }
7394 }
7395 {
7396 if (!wxPyCheckForApp()) SWIG_fail;
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
7402 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7403 {
7404 if (temp3)
7405 delete arg3;
7406 }
7407 {
7408 if (temp7)
7409 delete arg7;
7410 }
7411 return resultobj;
7412 fail:
7413 {
7414 if (temp3)
7415 delete arg3;
7416 }
7417 {
7418 if (temp7)
7419 delete arg7;
7420 }
7421 return NULL;
7422 }
7423
7424
7425 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7426 PyObject *resultobj = 0;
7427 wxDialog *result = 0 ;
7428
7429 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7430 {
7431 if (!wxPyCheckForApp()) SWIG_fail;
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (wxDialog *)new wxDialog();
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj = 0;
7446 wxDialog *arg1 = (wxDialog *) 0 ;
7447 wxWindow *arg2 = (wxWindow *) 0 ;
7448 int arg3 = (int) (int)-1 ;
7449 wxString const &arg4_defvalue = wxPyEmptyString ;
7450 wxString *arg4 = (wxString *) &arg4_defvalue ;
7451 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7452 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7453 wxSize const &arg6_defvalue = wxDefaultSize ;
7454 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7455 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7456 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7457 wxString *arg8 = (wxString *) &arg8_defvalue ;
7458 bool result;
7459 void *argp1 = 0 ;
7460 int res1 = 0 ;
7461 void *argp2 = 0 ;
7462 int res2 = 0 ;
7463 int val3 ;
7464 int ecode3 = 0 ;
7465 bool temp4 = false ;
7466 wxPoint temp5 ;
7467 wxSize temp6 ;
7468 long val7 ;
7469 int ecode7 = 0 ;
7470 bool temp8 = false ;
7471 PyObject * obj0 = 0 ;
7472 PyObject * obj1 = 0 ;
7473 PyObject * obj2 = 0 ;
7474 PyObject * obj3 = 0 ;
7475 PyObject * obj4 = 0 ;
7476 PyObject * obj5 = 0 ;
7477 PyObject * obj6 = 0 ;
7478 PyObject * obj7 = 0 ;
7479 char * kwnames[] = {
7480 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7481 };
7482
7483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7485 if (!SWIG_IsOK(res1)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7487 }
7488 arg1 = reinterpret_cast< wxDialog * >(argp1);
7489 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7490 if (!SWIG_IsOK(res2)) {
7491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7492 }
7493 arg2 = reinterpret_cast< wxWindow * >(argp2);
7494 if (obj2) {
7495 ecode3 = SWIG_AsVal_int(obj2, &val3);
7496 if (!SWIG_IsOK(ecode3)) {
7497 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7498 }
7499 arg3 = static_cast< int >(val3);
7500 }
7501 if (obj3) {
7502 {
7503 arg4 = wxString_in_helper(obj3);
7504 if (arg4 == NULL) SWIG_fail;
7505 temp4 = true;
7506 }
7507 }
7508 if (obj4) {
7509 {
7510 arg5 = &temp5;
7511 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7512 }
7513 }
7514 if (obj5) {
7515 {
7516 arg6 = &temp6;
7517 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7518 }
7519 }
7520 if (obj6) {
7521 ecode7 = SWIG_AsVal_long(obj6, &val7);
7522 if (!SWIG_IsOK(ecode7)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7524 }
7525 arg7 = static_cast< long >(val7);
7526 }
7527 if (obj7) {
7528 {
7529 arg8 = wxString_in_helper(obj7);
7530 if (arg8 == NULL) SWIG_fail;
7531 temp8 = true;
7532 }
7533 }
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7542 }
7543 {
7544 if (temp4)
7545 delete arg4;
7546 }
7547 {
7548 if (temp8)
7549 delete arg8;
7550 }
7551 return resultobj;
7552 fail:
7553 {
7554 if (temp4)
7555 delete arg4;
7556 }
7557 {
7558 if (temp8)
7559 delete arg8;
7560 }
7561 return NULL;
7562 }
7563
7564
7565 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7566 PyObject *resultobj = 0;
7567 wxDialog *arg1 = (wxDialog *) 0 ;
7568 int arg2 ;
7569 void *argp1 = 0 ;
7570 int res1 = 0 ;
7571 int val2 ;
7572 int ecode2 = 0 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char * kwnames[] = {
7576 (char *) "self",(char *) "returnCode", NULL
7577 };
7578
7579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7581 if (!SWIG_IsOK(res1)) {
7582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7583 }
7584 arg1 = reinterpret_cast< wxDialog * >(argp1);
7585 ecode2 = SWIG_AsVal_int(obj1, &val2);
7586 if (!SWIG_IsOK(ecode2)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7588 }
7589 arg2 = static_cast< int >(val2);
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->SetReturnCode(arg2);
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 resultobj = SWIG_Py_Void();
7597 return resultobj;
7598 fail:
7599 return NULL;
7600 }
7601
7602
7603 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7604 PyObject *resultobj = 0;
7605 wxDialog *arg1 = (wxDialog *) 0 ;
7606 int result;
7607 void *argp1 = 0 ;
7608 int res1 = 0 ;
7609 PyObject *swig_obj[1] ;
7610
7611 if (!args) SWIG_fail;
7612 swig_obj[0] = args;
7613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7614 if (!SWIG_IsOK(res1)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7616 }
7617 arg1 = reinterpret_cast< wxDialog * >(argp1);
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 resultobj = SWIG_From_int(static_cast< int >(result));
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj = 0;
7633 wxDialog *arg1 = (wxDialog *) 0 ;
7634 int arg2 ;
7635 void *argp1 = 0 ;
7636 int res1 = 0 ;
7637 int val2 ;
7638 int ecode2 = 0 ;
7639 PyObject * obj0 = 0 ;
7640 PyObject * obj1 = 0 ;
7641 char * kwnames[] = {
7642 (char *) "self",(char *) "affirmativeId", NULL
7643 };
7644
7645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7647 if (!SWIG_IsOK(res1)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7649 }
7650 arg1 = reinterpret_cast< wxDialog * >(argp1);
7651 ecode2 = SWIG_AsVal_int(obj1, &val2);
7652 if (!SWIG_IsOK(ecode2)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7654 }
7655 arg2 = static_cast< int >(val2);
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->SetAffirmativeId(arg2);
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 resultobj = SWIG_Py_Void();
7663 return resultobj;
7664 fail:
7665 return NULL;
7666 }
7667
7668
7669 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7670 PyObject *resultobj = 0;
7671 wxDialog *arg1 = (wxDialog *) 0 ;
7672 int result;
7673 void *argp1 = 0 ;
7674 int res1 = 0 ;
7675 PyObject *swig_obj[1] ;
7676
7677 if (!args) SWIG_fail;
7678 swig_obj[0] = args;
7679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7680 if (!SWIG_IsOK(res1)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7682 }
7683 arg1 = reinterpret_cast< wxDialog * >(argp1);
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 resultobj = SWIG_From_int(static_cast< int >(result));
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj = 0;
7699 wxDialog *arg1 = (wxDialog *) 0 ;
7700 int arg2 ;
7701 void *argp1 = 0 ;
7702 int res1 = 0 ;
7703 int val2 ;
7704 int ecode2 = 0 ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 char * kwnames[] = {
7708 (char *) "self",(char *) "escapeId", NULL
7709 };
7710
7711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7715 }
7716 arg1 = reinterpret_cast< wxDialog * >(argp1);
7717 ecode2 = SWIG_AsVal_int(obj1, &val2);
7718 if (!SWIG_IsOK(ecode2)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7720 }
7721 arg2 = static_cast< int >(val2);
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 (arg1)->SetEscapeId(arg2);
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 resultobj = SWIG_Py_Void();
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7736 PyObject *resultobj = 0;
7737 wxDialog *arg1 = (wxDialog *) 0 ;
7738 int result;
7739 void *argp1 = 0 ;
7740 int res1 = 0 ;
7741 PyObject *swig_obj[1] ;
7742
7743 if (!args) SWIG_fail;
7744 swig_obj[0] = args;
7745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7746 if (!SWIG_IsOK(res1)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7748 }
7749 arg1 = reinterpret_cast< wxDialog * >(argp1);
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 resultobj = SWIG_From_int(static_cast< int >(result));
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7764 PyObject *resultobj = 0;
7765 wxDialog *arg1 = (wxDialog *) 0 ;
7766 wxString *arg2 = 0 ;
7767 wxSizer *result = 0 ;
7768 void *argp1 = 0 ;
7769 int res1 = 0 ;
7770 bool temp2 = false ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char * kwnames[] = {
7774 (char *) "self",(char *) "message", NULL
7775 };
7776
7777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7779 if (!SWIG_IsOK(res1)) {
7780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7781 }
7782 arg1 = reinterpret_cast< wxDialog * >(argp1);
7783 {
7784 arg2 = wxString_in_helper(obj1);
7785 if (arg2 == NULL) SWIG_fail;
7786 temp2 = true;
7787 }
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 {
7795 resultobj = wxPyMake_wxObject(result, (bool)0);
7796 }
7797 {
7798 if (temp2)
7799 delete arg2;
7800 }
7801 return resultobj;
7802 fail:
7803 {
7804 if (temp2)
7805 delete arg2;
7806 }
7807 return NULL;
7808 }
7809
7810
7811 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj = 0;
7813 wxDialog *arg1 = (wxDialog *) 0 ;
7814 long arg2 ;
7815 wxSizer *result = 0 ;
7816 void *argp1 = 0 ;
7817 int res1 = 0 ;
7818 long val2 ;
7819 int ecode2 = 0 ;
7820 PyObject * obj0 = 0 ;
7821 PyObject * obj1 = 0 ;
7822 char * kwnames[] = {
7823 (char *) "self",(char *) "flags", NULL
7824 };
7825
7826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7828 if (!SWIG_IsOK(res1)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7830 }
7831 arg1 = reinterpret_cast< wxDialog * >(argp1);
7832 ecode2 = SWIG_AsVal_long(obj1, &val2);
7833 if (!SWIG_IsOK(ecode2)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7835 }
7836 arg2 = static_cast< long >(val2);
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 {
7844 resultobj = wxPyMake_wxObject(result, (bool)0);
7845 }
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj = 0;
7854 wxDialog *arg1 = (wxDialog *) 0 ;
7855 long arg2 ;
7856 wxSizer *result = 0 ;
7857 void *argp1 = 0 ;
7858 int res1 = 0 ;
7859 long val2 ;
7860 int ecode2 = 0 ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 char * kwnames[] = {
7864 (char *) "self",(char *) "flags", NULL
7865 };
7866
7867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7869 if (!SWIG_IsOK(res1)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7871 }
7872 arg1 = reinterpret_cast< wxDialog * >(argp1);
7873 ecode2 = SWIG_AsVal_long(obj1, &val2);
7874 if (!SWIG_IsOK(ecode2)) {
7875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7876 }
7877 arg2 = static_cast< long >(val2);
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = wxPyMake_wxObject(result, (bool)0);
7886 }
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj = 0;
7895 wxDialog *arg1 = (wxDialog *) 0 ;
7896 long arg2 ;
7897 wxStdDialogButtonSizer *result = 0 ;
7898 void *argp1 = 0 ;
7899 int res1 = 0 ;
7900 long val2 ;
7901 int ecode2 = 0 ;
7902 PyObject * obj0 = 0 ;
7903 PyObject * obj1 = 0 ;
7904 char * kwnames[] = {
7905 (char *) "self",(char *) "flags", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7912 }
7913 arg1 = reinterpret_cast< wxDialog * >(argp1);
7914 ecode2 = SWIG_AsVal_long(obj1, &val2);
7915 if (!SWIG_IsOK(ecode2)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7917 }
7918 arg2 = static_cast< long >(val2);
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7933 PyObject *resultobj = 0;
7934 wxDialog *arg1 = (wxDialog *) 0 ;
7935 bool result;
7936 void *argp1 = 0 ;
7937 int res1 = 0 ;
7938 PyObject *swig_obj[1] ;
7939
7940 if (!args) SWIG_fail;
7941 swig_obj[0] = args;
7942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7943 if (!SWIG_IsOK(res1)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7945 }
7946 arg1 = reinterpret_cast< wxDialog * >(argp1);
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (bool)((wxDialog const *)arg1)->IsModal();
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7955 }
7956 return resultobj;
7957 fail:
7958 return NULL;
7959 }
7960
7961
7962 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7963 PyObject *resultobj = 0;
7964 wxDialog *arg1 = (wxDialog *) 0 ;
7965 int result;
7966 void *argp1 = 0 ;
7967 int res1 = 0 ;
7968 PyObject *swig_obj[1] ;
7969
7970 if (!args) SWIG_fail;
7971 swig_obj[0] = args;
7972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7973 if (!SWIG_IsOK(res1)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7975 }
7976 arg1 = reinterpret_cast< wxDialog * >(argp1);
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (int)(arg1)->ShowModal();
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_From_int(static_cast< int >(result));
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj = 0;
7992 wxDialog *arg1 = (wxDialog *) 0 ;
7993 int arg2 ;
7994 void *argp1 = 0 ;
7995 int res1 = 0 ;
7996 int val2 ;
7997 int ecode2 = 0 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char * kwnames[] = {
8001 (char *) "self",(char *) "retCode", NULL
8002 };
8003
8004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8006 if (!SWIG_IsOK(res1)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8008 }
8009 arg1 = reinterpret_cast< wxDialog * >(argp1);
8010 ecode2 = SWIG_AsVal_int(obj1, &val2);
8011 if (!SWIG_IsOK(ecode2)) {
8012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8013 }
8014 arg2 = static_cast< int >(val2);
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->EndModal(arg2);
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_Py_Void();
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj = 0;
8030 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8031 SwigValueWrapper<wxVisualAttributes > result;
8032 int val1 ;
8033 int ecode1 = 0 ;
8034 PyObject * obj0 = 0 ;
8035 char * kwnames[] = {
8036 (char *) "variant", NULL
8037 };
8038
8039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8040 if (obj0) {
8041 ecode1 = SWIG_AsVal_int(obj0, &val1);
8042 if (!SWIG_IsOK(ecode1)) {
8043 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8044 }
8045 arg1 = static_cast< wxWindowVariant >(val1);
8046 }
8047 {
8048 if (!wxPyCheckForApp()) SWIG_fail;
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = wxDialog::GetClassDefaultAttributes(arg1);
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8062 PyObject *obj;
8063 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8064 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8065 return SWIG_Py_Void();
8066 }
8067
8068 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8069 return SWIG_Python_InitShadowInstance(args);
8070 }
8071
8072 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj = 0;
8074 wxWindow *arg1 = (wxWindow *) 0 ;
8075 int arg2 = (int) (int)-1 ;
8076 wxString const &arg3_defvalue = wxPyEmptyString ;
8077 wxString *arg3 = (wxString *) &arg3_defvalue ;
8078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8080 wxSize const &arg5_defvalue = wxDefaultSize ;
8081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8082 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8083 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8084 wxString *arg7 = (wxString *) &arg7_defvalue ;
8085 wxMiniFrame *result = 0 ;
8086 void *argp1 = 0 ;
8087 int res1 = 0 ;
8088 int val2 ;
8089 int ecode2 = 0 ;
8090 bool temp3 = false ;
8091 wxPoint temp4 ;
8092 wxSize temp5 ;
8093 long val6 ;
8094 int ecode6 = 0 ;
8095 bool temp7 = false ;
8096 PyObject * obj0 = 0 ;
8097 PyObject * obj1 = 0 ;
8098 PyObject * obj2 = 0 ;
8099 PyObject * obj3 = 0 ;
8100 PyObject * obj4 = 0 ;
8101 PyObject * obj5 = 0 ;
8102 PyObject * obj6 = 0 ;
8103 char * kwnames[] = {
8104 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8105 };
8106
8107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8109 if (!SWIG_IsOK(res1)) {
8110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8111 }
8112 arg1 = reinterpret_cast< wxWindow * >(argp1);
8113 if (obj1) {
8114 ecode2 = SWIG_AsVal_int(obj1, &val2);
8115 if (!SWIG_IsOK(ecode2)) {
8116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8117 }
8118 arg2 = static_cast< int >(val2);
8119 }
8120 if (obj2) {
8121 {
8122 arg3 = wxString_in_helper(obj2);
8123 if (arg3 == NULL) SWIG_fail;
8124 temp3 = true;
8125 }
8126 }
8127 if (obj3) {
8128 {
8129 arg4 = &temp4;
8130 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8131 }
8132 }
8133 if (obj4) {
8134 {
8135 arg5 = &temp5;
8136 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8137 }
8138 }
8139 if (obj5) {
8140 ecode6 = SWIG_AsVal_long(obj5, &val6);
8141 if (!SWIG_IsOK(ecode6)) {
8142 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8143 }
8144 arg6 = static_cast< long >(val6);
8145 }
8146 if (obj6) {
8147 {
8148 arg7 = wxString_in_helper(obj6);
8149 if (arg7 == NULL) SWIG_fail;
8150 temp7 = true;
8151 }
8152 }
8153 {
8154 if (!wxPyCheckForApp()) SWIG_fail;
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8161 {
8162 if (temp3)
8163 delete arg3;
8164 }
8165 {
8166 if (temp7)
8167 delete arg7;
8168 }
8169 return resultobj;
8170 fail:
8171 {
8172 if (temp3)
8173 delete arg3;
8174 }
8175 {
8176 if (temp7)
8177 delete arg7;
8178 }
8179 return NULL;
8180 }
8181
8182
8183 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8184 PyObject *resultobj = 0;
8185 wxMiniFrame *result = 0 ;
8186
8187 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8188 {
8189 if (!wxPyCheckForApp()) SWIG_fail;
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = (wxMiniFrame *)new wxMiniFrame();
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8196 return resultobj;
8197 fail:
8198 return NULL;
8199 }
8200
8201
8202 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj = 0;
8204 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8205 wxWindow *arg2 = (wxWindow *) 0 ;
8206 int arg3 = (int) (int)-1 ;
8207 wxString const &arg4_defvalue = wxPyEmptyString ;
8208 wxString *arg4 = (wxString *) &arg4_defvalue ;
8209 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8210 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8211 wxSize const &arg6_defvalue = wxDefaultSize ;
8212 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8213 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8214 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8215 wxString *arg8 = (wxString *) &arg8_defvalue ;
8216 bool result;
8217 void *argp1 = 0 ;
8218 int res1 = 0 ;
8219 void *argp2 = 0 ;
8220 int res2 = 0 ;
8221 int val3 ;
8222 int ecode3 = 0 ;
8223 bool temp4 = false ;
8224 wxPoint temp5 ;
8225 wxSize temp6 ;
8226 long val7 ;
8227 int ecode7 = 0 ;
8228 bool temp8 = false ;
8229 PyObject * obj0 = 0 ;
8230 PyObject * obj1 = 0 ;
8231 PyObject * obj2 = 0 ;
8232 PyObject * obj3 = 0 ;
8233 PyObject * obj4 = 0 ;
8234 PyObject * obj5 = 0 ;
8235 PyObject * obj6 = 0 ;
8236 PyObject * obj7 = 0 ;
8237 char * kwnames[] = {
8238 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8239 };
8240
8241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8243 if (!SWIG_IsOK(res1)) {
8244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8245 }
8246 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8247 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8248 if (!SWIG_IsOK(res2)) {
8249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8250 }
8251 arg2 = reinterpret_cast< wxWindow * >(argp2);
8252 if (obj2) {
8253 ecode3 = SWIG_AsVal_int(obj2, &val3);
8254 if (!SWIG_IsOK(ecode3)) {
8255 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8256 }
8257 arg3 = static_cast< int >(val3);
8258 }
8259 if (obj3) {
8260 {
8261 arg4 = wxString_in_helper(obj3);
8262 if (arg4 == NULL) SWIG_fail;
8263 temp4 = true;
8264 }
8265 }
8266 if (obj4) {
8267 {
8268 arg5 = &temp5;
8269 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8270 }
8271 }
8272 if (obj5) {
8273 {
8274 arg6 = &temp6;
8275 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8276 }
8277 }
8278 if (obj6) {
8279 ecode7 = SWIG_AsVal_long(obj6, &val7);
8280 if (!SWIG_IsOK(ecode7)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8282 }
8283 arg7 = static_cast< long >(val7);
8284 }
8285 if (obj7) {
8286 {
8287 arg8 = wxString_in_helper(obj7);
8288 if (arg8 == NULL) SWIG_fail;
8289 temp8 = true;
8290 }
8291 }
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 {
8299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8300 }
8301 {
8302 if (temp4)
8303 delete arg4;
8304 }
8305 {
8306 if (temp8)
8307 delete arg8;
8308 }
8309 return resultobj;
8310 fail:
8311 {
8312 if (temp4)
8313 delete arg4;
8314 }
8315 {
8316 if (temp8)
8317 delete arg8;
8318 }
8319 return NULL;
8320 }
8321
8322
8323 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8324 PyObject *obj;
8325 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8326 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8327 return SWIG_Py_Void();
8328 }
8329
8330 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8331 return SWIG_Python_InitShadowInstance(args);
8332 }
8333
8334 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8335 PyObject *resultobj = 0;
8336 wxBitmap *arg1 = 0 ;
8337 wxWindow *arg2 = (wxWindow *) 0 ;
8338 int arg3 ;
8339 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8340 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8341 wxSize const &arg5_defvalue = wxDefaultSize ;
8342 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8343 long arg6 = (long) wxNO_BORDER ;
8344 wxSplashScreenWindow *result = 0 ;
8345 void *argp1 = 0 ;
8346 int res1 = 0 ;
8347 void *argp2 = 0 ;
8348 int res2 = 0 ;
8349 int val3 ;
8350 int ecode3 = 0 ;
8351 wxPoint temp4 ;
8352 wxSize temp5 ;
8353 long val6 ;
8354 int ecode6 = 0 ;
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 PyObject * obj2 = 0 ;
8358 PyObject * obj3 = 0 ;
8359 PyObject * obj4 = 0 ;
8360 PyObject * obj5 = 0 ;
8361 char * kwnames[] = {
8362 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8363 };
8364
8365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8366 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8367 if (!SWIG_IsOK(res1)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8369 }
8370 if (!argp1) {
8371 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 }
8373 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8374 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8375 if (!SWIG_IsOK(res2)) {
8376 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8377 }
8378 arg2 = reinterpret_cast< wxWindow * >(argp2);
8379 ecode3 = SWIG_AsVal_int(obj2, &val3);
8380 if (!SWIG_IsOK(ecode3)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8382 }
8383 arg3 = static_cast< int >(val3);
8384 if (obj3) {
8385 {
8386 arg4 = &temp4;
8387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8388 }
8389 }
8390 if (obj4) {
8391 {
8392 arg5 = &temp5;
8393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8394 }
8395 }
8396 if (obj5) {
8397 ecode6 = SWIG_AsVal_long(obj5, &val6);
8398 if (!SWIG_IsOK(ecode6)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8400 }
8401 arg6 = static_cast< long >(val6);
8402 }
8403 {
8404 if (!wxPyCheckForApp()) SWIG_fail;
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj = 0;
8419 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8420 wxBitmap *arg2 = 0 ;
8421 void *argp1 = 0 ;
8422 int res1 = 0 ;
8423 void *argp2 = 0 ;
8424 int res2 = 0 ;
8425 PyObject * obj0 = 0 ;
8426 PyObject * obj1 = 0 ;
8427 char * kwnames[] = {
8428 (char *) "self",(char *) "bitmap", NULL
8429 };
8430
8431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8433 if (!SWIG_IsOK(res1)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8435 }
8436 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8437 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8438 if (!SWIG_IsOK(res2)) {
8439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8440 }
8441 if (!argp2) {
8442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8443 }
8444 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 resultobj = SWIG_Py_Void();
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8459 PyObject *resultobj = 0;
8460 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8461 wxBitmap *result = 0 ;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 PyObject *swig_obj[1] ;
8465
8466 if (!args) SWIG_fail;
8467 swig_obj[0] = args;
8468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8469 if (!SWIG_IsOK(res1)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8471 }
8472 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 {
8476 wxBitmap &_result_ref = (arg1)->GetBitmap();
8477 result = (wxBitmap *) &_result_ref;
8478 }
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 {
8483 wxBitmap* resultptr = new wxBitmap(*result);
8484 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8485 }
8486 return resultobj;
8487 fail:
8488 return NULL;
8489 }
8490
8491
8492 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8493 PyObject *obj;
8494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8495 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8496 return SWIG_Py_Void();
8497 }
8498
8499 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8500 return SWIG_Python_InitShadowInstance(args);
8501 }
8502
8503 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj = 0;
8505 wxBitmap *arg1 = 0 ;
8506 long arg2 ;
8507 int arg3 ;
8508 wxWindow *arg4 = (wxWindow *) 0 ;
8509 int arg5 = (int) -1 ;
8510 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8511 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8512 wxSize const &arg7_defvalue = wxDefaultSize ;
8513 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8514 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8515 wxSplashScreen *result = 0 ;
8516 void *argp1 = 0 ;
8517 int res1 = 0 ;
8518 long val2 ;
8519 int ecode2 = 0 ;
8520 int val3 ;
8521 int ecode3 = 0 ;
8522 void *argp4 = 0 ;
8523 int res4 = 0 ;
8524 int val5 ;
8525 int ecode5 = 0 ;
8526 wxPoint temp6 ;
8527 wxSize temp7 ;
8528 long val8 ;
8529 int ecode8 = 0 ;
8530 PyObject * obj0 = 0 ;
8531 PyObject * obj1 = 0 ;
8532 PyObject * obj2 = 0 ;
8533 PyObject * obj3 = 0 ;
8534 PyObject * obj4 = 0 ;
8535 PyObject * obj5 = 0 ;
8536 PyObject * obj6 = 0 ;
8537 PyObject * obj7 = 0 ;
8538 char * kwnames[] = {
8539 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8540 };
8541
8542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8543 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8544 if (!SWIG_IsOK(res1)) {
8545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8546 }
8547 if (!argp1) {
8548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8549 }
8550 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8551 ecode2 = SWIG_AsVal_long(obj1, &val2);
8552 if (!SWIG_IsOK(ecode2)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8554 }
8555 arg2 = static_cast< long >(val2);
8556 ecode3 = SWIG_AsVal_int(obj2, &val3);
8557 if (!SWIG_IsOK(ecode3)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8559 }
8560 arg3 = static_cast< int >(val3);
8561 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8562 if (!SWIG_IsOK(res4)) {
8563 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8564 }
8565 arg4 = reinterpret_cast< wxWindow * >(argp4);
8566 if (obj4) {
8567 ecode5 = SWIG_AsVal_int(obj4, &val5);
8568 if (!SWIG_IsOK(ecode5)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8570 }
8571 arg5 = static_cast< int >(val5);
8572 }
8573 if (obj5) {
8574 {
8575 arg6 = &temp6;
8576 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8577 }
8578 }
8579 if (obj6) {
8580 {
8581 arg7 = &temp7;
8582 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8583 }
8584 }
8585 if (obj7) {
8586 ecode8 = SWIG_AsVal_long(obj7, &val8);
8587 if (!SWIG_IsOK(ecode8)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8589 }
8590 arg8 = static_cast< long >(val8);
8591 }
8592 {
8593 if (!wxPyCheckForApp()) SWIG_fail;
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8600 return resultobj;
8601 fail:
8602 return NULL;
8603 }
8604
8605
8606 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8607 PyObject *resultobj = 0;
8608 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8609 long result;
8610 void *argp1 = 0 ;
8611 int res1 = 0 ;
8612 PyObject *swig_obj[1] ;
8613
8614 if (!args) SWIG_fail;
8615 swig_obj[0] = args;
8616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8617 if (!SWIG_IsOK(res1)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8619 }
8620 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8621 {
8622 PyThreadState* __tstate = wxPyBeginAllowThreads();
8623 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 resultobj = SWIG_From_long(static_cast< long >(result));
8628 return resultobj;
8629 fail:
8630 return NULL;
8631 }
8632
8633
8634 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8635 PyObject *resultobj = 0;
8636 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8637 wxSplashScreenWindow *result = 0 ;
8638 void *argp1 = 0 ;
8639 int res1 = 0 ;
8640 PyObject *swig_obj[1] ;
8641
8642 if (!args) SWIG_fail;
8643 swig_obj[0] = args;
8644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8645 if (!SWIG_IsOK(res1)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8647 }
8648 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8652 wxPyEndAllowThreads(__tstate);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8656 return resultobj;
8657 fail:
8658 return NULL;
8659 }
8660
8661
8662 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8663 PyObject *resultobj = 0;
8664 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8665 int result;
8666 void *argp1 = 0 ;
8667 int res1 = 0 ;
8668 PyObject *swig_obj[1] ;
8669
8670 if (!args) SWIG_fail;
8671 swig_obj[0] = args;
8672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8673 if (!SWIG_IsOK(res1)) {
8674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8675 }
8676 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8677 {
8678 PyThreadState* __tstate = wxPyBeginAllowThreads();
8679 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 resultobj = SWIG_From_int(static_cast< int >(result));
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8691 PyObject *obj;
8692 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8693 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8694 return SWIG_Py_Void();
8695 }
8696
8697 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8698 return SWIG_Python_InitShadowInstance(args);
8699 }
8700
8701 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj = 0;
8703 wxWindow *arg1 = (wxWindow *) 0 ;
8704 int arg2 = (int) -1 ;
8705 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8706 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8707 wxString *arg4 = (wxString *) &arg4_defvalue ;
8708 wxStatusBar *result = 0 ;
8709 void *argp1 = 0 ;
8710 int res1 = 0 ;
8711 int val2 ;
8712 int ecode2 = 0 ;
8713 long val3 ;
8714 int ecode3 = 0 ;
8715 bool temp4 = false ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 PyObject * obj2 = 0 ;
8719 PyObject * obj3 = 0 ;
8720 char * kwnames[] = {
8721 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8722 };
8723
8724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8726 if (!SWIG_IsOK(res1)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8728 }
8729 arg1 = reinterpret_cast< wxWindow * >(argp1);
8730 if (obj1) {
8731 ecode2 = SWIG_AsVal_int(obj1, &val2);
8732 if (!SWIG_IsOK(ecode2)) {
8733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8734 }
8735 arg2 = static_cast< int >(val2);
8736 }
8737 if (obj2) {
8738 ecode3 = SWIG_AsVal_long(obj2, &val3);
8739 if (!SWIG_IsOK(ecode3)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8741 }
8742 arg3 = static_cast< long >(val3);
8743 }
8744 if (obj3) {
8745 {
8746 arg4 = wxString_in_helper(obj3);
8747 if (arg4 == NULL) SWIG_fail;
8748 temp4 = true;
8749 }
8750 }
8751 {
8752 if (!wxPyCheckForApp()) SWIG_fail;
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8759 {
8760 if (temp4)
8761 delete arg4;
8762 }
8763 return resultobj;
8764 fail:
8765 {
8766 if (temp4)
8767 delete arg4;
8768 }
8769 return NULL;
8770 }
8771
8772
8773 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8774 PyObject *resultobj = 0;
8775 wxStatusBar *result = 0 ;
8776
8777 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8778 {
8779 if (!wxPyCheckForApp()) SWIG_fail;
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxStatusBar *)new wxStatusBar();
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj = 0;
8794 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8795 wxWindow *arg2 = (wxWindow *) 0 ;
8796 int arg3 = (int) -1 ;
8797 long arg4 = (long) wxST_SIZEGRIP ;
8798 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8799 wxString *arg5 = (wxString *) &arg5_defvalue ;
8800 bool result;
8801 void *argp1 = 0 ;
8802 int res1 = 0 ;
8803 void *argp2 = 0 ;
8804 int res2 = 0 ;
8805 int val3 ;
8806 int ecode3 = 0 ;
8807 long val4 ;
8808 int ecode4 = 0 ;
8809 bool temp5 = false ;
8810 PyObject * obj0 = 0 ;
8811 PyObject * obj1 = 0 ;
8812 PyObject * obj2 = 0 ;
8813 PyObject * obj3 = 0 ;
8814 PyObject * obj4 = 0 ;
8815 char * kwnames[] = {
8816 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8817 };
8818
8819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8821 if (!SWIG_IsOK(res1)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8823 }
8824 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8825 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8826 if (!SWIG_IsOK(res2)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8828 }
8829 arg2 = reinterpret_cast< wxWindow * >(argp2);
8830 if (obj2) {
8831 ecode3 = SWIG_AsVal_int(obj2, &val3);
8832 if (!SWIG_IsOK(ecode3)) {
8833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8834 }
8835 arg3 = static_cast< int >(val3);
8836 }
8837 if (obj3) {
8838 ecode4 = SWIG_AsVal_long(obj3, &val4);
8839 if (!SWIG_IsOK(ecode4)) {
8840 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8841 }
8842 arg4 = static_cast< long >(val4);
8843 }
8844 if (obj4) {
8845 {
8846 arg5 = wxString_in_helper(obj4);
8847 if (arg5 == NULL) SWIG_fail;
8848 temp5 = true;
8849 }
8850 }
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8859 }
8860 {
8861 if (temp5)
8862 delete arg5;
8863 }
8864 return resultobj;
8865 fail:
8866 {
8867 if (temp5)
8868 delete arg5;
8869 }
8870 return NULL;
8871 }
8872
8873
8874 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8875 PyObject *resultobj = 0;
8876 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8877 int arg2 = (int) 1 ;
8878 void *argp1 = 0 ;
8879 int res1 = 0 ;
8880 int val2 ;
8881 int ecode2 = 0 ;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 char * kwnames[] = {
8885 (char *) "self",(char *) "number", NULL
8886 };
8887
8888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8890 if (!SWIG_IsOK(res1)) {
8891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8892 }
8893 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8894 if (obj1) {
8895 ecode2 = SWIG_AsVal_int(obj1, &val2);
8896 if (!SWIG_IsOK(ecode2)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8898 }
8899 arg2 = static_cast< int >(val2);
8900 }
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetFieldsCount(arg2);
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 resultobj = SWIG_Py_Void();
8908 return resultobj;
8909 fail:
8910 return NULL;
8911 }
8912
8913
8914 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8915 PyObject *resultobj = 0;
8916 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8917 int result;
8918 void *argp1 = 0 ;
8919 int res1 = 0 ;
8920 PyObject *swig_obj[1] ;
8921
8922 if (!args) SWIG_fail;
8923 swig_obj[0] = args;
8924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8925 if (!SWIG_IsOK(res1)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8927 }
8928 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_From_int(static_cast< int >(result));
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj = 0;
8944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8945 wxString *arg2 = 0 ;
8946 int arg3 = (int) 0 ;
8947 void *argp1 = 0 ;
8948 int res1 = 0 ;
8949 bool temp2 = false ;
8950 int val3 ;
8951 int ecode3 = 0 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
8955 char * kwnames[] = {
8956 (char *) "self",(char *) "text",(char *) "number", NULL
8957 };
8958
8959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8961 if (!SWIG_IsOK(res1)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8963 }
8964 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8965 {
8966 arg2 = wxString_in_helper(obj1);
8967 if (arg2 == NULL) SWIG_fail;
8968 temp2 = true;
8969 }
8970 if (obj2) {
8971 ecode3 = SWIG_AsVal_int(obj2, &val3);
8972 if (!SWIG_IsOK(ecode3)) {
8973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8974 }
8975 arg3 = static_cast< int >(val3);
8976 }
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 resultobj = SWIG_Py_Void();
8984 {
8985 if (temp2)
8986 delete arg2;
8987 }
8988 return resultobj;
8989 fail:
8990 {
8991 if (temp2)
8992 delete arg2;
8993 }
8994 return NULL;
8995 }
8996
8997
8998 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj = 0;
9000 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9001 int arg2 = (int) 0 ;
9002 wxString result;
9003 void *argp1 = 0 ;
9004 int res1 = 0 ;
9005 int val2 ;
9006 int ecode2 = 0 ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char * kwnames[] = {
9010 (char *) "self",(char *) "number", NULL
9011 };
9012
9013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9015 if (!SWIG_IsOK(res1)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9017 }
9018 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9019 if (obj1) {
9020 ecode2 = SWIG_AsVal_int(obj1, &val2);
9021 if (!SWIG_IsOK(ecode2)) {
9022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9023 }
9024 arg2 = static_cast< int >(val2);
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 {
9033 #if wxUSE_UNICODE
9034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9035 #else
9036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9037 #endif
9038 }
9039 return resultobj;
9040 fail:
9041 return NULL;
9042 }
9043
9044
9045 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj = 0;
9047 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9048 wxString *arg2 = 0 ;
9049 int arg3 = (int) 0 ;
9050 void *argp1 = 0 ;
9051 int res1 = 0 ;
9052 bool temp2 = false ;
9053 int val3 ;
9054 int ecode3 = 0 ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 PyObject * obj2 = 0 ;
9058 char * kwnames[] = {
9059 (char *) "self",(char *) "text",(char *) "number", NULL
9060 };
9061
9062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9064 if (!SWIG_IsOK(res1)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9066 }
9067 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9068 {
9069 arg2 = wxString_in_helper(obj1);
9070 if (arg2 == NULL) SWIG_fail;
9071 temp2 = true;
9072 }
9073 if (obj2) {
9074 ecode3 = SWIG_AsVal_int(obj2, &val3);
9075 if (!SWIG_IsOK(ecode3)) {
9076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9077 }
9078 arg3 = static_cast< int >(val3);
9079 }
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 resultobj = SWIG_Py_Void();
9087 {
9088 if (temp2)
9089 delete arg2;
9090 }
9091 return resultobj;
9092 fail:
9093 {
9094 if (temp2)
9095 delete arg2;
9096 }
9097 return NULL;
9098 }
9099
9100
9101 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj = 0;
9103 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9104 int arg2 = (int) 0 ;
9105 void *argp1 = 0 ;
9106 int res1 = 0 ;
9107 int val2 ;
9108 int ecode2 = 0 ;
9109 PyObject * obj0 = 0 ;
9110 PyObject * obj1 = 0 ;
9111 char * kwnames[] = {
9112 (char *) "self",(char *) "number", NULL
9113 };
9114
9115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9117 if (!SWIG_IsOK(res1)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9119 }
9120 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9121 if (obj1) {
9122 ecode2 = SWIG_AsVal_int(obj1, &val2);
9123 if (!SWIG_IsOK(ecode2)) {
9124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9125 }
9126 arg2 = static_cast< int >(val2);
9127 }
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 (arg1)->PopStatusText(arg2);
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_Py_Void();
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj = 0;
9143 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9144 int arg2 ;
9145 int *arg3 = (int *) 0 ;
9146 void *argp1 = 0 ;
9147 int res1 = 0 ;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj1 = 0 ;
9150 char * kwnames[] = {
9151 (char *) "self",(char *) "widths", NULL
9152 };
9153
9154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9156 if (!SWIG_IsOK(res1)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9158 }
9159 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9160 {
9161 arg2 = PyList_Size(obj1);
9162 arg3 = int_LIST_helper(obj1);
9163 if (arg3 == NULL) SWIG_fail;
9164 }
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 resultobj = SWIG_Py_Void();
9172 {
9173 if (arg3) delete [] arg3;
9174 }
9175 return resultobj;
9176 fail:
9177 {
9178 if (arg3) delete [] arg3;
9179 }
9180 return NULL;
9181 }
9182
9183
9184 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj = 0;
9186 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9187 int arg2 ;
9188 int *arg3 = (int *) 0 ;
9189 void *argp1 = 0 ;
9190 int res1 = 0 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char * kwnames[] = {
9194 (char *) "self",(char *) "styles", NULL
9195 };
9196
9197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9199 if (!SWIG_IsOK(res1)) {
9200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9201 }
9202 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9203 {
9204 arg2 = PyList_Size(obj1);
9205 arg3 = int_LIST_helper(obj1);
9206 if (arg3 == NULL) SWIG_fail;
9207 }
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = SWIG_Py_Void();
9215 {
9216 if (arg3) delete [] arg3;
9217 }
9218 return resultobj;
9219 fail:
9220 {
9221 if (arg3) delete [] arg3;
9222 }
9223 return NULL;
9224 }
9225
9226
9227 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9228 PyObject *resultobj = 0;
9229 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9230 int arg2 ;
9231 wxRect result;
9232 void *argp1 = 0 ;
9233 int res1 = 0 ;
9234 int val2 ;
9235 int ecode2 = 0 ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char * kwnames[] = {
9239 (char *) "self",(char *) "i", NULL
9240 };
9241
9242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9244 if (!SWIG_IsOK(res1)) {
9245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9246 }
9247 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9248 ecode2 = SWIG_AsVal_int(obj1, &val2);
9249 if (!SWIG_IsOK(ecode2)) {
9250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9251 }
9252 arg2 = static_cast< int >(val2);
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 result = wxStatusBar_GetFieldRect(arg1,arg2);
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9260 return resultobj;
9261 fail:
9262 return NULL;
9263 }
9264
9265
9266 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj = 0;
9268 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9269 int arg2 ;
9270 void *argp1 = 0 ;
9271 int res1 = 0 ;
9272 int val2 ;
9273 int ecode2 = 0 ;
9274 PyObject * obj0 = 0 ;
9275 PyObject * obj1 = 0 ;
9276 char * kwnames[] = {
9277 (char *) "self",(char *) "height", NULL
9278 };
9279
9280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9282 if (!SWIG_IsOK(res1)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9284 }
9285 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9286 ecode2 = SWIG_AsVal_int(obj1, &val2);
9287 if (!SWIG_IsOK(ecode2)) {
9288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9289 }
9290 arg2 = static_cast< int >(val2);
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 (arg1)->SetMinHeight(arg2);
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = SWIG_Py_Void();
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9305 PyObject *resultobj = 0;
9306 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9307 int result;
9308 void *argp1 = 0 ;
9309 int res1 = 0 ;
9310 PyObject *swig_obj[1] ;
9311
9312 if (!args) SWIG_fail;
9313 swig_obj[0] = args;
9314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9315 if (!SWIG_IsOK(res1)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9317 }
9318 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9322 wxPyEndAllowThreads(__tstate);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 }
9325 resultobj = SWIG_From_int(static_cast< int >(result));
9326 return resultobj;
9327 fail:
9328 return NULL;
9329 }
9330
9331
9332 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9333 PyObject *resultobj = 0;
9334 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9335 int result;
9336 void *argp1 = 0 ;
9337 int res1 = 0 ;
9338 PyObject *swig_obj[1] ;
9339
9340 if (!args) SWIG_fail;
9341 swig_obj[0] = args;
9342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9343 if (!SWIG_IsOK(res1)) {
9344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9345 }
9346 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 resultobj = SWIG_From_int(static_cast< int >(result));
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj = 0;
9362 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9363 SwigValueWrapper<wxVisualAttributes > result;
9364 int val1 ;
9365 int ecode1 = 0 ;
9366 PyObject * obj0 = 0 ;
9367 char * kwnames[] = {
9368 (char *) "variant", NULL
9369 };
9370
9371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9372 if (obj0) {
9373 ecode1 = SWIG_AsVal_int(obj0, &val1);
9374 if (!SWIG_IsOK(ecode1)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9376 }
9377 arg1 = static_cast< wxWindowVariant >(val1);
9378 }
9379 {
9380 if (!wxPyCheckForApp()) SWIG_fail;
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9387 return resultobj;
9388 fail:
9389 return NULL;
9390 }
9391
9392
9393 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9394 PyObject *obj;
9395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9396 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9397 return SWIG_Py_Void();
9398 }
9399
9400 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9401 return SWIG_Python_InitShadowInstance(args);
9402 }
9403
9404 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9405 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9406 return 1;
9407 }
9408
9409
9410 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9411 PyObject *pyobj = 0;
9412
9413 {
9414 #if wxUSE_UNICODE
9415 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9416 #else
9417 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9418 #endif
9419 }
9420 return pyobj;
9421 }
9422
9423
9424 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj = 0;
9426 wxWindow *arg1 = (wxWindow *) 0 ;
9427 int arg2 = (int) -1 ;
9428 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9429 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9430 wxSize const &arg4_defvalue = wxDefaultSize ;
9431 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9432 long arg5 = (long) wxSP_3D ;
9433 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9434 wxString *arg6 = (wxString *) &arg6_defvalue ;
9435 wxSplitterWindow *result = 0 ;
9436 void *argp1 = 0 ;
9437 int res1 = 0 ;
9438 int val2 ;
9439 int ecode2 = 0 ;
9440 wxPoint temp3 ;
9441 wxSize temp4 ;
9442 long val5 ;
9443 int ecode5 = 0 ;
9444 bool temp6 = false ;
9445 PyObject * obj0 = 0 ;
9446 PyObject * obj1 = 0 ;
9447 PyObject * obj2 = 0 ;
9448 PyObject * obj3 = 0 ;
9449 PyObject * obj4 = 0 ;
9450 PyObject * obj5 = 0 ;
9451 char * kwnames[] = {
9452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9453 };
9454
9455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9457 if (!SWIG_IsOK(res1)) {
9458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9459 }
9460 arg1 = reinterpret_cast< wxWindow * >(argp1);
9461 if (obj1) {
9462 ecode2 = SWIG_AsVal_int(obj1, &val2);
9463 if (!SWIG_IsOK(ecode2)) {
9464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9465 }
9466 arg2 = static_cast< int >(val2);
9467 }
9468 if (obj2) {
9469 {
9470 arg3 = &temp3;
9471 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9472 }
9473 }
9474 if (obj3) {
9475 {
9476 arg4 = &temp4;
9477 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9478 }
9479 }
9480 if (obj4) {
9481 ecode5 = SWIG_AsVal_long(obj4, &val5);
9482 if (!SWIG_IsOK(ecode5)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9484 }
9485 arg5 = static_cast< long >(val5);
9486 }
9487 if (obj5) {
9488 {
9489 arg6 = wxString_in_helper(obj5);
9490 if (arg6 == NULL) SWIG_fail;
9491 temp6 = true;
9492 }
9493 }
9494 {
9495 if (!wxPyCheckForApp()) SWIG_fail;
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9502 {
9503 if (temp6)
9504 delete arg6;
9505 }
9506 return resultobj;
9507 fail:
9508 {
9509 if (temp6)
9510 delete arg6;
9511 }
9512 return NULL;
9513 }
9514
9515
9516 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9517 PyObject *resultobj = 0;
9518 wxSplitterWindow *result = 0 ;
9519
9520 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9521 {
9522 if (!wxPyCheckForApp()) SWIG_fail;
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (wxSplitterWindow *)new wxSplitterWindow();
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9536 PyObject *resultobj = 0;
9537 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9538 wxWindow *arg2 = (wxWindow *) 0 ;
9539 int arg3 = (int) -1 ;
9540 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9541 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9542 wxSize const &arg5_defvalue = wxDefaultSize ;
9543 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9544 long arg6 = (long) wxSP_3D ;
9545 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9546 wxString *arg7 = (wxString *) &arg7_defvalue ;
9547 bool result;
9548 void *argp1 = 0 ;
9549 int res1 = 0 ;
9550 void *argp2 = 0 ;
9551 int res2 = 0 ;
9552 int val3 ;
9553 int ecode3 = 0 ;
9554 wxPoint temp4 ;
9555 wxSize temp5 ;
9556 long val6 ;
9557 int ecode6 = 0 ;
9558 bool temp7 = false ;
9559 PyObject * obj0 = 0 ;
9560 PyObject * obj1 = 0 ;
9561 PyObject * obj2 = 0 ;
9562 PyObject * obj3 = 0 ;
9563 PyObject * obj4 = 0 ;
9564 PyObject * obj5 = 0 ;
9565 PyObject * obj6 = 0 ;
9566 char * kwnames[] = {
9567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9568 };
9569
9570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9572 if (!SWIG_IsOK(res1)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9574 }
9575 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9577 if (!SWIG_IsOK(res2)) {
9578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9579 }
9580 arg2 = reinterpret_cast< wxWindow * >(argp2);
9581 if (obj2) {
9582 ecode3 = SWIG_AsVal_int(obj2, &val3);
9583 if (!SWIG_IsOK(ecode3)) {
9584 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9585 }
9586 arg3 = static_cast< int >(val3);
9587 }
9588 if (obj3) {
9589 {
9590 arg4 = &temp4;
9591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9592 }
9593 }
9594 if (obj4) {
9595 {
9596 arg5 = &temp5;
9597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9598 }
9599 }
9600 if (obj5) {
9601 ecode6 = SWIG_AsVal_long(obj5, &val6);
9602 if (!SWIG_IsOK(ecode6)) {
9603 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9604 }
9605 arg6 = static_cast< long >(val6);
9606 }
9607 if (obj6) {
9608 {
9609 arg7 = wxString_in_helper(obj6);
9610 if (arg7 == NULL) SWIG_fail;
9611 temp7 = true;
9612 }
9613 }
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 {
9621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9622 }
9623 {
9624 if (temp7)
9625 delete arg7;
9626 }
9627 return resultobj;
9628 fail:
9629 {
9630 if (temp7)
9631 delete arg7;
9632 }
9633 return NULL;
9634 }
9635
9636
9637 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9638 PyObject *resultobj = 0;
9639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9640 wxWindow *result = 0 ;
9641 void *argp1 = 0 ;
9642 int res1 = 0 ;
9643 PyObject *swig_obj[1] ;
9644
9645 if (!args) SWIG_fail;
9646 swig_obj[0] = args;
9647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9648 if (!SWIG_IsOK(res1)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9650 }
9651 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 {
9659 resultobj = wxPyMake_wxObject(result, 0);
9660 }
9661 return resultobj;
9662 fail:
9663 return NULL;
9664 }
9665
9666
9667 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9668 PyObject *resultobj = 0;
9669 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9670 wxWindow *result = 0 ;
9671 void *argp1 = 0 ;
9672 int res1 = 0 ;
9673 PyObject *swig_obj[1] ;
9674
9675 if (!args) SWIG_fail;
9676 swig_obj[0] = args;
9677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9678 if (!SWIG_IsOK(res1)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9680 }
9681 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9685 wxPyEndAllowThreads(__tstate);
9686 if (PyErr_Occurred()) SWIG_fail;
9687 }
9688 {
9689 resultobj = wxPyMake_wxObject(result, 0);
9690 }
9691 return resultobj;
9692 fail:
9693 return NULL;
9694 }
9695
9696
9697 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9698 PyObject *resultobj = 0;
9699 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9700 int arg2 ;
9701 void *argp1 = 0 ;
9702 int res1 = 0 ;
9703 int val2 ;
9704 int ecode2 = 0 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 char * kwnames[] = {
9708 (char *) "self",(char *) "mode", NULL
9709 };
9710
9711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9713 if (!SWIG_IsOK(res1)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9715 }
9716 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9717 ecode2 = SWIG_AsVal_int(obj1, &val2);
9718 if (!SWIG_IsOK(ecode2)) {
9719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9720 }
9721 arg2 = static_cast< int >(val2);
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 (arg1)->SetSplitMode(arg2);
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 resultobj = SWIG_Py_Void();
9729 return resultobj;
9730 fail:
9731 return NULL;
9732 }
9733
9734
9735 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9736 PyObject *resultobj = 0;
9737 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9738 wxSplitMode result;
9739 void *argp1 = 0 ;
9740 int res1 = 0 ;
9741 PyObject *swig_obj[1] ;
9742
9743 if (!args) SWIG_fail;
9744 swig_obj[0] = args;
9745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9746 if (!SWIG_IsOK(res1)) {
9747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9748 }
9749 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 resultobj = SWIG_From_int(static_cast< int >(result));
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9764 PyObject *resultobj = 0;
9765 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9766 wxWindow *arg2 = (wxWindow *) 0 ;
9767 void *argp1 = 0 ;
9768 int res1 = 0 ;
9769 void *argp2 = 0 ;
9770 int res2 = 0 ;
9771 PyObject * obj0 = 0 ;
9772 PyObject * obj1 = 0 ;
9773 char * kwnames[] = {
9774 (char *) "self",(char *) "window", NULL
9775 };
9776
9777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9779 if (!SWIG_IsOK(res1)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9781 }
9782 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9784 if (!SWIG_IsOK(res2)) {
9785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9786 }
9787 arg2 = reinterpret_cast< wxWindow * >(argp2);
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 (arg1)->Initialize(arg2);
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 resultobj = SWIG_Py_Void();
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj = 0;
9803 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9804 wxWindow *arg2 = (wxWindow *) 0 ;
9805 wxWindow *arg3 = (wxWindow *) 0 ;
9806 int arg4 = (int) 0 ;
9807 bool result;
9808 void *argp1 = 0 ;
9809 int res1 = 0 ;
9810 void *argp2 = 0 ;
9811 int res2 = 0 ;
9812 void *argp3 = 0 ;
9813 int res3 = 0 ;
9814 int val4 ;
9815 int ecode4 = 0 ;
9816 PyObject * obj0 = 0 ;
9817 PyObject * obj1 = 0 ;
9818 PyObject * obj2 = 0 ;
9819 PyObject * obj3 = 0 ;
9820 char * kwnames[] = {
9821 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9822 };
9823
9824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9826 if (!SWIG_IsOK(res1)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9828 }
9829 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9830 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9831 if (!SWIG_IsOK(res2)) {
9832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9833 }
9834 arg2 = reinterpret_cast< wxWindow * >(argp2);
9835 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9836 if (!SWIG_IsOK(res3)) {
9837 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9838 }
9839 arg3 = reinterpret_cast< wxWindow * >(argp3);
9840 if (obj3) {
9841 ecode4 = SWIG_AsVal_int(obj3, &val4);
9842 if (!SWIG_IsOK(ecode4)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9844 }
9845 arg4 = static_cast< int >(val4);
9846 }
9847 {
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 {
9854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9855 }
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj = 0;
9864 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9865 wxWindow *arg2 = (wxWindow *) 0 ;
9866 wxWindow *arg3 = (wxWindow *) 0 ;
9867 int arg4 = (int) 0 ;
9868 bool result;
9869 void *argp1 = 0 ;
9870 int res1 = 0 ;
9871 void *argp2 = 0 ;
9872 int res2 = 0 ;
9873 void *argp3 = 0 ;
9874 int res3 = 0 ;
9875 int val4 ;
9876 int ecode4 = 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 PyObject * obj2 = 0 ;
9880 PyObject * obj3 = 0 ;
9881 char * kwnames[] = {
9882 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9883 };
9884
9885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9887 if (!SWIG_IsOK(res1)) {
9888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9889 }
9890 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9892 if (!SWIG_IsOK(res2)) {
9893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9894 }
9895 arg2 = reinterpret_cast< wxWindow * >(argp2);
9896 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res3)) {
9898 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9899 }
9900 arg3 = reinterpret_cast< wxWindow * >(argp3);
9901 if (obj3) {
9902 ecode4 = SWIG_AsVal_int(obj3, &val4);
9903 if (!SWIG_IsOK(ecode4)) {
9904 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9905 }
9906 arg4 = static_cast< int >(val4);
9907 }
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 {
9915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9916 }
9917 return resultobj;
9918 fail:
9919 return NULL;
9920 }
9921
9922
9923 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9924 PyObject *resultobj = 0;
9925 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9926 wxWindow *arg2 = (wxWindow *) NULL ;
9927 bool result;
9928 void *argp1 = 0 ;
9929 int res1 = 0 ;
9930 void *argp2 = 0 ;
9931 int res2 = 0 ;
9932 PyObject * obj0 = 0 ;
9933 PyObject * obj1 = 0 ;
9934 char * kwnames[] = {
9935 (char *) "self",(char *) "toRemove", NULL
9936 };
9937
9938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9940 if (!SWIG_IsOK(res1)) {
9941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9942 }
9943 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9944 if (obj1) {
9945 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9946 if (!SWIG_IsOK(res2)) {
9947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9948 }
9949 arg2 = reinterpret_cast< wxWindow * >(argp2);
9950 }
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 result = (bool)(arg1)->Unsplit(arg2);
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 {
9958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9959 }
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj = 0;
9968 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9969 wxWindow *arg2 = (wxWindow *) 0 ;
9970 wxWindow *arg3 = (wxWindow *) 0 ;
9971 bool result;
9972 void *argp1 = 0 ;
9973 int res1 = 0 ;
9974 void *argp2 = 0 ;
9975 int res2 = 0 ;
9976 void *argp3 = 0 ;
9977 int res3 = 0 ;
9978 PyObject * obj0 = 0 ;
9979 PyObject * obj1 = 0 ;
9980 PyObject * obj2 = 0 ;
9981 char * kwnames[] = {
9982 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9983 };
9984
9985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9987 if (!SWIG_IsOK(res1)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9989 }
9990 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9991 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9992 if (!SWIG_IsOK(res2)) {
9993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9994 }
9995 arg2 = reinterpret_cast< wxWindow * >(argp2);
9996 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9997 if (!SWIG_IsOK(res3)) {
9998 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9999 }
10000 arg3 = reinterpret_cast< wxWindow * >(argp3);
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 {
10008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10009 }
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10017 PyObject *resultobj = 0;
10018 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10019 void *argp1 = 0 ;
10020 int res1 = 0 ;
10021 PyObject *swig_obj[1] ;
10022
10023 if (!args) SWIG_fail;
10024 swig_obj[0] = args;
10025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 }
10029 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->UpdateSize();
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) SWIG_fail;
10035 }
10036 resultobj = SWIG_Py_Void();
10037 return resultobj;
10038 fail:
10039 return NULL;
10040 }
10041
10042
10043 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10044 PyObject *resultobj = 0;
10045 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10046 bool result;
10047 void *argp1 = 0 ;
10048 int res1 = 0 ;
10049 PyObject *swig_obj[1] ;
10050
10051 if (!args) SWIG_fail;
10052 swig_obj[0] = args;
10053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10054 if (!SWIG_IsOK(res1)) {
10055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10056 }
10057 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 {
10065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10066 }
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj = 0;
10075 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10076 int arg2 ;
10077 void *argp1 = 0 ;
10078 int res1 = 0 ;
10079 int val2 ;
10080 int ecode2 = 0 ;
10081 PyObject * obj0 = 0 ;
10082 PyObject * obj1 = 0 ;
10083 char * kwnames[] = {
10084 (char *) "self",(char *) "width", NULL
10085 };
10086
10087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10089 if (!SWIG_IsOK(res1)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10091 }
10092 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10093 ecode2 = SWIG_AsVal_int(obj1, &val2);
10094 if (!SWIG_IsOK(ecode2)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10096 }
10097 arg2 = static_cast< int >(val2);
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 (arg1)->SetSashSize(arg2);
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_Py_Void();
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj = 0;
10113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10114 int arg2 ;
10115 void *argp1 = 0 ;
10116 int res1 = 0 ;
10117 int val2 ;
10118 int ecode2 = 0 ;
10119 PyObject * obj0 = 0 ;
10120 PyObject * obj1 = 0 ;
10121 char * kwnames[] = {
10122 (char *) "self",(char *) "width", NULL
10123 };
10124
10125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10127 if (!SWIG_IsOK(res1)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10129 }
10130 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10131 ecode2 = SWIG_AsVal_int(obj1, &val2);
10132 if (!SWIG_IsOK(ecode2)) {
10133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10134 }
10135 arg2 = static_cast< int >(val2);
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 (arg1)->SetBorderSize(arg2);
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_Py_Void();
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10150 PyObject *resultobj = 0;
10151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10152 int result;
10153 void *argp1 = 0 ;
10154 int res1 = 0 ;
10155 PyObject *swig_obj[1] ;
10156
10157 if (!args) SWIG_fail;
10158 swig_obj[0] = args;
10159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10160 if (!SWIG_IsOK(res1)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10162 }
10163 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 resultobj = SWIG_From_int(static_cast< int >(result));
10171 return resultobj;
10172 fail:
10173 return NULL;
10174 }
10175
10176
10177 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10178 PyObject *resultobj = 0;
10179 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10180 int result;
10181 void *argp1 = 0 ;
10182 int res1 = 0 ;
10183 PyObject *swig_obj[1] ;
10184
10185 if (!args) SWIG_fail;
10186 swig_obj[0] = args;
10187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10188 if (!SWIG_IsOK(res1)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10190 }
10191 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 resultobj = SWIG_From_int(static_cast< int >(result));
10199 return resultobj;
10200 fail:
10201 return NULL;
10202 }
10203
10204
10205 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj = 0;
10207 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10208 int arg2 ;
10209 bool arg3 = (bool) true ;
10210 void *argp1 = 0 ;
10211 int res1 = 0 ;
10212 int val2 ;
10213 int ecode2 = 0 ;
10214 bool val3 ;
10215 int ecode3 = 0 ;
10216 PyObject * obj0 = 0 ;
10217 PyObject * obj1 = 0 ;
10218 PyObject * obj2 = 0 ;
10219 char * kwnames[] = {
10220 (char *) "self",(char *) "position",(char *) "redraw", NULL
10221 };
10222
10223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10225 if (!SWIG_IsOK(res1)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10227 }
10228 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10229 ecode2 = SWIG_AsVal_int(obj1, &val2);
10230 if (!SWIG_IsOK(ecode2)) {
10231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10232 }
10233 arg2 = static_cast< int >(val2);
10234 if (obj2) {
10235 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10236 if (!SWIG_IsOK(ecode3)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10238 }
10239 arg3 = static_cast< bool >(val3);
10240 }
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 (arg1)->SetSashPosition(arg2,arg3);
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 resultobj = SWIG_Py_Void();
10248 return resultobj;
10249 fail:
10250 return NULL;
10251 }
10252
10253
10254 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10255 PyObject *resultobj = 0;
10256 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10257 int result;
10258 void *argp1 = 0 ;
10259 int res1 = 0 ;
10260 PyObject *swig_obj[1] ;
10261
10262 if (!args) SWIG_fail;
10263 swig_obj[0] = args;
10264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10265 if (!SWIG_IsOK(res1)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10267 }
10268 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 resultobj = SWIG_From_int(static_cast< int >(result));
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj = 0;
10284 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10285 double arg2 ;
10286 void *argp1 = 0 ;
10287 int res1 = 0 ;
10288 double val2 ;
10289 int ecode2 = 0 ;
10290 PyObject * obj0 = 0 ;
10291 PyObject * obj1 = 0 ;
10292 char * kwnames[] = {
10293 (char *) "self",(char *) "gravity", NULL
10294 };
10295
10296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10298 if (!SWIG_IsOK(res1)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10300 }
10301 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10302 ecode2 = SWIG_AsVal_double(obj1, &val2);
10303 if (!SWIG_IsOK(ecode2)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10305 }
10306 arg2 = static_cast< double >(val2);
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->SetSashGravity(arg2);
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 resultobj = SWIG_Py_Void();
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10321 PyObject *resultobj = 0;
10322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10323 double result;
10324 void *argp1 = 0 ;
10325 int res1 = 0 ;
10326 PyObject *swig_obj[1] ;
10327
10328 if (!args) SWIG_fail;
10329 swig_obj[0] = args;
10330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10331 if (!SWIG_IsOK(res1)) {
10332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10333 }
10334 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = SWIG_From_double(static_cast< double >(result));
10342 return resultobj;
10343 fail:
10344 return NULL;
10345 }
10346
10347
10348 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj = 0;
10350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10351 int arg2 ;
10352 void *argp1 = 0 ;
10353 int res1 = 0 ;
10354 int val2 ;
10355 int ecode2 = 0 ;
10356 PyObject * obj0 = 0 ;
10357 PyObject * obj1 = 0 ;
10358 char * kwnames[] = {
10359 (char *) "self",(char *) "min", NULL
10360 };
10361
10362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10364 if (!SWIG_IsOK(res1)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10366 }
10367 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10368 ecode2 = SWIG_AsVal_int(obj1, &val2);
10369 if (!SWIG_IsOK(ecode2)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10371 }
10372 arg2 = static_cast< int >(val2);
10373 {
10374 PyThreadState* __tstate = wxPyBeginAllowThreads();
10375 (arg1)->SetMinimumPaneSize(arg2);
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 resultobj = SWIG_Py_Void();
10380 return resultobj;
10381 fail:
10382 return NULL;
10383 }
10384
10385
10386 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10387 PyObject *resultobj = 0;
10388 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10389 int result;
10390 void *argp1 = 0 ;
10391 int res1 = 0 ;
10392 PyObject *swig_obj[1] ;
10393
10394 if (!args) SWIG_fail;
10395 swig_obj[0] = args;
10396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10397 if (!SWIG_IsOK(res1)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10399 }
10400 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 resultobj = SWIG_From_int(static_cast< int >(result));
10408 return resultobj;
10409 fail:
10410 return NULL;
10411 }
10412
10413
10414 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj = 0;
10416 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10417 int arg2 ;
10418 int arg3 ;
10419 int arg4 = (int) 5 ;
10420 bool result;
10421 void *argp1 = 0 ;
10422 int res1 = 0 ;
10423 int val2 ;
10424 int ecode2 = 0 ;
10425 int val3 ;
10426 int ecode3 = 0 ;
10427 int val4 ;
10428 int ecode4 = 0 ;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 PyObject * obj2 = 0 ;
10432 PyObject * obj3 = 0 ;
10433 char * kwnames[] = {
10434 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10435 };
10436
10437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10439 if (!SWIG_IsOK(res1)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10441 }
10442 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10443 ecode2 = SWIG_AsVal_int(obj1, &val2);
10444 if (!SWIG_IsOK(ecode2)) {
10445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10446 }
10447 arg2 = static_cast< int >(val2);
10448 ecode3 = SWIG_AsVal_int(obj2, &val3);
10449 if (!SWIG_IsOK(ecode3)) {
10450 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10451 }
10452 arg3 = static_cast< int >(val3);
10453 if (obj3) {
10454 ecode4 = SWIG_AsVal_int(obj3, &val4);
10455 if (!SWIG_IsOK(ecode4)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10457 }
10458 arg4 = static_cast< int >(val4);
10459 }
10460 {
10461 PyThreadState* __tstate = wxPyBeginAllowThreads();
10462 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 {
10467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10476 PyObject *resultobj = 0;
10477 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10478 void *argp1 = 0 ;
10479 int res1 = 0 ;
10480 PyObject *swig_obj[1] ;
10481
10482 if (!args) SWIG_fail;
10483 swig_obj[0] = args;
10484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10485 if (!SWIG_IsOK(res1)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10487 }
10488 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 (arg1)->SizeWindows();
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 resultobj = SWIG_Py_Void();
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj = 0;
10504 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10505 bool arg2 ;
10506 void *argp1 = 0 ;
10507 int res1 = 0 ;
10508 bool val2 ;
10509 int ecode2 = 0 ;
10510 PyObject * obj0 = 0 ;
10511 PyObject * obj1 = 0 ;
10512 char * kwnames[] = {
10513 (char *) "self",(char *) "needUpdating", NULL
10514 };
10515
10516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10518 if (!SWIG_IsOK(res1)) {
10519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10520 }
10521 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10522 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10523 if (!SWIG_IsOK(ecode2)) {
10524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10525 }
10526 arg2 = static_cast< bool >(val2);
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 (arg1)->SetNeedUpdating(arg2);
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_Py_Void();
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10541 PyObject *resultobj = 0;
10542 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10543 bool result;
10544 void *argp1 = 0 ;
10545 int res1 = 0 ;
10546 PyObject *swig_obj[1] ;
10547
10548 if (!args) SWIG_fail;
10549 swig_obj[0] = args;
10550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10551 if (!SWIG_IsOK(res1)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10553 }
10554 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 {
10562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10563 }
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj = 0;
10572 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10573 SwigValueWrapper<wxVisualAttributes > result;
10574 int val1 ;
10575 int ecode1 = 0 ;
10576 PyObject * obj0 = 0 ;
10577 char * kwnames[] = {
10578 (char *) "variant", NULL
10579 };
10580
10581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10582 if (obj0) {
10583 ecode1 = SWIG_AsVal_int(obj0, &val1);
10584 if (!SWIG_IsOK(ecode1)) {
10585 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10586 }
10587 arg1 = static_cast< wxWindowVariant >(val1);
10588 }
10589 {
10590 if (!wxPyCheckForApp()) SWIG_fail;
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10604 PyObject *obj;
10605 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10606 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10607 return SWIG_Py_Void();
10608 }
10609
10610 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10611 return SWIG_Python_InitShadowInstance(args);
10612 }
10613
10614 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj = 0;
10616 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10617 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10618 wxSplitterEvent *result = 0 ;
10619 int val1 ;
10620 int ecode1 = 0 ;
10621 void *argp2 = 0 ;
10622 int res2 = 0 ;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 char * kwnames[] = {
10626 (char *) "type",(char *) "splitter", NULL
10627 };
10628
10629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10630 if (obj0) {
10631 ecode1 = SWIG_AsVal_int(obj0, &val1);
10632 if (!SWIG_IsOK(ecode1)) {
10633 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10634 }
10635 arg1 = static_cast< wxEventType >(val1);
10636 }
10637 if (obj1) {
10638 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10639 if (!SWIG_IsOK(res2)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10641 }
10642 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10643 }
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj = 0;
10659 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10660 int arg2 ;
10661 void *argp1 = 0 ;
10662 int res1 = 0 ;
10663 int val2 ;
10664 int ecode2 = 0 ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char * kwnames[] = {
10668 (char *) "self",(char *) "pos", NULL
10669 };
10670
10671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10673 if (!SWIG_IsOK(res1)) {
10674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10675 }
10676 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10677 ecode2 = SWIG_AsVal_int(obj1, &val2);
10678 if (!SWIG_IsOK(ecode2)) {
10679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10680 }
10681 arg2 = static_cast< int >(val2);
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->SetSashPosition(arg2);
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 resultobj = SWIG_Py_Void();
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10696 PyObject *resultobj = 0;
10697 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10698 int result;
10699 void *argp1 = 0 ;
10700 int res1 = 0 ;
10701 PyObject *swig_obj[1] ;
10702
10703 if (!args) SWIG_fail;
10704 swig_obj[0] = args;
10705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10706 if (!SWIG_IsOK(res1)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10708 }
10709 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = SWIG_From_int(static_cast< int >(result));
10717 return resultobj;
10718 fail:
10719 return NULL;
10720 }
10721
10722
10723 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10724 PyObject *resultobj = 0;
10725 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10726 wxWindow *result = 0 ;
10727 void *argp1 = 0 ;
10728 int res1 = 0 ;
10729 PyObject *swig_obj[1] ;
10730
10731 if (!args) SWIG_fail;
10732 swig_obj[0] = args;
10733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10734 if (!SWIG_IsOK(res1)) {
10735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10736 }
10737 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 {
10745 resultobj = wxPyMake_wxObject(result, 0);
10746 }
10747 return resultobj;
10748 fail:
10749 return NULL;
10750 }
10751
10752
10753 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10754 PyObject *resultobj = 0;
10755 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10756 int result;
10757 void *argp1 = 0 ;
10758 int res1 = 0 ;
10759 PyObject *swig_obj[1] ;
10760
10761 if (!args) SWIG_fail;
10762 swig_obj[0] = args;
10763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10764 if (!SWIG_IsOK(res1)) {
10765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10766 }
10767 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 resultobj = SWIG_From_int(static_cast< int >(result));
10775 return resultobj;
10776 fail:
10777 return NULL;
10778 }
10779
10780
10781 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10782 PyObject *resultobj = 0;
10783 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10784 int result;
10785 void *argp1 = 0 ;
10786 int res1 = 0 ;
10787 PyObject *swig_obj[1] ;
10788
10789 if (!args) SWIG_fail;
10790 swig_obj[0] = args;
10791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10792 if (!SWIG_IsOK(res1)) {
10793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10794 }
10795 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_From_int(static_cast< int >(result));
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10810 PyObject *obj;
10811 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10812 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10813 return SWIG_Py_Void();
10814 }
10815
10816 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10817 return SWIG_Python_InitShadowInstance(args);
10818 }
10819
10820 SWIGINTERN int SashNameStr_set(PyObject *) {
10821 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10822 return 1;
10823 }
10824
10825
10826 SWIGINTERN PyObject *SashNameStr_get(void) {
10827 PyObject *pyobj = 0;
10828
10829 {
10830 #if wxUSE_UNICODE
10831 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10832 #else
10833 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10834 #endif
10835 }
10836 return pyobj;
10837 }
10838
10839
10840 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10841 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10842 return 1;
10843 }
10844
10845
10846 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10847 PyObject *pyobj = 0;
10848
10849 {
10850 #if wxUSE_UNICODE
10851 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10852 #else
10853 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10854 #endif
10855 }
10856 return pyobj;
10857 }
10858
10859
10860 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10861 PyObject *resultobj = 0;
10862 wxWindow *arg1 = (wxWindow *) 0 ;
10863 int arg2 = (int) -1 ;
10864 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10865 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10866 wxSize const &arg4_defvalue = wxDefaultSize ;
10867 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10868 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10869 wxString const &arg6_defvalue = wxPySashNameStr ;
10870 wxString *arg6 = (wxString *) &arg6_defvalue ;
10871 wxSashWindow *result = 0 ;
10872 void *argp1 = 0 ;
10873 int res1 = 0 ;
10874 int val2 ;
10875 int ecode2 = 0 ;
10876 wxPoint temp3 ;
10877 wxSize temp4 ;
10878 long val5 ;
10879 int ecode5 = 0 ;
10880 bool temp6 = false ;
10881 PyObject * obj0 = 0 ;
10882 PyObject * obj1 = 0 ;
10883 PyObject * obj2 = 0 ;
10884 PyObject * obj3 = 0 ;
10885 PyObject * obj4 = 0 ;
10886 PyObject * obj5 = 0 ;
10887 char * kwnames[] = {
10888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10889 };
10890
10891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10893 if (!SWIG_IsOK(res1)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10895 }
10896 arg1 = reinterpret_cast< wxWindow * >(argp1);
10897 if (obj1) {
10898 ecode2 = SWIG_AsVal_int(obj1, &val2);
10899 if (!SWIG_IsOK(ecode2)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10901 }
10902 arg2 = static_cast< int >(val2);
10903 }
10904 if (obj2) {
10905 {
10906 arg3 = &temp3;
10907 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10908 }
10909 }
10910 if (obj3) {
10911 {
10912 arg4 = &temp4;
10913 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10914 }
10915 }
10916 if (obj4) {
10917 ecode5 = SWIG_AsVal_long(obj4, &val5);
10918 if (!SWIG_IsOK(ecode5)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10920 }
10921 arg5 = static_cast< long >(val5);
10922 }
10923 if (obj5) {
10924 {
10925 arg6 = wxString_in_helper(obj5);
10926 if (arg6 == NULL) SWIG_fail;
10927 temp6 = true;
10928 }
10929 }
10930 {
10931 if (!wxPyCheckForApp()) SWIG_fail;
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10938 {
10939 if (temp6)
10940 delete arg6;
10941 }
10942 return resultobj;
10943 fail:
10944 {
10945 if (temp6)
10946 delete arg6;
10947 }
10948 return NULL;
10949 }
10950
10951
10952 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10953 PyObject *resultobj = 0;
10954 wxSashWindow *result = 0 ;
10955
10956 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10957 {
10958 if (!wxPyCheckForApp()) SWIG_fail;
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (wxSashWindow *)new wxSashWindow();
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj = 0;
10973 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10974 wxWindow *arg2 = (wxWindow *) 0 ;
10975 int arg3 = (int) -1 ;
10976 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10977 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10978 wxSize const &arg5_defvalue = wxDefaultSize ;
10979 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10980 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10981 wxString const &arg7_defvalue = wxPySashNameStr ;
10982 wxString *arg7 = (wxString *) &arg7_defvalue ;
10983 bool result;
10984 void *argp1 = 0 ;
10985 int res1 = 0 ;
10986 void *argp2 = 0 ;
10987 int res2 = 0 ;
10988 int val3 ;
10989 int ecode3 = 0 ;
10990 wxPoint temp4 ;
10991 wxSize temp5 ;
10992 long val6 ;
10993 int ecode6 = 0 ;
10994 bool temp7 = false ;
10995 PyObject * obj0 = 0 ;
10996 PyObject * obj1 = 0 ;
10997 PyObject * obj2 = 0 ;
10998 PyObject * obj3 = 0 ;
10999 PyObject * obj4 = 0 ;
11000 PyObject * obj5 = 0 ;
11001 PyObject * obj6 = 0 ;
11002 char * kwnames[] = {
11003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11004 };
11005
11006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11008 if (!SWIG_IsOK(res1)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11010 }
11011 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11013 if (!SWIG_IsOK(res2)) {
11014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11015 }
11016 arg2 = reinterpret_cast< wxWindow * >(argp2);
11017 if (obj2) {
11018 ecode3 = SWIG_AsVal_int(obj2, &val3);
11019 if (!SWIG_IsOK(ecode3)) {
11020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11021 }
11022 arg3 = static_cast< int >(val3);
11023 }
11024 if (obj3) {
11025 {
11026 arg4 = &temp4;
11027 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11028 }
11029 }
11030 if (obj4) {
11031 {
11032 arg5 = &temp5;
11033 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11034 }
11035 }
11036 if (obj5) {
11037 ecode6 = SWIG_AsVal_long(obj5, &val6);
11038 if (!SWIG_IsOK(ecode6)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11040 }
11041 arg6 = static_cast< long >(val6);
11042 }
11043 if (obj6) {
11044 {
11045 arg7 = wxString_in_helper(obj6);
11046 if (arg7 == NULL) SWIG_fail;
11047 temp7 = true;
11048 }
11049 }
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 {
11057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11058 }
11059 {
11060 if (temp7)
11061 delete arg7;
11062 }
11063 return resultobj;
11064 fail:
11065 {
11066 if (temp7)
11067 delete arg7;
11068 }
11069 return NULL;
11070 }
11071
11072
11073 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj = 0;
11075 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11076 wxSashEdgePosition arg2 ;
11077 bool arg3 ;
11078 void *argp1 = 0 ;
11079 int res1 = 0 ;
11080 int val2 ;
11081 int ecode2 = 0 ;
11082 bool val3 ;
11083 int ecode3 = 0 ;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 PyObject * obj2 = 0 ;
11087 char * kwnames[] = {
11088 (char *) "self",(char *) "edge",(char *) "sash", NULL
11089 };
11090
11091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11093 if (!SWIG_IsOK(res1)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11095 }
11096 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11097 ecode2 = SWIG_AsVal_int(obj1, &val2);
11098 if (!SWIG_IsOK(ecode2)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11100 }
11101 arg2 = static_cast< wxSashEdgePosition >(val2);
11102 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11103 if (!SWIG_IsOK(ecode3)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11105 }
11106 arg3 = static_cast< bool >(val3);
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 (arg1)->SetSashVisible(arg2,arg3);
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_Py_Void();
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj = 0;
11122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11123 wxSashEdgePosition arg2 ;
11124 bool result;
11125 void *argp1 = 0 ;
11126 int res1 = 0 ;
11127 int val2 ;
11128 int ecode2 = 0 ;
11129 PyObject * obj0 = 0 ;
11130 PyObject * obj1 = 0 ;
11131 char * kwnames[] = {
11132 (char *) "self",(char *) "edge", NULL
11133 };
11134
11135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11137 if (!SWIG_IsOK(res1)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11139 }
11140 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11141 ecode2 = SWIG_AsVal_int(obj1, &val2);
11142 if (!SWIG_IsOK(ecode2)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11144 }
11145 arg2 = static_cast< wxSashEdgePosition >(val2);
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 {
11153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11154 }
11155 return resultobj;
11156 fail:
11157 return NULL;
11158 }
11159
11160
11161 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj = 0;
11163 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11164 wxSashEdgePosition arg2 ;
11165 bool arg3 ;
11166 void *argp1 = 0 ;
11167 int res1 = 0 ;
11168 int val2 ;
11169 int ecode2 = 0 ;
11170 bool val3 ;
11171 int ecode3 = 0 ;
11172 PyObject * obj0 = 0 ;
11173 PyObject * obj1 = 0 ;
11174 PyObject * obj2 = 0 ;
11175 char * kwnames[] = {
11176 (char *) "self",(char *) "edge",(char *) "border", NULL
11177 };
11178
11179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11181 if (!SWIG_IsOK(res1)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11183 }
11184 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11185 ecode2 = SWIG_AsVal_int(obj1, &val2);
11186 if (!SWIG_IsOK(ecode2)) {
11187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11188 }
11189 arg2 = static_cast< wxSashEdgePosition >(val2);
11190 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11191 if (!SWIG_IsOK(ecode3)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11193 }
11194 arg3 = static_cast< bool >(val3);
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 (arg1)->SetSashBorder(arg2,arg3);
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 resultobj = SWIG_Py_Void();
11202 return resultobj;
11203 fail:
11204 return NULL;
11205 }
11206
11207
11208 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj = 0;
11210 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11211 wxSashEdgePosition arg2 ;
11212 bool result;
11213 void *argp1 = 0 ;
11214 int res1 = 0 ;
11215 int val2 ;
11216 int ecode2 = 0 ;
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 char * kwnames[] = {
11220 (char *) "self",(char *) "edge", NULL
11221 };
11222
11223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11225 if (!SWIG_IsOK(res1)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11227 }
11228 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11229 ecode2 = SWIG_AsVal_int(obj1, &val2);
11230 if (!SWIG_IsOK(ecode2)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11232 }
11233 arg2 = static_cast< wxSashEdgePosition >(val2);
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 {
11241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11242 }
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj = 0;
11251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11252 wxSashEdgePosition arg2 ;
11253 int result;
11254 void *argp1 = 0 ;
11255 int res1 = 0 ;
11256 int val2 ;
11257 int ecode2 = 0 ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 char * kwnames[] = {
11261 (char *) "self",(char *) "edge", NULL
11262 };
11263
11264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11266 if (!SWIG_IsOK(res1)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11268 }
11269 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11270 ecode2 = SWIG_AsVal_int(obj1, &val2);
11271 if (!SWIG_IsOK(ecode2)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11273 }
11274 arg2 = static_cast< wxSashEdgePosition >(val2);
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 resultobj = SWIG_From_int(static_cast< int >(result));
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj = 0;
11290 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11291 int arg2 ;
11292 void *argp1 = 0 ;
11293 int res1 = 0 ;
11294 int val2 ;
11295 int ecode2 = 0 ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char * kwnames[] = {
11299 (char *) "self",(char *) "width", NULL
11300 };
11301
11302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11304 if (!SWIG_IsOK(res1)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11306 }
11307 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11308 ecode2 = SWIG_AsVal_int(obj1, &val2);
11309 if (!SWIG_IsOK(ecode2)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11311 }
11312 arg2 = static_cast< int >(val2);
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 (arg1)->SetDefaultBorderSize(arg2);
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 resultobj = SWIG_Py_Void();
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11327 PyObject *resultobj = 0;
11328 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11329 int result;
11330 void *argp1 = 0 ;
11331 int res1 = 0 ;
11332 PyObject *swig_obj[1] ;
11333
11334 if (!args) SWIG_fail;
11335 swig_obj[0] = args;
11336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11337 if (!SWIG_IsOK(res1)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 }
11340 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 resultobj = SWIG_From_int(static_cast< int >(result));
11348 return resultobj;
11349 fail:
11350 return NULL;
11351 }
11352
11353
11354 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj = 0;
11356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11357 int arg2 ;
11358 void *argp1 = 0 ;
11359 int res1 = 0 ;
11360 int val2 ;
11361 int ecode2 = 0 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char * kwnames[] = {
11365 (char *) "self",(char *) "width", NULL
11366 };
11367
11368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11370 if (!SWIG_IsOK(res1)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 }
11373 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11374 ecode2 = SWIG_AsVal_int(obj1, &val2);
11375 if (!SWIG_IsOK(ecode2)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11377 }
11378 arg2 = static_cast< int >(val2);
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 (arg1)->SetExtraBorderSize(arg2);
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 resultobj = SWIG_Py_Void();
11386 return resultobj;
11387 fail:
11388 return NULL;
11389 }
11390
11391
11392 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11393 PyObject *resultobj = 0;
11394 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11395 int result;
11396 void *argp1 = 0 ;
11397 int res1 = 0 ;
11398 PyObject *swig_obj[1] ;
11399
11400 if (!args) SWIG_fail;
11401 swig_obj[0] = args;
11402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11403 if (!SWIG_IsOK(res1)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11405 }
11406 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = SWIG_From_int(static_cast< int >(result));
11414 return resultobj;
11415 fail:
11416 return NULL;
11417 }
11418
11419
11420 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11421 PyObject *resultobj = 0;
11422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11423 int arg2 ;
11424 void *argp1 = 0 ;
11425 int res1 = 0 ;
11426 int val2 ;
11427 int ecode2 = 0 ;
11428 PyObject * obj0 = 0 ;
11429 PyObject * obj1 = 0 ;
11430 char * kwnames[] = {
11431 (char *) "self",(char *) "min", NULL
11432 };
11433
11434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11436 if (!SWIG_IsOK(res1)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11438 }
11439 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11440 ecode2 = SWIG_AsVal_int(obj1, &val2);
11441 if (!SWIG_IsOK(ecode2)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11443 }
11444 arg2 = static_cast< int >(val2);
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 (arg1)->SetMinimumSizeX(arg2);
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = SWIG_Py_Void();
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11459 PyObject *resultobj = 0;
11460 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11461 int arg2 ;
11462 void *argp1 = 0 ;
11463 int res1 = 0 ;
11464 int val2 ;
11465 int ecode2 = 0 ;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468 char * kwnames[] = {
11469 (char *) "self",(char *) "min", NULL
11470 };
11471
11472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11474 if (!SWIG_IsOK(res1)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11476 }
11477 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11478 ecode2 = SWIG_AsVal_int(obj1, &val2);
11479 if (!SWIG_IsOK(ecode2)) {
11480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11481 }
11482 arg2 = static_cast< int >(val2);
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 (arg1)->SetMinimumSizeY(arg2);
11486 wxPyEndAllowThreads(__tstate);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 resultobj = SWIG_Py_Void();
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11497 PyObject *resultobj = 0;
11498 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11499 int result;
11500 void *argp1 = 0 ;
11501 int res1 = 0 ;
11502 PyObject *swig_obj[1] ;
11503
11504 if (!args) SWIG_fail;
11505 swig_obj[0] = args;
11506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11507 if (!SWIG_IsOK(res1)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11509 }
11510 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = SWIG_From_int(static_cast< int >(result));
11518 return resultobj;
11519 fail:
11520 return NULL;
11521 }
11522
11523
11524 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11525 PyObject *resultobj = 0;
11526 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11527 int result;
11528 void *argp1 = 0 ;
11529 int res1 = 0 ;
11530 PyObject *swig_obj[1] ;
11531
11532 if (!args) SWIG_fail;
11533 swig_obj[0] = args;
11534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11535 if (!SWIG_IsOK(res1)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11537 }
11538 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 resultobj = SWIG_From_int(static_cast< int >(result));
11546 return resultobj;
11547 fail:
11548 return NULL;
11549 }
11550
11551
11552 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj = 0;
11554 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11555 int arg2 ;
11556 void *argp1 = 0 ;
11557 int res1 = 0 ;
11558 int val2 ;
11559 int ecode2 = 0 ;
11560 PyObject * obj0 = 0 ;
11561 PyObject * obj1 = 0 ;
11562 char * kwnames[] = {
11563 (char *) "self",(char *) "max", NULL
11564 };
11565
11566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11568 if (!SWIG_IsOK(res1)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11570 }
11571 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11572 ecode2 = SWIG_AsVal_int(obj1, &val2);
11573 if (!SWIG_IsOK(ecode2)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11575 }
11576 arg2 = static_cast< int >(val2);
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->SetMaximumSizeX(arg2);
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_Py_Void();
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11591 PyObject *resultobj = 0;
11592 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11593 int arg2 ;
11594 void *argp1 = 0 ;
11595 int res1 = 0 ;
11596 int val2 ;
11597 int ecode2 = 0 ;
11598 PyObject * obj0 = 0 ;
11599 PyObject * obj1 = 0 ;
11600 char * kwnames[] = {
11601 (char *) "self",(char *) "max", NULL
11602 };
11603
11604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11606 if (!SWIG_IsOK(res1)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11608 }
11609 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11610 ecode2 = SWIG_AsVal_int(obj1, &val2);
11611 if (!SWIG_IsOK(ecode2)) {
11612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11613 }
11614 arg2 = static_cast< int >(val2);
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetMaximumSizeY(arg2);
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 resultobj = SWIG_Py_Void();
11622 return resultobj;
11623 fail:
11624 return NULL;
11625 }
11626
11627
11628 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11629 PyObject *resultobj = 0;
11630 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11631 int result;
11632 void *argp1 = 0 ;
11633 int res1 = 0 ;
11634 PyObject *swig_obj[1] ;
11635
11636 if (!args) SWIG_fail;
11637 swig_obj[0] = args;
11638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11639 if (!SWIG_IsOK(res1)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11641 }
11642 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11643 {
11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
11645 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 resultobj = SWIG_From_int(static_cast< int >(result));
11650 return resultobj;
11651 fail:
11652 return NULL;
11653 }
11654
11655
11656 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11657 PyObject *resultobj = 0;
11658 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11659 int result;
11660 void *argp1 = 0 ;
11661 int res1 = 0 ;
11662 PyObject *swig_obj[1] ;
11663
11664 if (!args) SWIG_fail;
11665 swig_obj[0] = args;
11666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11667 if (!SWIG_IsOK(res1)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11669 }
11670 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 resultobj = SWIG_From_int(static_cast< int >(result));
11678 return resultobj;
11679 fail:
11680 return NULL;
11681 }
11682
11683
11684 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj = 0;
11686 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11687 int arg2 ;
11688 int arg3 ;
11689 int arg4 = (int) 2 ;
11690 wxSashEdgePosition result;
11691 void *argp1 = 0 ;
11692 int res1 = 0 ;
11693 int val2 ;
11694 int ecode2 = 0 ;
11695 int val3 ;
11696 int ecode3 = 0 ;
11697 int val4 ;
11698 int ecode4 = 0 ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 PyObject * obj2 = 0 ;
11702 PyObject * obj3 = 0 ;
11703 char * kwnames[] = {
11704 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11705 };
11706
11707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11709 if (!SWIG_IsOK(res1)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11711 }
11712 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11713 ecode2 = SWIG_AsVal_int(obj1, &val2);
11714 if (!SWIG_IsOK(ecode2)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11716 }
11717 arg2 = static_cast< int >(val2);
11718 ecode3 = SWIG_AsVal_int(obj2, &val3);
11719 if (!SWIG_IsOK(ecode3)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11721 }
11722 arg3 = static_cast< int >(val3);
11723 if (obj3) {
11724 ecode4 = SWIG_AsVal_int(obj3, &val4);
11725 if (!SWIG_IsOK(ecode4)) {
11726 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11727 }
11728 arg4 = static_cast< int >(val4);
11729 }
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 resultobj = SWIG_From_int(static_cast< int >(result));
11737 return resultobj;
11738 fail:
11739 return NULL;
11740 }
11741
11742
11743 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11744 PyObject *resultobj = 0;
11745 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11746 void *argp1 = 0 ;
11747 int res1 = 0 ;
11748 PyObject *swig_obj[1] ;
11749
11750 if (!args) SWIG_fail;
11751 swig_obj[0] = args;
11752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11753 if (!SWIG_IsOK(res1)) {
11754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11755 }
11756 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 (arg1)->SizeWindows();
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 resultobj = SWIG_Py_Void();
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11771 PyObject *obj;
11772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11773 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11774 return SWIG_Py_Void();
11775 }
11776
11777 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11778 return SWIG_Python_InitShadowInstance(args);
11779 }
11780
11781 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj = 0;
11783 int arg1 = (int) 0 ;
11784 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11785 wxSashEvent *result = 0 ;
11786 int val1 ;
11787 int ecode1 = 0 ;
11788 int val2 ;
11789 int ecode2 = 0 ;
11790 PyObject * obj0 = 0 ;
11791 PyObject * obj1 = 0 ;
11792 char * kwnames[] = {
11793 (char *) "id",(char *) "edge", NULL
11794 };
11795
11796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11797 if (obj0) {
11798 ecode1 = SWIG_AsVal_int(obj0, &val1);
11799 if (!SWIG_IsOK(ecode1)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11801 }
11802 arg1 = static_cast< int >(val1);
11803 }
11804 if (obj1) {
11805 ecode2 = SWIG_AsVal_int(obj1, &val2);
11806 if (!SWIG_IsOK(ecode2)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11808 }
11809 arg2 = static_cast< wxSashEdgePosition >(val2);
11810 }
11811 {
11812 PyThreadState* __tstate = wxPyBeginAllowThreads();
11813 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11818 return resultobj;
11819 fail:
11820 return NULL;
11821 }
11822
11823
11824 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj = 0;
11826 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11827 wxSashEdgePosition arg2 ;
11828 void *argp1 = 0 ;
11829 int res1 = 0 ;
11830 int val2 ;
11831 int ecode2 = 0 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char * kwnames[] = {
11835 (char *) "self",(char *) "edge", NULL
11836 };
11837
11838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11840 if (!SWIG_IsOK(res1)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11842 }
11843 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11844 ecode2 = SWIG_AsVal_int(obj1, &val2);
11845 if (!SWIG_IsOK(ecode2)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11847 }
11848 arg2 = static_cast< wxSashEdgePosition >(val2);
11849 {
11850 PyThreadState* __tstate = wxPyBeginAllowThreads();
11851 (arg1)->SetEdge(arg2);
11852 wxPyEndAllowThreads(__tstate);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 resultobj = SWIG_Py_Void();
11856 return resultobj;
11857 fail:
11858 return NULL;
11859 }
11860
11861
11862 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11863 PyObject *resultobj = 0;
11864 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11865 wxSashEdgePosition result;
11866 void *argp1 = 0 ;
11867 int res1 = 0 ;
11868 PyObject *swig_obj[1] ;
11869
11870 if (!args) SWIG_fail;
11871 swig_obj[0] = args;
11872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11873 if (!SWIG_IsOK(res1)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11875 }
11876 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = SWIG_From_int(static_cast< int >(result));
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj = 0;
11892 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11893 wxRect *arg2 = 0 ;
11894 void *argp1 = 0 ;
11895 int res1 = 0 ;
11896 wxRect temp2 ;
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj1 = 0 ;
11899 char * kwnames[] = {
11900 (char *) "self",(char *) "rect", NULL
11901 };
11902
11903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11907 }
11908 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11909 {
11910 arg2 = &temp2;
11911 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11912 }
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 (arg1)->SetDragRect((wxRect const &)*arg2);
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 resultobj = SWIG_Py_Void();
11920 return resultobj;
11921 fail:
11922 return NULL;
11923 }
11924
11925
11926 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11927 PyObject *resultobj = 0;
11928 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11929 wxRect result;
11930 void *argp1 = 0 ;
11931 int res1 = 0 ;
11932 PyObject *swig_obj[1] ;
11933
11934 if (!args) SWIG_fail;
11935 swig_obj[0] = args;
11936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11939 }
11940 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = ((wxSashEvent const *)arg1)->GetDragRect();
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj = 0;
11956 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11957 wxSashDragStatus arg2 ;
11958 void *argp1 = 0 ;
11959 int res1 = 0 ;
11960 int val2 ;
11961 int ecode2 = 0 ;
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
11964 char * kwnames[] = {
11965 (char *) "self",(char *) "status", NULL
11966 };
11967
11968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11972 }
11973 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11974 ecode2 = SWIG_AsVal_int(obj1, &val2);
11975 if (!SWIG_IsOK(ecode2)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11977 }
11978 arg2 = static_cast< wxSashDragStatus >(val2);
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 (arg1)->SetDragStatus(arg2);
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 resultobj = SWIG_Py_Void();
11986 return resultobj;
11987 fail:
11988 return NULL;
11989 }
11990
11991
11992 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11993 PyObject *resultobj = 0;
11994 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11995 wxSashDragStatus result;
11996 void *argp1 = 0 ;
11997 int res1 = 0 ;
11998 PyObject *swig_obj[1] ;
11999
12000 if (!args) SWIG_fail;
12001 swig_obj[0] = args;
12002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12005 }
12006 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 resultobj = SWIG_From_int(static_cast< int >(result));
12014 return resultobj;
12015 fail:
12016 return NULL;
12017 }
12018
12019
12020 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12021 PyObject *obj;
12022 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12023 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12024 return SWIG_Py_Void();
12025 }
12026
12027 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12028 return SWIG_Python_InitShadowInstance(args);
12029 }
12030
12031 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj = 0;
12033 int arg1 = (int) 0 ;
12034 wxQueryLayoutInfoEvent *result = 0 ;
12035 int val1 ;
12036 int ecode1 = 0 ;
12037 PyObject * obj0 = 0 ;
12038 char * kwnames[] = {
12039 (char *) "id", NULL
12040 };
12041
12042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12043 if (obj0) {
12044 ecode1 = SWIG_AsVal_int(obj0, &val1);
12045 if (!SWIG_IsOK(ecode1)) {
12046 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12047 }
12048 arg1 = static_cast< int >(val1);
12049 }
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj = 0;
12065 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12066 int arg2 ;
12067 void *argp1 = 0 ;
12068 int res1 = 0 ;
12069 int val2 ;
12070 int ecode2 = 0 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 char * kwnames[] = {
12074 (char *) "self",(char *) "length", NULL
12075 };
12076
12077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12079 if (!SWIG_IsOK(res1)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12081 }
12082 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12083 ecode2 = SWIG_AsVal_int(obj1, &val2);
12084 if (!SWIG_IsOK(ecode2)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12086 }
12087 arg2 = static_cast< int >(val2);
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 (arg1)->SetRequestedLength(arg2);
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 resultobj = SWIG_Py_Void();
12095 return resultobj;
12096 fail:
12097 return NULL;
12098 }
12099
12100
12101 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12102 PyObject *resultobj = 0;
12103 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12104 int result;
12105 void *argp1 = 0 ;
12106 int res1 = 0 ;
12107 PyObject *swig_obj[1] ;
12108
12109 if (!args) SWIG_fail;
12110 swig_obj[0] = args;
12111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12112 if (!SWIG_IsOK(res1)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12114 }
12115 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = SWIG_From_int(static_cast< int >(result));
12123 return resultobj;
12124 fail:
12125 return NULL;
12126 }
12127
12128
12129 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj = 0;
12131 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12132 int arg2 ;
12133 void *argp1 = 0 ;
12134 int res1 = 0 ;
12135 int val2 ;
12136 int ecode2 = 0 ;
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char * kwnames[] = {
12140 (char *) "self",(char *) "flags", NULL
12141 };
12142
12143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12145 if (!SWIG_IsOK(res1)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12147 }
12148 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12149 ecode2 = SWIG_AsVal_int(obj1, &val2);
12150 if (!SWIG_IsOK(ecode2)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12152 }
12153 arg2 = static_cast< int >(val2);
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 (arg1)->SetFlags(arg2);
12157 wxPyEndAllowThreads(__tstate);
12158 if (PyErr_Occurred()) SWIG_fail;
12159 }
12160 resultobj = SWIG_Py_Void();
12161 return resultobj;
12162 fail:
12163 return NULL;
12164 }
12165
12166
12167 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12168 PyObject *resultobj = 0;
12169 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12170 int result;
12171 void *argp1 = 0 ;
12172 int res1 = 0 ;
12173 PyObject *swig_obj[1] ;
12174
12175 if (!args) SWIG_fail;
12176 swig_obj[0] = args;
12177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12178 if (!SWIG_IsOK(res1)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12180 }
12181 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 resultobj = SWIG_From_int(static_cast< int >(result));
12189 return resultobj;
12190 fail:
12191 return NULL;
12192 }
12193
12194
12195 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj = 0;
12197 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12198 wxSize *arg2 = 0 ;
12199 void *argp1 = 0 ;
12200 int res1 = 0 ;
12201 wxSize temp2 ;
12202 PyObject * obj0 = 0 ;
12203 PyObject * obj1 = 0 ;
12204 char * kwnames[] = {
12205 (char *) "self",(char *) "size", NULL
12206 };
12207
12208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12212 }
12213 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12214 {
12215 arg2 = &temp2;
12216 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12217 }
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->SetSize((wxSize const &)*arg2);
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = SWIG_Py_Void();
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12232 PyObject *resultobj = 0;
12233 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12234 wxSize result;
12235 void *argp1 = 0 ;
12236 int res1 = 0 ;
12237 PyObject *swig_obj[1] ;
12238
12239 if (!args) SWIG_fail;
12240 swig_obj[0] = args;
12241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12242 if (!SWIG_IsOK(res1)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12244 }
12245 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12253 return resultobj;
12254 fail:
12255 return NULL;
12256 }
12257
12258
12259 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj = 0;
12261 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12262 wxLayoutOrientation arg2 ;
12263 void *argp1 = 0 ;
12264 int res1 = 0 ;
12265 int val2 ;
12266 int ecode2 = 0 ;
12267 PyObject * obj0 = 0 ;
12268 PyObject * obj1 = 0 ;
12269 char * kwnames[] = {
12270 (char *) "self",(char *) "orient", NULL
12271 };
12272
12273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12277 }
12278 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12279 ecode2 = SWIG_AsVal_int(obj1, &val2);
12280 if (!SWIG_IsOK(ecode2)) {
12281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12282 }
12283 arg2 = static_cast< wxLayoutOrientation >(val2);
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 (arg1)->SetOrientation(arg2);
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 resultobj = SWIG_Py_Void();
12291 return resultobj;
12292 fail:
12293 return NULL;
12294 }
12295
12296
12297 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12298 PyObject *resultobj = 0;
12299 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12300 wxLayoutOrientation result;
12301 void *argp1 = 0 ;
12302 int res1 = 0 ;
12303 PyObject *swig_obj[1] ;
12304
12305 if (!args) SWIG_fail;
12306 swig_obj[0] = args;
12307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12308 if (!SWIG_IsOK(res1)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12310 }
12311 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 resultobj = SWIG_From_int(static_cast< int >(result));
12319 return resultobj;
12320 fail:
12321 return NULL;
12322 }
12323
12324
12325 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj = 0;
12327 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12328 wxLayoutAlignment arg2 ;
12329 void *argp1 = 0 ;
12330 int res1 = 0 ;
12331 int val2 ;
12332 int ecode2 = 0 ;
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj1 = 0 ;
12335 char * kwnames[] = {
12336 (char *) "self",(char *) "align", NULL
12337 };
12338
12339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12341 if (!SWIG_IsOK(res1)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12343 }
12344 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12345 ecode2 = SWIG_AsVal_int(obj1, &val2);
12346 if (!SWIG_IsOK(ecode2)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12348 }
12349 arg2 = static_cast< wxLayoutAlignment >(val2);
12350 {
12351 PyThreadState* __tstate = wxPyBeginAllowThreads();
12352 (arg1)->SetAlignment(arg2);
12353 wxPyEndAllowThreads(__tstate);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
12356 resultobj = SWIG_Py_Void();
12357 return resultobj;
12358 fail:
12359 return NULL;
12360 }
12361
12362
12363 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12364 PyObject *resultobj = 0;
12365 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12366 wxLayoutAlignment result;
12367 void *argp1 = 0 ;
12368 int res1 = 0 ;
12369 PyObject *swig_obj[1] ;
12370
12371 if (!args) SWIG_fail;
12372 swig_obj[0] = args;
12373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12374 if (!SWIG_IsOK(res1)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12376 }
12377 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12381 wxPyEndAllowThreads(__tstate);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 resultobj = SWIG_From_int(static_cast< int >(result));
12385 return resultobj;
12386 fail:
12387 return NULL;
12388 }
12389
12390
12391 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12392 PyObject *obj;
12393 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12394 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12395 return SWIG_Py_Void();
12396 }
12397
12398 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12399 return SWIG_Python_InitShadowInstance(args);
12400 }
12401
12402 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj = 0;
12404 int arg1 = (int) 0 ;
12405 wxCalculateLayoutEvent *result = 0 ;
12406 int val1 ;
12407 int ecode1 = 0 ;
12408 PyObject * obj0 = 0 ;
12409 char * kwnames[] = {
12410 (char *) "id", NULL
12411 };
12412
12413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12414 if (obj0) {
12415 ecode1 = SWIG_AsVal_int(obj0, &val1);
12416 if (!SWIG_IsOK(ecode1)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12418 }
12419 arg1 = static_cast< int >(val1);
12420 }
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12428 return resultobj;
12429 fail:
12430 return NULL;
12431 }
12432
12433
12434 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj = 0;
12436 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12437 int arg2 ;
12438 void *argp1 = 0 ;
12439 int res1 = 0 ;
12440 int val2 ;
12441 int ecode2 = 0 ;
12442 PyObject * obj0 = 0 ;
12443 PyObject * obj1 = 0 ;
12444 char * kwnames[] = {
12445 (char *) "self",(char *) "flags", NULL
12446 };
12447
12448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12452 }
12453 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12454 ecode2 = SWIG_AsVal_int(obj1, &val2);
12455 if (!SWIG_IsOK(ecode2)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12457 }
12458 arg2 = static_cast< int >(val2);
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 (arg1)->SetFlags(arg2);
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 resultobj = SWIG_Py_Void();
12466 return resultobj;
12467 fail:
12468 return NULL;
12469 }
12470
12471
12472 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12473 PyObject *resultobj = 0;
12474 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12475 int result;
12476 void *argp1 = 0 ;
12477 int res1 = 0 ;
12478 PyObject *swig_obj[1] ;
12479
12480 if (!args) SWIG_fail;
12481 swig_obj[0] = args;
12482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12483 if (!SWIG_IsOK(res1)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12485 }
12486 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = SWIG_From_int(static_cast< int >(result));
12494 return resultobj;
12495 fail:
12496 return NULL;
12497 }
12498
12499
12500 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj = 0;
12502 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12503 wxRect *arg2 = 0 ;
12504 void *argp1 = 0 ;
12505 int res1 = 0 ;
12506 wxRect temp2 ;
12507 PyObject * obj0 = 0 ;
12508 PyObject * obj1 = 0 ;
12509 char * kwnames[] = {
12510 (char *) "self",(char *) "rect", NULL
12511 };
12512
12513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12515 if (!SWIG_IsOK(res1)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12517 }
12518 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12519 {
12520 arg2 = &temp2;
12521 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12522 }
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->SetRect((wxRect const &)*arg2);
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 resultobj = SWIG_Py_Void();
12530 return resultobj;
12531 fail:
12532 return NULL;
12533 }
12534
12535
12536 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12537 PyObject *resultobj = 0;
12538 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12539 wxRect result;
12540 void *argp1 = 0 ;
12541 int res1 = 0 ;
12542 PyObject *swig_obj[1] ;
12543
12544 if (!args) SWIG_fail;
12545 swig_obj[0] = args;
12546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12547 if (!SWIG_IsOK(res1)) {
12548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12549 }
12550 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12558 return resultobj;
12559 fail:
12560 return NULL;
12561 }
12562
12563
12564 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12565 PyObject *obj;
12566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12567 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12568 return SWIG_Py_Void();
12569 }
12570
12571 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12572 return SWIG_Python_InitShadowInstance(args);
12573 }
12574
12575 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj = 0;
12577 wxWindow *arg1 = (wxWindow *) 0 ;
12578 int arg2 = (int) -1 ;
12579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12581 wxSize const &arg4_defvalue = wxDefaultSize ;
12582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12583 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12584 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12585 wxString *arg6 = (wxString *) &arg6_defvalue ;
12586 wxSashLayoutWindow *result = 0 ;
12587 void *argp1 = 0 ;
12588 int res1 = 0 ;
12589 int val2 ;
12590 int ecode2 = 0 ;
12591 wxPoint temp3 ;
12592 wxSize temp4 ;
12593 long val5 ;
12594 int ecode5 = 0 ;
12595 bool temp6 = false ;
12596 PyObject * obj0 = 0 ;
12597 PyObject * obj1 = 0 ;
12598 PyObject * obj2 = 0 ;
12599 PyObject * obj3 = 0 ;
12600 PyObject * obj4 = 0 ;
12601 PyObject * obj5 = 0 ;
12602 char * kwnames[] = {
12603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12604 };
12605
12606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12608 if (!SWIG_IsOK(res1)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12610 }
12611 arg1 = reinterpret_cast< wxWindow * >(argp1);
12612 if (obj1) {
12613 ecode2 = SWIG_AsVal_int(obj1, &val2);
12614 if (!SWIG_IsOK(ecode2)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12616 }
12617 arg2 = static_cast< int >(val2);
12618 }
12619 if (obj2) {
12620 {
12621 arg3 = &temp3;
12622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12623 }
12624 }
12625 if (obj3) {
12626 {
12627 arg4 = &temp4;
12628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12629 }
12630 }
12631 if (obj4) {
12632 ecode5 = SWIG_AsVal_long(obj4, &val5);
12633 if (!SWIG_IsOK(ecode5)) {
12634 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12635 }
12636 arg5 = static_cast< long >(val5);
12637 }
12638 if (obj5) {
12639 {
12640 arg6 = wxString_in_helper(obj5);
12641 if (arg6 == NULL) SWIG_fail;
12642 temp6 = true;
12643 }
12644 }
12645 {
12646 if (!wxPyCheckForApp()) SWIG_fail;
12647 PyThreadState* __tstate = wxPyBeginAllowThreads();
12648 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12653 {
12654 if (temp6)
12655 delete arg6;
12656 }
12657 return resultobj;
12658 fail:
12659 {
12660 if (temp6)
12661 delete arg6;
12662 }
12663 return NULL;
12664 }
12665
12666
12667 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12668 PyObject *resultobj = 0;
12669 wxSashLayoutWindow *result = 0 ;
12670
12671 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12672 {
12673 if (!wxPyCheckForApp()) SWIG_fail;
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12680 return resultobj;
12681 fail:
12682 return NULL;
12683 }
12684
12685
12686 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj = 0;
12688 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12689 wxWindow *arg2 = (wxWindow *) 0 ;
12690 int arg3 = (int) -1 ;
12691 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12692 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12693 wxSize const &arg5_defvalue = wxDefaultSize ;
12694 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12695 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12696 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12697 wxString *arg7 = (wxString *) &arg7_defvalue ;
12698 bool result;
12699 void *argp1 = 0 ;
12700 int res1 = 0 ;
12701 void *argp2 = 0 ;
12702 int res2 = 0 ;
12703 int val3 ;
12704 int ecode3 = 0 ;
12705 wxPoint temp4 ;
12706 wxSize temp5 ;
12707 long val6 ;
12708 int ecode6 = 0 ;
12709 bool temp7 = false ;
12710 PyObject * obj0 = 0 ;
12711 PyObject * obj1 = 0 ;
12712 PyObject * obj2 = 0 ;
12713 PyObject * obj3 = 0 ;
12714 PyObject * obj4 = 0 ;
12715 PyObject * obj5 = 0 ;
12716 PyObject * obj6 = 0 ;
12717 char * kwnames[] = {
12718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12719 };
12720
12721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12723 if (!SWIG_IsOK(res1)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12725 }
12726 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12728 if (!SWIG_IsOK(res2)) {
12729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12730 }
12731 arg2 = reinterpret_cast< wxWindow * >(argp2);
12732 if (obj2) {
12733 ecode3 = SWIG_AsVal_int(obj2, &val3);
12734 if (!SWIG_IsOK(ecode3)) {
12735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12736 }
12737 arg3 = static_cast< int >(val3);
12738 }
12739 if (obj3) {
12740 {
12741 arg4 = &temp4;
12742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12743 }
12744 }
12745 if (obj4) {
12746 {
12747 arg5 = &temp5;
12748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12749 }
12750 }
12751 if (obj5) {
12752 ecode6 = SWIG_AsVal_long(obj5, &val6);
12753 if (!SWIG_IsOK(ecode6)) {
12754 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12755 }
12756 arg6 = static_cast< long >(val6);
12757 }
12758 if (obj6) {
12759 {
12760 arg7 = wxString_in_helper(obj6);
12761 if (arg7 == NULL) SWIG_fail;
12762 temp7 = true;
12763 }
12764 }
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 {
12772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12773 }
12774 {
12775 if (temp7)
12776 delete arg7;
12777 }
12778 return resultobj;
12779 fail:
12780 {
12781 if (temp7)
12782 delete arg7;
12783 }
12784 return NULL;
12785 }
12786
12787
12788 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12789 PyObject *resultobj = 0;
12790 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12791 wxLayoutAlignment result;
12792 void *argp1 = 0 ;
12793 int res1 = 0 ;
12794 PyObject *swig_obj[1] ;
12795
12796 if (!args) SWIG_fail;
12797 swig_obj[0] = args;
12798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12799 if (!SWIG_IsOK(res1)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12801 }
12802 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 resultobj = SWIG_From_int(static_cast< int >(result));
12810 return resultobj;
12811 fail:
12812 return NULL;
12813 }
12814
12815
12816 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12817 PyObject *resultobj = 0;
12818 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12819 wxLayoutOrientation result;
12820 void *argp1 = 0 ;
12821 int res1 = 0 ;
12822 PyObject *swig_obj[1] ;
12823
12824 if (!args) SWIG_fail;
12825 swig_obj[0] = args;
12826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12827 if (!SWIG_IsOK(res1)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12829 }
12830 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 resultobj = SWIG_From_int(static_cast< int >(result));
12838 return resultobj;
12839 fail:
12840 return NULL;
12841 }
12842
12843
12844 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj = 0;
12846 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12847 wxLayoutAlignment arg2 ;
12848 void *argp1 = 0 ;
12849 int res1 = 0 ;
12850 int val2 ;
12851 int ecode2 = 0 ;
12852 PyObject * obj0 = 0 ;
12853 PyObject * obj1 = 0 ;
12854 char * kwnames[] = {
12855 (char *) "self",(char *) "alignment", NULL
12856 };
12857
12858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12860 if (!SWIG_IsOK(res1)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12862 }
12863 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12864 ecode2 = SWIG_AsVal_int(obj1, &val2);
12865 if (!SWIG_IsOK(ecode2)) {
12866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12867 }
12868 arg2 = static_cast< wxLayoutAlignment >(val2);
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 (arg1)->SetAlignment(arg2);
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 resultobj = SWIG_Py_Void();
12876 return resultobj;
12877 fail:
12878 return NULL;
12879 }
12880
12881
12882 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj = 0;
12884 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12885 wxSize *arg2 = 0 ;
12886 void *argp1 = 0 ;
12887 int res1 = 0 ;
12888 wxSize temp2 ;
12889 PyObject * obj0 = 0 ;
12890 PyObject * obj1 = 0 ;
12891 char * kwnames[] = {
12892 (char *) "self",(char *) "size", NULL
12893 };
12894
12895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12897 if (!SWIG_IsOK(res1)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12899 }
12900 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12901 {
12902 arg2 = &temp2;
12903 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12904 }
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_Py_Void();
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj = 0;
12920 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12921 wxLayoutOrientation arg2 ;
12922 void *argp1 = 0 ;
12923 int res1 = 0 ;
12924 int val2 ;
12925 int ecode2 = 0 ;
12926 PyObject * obj0 = 0 ;
12927 PyObject * obj1 = 0 ;
12928 char * kwnames[] = {
12929 (char *) "self",(char *) "orientation", NULL
12930 };
12931
12932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12934 if (!SWIG_IsOK(res1)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12936 }
12937 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12938 ecode2 = SWIG_AsVal_int(obj1, &val2);
12939 if (!SWIG_IsOK(ecode2)) {
12940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12941 }
12942 arg2 = static_cast< wxLayoutOrientation >(val2);
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 (arg1)->SetOrientation(arg2);
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 resultobj = SWIG_Py_Void();
12950 return resultobj;
12951 fail:
12952 return NULL;
12953 }
12954
12955
12956 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12957 PyObject *obj;
12958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12959 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12960 return SWIG_Py_Void();
12961 }
12962
12963 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12964 return SWIG_Python_InitShadowInstance(args);
12965 }
12966
12967 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12968 PyObject *resultobj = 0;
12969 wxLayoutAlgorithm *result = 0 ;
12970
12971 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12986 PyObject *resultobj = 0;
12987 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12988 void *argp1 = 0 ;
12989 int res1 = 0 ;
12990 PyObject *swig_obj[1] ;
12991
12992 if (!args) SWIG_fail;
12993 swig_obj[0] = args;
12994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12995 if (!SWIG_IsOK(res1)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12997 }
12998 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 delete arg1;
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = SWIG_Py_Void();
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj = 0;
13015 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13016 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13017 wxRect *arg3 = (wxRect *) NULL ;
13018 bool result;
13019 void *argp1 = 0 ;
13020 int res1 = 0 ;
13021 void *argp2 = 0 ;
13022 int res2 = 0 ;
13023 void *argp3 = 0 ;
13024 int res3 = 0 ;
13025 PyObject * obj0 = 0 ;
13026 PyObject * obj1 = 0 ;
13027 PyObject * obj2 = 0 ;
13028 char * kwnames[] = {
13029 (char *) "self",(char *) "frame",(char *) "rect", NULL
13030 };
13031
13032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13034 if (!SWIG_IsOK(res1)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13036 }
13037 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13039 if (!SWIG_IsOK(res2)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13041 }
13042 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13043 if (obj2) {
13044 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13045 if (!SWIG_IsOK(res3)) {
13046 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13047 }
13048 arg3 = reinterpret_cast< wxRect * >(argp3);
13049 }
13050 {
13051 PyThreadState* __tstate = wxPyBeginAllowThreads();
13052 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 {
13057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13058 }
13059 return resultobj;
13060 fail:
13061 return NULL;
13062 }
13063
13064
13065 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj = 0;
13067 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13068 wxFrame *arg2 = (wxFrame *) 0 ;
13069 wxWindow *arg3 = (wxWindow *) NULL ;
13070 bool result;
13071 void *argp1 = 0 ;
13072 int res1 = 0 ;
13073 void *argp2 = 0 ;
13074 int res2 = 0 ;
13075 void *argp3 = 0 ;
13076 int res3 = 0 ;
13077 PyObject * obj0 = 0 ;
13078 PyObject * obj1 = 0 ;
13079 PyObject * obj2 = 0 ;
13080 char * kwnames[] = {
13081 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13082 };
13083
13084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13086 if (!SWIG_IsOK(res1)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13088 }
13089 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13091 if (!SWIG_IsOK(res2)) {
13092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13093 }
13094 arg2 = reinterpret_cast< wxFrame * >(argp2);
13095 if (obj2) {
13096 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13097 if (!SWIG_IsOK(res3)) {
13098 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13099 }
13100 arg3 = reinterpret_cast< wxWindow * >(argp3);
13101 }
13102 {
13103 PyThreadState* __tstate = wxPyBeginAllowThreads();
13104 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13110 }
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj = 0;
13119 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13120 wxWindow *arg2 = (wxWindow *) 0 ;
13121 wxWindow *arg3 = (wxWindow *) NULL ;
13122 bool result;
13123 void *argp1 = 0 ;
13124 int res1 = 0 ;
13125 void *argp2 = 0 ;
13126 int res2 = 0 ;
13127 void *argp3 = 0 ;
13128 int res3 = 0 ;
13129 PyObject * obj0 = 0 ;
13130 PyObject * obj1 = 0 ;
13131 PyObject * obj2 = 0 ;
13132 char * kwnames[] = {
13133 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13134 };
13135
13136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13138 if (!SWIG_IsOK(res1)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13140 }
13141 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13143 if (!SWIG_IsOK(res2)) {
13144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13145 }
13146 arg2 = reinterpret_cast< wxWindow * >(argp2);
13147 if (obj2) {
13148 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13149 if (!SWIG_IsOK(res3)) {
13150 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13151 }
13152 arg3 = reinterpret_cast< wxWindow * >(argp3);
13153 }
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 {
13161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13162 }
13163 return resultobj;
13164 fail:
13165 return NULL;
13166 }
13167
13168
13169 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13170 PyObject *obj;
13171 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13172 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13173 return SWIG_Py_Void();
13174 }
13175
13176 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13177 return SWIG_Python_InitShadowInstance(args);
13178 }
13179
13180 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13181 PyObject *resultobj = 0;
13182 wxWindow *arg1 = (wxWindow *) 0 ;
13183 int arg2 = (int) wxBORDER_NONE ;
13184 wxPopupWindow *result = 0 ;
13185 void *argp1 = 0 ;
13186 int res1 = 0 ;
13187 int val2 ;
13188 int ecode2 = 0 ;
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
13191 char * kwnames[] = {
13192 (char *) "parent",(char *) "flags", NULL
13193 };
13194
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13199 }
13200 arg1 = reinterpret_cast< wxWindow * >(argp1);
13201 if (obj1) {
13202 ecode2 = SWIG_AsVal_int(obj1, &val2);
13203 if (!SWIG_IsOK(ecode2)) {
13204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13205 }
13206 arg2 = static_cast< int >(val2);
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13222 PyObject *resultobj = 0;
13223 wxPopupWindow *result = 0 ;
13224
13225 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (wxPopupWindow *)new wxPopupWindow();
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13233 return resultobj;
13234 fail:
13235 return NULL;
13236 }
13237
13238
13239 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13240 PyObject *obj;
13241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13242 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13243 return SWIG_Py_Void();
13244 }
13245
13246 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13247 return SWIG_Python_InitShadowInstance(args);
13248 }
13249
13250 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj = 0;
13252 wxWindow *arg1 = (wxWindow *) 0 ;
13253 int arg2 = (int) wxBORDER_NONE ;
13254 wxPyPopupTransientWindow *result = 0 ;
13255 void *argp1 = 0 ;
13256 int res1 = 0 ;
13257 int val2 ;
13258 int ecode2 = 0 ;
13259 PyObject * obj0 = 0 ;
13260 PyObject * obj1 = 0 ;
13261 char * kwnames[] = {
13262 (char *) "parent",(char *) "style", NULL
13263 };
13264
13265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13267 if (!SWIG_IsOK(res1)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13269 }
13270 arg1 = reinterpret_cast< wxWindow * >(argp1);
13271 if (obj1) {
13272 ecode2 = SWIG_AsVal_int(obj1, &val2);
13273 if (!SWIG_IsOK(ecode2)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13275 }
13276 arg2 = static_cast< int >(val2);
13277 }
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13285 return resultobj;
13286 fail:
13287 return NULL;
13288 }
13289
13290
13291 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13292 PyObject *resultobj = 0;
13293 wxPyPopupTransientWindow *result = 0 ;
13294
13295 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13303 return resultobj;
13304 fail:
13305 return NULL;
13306 }
13307
13308
13309 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13310 PyObject *obj;
13311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13313 return SWIG_Py_Void();
13314 }
13315
13316 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13317 return SWIG_Python_InitShadowInstance(args);
13318 }
13319
13320 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj = 0;
13322 wxWindow *arg1 = (wxWindow *) 0 ;
13323 wxString *arg2 = 0 ;
13324 int arg3 = (int) 100 ;
13325 wxRect *arg4 = (wxRect *) NULL ;
13326 wxTipWindow *result = 0 ;
13327 void *argp1 = 0 ;
13328 int res1 = 0 ;
13329 bool temp2 = false ;
13330 int val3 ;
13331 int ecode3 = 0 ;
13332 void *argp4 = 0 ;
13333 int res4 = 0 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 PyObject * obj2 = 0 ;
13337 PyObject * obj3 = 0 ;
13338 char * kwnames[] = {
13339 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13340 };
13341
13342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13344 if (!SWIG_IsOK(res1)) {
13345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13346 }
13347 arg1 = reinterpret_cast< wxWindow * >(argp1);
13348 {
13349 arg2 = wxString_in_helper(obj1);
13350 if (arg2 == NULL) SWIG_fail;
13351 temp2 = true;
13352 }
13353 if (obj2) {
13354 ecode3 = SWIG_AsVal_int(obj2, &val3);
13355 if (!SWIG_IsOK(ecode3)) {
13356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13357 }
13358 arg3 = static_cast< int >(val3);
13359 }
13360 if (obj3) {
13361 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13362 if (!SWIG_IsOK(res4)) {
13363 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13364 }
13365 arg4 = reinterpret_cast< wxRect * >(argp4);
13366 }
13367 {
13368 if (!wxPyCheckForApp()) SWIG_fail;
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13375 {
13376 if (temp2)
13377 delete arg2;
13378 }
13379 return resultobj;
13380 fail:
13381 {
13382 if (temp2)
13383 delete arg2;
13384 }
13385 return NULL;
13386 }
13387
13388
13389 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj = 0;
13391 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13392 wxRect *arg2 = 0 ;
13393 void *argp1 = 0 ;
13394 int res1 = 0 ;
13395 wxRect temp2 ;
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
13398 char * kwnames[] = {
13399 (char *) "self",(char *) "rectBound", NULL
13400 };
13401
13402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13404 if (!SWIG_IsOK(res1)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13406 }
13407 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13408 {
13409 arg2 = &temp2;
13410 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 resultobj = SWIG_Py_Void();
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13426 PyObject *resultobj = 0;
13427 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13428 void *argp1 = 0 ;
13429 int res1 = 0 ;
13430 PyObject *swig_obj[1] ;
13431
13432 if (!args) SWIG_fail;
13433 swig_obj[0] = args;
13434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13435 if (!SWIG_IsOK(res1)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13437 }
13438 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13439 {
13440 PyThreadState* __tstate = wxPyBeginAllowThreads();
13441 (arg1)->Close();
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_Py_Void();
13446 return resultobj;
13447 fail:
13448 return NULL;
13449 }
13450
13451
13452 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13453 PyObject *obj;
13454 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13455 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13456 return SWIG_Py_Void();
13457 }
13458
13459 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13460 return SWIG_Python_InitShadowInstance(args);
13461 }
13462
13463 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj = 0;
13465 wxWindow *arg1 = (wxWindow *) 0 ;
13466 int arg2 = (int) wxID_ANY ;
13467 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13468 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13469 wxSize const &arg4_defvalue = wxDefaultSize ;
13470 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13471 long arg5 = (long) 0 ;
13472 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13473 wxString *arg6 = (wxString *) &arg6_defvalue ;
13474 wxPyVScrolledWindow *result = 0 ;
13475 void *argp1 = 0 ;
13476 int res1 = 0 ;
13477 int val2 ;
13478 int ecode2 = 0 ;
13479 wxPoint temp3 ;
13480 wxSize temp4 ;
13481 long val5 ;
13482 int ecode5 = 0 ;
13483 bool temp6 = false ;
13484 PyObject * obj0 = 0 ;
13485 PyObject * obj1 = 0 ;
13486 PyObject * obj2 = 0 ;
13487 PyObject * obj3 = 0 ;
13488 PyObject * obj4 = 0 ;
13489 PyObject * obj5 = 0 ;
13490 char * kwnames[] = {
13491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13492 };
13493
13494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13496 if (!SWIG_IsOK(res1)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13498 }
13499 arg1 = reinterpret_cast< wxWindow * >(argp1);
13500 if (obj1) {
13501 ecode2 = SWIG_AsVal_int(obj1, &val2);
13502 if (!SWIG_IsOK(ecode2)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13504 }
13505 arg2 = static_cast< int >(val2);
13506 }
13507 if (obj2) {
13508 {
13509 arg3 = &temp3;
13510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13511 }
13512 }
13513 if (obj3) {
13514 {
13515 arg4 = &temp4;
13516 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13517 }
13518 }
13519 if (obj4) {
13520 ecode5 = SWIG_AsVal_long(obj4, &val5);
13521 if (!SWIG_IsOK(ecode5)) {
13522 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13523 }
13524 arg5 = static_cast< long >(val5);
13525 }
13526 if (obj5) {
13527 {
13528 arg6 = wxString_in_helper(obj5);
13529 if (arg6 == NULL) SWIG_fail;
13530 temp6 = true;
13531 }
13532 }
13533 {
13534 if (!wxPyCheckForApp()) SWIG_fail;
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13541 {
13542 if (temp6)
13543 delete arg6;
13544 }
13545 return resultobj;
13546 fail:
13547 {
13548 if (temp6)
13549 delete arg6;
13550 }
13551 return NULL;
13552 }
13553
13554
13555 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13556 PyObject *resultobj = 0;
13557 wxPyVScrolledWindow *result = 0 ;
13558
13559 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13560 {
13561 if (!wxPyCheckForApp()) SWIG_fail;
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj = 0;
13576 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13577 PyObject *arg2 = (PyObject *) 0 ;
13578 PyObject *arg3 = (PyObject *) 0 ;
13579 void *argp1 = 0 ;
13580 int res1 = 0 ;
13581 PyObject * obj0 = 0 ;
13582 PyObject * obj1 = 0 ;
13583 PyObject * obj2 = 0 ;
13584 char * kwnames[] = {
13585 (char *) "self",(char *) "self",(char *) "_class", NULL
13586 };
13587
13588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13590 if (!SWIG_IsOK(res1)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13592 }
13593 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13594 arg2 = obj1;
13595 arg3 = obj2;
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 (arg1)->_setCallbackInfo(arg2,arg3);
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 resultobj = SWIG_Py_Void();
13603 return resultobj;
13604 fail:
13605 return NULL;
13606 }
13607
13608
13609 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj = 0;
13611 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13612 wxWindow *arg2 = (wxWindow *) 0 ;
13613 int arg3 = (int) wxID_ANY ;
13614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13616 wxSize const &arg5_defvalue = wxDefaultSize ;
13617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13618 long arg6 = (long) 0 ;
13619 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13620 wxString *arg7 = (wxString *) &arg7_defvalue ;
13621 bool result;
13622 void *argp1 = 0 ;
13623 int res1 = 0 ;
13624 void *argp2 = 0 ;
13625 int res2 = 0 ;
13626 int val3 ;
13627 int ecode3 = 0 ;
13628 wxPoint temp4 ;
13629 wxSize temp5 ;
13630 long val6 ;
13631 int ecode6 = 0 ;
13632 bool temp7 = false ;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
13635 PyObject * obj2 = 0 ;
13636 PyObject * obj3 = 0 ;
13637 PyObject * obj4 = 0 ;
13638 PyObject * obj5 = 0 ;
13639 PyObject * obj6 = 0 ;
13640 char * kwnames[] = {
13641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13642 };
13643
13644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13646 if (!SWIG_IsOK(res1)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13648 }
13649 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13650 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13651 if (!SWIG_IsOK(res2)) {
13652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13653 }
13654 arg2 = reinterpret_cast< wxWindow * >(argp2);
13655 if (obj2) {
13656 ecode3 = SWIG_AsVal_int(obj2, &val3);
13657 if (!SWIG_IsOK(ecode3)) {
13658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13659 }
13660 arg3 = static_cast< int >(val3);
13661 }
13662 if (obj3) {
13663 {
13664 arg4 = &temp4;
13665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13666 }
13667 }
13668 if (obj4) {
13669 {
13670 arg5 = &temp5;
13671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13672 }
13673 }
13674 if (obj5) {
13675 ecode6 = SWIG_AsVal_long(obj5, &val6);
13676 if (!SWIG_IsOK(ecode6)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13678 }
13679 arg6 = static_cast< long >(val6);
13680 }
13681 if (obj6) {
13682 {
13683 arg7 = wxString_in_helper(obj6);
13684 if (arg7 == NULL) SWIG_fail;
13685 temp7 = true;
13686 }
13687 }
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13691 wxPyEndAllowThreads(__tstate);
13692 if (PyErr_Occurred()) SWIG_fail;
13693 }
13694 {
13695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13696 }
13697 {
13698 if (temp7)
13699 delete arg7;
13700 }
13701 return resultobj;
13702 fail:
13703 {
13704 if (temp7)
13705 delete arg7;
13706 }
13707 return NULL;
13708 }
13709
13710
13711 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13712 PyObject *resultobj = 0;
13713 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13714 size_t arg2 ;
13715 void *argp1 = 0 ;
13716 int res1 = 0 ;
13717 size_t val2 ;
13718 int ecode2 = 0 ;
13719 PyObject * obj0 = 0 ;
13720 PyObject * obj1 = 0 ;
13721 char * kwnames[] = {
13722 (char *) "self",(char *) "count", NULL
13723 };
13724
13725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13727 if (!SWIG_IsOK(res1)) {
13728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13729 }
13730 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13731 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13732 if (!SWIG_IsOK(ecode2)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13734 }
13735 arg2 = static_cast< size_t >(val2);
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 (arg1)->SetLineCount(arg2);
13739 wxPyEndAllowThreads(__tstate);
13740 if (PyErr_Occurred()) SWIG_fail;
13741 }
13742 resultobj = SWIG_Py_Void();
13743 return resultobj;
13744 fail:
13745 return NULL;
13746 }
13747
13748
13749 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj = 0;
13751 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13752 size_t arg2 ;
13753 bool result;
13754 void *argp1 = 0 ;
13755 int res1 = 0 ;
13756 size_t val2 ;
13757 int ecode2 = 0 ;
13758 PyObject * obj0 = 0 ;
13759 PyObject * obj1 = 0 ;
13760 char * kwnames[] = {
13761 (char *) "self",(char *) "line", NULL
13762 };
13763
13764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13766 if (!SWIG_IsOK(res1)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13768 }
13769 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13770 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13771 if (!SWIG_IsOK(ecode2)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13773 }
13774 arg2 = static_cast< size_t >(val2);
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (bool)(arg1)->ScrollToLine(arg2);
13778 wxPyEndAllowThreads(__tstate);
13779 if (PyErr_Occurred()) SWIG_fail;
13780 }
13781 {
13782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13783 }
13784 return resultobj;
13785 fail:
13786 return NULL;
13787 }
13788
13789
13790 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj = 0;
13792 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13793 size_t arg2 ;
13794 void *argp1 = 0 ;
13795 int res1 = 0 ;
13796 size_t val2 ;
13797 int ecode2 = 0 ;
13798 PyObject * obj0 = 0 ;
13799 PyObject * obj1 = 0 ;
13800 char * kwnames[] = {
13801 (char *) "self",(char *) "line", NULL
13802 };
13803
13804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13806 if (!SWIG_IsOK(res1)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13808 }
13809 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13810 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13811 if (!SWIG_IsOK(ecode2)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13813 }
13814 arg2 = static_cast< size_t >(val2);
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 (arg1)->RefreshLine(arg2);
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 resultobj = SWIG_Py_Void();
13822 return resultobj;
13823 fail:
13824 return NULL;
13825 }
13826
13827
13828 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj = 0;
13830 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13831 size_t arg2 ;
13832 size_t arg3 ;
13833 void *argp1 = 0 ;
13834 int res1 = 0 ;
13835 size_t val2 ;
13836 int ecode2 = 0 ;
13837 size_t val3 ;
13838 int ecode3 = 0 ;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 PyObject * obj2 = 0 ;
13842 char * kwnames[] = {
13843 (char *) "self",(char *) "from",(char *) "to", NULL
13844 };
13845
13846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13848 if (!SWIG_IsOK(res1)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13850 }
13851 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13852 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13853 if (!SWIG_IsOK(ecode2)) {
13854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13855 }
13856 arg2 = static_cast< size_t >(val2);
13857 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13858 if (!SWIG_IsOK(ecode3)) {
13859 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13860 }
13861 arg3 = static_cast< size_t >(val3);
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 (arg1)->RefreshLines(arg2,arg3);
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 resultobj = SWIG_Py_Void();
13869 return resultobj;
13870 fail:
13871 return NULL;
13872 }
13873
13874
13875 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj = 0;
13877 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13878 int arg2 ;
13879 int arg3 ;
13880 int result;
13881 void *argp1 = 0 ;
13882 int res1 = 0 ;
13883 int val2 ;
13884 int ecode2 = 0 ;
13885 int val3 ;
13886 int ecode3 = 0 ;
13887 PyObject * obj0 = 0 ;
13888 PyObject * obj1 = 0 ;
13889 PyObject * obj2 = 0 ;
13890 char * kwnames[] = {
13891 (char *) "self",(char *) "x",(char *) "y", NULL
13892 };
13893
13894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13896 if (!SWIG_IsOK(res1)) {
13897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13898 }
13899 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13900 ecode2 = SWIG_AsVal_int(obj1, &val2);
13901 if (!SWIG_IsOK(ecode2)) {
13902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13903 }
13904 arg2 = static_cast< int >(val2);
13905 ecode3 = SWIG_AsVal_int(obj2, &val3);
13906 if (!SWIG_IsOK(ecode3)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13908 }
13909 arg3 = static_cast< int >(val3);
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13913 wxPyEndAllowThreads(__tstate);
13914 if (PyErr_Occurred()) SWIG_fail;
13915 }
13916 resultobj = SWIG_From_int(static_cast< int >(result));
13917 return resultobj;
13918 fail:
13919 return NULL;
13920 }
13921
13922
13923 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj = 0;
13925 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13926 wxPoint *arg2 = 0 ;
13927 int result;
13928 void *argp1 = 0 ;
13929 int res1 = 0 ;
13930 wxPoint temp2 ;
13931 PyObject * obj0 = 0 ;
13932 PyObject * obj1 = 0 ;
13933 char * kwnames[] = {
13934 (char *) "self",(char *) "pt", NULL
13935 };
13936
13937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13939 if (!SWIG_IsOK(res1)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13941 }
13942 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13943 {
13944 arg2 = &temp2;
13945 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13946 }
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = SWIG_From_int(static_cast< int >(result));
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13961 PyObject *resultobj = 0;
13962 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13963 void *argp1 = 0 ;
13964 int res1 = 0 ;
13965 PyObject *swig_obj[1] ;
13966
13967 if (!args) SWIG_fail;
13968 swig_obj[0] = args;
13969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13970 if (!SWIG_IsOK(res1)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13972 }
13973 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 (arg1)->RefreshAll();
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 resultobj = SWIG_Py_Void();
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13988 PyObject *resultobj = 0;
13989 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13990 size_t result;
13991 void *argp1 = 0 ;
13992 int res1 = 0 ;
13993 PyObject *swig_obj[1] ;
13994
13995 if (!args) SWIG_fail;
13996 swig_obj[0] = args;
13997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13998 if (!SWIG_IsOK(res1)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14000 }
14001 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14016 PyObject *resultobj = 0;
14017 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14018 size_t result;
14019 void *argp1 = 0 ;
14020 int res1 = 0 ;
14021 PyObject *swig_obj[1] ;
14022
14023 if (!args) SWIG_fail;
14024 swig_obj[0] = args;
14025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14026 if (!SWIG_IsOK(res1)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14028 }
14029 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14037 return resultobj;
14038 fail:
14039 return NULL;
14040 }
14041
14042
14043 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14044 PyObject *resultobj = 0;
14045 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14046 size_t result;
14047 void *argp1 = 0 ;
14048 int res1 = 0 ;
14049 PyObject *swig_obj[1] ;
14050
14051 if (!args) SWIG_fail;
14052 swig_obj[0] = args;
14053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14054 if (!SWIG_IsOK(res1)) {
14055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14056 }
14057 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14061 wxPyEndAllowThreads(__tstate);
14062 if (PyErr_Occurred()) SWIG_fail;
14063 }
14064 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14065 return resultobj;
14066 fail:
14067 return NULL;
14068 }
14069
14070
14071 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj = 0;
14073 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14074 size_t arg2 ;
14075 bool result;
14076 void *argp1 = 0 ;
14077 int res1 = 0 ;
14078 size_t val2 ;
14079 int ecode2 = 0 ;
14080 PyObject * obj0 = 0 ;
14081 PyObject * obj1 = 0 ;
14082 char * kwnames[] = {
14083 (char *) "self",(char *) "line", NULL
14084 };
14085
14086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14088 if (!SWIG_IsOK(res1)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14090 }
14091 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14092 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14093 if (!SWIG_IsOK(ecode2)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14095 }
14096 arg2 = static_cast< size_t >(val2);
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 {
14104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14105 }
14106 return resultobj;
14107 fail:
14108 return NULL;
14109 }
14110
14111
14112 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14113 PyObject *resultobj = 0;
14114 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14115 size_t result;
14116 void *argp1 = 0 ;
14117 int res1 = 0 ;
14118 PyObject *swig_obj[1] ;
14119
14120 if (!args) SWIG_fail;
14121 swig_obj[0] = args;
14122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14123 if (!SWIG_IsOK(res1)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14125 }
14126 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14134 return resultobj;
14135 fail:
14136 return NULL;
14137 }
14138
14139
14140 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14141 PyObject *resultobj = 0;
14142 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14143 size_t result;
14144 void *argp1 = 0 ;
14145 int res1 = 0 ;
14146 PyObject *swig_obj[1] ;
14147
14148 if (!args) SWIG_fail;
14149 swig_obj[0] = args;
14150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14151 if (!SWIG_IsOK(res1)) {
14152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14153 }
14154 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14158 wxPyEndAllowThreads(__tstate);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14162 return resultobj;
14163 fail:
14164 return NULL;
14165 }
14166
14167
14168 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14169 PyObject *resultobj = 0;
14170 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14171 size_t arg2 ;
14172 bool arg3 = (bool) false ;
14173 size_t result;
14174 void *argp1 = 0 ;
14175 int res1 = 0 ;
14176 size_t val2 ;
14177 int ecode2 = 0 ;
14178 bool val3 ;
14179 int ecode3 = 0 ;
14180 PyObject * obj0 = 0 ;
14181 PyObject * obj1 = 0 ;
14182 PyObject * obj2 = 0 ;
14183 char * kwnames[] = {
14184 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14185 };
14186
14187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14189 if (!SWIG_IsOK(res1)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14191 }
14192 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14193 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14194 if (!SWIG_IsOK(ecode2)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14196 }
14197 arg2 = static_cast< size_t >(val2);
14198 if (obj2) {
14199 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14200 if (!SWIG_IsOK(ecode3)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14202 }
14203 arg3 = static_cast< bool >(val3);
14204 }
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14212 return resultobj;
14213 fail:
14214 return NULL;
14215 }
14216
14217
14218 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj = 0;
14220 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14221 size_t arg2 ;
14222 size_t arg3 ;
14223 int result;
14224 void *argp1 = 0 ;
14225 int res1 = 0 ;
14226 size_t val2 ;
14227 int ecode2 = 0 ;
14228 size_t val3 ;
14229 int ecode3 = 0 ;
14230 PyObject * obj0 = 0 ;
14231 PyObject * obj1 = 0 ;
14232 PyObject * obj2 = 0 ;
14233 char * kwnames[] = {
14234 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14235 };
14236
14237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14239 if (!SWIG_IsOK(res1)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14241 }
14242 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14243 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14244 if (!SWIG_IsOK(ecode2)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14246 }
14247 arg2 = static_cast< size_t >(val2);
14248 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14249 if (!SWIG_IsOK(ecode3)) {
14250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14251 }
14252 arg3 = static_cast< size_t >(val3);
14253 {
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14256 wxPyEndAllowThreads(__tstate);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
14259 resultobj = SWIG_From_int(static_cast< int >(result));
14260 return resultobj;
14261 fail:
14262 return NULL;
14263 }
14264
14265
14266 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14267 PyObject *obj;
14268 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14269 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14270 return SWIG_Py_Void();
14271 }
14272
14273 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14274 return SWIG_Python_InitShadowInstance(args);
14275 }
14276
14277 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14278 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14279 return 1;
14280 }
14281
14282
14283 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14284 PyObject *pyobj = 0;
14285
14286 {
14287 #if wxUSE_UNICODE
14288 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14289 #else
14290 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14291 #endif
14292 }
14293 return pyobj;
14294 }
14295
14296
14297 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj = 0;
14299 wxWindow *arg1 = (wxWindow *) 0 ;
14300 int arg2 = (int) wxID_ANY ;
14301 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14302 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14303 wxSize const &arg4_defvalue = wxDefaultSize ;
14304 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14305 long arg5 = (long) 0 ;
14306 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14307 wxString *arg6 = (wxString *) &arg6_defvalue ;
14308 wxPyVListBox *result = 0 ;
14309 void *argp1 = 0 ;
14310 int res1 = 0 ;
14311 int val2 ;
14312 int ecode2 = 0 ;
14313 wxPoint temp3 ;
14314 wxSize temp4 ;
14315 long val5 ;
14316 int ecode5 = 0 ;
14317 bool temp6 = false ;
14318 PyObject * obj0 = 0 ;
14319 PyObject * obj1 = 0 ;
14320 PyObject * obj2 = 0 ;
14321 PyObject * obj3 = 0 ;
14322 PyObject * obj4 = 0 ;
14323 PyObject * obj5 = 0 ;
14324 char * kwnames[] = {
14325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14326 };
14327
14328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14330 if (!SWIG_IsOK(res1)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14332 }
14333 arg1 = reinterpret_cast< wxWindow * >(argp1);
14334 if (obj1) {
14335 ecode2 = SWIG_AsVal_int(obj1, &val2);
14336 if (!SWIG_IsOK(ecode2)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14338 }
14339 arg2 = static_cast< int >(val2);
14340 }
14341 if (obj2) {
14342 {
14343 arg3 = &temp3;
14344 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14345 }
14346 }
14347 if (obj3) {
14348 {
14349 arg4 = &temp4;
14350 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14351 }
14352 }
14353 if (obj4) {
14354 ecode5 = SWIG_AsVal_long(obj4, &val5);
14355 if (!SWIG_IsOK(ecode5)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14357 }
14358 arg5 = static_cast< long >(val5);
14359 }
14360 if (obj5) {
14361 {
14362 arg6 = wxString_in_helper(obj5);
14363 if (arg6 == NULL) SWIG_fail;
14364 temp6 = true;
14365 }
14366 }
14367 {
14368 if (!wxPyCheckForApp()) SWIG_fail;
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14371 wxPyEndAllowThreads(__tstate);
14372 if (PyErr_Occurred()) SWIG_fail;
14373 }
14374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14375 {
14376 if (temp6)
14377 delete arg6;
14378 }
14379 return resultobj;
14380 fail:
14381 {
14382 if (temp6)
14383 delete arg6;
14384 }
14385 return NULL;
14386 }
14387
14388
14389 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14390 PyObject *resultobj = 0;
14391 wxPyVListBox *result = 0 ;
14392
14393 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14394 {
14395 if (!wxPyCheckForApp()) SWIG_fail;
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 result = (wxPyVListBox *)new wxPyVListBox();
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj = 0;
14410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14411 PyObject *arg2 = (PyObject *) 0 ;
14412 PyObject *arg3 = (PyObject *) 0 ;
14413 void *argp1 = 0 ;
14414 int res1 = 0 ;
14415 PyObject * obj0 = 0 ;
14416 PyObject * obj1 = 0 ;
14417 PyObject * obj2 = 0 ;
14418 char * kwnames[] = {
14419 (char *) "self",(char *) "self",(char *) "_class", NULL
14420 };
14421
14422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14424 if (!SWIG_IsOK(res1)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14426 }
14427 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14428 arg2 = obj1;
14429 arg3 = obj2;
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 (arg1)->_setCallbackInfo(arg2,arg3);
14433 wxPyEndAllowThreads(__tstate);
14434 if (PyErr_Occurred()) SWIG_fail;
14435 }
14436 resultobj = SWIG_Py_Void();
14437 return resultobj;
14438 fail:
14439 return NULL;
14440 }
14441
14442
14443 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14444 PyObject *resultobj = 0;
14445 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14446 wxWindow *arg2 = (wxWindow *) 0 ;
14447 int arg3 = (int) wxID_ANY ;
14448 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14449 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14450 wxSize const &arg5_defvalue = wxDefaultSize ;
14451 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14452 long arg6 = (long) 0 ;
14453 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14454 wxString *arg7 = (wxString *) &arg7_defvalue ;
14455 bool result;
14456 void *argp1 = 0 ;
14457 int res1 = 0 ;
14458 void *argp2 = 0 ;
14459 int res2 = 0 ;
14460 int val3 ;
14461 int ecode3 = 0 ;
14462 wxPoint temp4 ;
14463 wxSize temp5 ;
14464 long val6 ;
14465 int ecode6 = 0 ;
14466 bool temp7 = false ;
14467 PyObject * obj0 = 0 ;
14468 PyObject * obj1 = 0 ;
14469 PyObject * obj2 = 0 ;
14470 PyObject * obj3 = 0 ;
14471 PyObject * obj4 = 0 ;
14472 PyObject * obj5 = 0 ;
14473 PyObject * obj6 = 0 ;
14474 char * kwnames[] = {
14475 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14476 };
14477
14478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14480 if (!SWIG_IsOK(res1)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14482 }
14483 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14485 if (!SWIG_IsOK(res2)) {
14486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14487 }
14488 arg2 = reinterpret_cast< wxWindow * >(argp2);
14489 if (obj2) {
14490 ecode3 = SWIG_AsVal_int(obj2, &val3);
14491 if (!SWIG_IsOK(ecode3)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14493 }
14494 arg3 = static_cast< int >(val3);
14495 }
14496 if (obj3) {
14497 {
14498 arg4 = &temp4;
14499 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14500 }
14501 }
14502 if (obj4) {
14503 {
14504 arg5 = &temp5;
14505 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14506 }
14507 }
14508 if (obj5) {
14509 ecode6 = SWIG_AsVal_long(obj5, &val6);
14510 if (!SWIG_IsOK(ecode6)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14512 }
14513 arg6 = static_cast< long >(val6);
14514 }
14515 if (obj6) {
14516 {
14517 arg7 = wxString_in_helper(obj6);
14518 if (arg7 == NULL) SWIG_fail;
14519 temp7 = true;
14520 }
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14530 }
14531 {
14532 if (temp7)
14533 delete arg7;
14534 }
14535 return resultobj;
14536 fail:
14537 {
14538 if (temp7)
14539 delete arg7;
14540 }
14541 return NULL;
14542 }
14543
14544
14545 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14546 PyObject *resultobj = 0;
14547 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14548 size_t result;
14549 void *argp1 = 0 ;
14550 int res1 = 0 ;
14551 PyObject *swig_obj[1] ;
14552
14553 if (!args) SWIG_fail;
14554 swig_obj[0] = args;
14555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14556 if (!SWIG_IsOK(res1)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14558 }
14559 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14567 return resultobj;
14568 fail:
14569 return NULL;
14570 }
14571
14572
14573 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14574 PyObject *resultobj = 0;
14575 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14576 bool result;
14577 void *argp1 = 0 ;
14578 int res1 = 0 ;
14579 PyObject *swig_obj[1] ;
14580
14581 if (!args) SWIG_fail;
14582 swig_obj[0] = args;
14583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14584 if (!SWIG_IsOK(res1)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14586 }
14587 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 {
14595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14596 }
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14604 PyObject *resultobj = 0;
14605 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14606 int result;
14607 void *argp1 = 0 ;
14608 int res1 = 0 ;
14609 PyObject *swig_obj[1] ;
14610
14611 if (!args) SWIG_fail;
14612 swig_obj[0] = args;
14613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14614 if (!SWIG_IsOK(res1)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14616 }
14617 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 resultobj = SWIG_From_int(static_cast< int >(result));
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj = 0;
14633 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14634 size_t arg2 ;
14635 bool result;
14636 void *argp1 = 0 ;
14637 int res1 = 0 ;
14638 size_t val2 ;
14639 int ecode2 = 0 ;
14640 PyObject * obj0 = 0 ;
14641 PyObject * obj1 = 0 ;
14642 char * kwnames[] = {
14643 (char *) "self",(char *) "item", NULL
14644 };
14645
14646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14648 if (!SWIG_IsOK(res1)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14650 }
14651 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14652 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14653 if (!SWIG_IsOK(ecode2)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14655 }
14656 arg2 = static_cast< size_t >(val2);
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 {
14664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14665 }
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj = 0;
14674 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14675 size_t arg2 ;
14676 bool result;
14677 void *argp1 = 0 ;
14678 int res1 = 0 ;
14679 size_t val2 ;
14680 int ecode2 = 0 ;
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 char * kwnames[] = {
14684 (char *) "self",(char *) "item", NULL
14685 };
14686
14687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14689 if (!SWIG_IsOK(res1)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14691 }
14692 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14693 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14694 if (!SWIG_IsOK(ecode2)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14696 }
14697 arg2 = static_cast< size_t >(val2);
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 {
14705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14706 }
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14714 PyObject *resultobj = 0;
14715 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14716 size_t result;
14717 void *argp1 = 0 ;
14718 int res1 = 0 ;
14719 PyObject *swig_obj[1] ;
14720
14721 if (!args) SWIG_fail;
14722 swig_obj[0] = args;
14723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14724 if (!SWIG_IsOK(res1)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14726 }
14727 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14742 PyObject *resultobj = 0;
14743 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14744 PyObject *result = 0 ;
14745 void *argp1 = 0 ;
14746 int res1 = 0 ;
14747 PyObject *swig_obj[1] ;
14748
14749 if (!args) SWIG_fail;
14750 swig_obj[0] = args;
14751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14752 if (!SWIG_IsOK(res1)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14754 }
14755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = result;
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14770 PyObject *resultobj = 0;
14771 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14772 unsigned long arg2 ;
14773 PyObject *result = 0 ;
14774 void *argp1 = 0 ;
14775 int res1 = 0 ;
14776 unsigned long val2 ;
14777 int ecode2 = 0 ;
14778 PyObject * obj0 = 0 ;
14779 PyObject * obj1 = 0 ;
14780 char * kwnames[] = {
14781 (char *) "self",(char *) "cookie", NULL
14782 };
14783
14784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14786 if (!SWIG_IsOK(res1)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14788 }
14789 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14790 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14791 if (!SWIG_IsOK(ecode2)) {
14792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14793 }
14794 arg2 = static_cast< unsigned long >(val2);
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 resultobj = result;
14802 return resultobj;
14803 fail:
14804 return NULL;
14805 }
14806
14807
14808 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14809 PyObject *resultobj = 0;
14810 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14811 wxPoint result;
14812 void *argp1 = 0 ;
14813 int res1 = 0 ;
14814 PyObject *swig_obj[1] ;
14815
14816 if (!args) SWIG_fail;
14817 swig_obj[0] = args;
14818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14819 if (!SWIG_IsOK(res1)) {
14820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14821 }
14822 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = ((wxPyVListBox const *)arg1)->GetMargins();
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14837 PyObject *resultobj = 0;
14838 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14839 wxColour *result = 0 ;
14840 void *argp1 = 0 ;
14841 int res1 = 0 ;
14842 PyObject *swig_obj[1] ;
14843
14844 if (!args) SWIG_fail;
14845 swig_obj[0] = args;
14846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14847 if (!SWIG_IsOK(res1)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14849 }
14850 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 {
14854 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14855 result = (wxColour *) &_result_ref;
14856 }
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj = 0;
14869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14870 size_t arg2 ;
14871 void *argp1 = 0 ;
14872 int res1 = 0 ;
14873 size_t val2 ;
14874 int ecode2 = 0 ;
14875 PyObject * obj0 = 0 ;
14876 PyObject * obj1 = 0 ;
14877 char * kwnames[] = {
14878 (char *) "self",(char *) "count", NULL
14879 };
14880
14881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14883 if (!SWIG_IsOK(res1)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14885 }
14886 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14887 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14888 if (!SWIG_IsOK(ecode2)) {
14889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14890 }
14891 arg2 = static_cast< size_t >(val2);
14892 {
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 (arg1)->SetItemCount(arg2);
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = SWIG_Py_Void();
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14906 PyObject *resultobj = 0;
14907 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14908 void *argp1 = 0 ;
14909 int res1 = 0 ;
14910 PyObject *swig_obj[1] ;
14911
14912 if (!args) SWIG_fail;
14913 swig_obj[0] = args;
14914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14915 if (!SWIG_IsOK(res1)) {
14916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14917 }
14918 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 (arg1)->Clear();
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 resultobj = SWIG_Py_Void();
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj = 0;
14934 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14935 int arg2 ;
14936 void *argp1 = 0 ;
14937 int res1 = 0 ;
14938 int val2 ;
14939 int ecode2 = 0 ;
14940 PyObject * obj0 = 0 ;
14941 PyObject * obj1 = 0 ;
14942 char * kwnames[] = {
14943 (char *) "self",(char *) "selection", NULL
14944 };
14945
14946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14948 if (!SWIG_IsOK(res1)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14950 }
14951 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14952 ecode2 = SWIG_AsVal_int(obj1, &val2);
14953 if (!SWIG_IsOK(ecode2)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14955 }
14956 arg2 = static_cast< int >(val2);
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 (arg1)->SetSelection(arg2);
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 resultobj = SWIG_Py_Void();
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj = 0;
14972 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14973 size_t arg2 ;
14974 bool arg3 = (bool) true ;
14975 bool result;
14976 void *argp1 = 0 ;
14977 int res1 = 0 ;
14978 size_t val2 ;
14979 int ecode2 = 0 ;
14980 bool val3 ;
14981 int ecode3 = 0 ;
14982 PyObject * obj0 = 0 ;
14983 PyObject * obj1 = 0 ;
14984 PyObject * obj2 = 0 ;
14985 char * kwnames[] = {
14986 (char *) "self",(char *) "item",(char *) "select", NULL
14987 };
14988
14989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14991 if (!SWIG_IsOK(res1)) {
14992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14993 }
14994 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14995 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14996 if (!SWIG_IsOK(ecode2)) {
14997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14998 }
14999 arg2 = static_cast< size_t >(val2);
15000 if (obj2) {
15001 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15002 if (!SWIG_IsOK(ecode3)) {
15003 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15004 }
15005 arg3 = static_cast< bool >(val3);
15006 }
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (bool)(arg1)->Select(arg2,arg3);
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 {
15014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15015 }
15016 return resultobj;
15017 fail:
15018 return NULL;
15019 }
15020
15021
15022 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj = 0;
15024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15025 size_t arg2 ;
15026 size_t arg3 ;
15027 bool result;
15028 void *argp1 = 0 ;
15029 int res1 = 0 ;
15030 size_t val2 ;
15031 int ecode2 = 0 ;
15032 size_t val3 ;
15033 int ecode3 = 0 ;
15034 PyObject * obj0 = 0 ;
15035 PyObject * obj1 = 0 ;
15036 PyObject * obj2 = 0 ;
15037 char * kwnames[] = {
15038 (char *) "self",(char *) "from",(char *) "to", NULL
15039 };
15040
15041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15043 if (!SWIG_IsOK(res1)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15045 }
15046 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15047 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15048 if (!SWIG_IsOK(ecode2)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15050 }
15051 arg2 = static_cast< size_t >(val2);
15052 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15053 if (!SWIG_IsOK(ecode3)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15055 }
15056 arg3 = static_cast< size_t >(val3);
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (bool)(arg1)->SelectRange(arg2,arg3);
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 {
15064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15065 }
15066 return resultobj;
15067 fail:
15068 return NULL;
15069 }
15070
15071
15072 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj = 0;
15074 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15075 size_t arg2 ;
15076 void *argp1 = 0 ;
15077 int res1 = 0 ;
15078 size_t val2 ;
15079 int ecode2 = 0 ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 char * kwnames[] = {
15083 (char *) "self",(char *) "item", NULL
15084 };
15085
15086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15088 if (!SWIG_IsOK(res1)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15090 }
15091 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15092 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15093 if (!SWIG_IsOK(ecode2)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15095 }
15096 arg2 = static_cast< size_t >(val2);
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 (arg1)->Toggle(arg2);
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = SWIG_Py_Void();
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15111 PyObject *resultobj = 0;
15112 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15113 bool result;
15114 void *argp1 = 0 ;
15115 int res1 = 0 ;
15116 PyObject *swig_obj[1] ;
15117
15118 if (!args) SWIG_fail;
15119 swig_obj[0] = args;
15120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15121 if (!SWIG_IsOK(res1)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15123 }
15124 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (bool)(arg1)->SelectAll();
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 {
15132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15133 }
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15141 PyObject *resultobj = 0;
15142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15143 bool result;
15144 void *argp1 = 0 ;
15145 int res1 = 0 ;
15146 PyObject *swig_obj[1] ;
15147
15148 if (!args) SWIG_fail;
15149 swig_obj[0] = args;
15150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15151 if (!SWIG_IsOK(res1)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15153 }
15154 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (bool)(arg1)->DeselectAll();
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 {
15162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15163 }
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj = 0;
15172 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15173 wxPoint *arg2 = 0 ;
15174 void *argp1 = 0 ;
15175 int res1 = 0 ;
15176 wxPoint temp2 ;
15177 PyObject * obj0 = 0 ;
15178 PyObject * obj1 = 0 ;
15179 char * kwnames[] = {
15180 (char *) "self",(char *) "pt", NULL
15181 };
15182
15183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15185 if (!SWIG_IsOK(res1)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15187 }
15188 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15189 {
15190 arg2 = &temp2;
15191 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15192 }
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 (arg1)->SetMargins((wxPoint const &)*arg2);
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 resultobj = SWIG_Py_Void();
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj = 0;
15208 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15209 int arg2 ;
15210 int arg3 ;
15211 void *argp1 = 0 ;
15212 int res1 = 0 ;
15213 int val2 ;
15214 int ecode2 = 0 ;
15215 int val3 ;
15216 int ecode3 = 0 ;
15217 PyObject * obj0 = 0 ;
15218 PyObject * obj1 = 0 ;
15219 PyObject * obj2 = 0 ;
15220 char * kwnames[] = {
15221 (char *) "self",(char *) "x",(char *) "y", NULL
15222 };
15223
15224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15226 if (!SWIG_IsOK(res1)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15228 }
15229 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15230 ecode2 = SWIG_AsVal_int(obj1, &val2);
15231 if (!SWIG_IsOK(ecode2)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15233 }
15234 arg2 = static_cast< int >(val2);
15235 ecode3 = SWIG_AsVal_int(obj2, &val3);
15236 if (!SWIG_IsOK(ecode3)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15238 }
15239 arg3 = static_cast< int >(val3);
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 (arg1)->SetMargins(arg2,arg3);
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 resultobj = SWIG_Py_Void();
15247 return resultobj;
15248 fail:
15249 return NULL;
15250 }
15251
15252
15253 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj = 0;
15255 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15256 wxColour *arg2 = 0 ;
15257 void *argp1 = 0 ;
15258 int res1 = 0 ;
15259 wxColour temp2 ;
15260 PyObject * obj0 = 0 ;
15261 PyObject * obj1 = 0 ;
15262 char * kwnames[] = {
15263 (char *) "self",(char *) "col", NULL
15264 };
15265
15266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15268 if (!SWIG_IsOK(res1)) {
15269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15270 }
15271 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15272 {
15273 arg2 = &temp2;
15274 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15275 }
15276 {
15277 PyThreadState* __tstate = wxPyBeginAllowThreads();
15278 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 resultobj = SWIG_Py_Void();
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj = 0;
15291 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15292 wxDC *arg2 = 0 ;
15293 wxRect *arg3 = 0 ;
15294 size_t arg4 ;
15295 void *argp1 = 0 ;
15296 int res1 = 0 ;
15297 void *argp2 = 0 ;
15298 int res2 = 0 ;
15299 wxRect temp3 ;
15300 size_t val4 ;
15301 int ecode4 = 0 ;
15302 PyObject * obj0 = 0 ;
15303 PyObject * obj1 = 0 ;
15304 PyObject * obj2 = 0 ;
15305 PyObject * obj3 = 0 ;
15306 char * kwnames[] = {
15307 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15308 };
15309
15310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15312 if (!SWIG_IsOK(res1)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15314 }
15315 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15316 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15317 if (!SWIG_IsOK(res2)) {
15318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15319 }
15320 if (!argp2) {
15321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15322 }
15323 arg2 = reinterpret_cast< wxDC * >(argp2);
15324 {
15325 arg3 = &temp3;
15326 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15327 }
15328 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15329 if (!SWIG_IsOK(ecode4)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15331 }
15332 arg4 = static_cast< size_t >(val4);
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 resultobj = SWIG_Py_Void();
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj = 0;
15348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15349 wxDC *arg2 = 0 ;
15350 wxRect *arg3 = 0 ;
15351 size_t arg4 ;
15352 void *argp1 = 0 ;
15353 int res1 = 0 ;
15354 void *argp2 = 0 ;
15355 int res2 = 0 ;
15356 wxRect temp3 ;
15357 size_t val4 ;
15358 int ecode4 = 0 ;
15359 PyObject * obj0 = 0 ;
15360 PyObject * obj1 = 0 ;
15361 PyObject * obj2 = 0 ;
15362 PyObject * obj3 = 0 ;
15363 char * kwnames[] = {
15364 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15365 };
15366
15367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15369 if (!SWIG_IsOK(res1)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15371 }
15372 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15373 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15374 if (!SWIG_IsOK(res2)) {
15375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15376 }
15377 if (!argp2) {
15378 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15379 }
15380 arg2 = reinterpret_cast< wxDC * >(argp2);
15381 {
15382 arg3 = &temp3;
15383 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15384 }
15385 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15386 if (!SWIG_IsOK(ecode4)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15388 }
15389 arg4 = static_cast< size_t >(val4);
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 resultobj = SWIG_Py_Void();
15397 return resultobj;
15398 fail:
15399 return NULL;
15400 }
15401
15402
15403 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15404 PyObject *obj;
15405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15407 return SWIG_Py_Void();
15408 }
15409
15410 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15411 return SWIG_Python_InitShadowInstance(args);
15412 }
15413
15414 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15415 PyObject *resultobj = 0;
15416 wxWindow *arg1 = (wxWindow *) 0 ;
15417 int arg2 = (int) wxID_ANY ;
15418 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15419 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15420 wxSize const &arg4_defvalue = wxDefaultSize ;
15421 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15422 long arg5 = (long) 0 ;
15423 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15424 wxString *arg6 = (wxString *) &arg6_defvalue ;
15425 wxPyHtmlListBox *result = 0 ;
15426 void *argp1 = 0 ;
15427 int res1 = 0 ;
15428 int val2 ;
15429 int ecode2 = 0 ;
15430 wxPoint temp3 ;
15431 wxSize temp4 ;
15432 long val5 ;
15433 int ecode5 = 0 ;
15434 bool temp6 = false ;
15435 PyObject * obj0 = 0 ;
15436 PyObject * obj1 = 0 ;
15437 PyObject * obj2 = 0 ;
15438 PyObject * obj3 = 0 ;
15439 PyObject * obj4 = 0 ;
15440 PyObject * obj5 = 0 ;
15441 char * kwnames[] = {
15442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15443 };
15444
15445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15447 if (!SWIG_IsOK(res1)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15449 }
15450 arg1 = reinterpret_cast< wxWindow * >(argp1);
15451 if (obj1) {
15452 ecode2 = SWIG_AsVal_int(obj1, &val2);
15453 if (!SWIG_IsOK(ecode2)) {
15454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15455 }
15456 arg2 = static_cast< int >(val2);
15457 }
15458 if (obj2) {
15459 {
15460 arg3 = &temp3;
15461 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15462 }
15463 }
15464 if (obj3) {
15465 {
15466 arg4 = &temp4;
15467 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15468 }
15469 }
15470 if (obj4) {
15471 ecode5 = SWIG_AsVal_long(obj4, &val5);
15472 if (!SWIG_IsOK(ecode5)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15474 }
15475 arg5 = static_cast< long >(val5);
15476 }
15477 if (obj5) {
15478 {
15479 arg6 = wxString_in_helper(obj5);
15480 if (arg6 == NULL) SWIG_fail;
15481 temp6 = true;
15482 }
15483 }
15484 {
15485 if (!wxPyCheckForApp()) SWIG_fail;
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15492 {
15493 if (temp6)
15494 delete arg6;
15495 }
15496 return resultobj;
15497 fail:
15498 {
15499 if (temp6)
15500 delete arg6;
15501 }
15502 return NULL;
15503 }
15504
15505
15506 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15507 PyObject *resultobj = 0;
15508 wxPyHtmlListBox *result = 0 ;
15509
15510 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15511 {
15512 if (!wxPyCheckForApp()) SWIG_fail;
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj = 0;
15527 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15528 PyObject *arg2 = (PyObject *) 0 ;
15529 PyObject *arg3 = (PyObject *) 0 ;
15530 void *argp1 = 0 ;
15531 int res1 = 0 ;
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 PyObject * obj2 = 0 ;
15535 char * kwnames[] = {
15536 (char *) "self",(char *) "self",(char *) "_class", NULL
15537 };
15538
15539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15541 if (!SWIG_IsOK(res1)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15543 }
15544 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15545 arg2 = obj1;
15546 arg3 = obj2;
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 (arg1)->_setCallbackInfo(arg2,arg3);
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 resultobj = SWIG_Py_Void();
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj = 0;
15562 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15563 wxWindow *arg2 = (wxWindow *) 0 ;
15564 int arg3 = (int) wxID_ANY ;
15565 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15566 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15567 wxSize const &arg5_defvalue = wxDefaultSize ;
15568 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15569 long arg6 = (long) 0 ;
15570 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15571 wxString *arg7 = (wxString *) &arg7_defvalue ;
15572 bool result;
15573 void *argp1 = 0 ;
15574 int res1 = 0 ;
15575 void *argp2 = 0 ;
15576 int res2 = 0 ;
15577 int val3 ;
15578 int ecode3 = 0 ;
15579 wxPoint temp4 ;
15580 wxSize temp5 ;
15581 long val6 ;
15582 int ecode6 = 0 ;
15583 bool temp7 = false ;
15584 PyObject * obj0 = 0 ;
15585 PyObject * obj1 = 0 ;
15586 PyObject * obj2 = 0 ;
15587 PyObject * obj3 = 0 ;
15588 PyObject * obj4 = 0 ;
15589 PyObject * obj5 = 0 ;
15590 PyObject * obj6 = 0 ;
15591 char * kwnames[] = {
15592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15593 };
15594
15595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15597 if (!SWIG_IsOK(res1)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15599 }
15600 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15601 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15602 if (!SWIG_IsOK(res2)) {
15603 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15604 }
15605 arg2 = reinterpret_cast< wxWindow * >(argp2);
15606 if (obj2) {
15607 ecode3 = SWIG_AsVal_int(obj2, &val3);
15608 if (!SWIG_IsOK(ecode3)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15610 }
15611 arg3 = static_cast< int >(val3);
15612 }
15613 if (obj3) {
15614 {
15615 arg4 = &temp4;
15616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15617 }
15618 }
15619 if (obj4) {
15620 {
15621 arg5 = &temp5;
15622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15623 }
15624 }
15625 if (obj5) {
15626 ecode6 = SWIG_AsVal_long(obj5, &val6);
15627 if (!SWIG_IsOK(ecode6)) {
15628 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15629 }
15630 arg6 = static_cast< long >(val6);
15631 }
15632 if (obj6) {
15633 {
15634 arg7 = wxString_in_helper(obj6);
15635 if (arg7 == NULL) SWIG_fail;
15636 temp7 = true;
15637 }
15638 }
15639 {
15640 PyThreadState* __tstate = wxPyBeginAllowThreads();
15641 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 {
15646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15647 }
15648 {
15649 if (temp7)
15650 delete arg7;
15651 }
15652 return resultobj;
15653 fail:
15654 {
15655 if (temp7)
15656 delete arg7;
15657 }
15658 return NULL;
15659 }
15660
15661
15662 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj = 0;
15664 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15665 size_t arg2 ;
15666 void *argp1 = 0 ;
15667 int res1 = 0 ;
15668 size_t val2 ;
15669 int ecode2 = 0 ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 char * kwnames[] = {
15673 (char *) "self",(char *) "count", NULL
15674 };
15675
15676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15678 if (!SWIG_IsOK(res1)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15680 }
15681 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15682 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15683 if (!SWIG_IsOK(ecode2)) {
15684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15685 }
15686 arg2 = static_cast< size_t >(val2);
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 (arg1)->SetItemCount(arg2);
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 resultobj = SWIG_Py_Void();
15694 return resultobj;
15695 fail:
15696 return NULL;
15697 }
15698
15699
15700 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15701 PyObject *resultobj = 0;
15702 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15703 wxFileSystem *result = 0 ;
15704 void *argp1 = 0 ;
15705 int res1 = 0 ;
15706 PyObject *swig_obj[1] ;
15707
15708 if (!args) SWIG_fail;
15709 swig_obj[0] = args;
15710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15711 if (!SWIG_IsOK(res1)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15713 }
15714 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 {
15718 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15719 result = (wxFileSystem *) &_result_ref;
15720 }
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15725 return resultobj;
15726 fail:
15727 return NULL;
15728 }
15729
15730
15731 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj = 0;
15733 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15734 size_t arg2 ;
15735 wxHtmlLinkInfo *arg3 = 0 ;
15736 void *argp1 = 0 ;
15737 int res1 = 0 ;
15738 size_t val2 ;
15739 int ecode2 = 0 ;
15740 void *argp3 = 0 ;
15741 int res3 = 0 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 PyObject * obj2 = 0 ;
15745 char * kwnames[] = {
15746 (char *) "self",(char *) "n",(char *) "link", NULL
15747 };
15748
15749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15751 if (!SWIG_IsOK(res1)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15753 }
15754 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15755 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15756 if (!SWIG_IsOK(ecode2)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15758 }
15759 arg2 = static_cast< size_t >(val2);
15760 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15761 if (!SWIG_IsOK(res3)) {
15762 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15763 }
15764 if (!argp3) {
15765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15766 }
15767 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 resultobj = SWIG_Py_Void();
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15782 PyObject *obj;
15783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15784 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15785 return SWIG_Py_Void();
15786 }
15787
15788 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15789 return SWIG_Python_InitShadowInstance(args);
15790 }
15791
15792 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15793 PyObject *resultobj = 0;
15794 wxPyTaskBarIcon *result = 0 ;
15795
15796 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15797 {
15798 if (!wxPyCheckForApp()) SWIG_fail;
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15812 PyObject *resultobj = 0;
15813 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15814 void *argp1 = 0 ;
15815 int res1 = 0 ;
15816 PyObject *swig_obj[1] ;
15817
15818 if (!args) SWIG_fail;
15819 swig_obj[0] = args;
15820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15821 if (!SWIG_IsOK(res1)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15823 }
15824 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 delete arg1;
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 resultobj = SWIG_Py_Void();
15833 return resultobj;
15834 fail:
15835 return NULL;
15836 }
15837
15838
15839 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj = 0;
15841 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15842 PyObject *arg2 = (PyObject *) 0 ;
15843 PyObject *arg3 = (PyObject *) 0 ;
15844 int arg4 ;
15845 void *argp1 = 0 ;
15846 int res1 = 0 ;
15847 int val4 ;
15848 int ecode4 = 0 ;
15849 PyObject * obj0 = 0 ;
15850 PyObject * obj1 = 0 ;
15851 PyObject * obj2 = 0 ;
15852 PyObject * obj3 = 0 ;
15853 char * kwnames[] = {
15854 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15855 };
15856
15857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15859 if (!SWIG_IsOK(res1)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15861 }
15862 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15863 arg2 = obj1;
15864 arg3 = obj2;
15865 ecode4 = SWIG_AsVal_int(obj3, &val4);
15866 if (!SWIG_IsOK(ecode4)) {
15867 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15868 }
15869 arg4 = static_cast< int >(val4);
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 resultobj = SWIG_Py_Void();
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15884 PyObject *resultobj = 0;
15885 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15886 void *argp1 = 0 ;
15887 int res1 = 0 ;
15888 PyObject *swig_obj[1] ;
15889
15890 if (!args) SWIG_fail;
15891 swig_obj[0] = args;
15892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15893 if (!SWIG_IsOK(res1)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15895 }
15896 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 wxPyTaskBarIcon_Destroy(arg1);
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 resultobj = SWIG_Py_Void();
15904 return resultobj;
15905 fail:
15906 return NULL;
15907 }
15908
15909
15910 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15911 PyObject *resultobj = 0;
15912 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15913 bool result;
15914 void *argp1 = 0 ;
15915 int res1 = 0 ;
15916 PyObject *swig_obj[1] ;
15917
15918 if (!args) SWIG_fail;
15919 swig_obj[0] = args;
15920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15921 if (!SWIG_IsOK(res1)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15923 }
15924 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 {
15932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15933 }
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15941 PyObject *resultobj = 0;
15942 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15943 bool result;
15944 void *argp1 = 0 ;
15945 int res1 = 0 ;
15946 PyObject *swig_obj[1] ;
15947
15948 if (!args) SWIG_fail;
15949 swig_obj[0] = args;
15950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15951 if (!SWIG_IsOK(res1)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15953 }
15954 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15955 {
15956 PyThreadState* __tstate = wxPyBeginAllowThreads();
15957 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15958 wxPyEndAllowThreads(__tstate);
15959 if (PyErr_Occurred()) SWIG_fail;
15960 }
15961 {
15962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15963 }
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj = 0;
15972 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15973 wxIcon *arg2 = 0 ;
15974 wxString const &arg3_defvalue = wxPyEmptyString ;
15975 wxString *arg3 = (wxString *) &arg3_defvalue ;
15976 bool result;
15977 void *argp1 = 0 ;
15978 int res1 = 0 ;
15979 void *argp2 = 0 ;
15980 int res2 = 0 ;
15981 bool temp3 = false ;
15982 PyObject * obj0 = 0 ;
15983 PyObject * obj1 = 0 ;
15984 PyObject * obj2 = 0 ;
15985 char * kwnames[] = {
15986 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15987 };
15988
15989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15991 if (!SWIG_IsOK(res1)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15993 }
15994 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15995 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15996 if (!SWIG_IsOK(res2)) {
15997 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15998 }
15999 if (!argp2) {
16000 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16001 }
16002 arg2 = reinterpret_cast< wxIcon * >(argp2);
16003 if (obj2) {
16004 {
16005 arg3 = wxString_in_helper(obj2);
16006 if (arg3 == NULL) SWIG_fail;
16007 temp3 = true;
16008 }
16009 }
16010 {
16011 PyThreadState* __tstate = wxPyBeginAllowThreads();
16012 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 {
16017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16018 }
16019 {
16020 if (temp3)
16021 delete arg3;
16022 }
16023 return resultobj;
16024 fail:
16025 {
16026 if (temp3)
16027 delete arg3;
16028 }
16029 return NULL;
16030 }
16031
16032
16033 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16034 PyObject *resultobj = 0;
16035 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16036 bool result;
16037 void *argp1 = 0 ;
16038 int res1 = 0 ;
16039 PyObject *swig_obj[1] ;
16040
16041 if (!args) SWIG_fail;
16042 swig_obj[0] = args;
16043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16044 if (!SWIG_IsOK(res1)) {
16045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16046 }
16047 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (bool)(arg1)->RemoveIcon();
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 {
16055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16056 }
16057 return resultobj;
16058 fail:
16059 return NULL;
16060 }
16061
16062
16063 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj = 0;
16065 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16066 wxMenu *arg2 = (wxMenu *) 0 ;
16067 bool result;
16068 void *argp1 = 0 ;
16069 int res1 = 0 ;
16070 void *argp2 = 0 ;
16071 int res2 = 0 ;
16072 PyObject * obj0 = 0 ;
16073 PyObject * obj1 = 0 ;
16074 char * kwnames[] = {
16075 (char *) "self",(char *) "menu", NULL
16076 };
16077
16078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16080 if (!SWIG_IsOK(res1)) {
16081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16082 }
16083 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16085 if (!SWIG_IsOK(res2)) {
16086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16087 }
16088 arg2 = reinterpret_cast< wxMenu * >(argp2);
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (bool)(arg1)->PopupMenu(arg2);
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 {
16096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16097 }
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16105 PyObject *obj;
16106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16108 return SWIG_Py_Void();
16109 }
16110
16111 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16112 return SWIG_Python_InitShadowInstance(args);
16113 }
16114
16115 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj = 0;
16117 wxEventType arg1 ;
16118 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16119 wxTaskBarIconEvent *result = 0 ;
16120 int val1 ;
16121 int ecode1 = 0 ;
16122 void *argp2 = 0 ;
16123 int res2 = 0 ;
16124 PyObject * obj0 = 0 ;
16125 PyObject * obj1 = 0 ;
16126 char * kwnames[] = {
16127 (char *) "evtType",(char *) "tbIcon", NULL
16128 };
16129
16130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16131 ecode1 = SWIG_AsVal_int(obj0, &val1);
16132 if (!SWIG_IsOK(ecode1)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16134 }
16135 arg1 = static_cast< wxEventType >(val1);
16136 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16137 if (!SWIG_IsOK(res2)) {
16138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16139 }
16140 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16141 {
16142 PyThreadState* __tstate = wxPyBeginAllowThreads();
16143 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16155 PyObject *obj;
16156 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16157 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16158 return SWIG_Py_Void();
16159 }
16160
16161 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16162 return SWIG_Python_InitShadowInstance(args);
16163 }
16164
16165 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16166 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16167 return 1;
16168 }
16169
16170
16171 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16172 PyObject *pyobj = 0;
16173
16174 {
16175 #if wxUSE_UNICODE
16176 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16177 #else
16178 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16179 #endif
16180 }
16181 return pyobj;
16182 }
16183
16184
16185 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16186 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16187 return 1;
16188 }
16189
16190
16191 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16192 PyObject *pyobj = 0;
16193
16194 {
16195 #if wxUSE_UNICODE
16196 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16197 #else
16198 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16199 #endif
16200 }
16201 return pyobj;
16202 }
16203
16204
16205 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16206 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16207 return 1;
16208 }
16209
16210
16211 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16212 PyObject *pyobj = 0;
16213
16214 {
16215 #if wxUSE_UNICODE
16216 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16217 #else
16218 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16219 #endif
16220 }
16221 return pyobj;
16222 }
16223
16224
16225 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16226 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16227 return 1;
16228 }
16229
16230
16231 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16232 PyObject *pyobj = 0;
16233
16234 {
16235 #if wxUSE_UNICODE
16236 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16237 #else
16238 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16239 #endif
16240 }
16241 return pyobj;
16242 }
16243
16244
16245 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16246 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16247 return 1;
16248 }
16249
16250
16251 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16252 PyObject *pyobj = 0;
16253
16254 {
16255 #if wxUSE_UNICODE
16256 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16257 #else
16258 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16259 #endif
16260 }
16261 return pyobj;
16262 }
16263
16264
16265 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16266 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16267 return 1;
16268 }
16269
16270
16271 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16272 PyObject *pyobj = 0;
16273
16274 {
16275 #if wxUSE_UNICODE
16276 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16277 #else
16278 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16279 #endif
16280 }
16281 return pyobj;
16282 }
16283
16284
16285 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16286 PyObject *resultobj = 0;
16287 wxColourData *result = 0 ;
16288
16289 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 result = (wxColourData *)new wxColourData();
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16297 return resultobj;
16298 fail:
16299 return NULL;
16300 }
16301
16302
16303 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16304 PyObject *resultobj = 0;
16305 wxColourData *arg1 = (wxColourData *) 0 ;
16306 void *argp1 = 0 ;
16307 int res1 = 0 ;
16308 PyObject *swig_obj[1] ;
16309
16310 if (!args) SWIG_fail;
16311 swig_obj[0] = args;
16312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16313 if (!SWIG_IsOK(res1)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16315 }
16316 arg1 = reinterpret_cast< wxColourData * >(argp1);
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 delete arg1;
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 resultobj = SWIG_Py_Void();
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16332 PyObject *resultobj = 0;
16333 wxColourData *arg1 = (wxColourData *) 0 ;
16334 bool result;
16335 void *argp1 = 0 ;
16336 int res1 = 0 ;
16337 PyObject *swig_obj[1] ;
16338
16339 if (!args) SWIG_fail;
16340 swig_obj[0] = args;
16341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16342 if (!SWIG_IsOK(res1)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16344 }
16345 arg1 = reinterpret_cast< wxColourData * >(argp1);
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (bool)(arg1)->GetChooseFull();
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 {
16353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16354 }
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16362 PyObject *resultobj = 0;
16363 wxColourData *arg1 = (wxColourData *) 0 ;
16364 wxColour result;
16365 void *argp1 = 0 ;
16366 int res1 = 0 ;
16367 PyObject *swig_obj[1] ;
16368
16369 if (!args) SWIG_fail;
16370 swig_obj[0] = args;
16371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16372 if (!SWIG_IsOK(res1)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16374 }
16375 arg1 = reinterpret_cast< wxColourData * >(argp1);
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (arg1)->GetColour();
16379 wxPyEndAllowThreads(__tstate);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj = 0;
16391 wxColourData *arg1 = (wxColourData *) 0 ;
16392 int arg2 ;
16393 wxColour result;
16394 void *argp1 = 0 ;
16395 int res1 = 0 ;
16396 int val2 ;
16397 int ecode2 = 0 ;
16398 PyObject * obj0 = 0 ;
16399 PyObject * obj1 = 0 ;
16400 char * kwnames[] = {
16401 (char *) "self",(char *) "i", NULL
16402 };
16403
16404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16406 if (!SWIG_IsOK(res1)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16408 }
16409 arg1 = reinterpret_cast< wxColourData * >(argp1);
16410 ecode2 = SWIG_AsVal_int(obj1, &val2);
16411 if (!SWIG_IsOK(ecode2)) {
16412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16413 }
16414 arg2 = static_cast< int >(val2);
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 result = (arg1)->GetCustomColour(arg2);
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj = 0;
16430 wxColourData *arg1 = (wxColourData *) 0 ;
16431 int arg2 ;
16432 void *argp1 = 0 ;
16433 int res1 = 0 ;
16434 int val2 ;
16435 int ecode2 = 0 ;
16436 PyObject * obj0 = 0 ;
16437 PyObject * obj1 = 0 ;
16438 char * kwnames[] = {
16439 (char *) "self",(char *) "flag", NULL
16440 };
16441
16442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16444 if (!SWIG_IsOK(res1)) {
16445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16446 }
16447 arg1 = reinterpret_cast< wxColourData * >(argp1);
16448 ecode2 = SWIG_AsVal_int(obj1, &val2);
16449 if (!SWIG_IsOK(ecode2)) {
16450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16451 }
16452 arg2 = static_cast< int >(val2);
16453 {
16454 PyThreadState* __tstate = wxPyBeginAllowThreads();
16455 (arg1)->SetChooseFull(arg2);
16456 wxPyEndAllowThreads(__tstate);
16457 if (PyErr_Occurred()) SWIG_fail;
16458 }
16459 resultobj = SWIG_Py_Void();
16460 return resultobj;
16461 fail:
16462 return NULL;
16463 }
16464
16465
16466 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj = 0;
16468 wxColourData *arg1 = (wxColourData *) 0 ;
16469 wxColour *arg2 = 0 ;
16470 void *argp1 = 0 ;
16471 int res1 = 0 ;
16472 wxColour temp2 ;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char * kwnames[] = {
16476 (char *) "self",(char *) "colour", NULL
16477 };
16478
16479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16481 if (!SWIG_IsOK(res1)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16483 }
16484 arg1 = reinterpret_cast< wxColourData * >(argp1);
16485 {
16486 arg2 = &temp2;
16487 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16488 }
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 (arg1)->SetColour((wxColour const &)*arg2);
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 resultobj = SWIG_Py_Void();
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj = 0;
16504 wxColourData *arg1 = (wxColourData *) 0 ;
16505 int arg2 ;
16506 wxColour *arg3 = 0 ;
16507 void *argp1 = 0 ;
16508 int res1 = 0 ;
16509 int val2 ;
16510 int ecode2 = 0 ;
16511 wxColour temp3 ;
16512 PyObject * obj0 = 0 ;
16513 PyObject * obj1 = 0 ;
16514 PyObject * obj2 = 0 ;
16515 char * kwnames[] = {
16516 (char *) "self",(char *) "i",(char *) "colour", NULL
16517 };
16518
16519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16521 if (!SWIG_IsOK(res1)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16523 }
16524 arg1 = reinterpret_cast< wxColourData * >(argp1);
16525 ecode2 = SWIG_AsVal_int(obj1, &val2);
16526 if (!SWIG_IsOK(ecode2)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16528 }
16529 arg2 = static_cast< int >(val2);
16530 {
16531 arg3 = &temp3;
16532 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16533 }
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16537 wxPyEndAllowThreads(__tstate);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 resultobj = SWIG_Py_Void();
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16548 PyObject *obj;
16549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16550 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16551 return SWIG_Py_Void();
16552 }
16553
16554 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16555 return SWIG_Python_InitShadowInstance(args);
16556 }
16557
16558 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj = 0;
16560 wxWindow *arg1 = (wxWindow *) 0 ;
16561 wxColourData *arg2 = (wxColourData *) NULL ;
16562 wxColourDialog *result = 0 ;
16563 void *argp1 = 0 ;
16564 int res1 = 0 ;
16565 void *argp2 = 0 ;
16566 int res2 = 0 ;
16567 PyObject * obj0 = 0 ;
16568 PyObject * obj1 = 0 ;
16569 char * kwnames[] = {
16570 (char *) "parent",(char *) "data", NULL
16571 };
16572
16573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16575 if (!SWIG_IsOK(res1)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16577 }
16578 arg1 = reinterpret_cast< wxWindow * >(argp1);
16579 if (obj1) {
16580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16581 if (!SWIG_IsOK(res2)) {
16582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16583 }
16584 arg2 = reinterpret_cast< wxColourData * >(argp2);
16585 }
16586 {
16587 if (!wxPyCheckForApp()) SWIG_fail;
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16594 return resultobj;
16595 fail:
16596 return NULL;
16597 }
16598
16599
16600 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16601 PyObject *resultobj = 0;
16602 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16603 wxColourData *result = 0 ;
16604 void *argp1 = 0 ;
16605 int res1 = 0 ;
16606 PyObject *swig_obj[1] ;
16607
16608 if (!args) SWIG_fail;
16609 swig_obj[0] = args;
16610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16611 if (!SWIG_IsOK(res1)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16613 }
16614 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 {
16618 wxColourData &_result_ref = (arg1)->GetColourData();
16619 result = (wxColourData *) &_result_ref;
16620 }
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16625 return resultobj;
16626 fail:
16627 return NULL;
16628 }
16629
16630
16631 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16632 PyObject *obj;
16633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16634 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16635 return SWIG_Py_Void();
16636 }
16637
16638 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16639 return SWIG_Python_InitShadowInstance(args);
16640 }
16641
16642 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj = 0;
16644 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16645 wxColour const &arg2_defvalue = wxNullColour ;
16646 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16647 wxString const &arg3_defvalue = wxPyEmptyString ;
16648 wxString *arg3 = (wxString *) &arg3_defvalue ;
16649 wxColour result;
16650 void *argp1 = 0 ;
16651 int res1 = 0 ;
16652 wxColour temp2 ;
16653 bool temp3 = false ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 PyObject * obj2 = 0 ;
16657 char * kwnames[] = {
16658 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16659 };
16660
16661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16662 if (obj0) {
16663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16664 if (!SWIG_IsOK(res1)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16666 }
16667 arg1 = reinterpret_cast< wxWindow * >(argp1);
16668 }
16669 if (obj1) {
16670 {
16671 arg2 = &temp2;
16672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16673 }
16674 }
16675 if (obj2) {
16676 {
16677 arg3 = wxString_in_helper(obj2);
16678 if (arg3 == NULL) SWIG_fail;
16679 temp3 = true;
16680 }
16681 }
16682 {
16683 PyThreadState* __tstate = wxPyBeginAllowThreads();
16684 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16689 {
16690 if (temp3)
16691 delete arg3;
16692 }
16693 return resultobj;
16694 fail:
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 return NULL;
16700 }
16701
16702
16703 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16704 PyObject *resultobj = 0;
16705 wxWindow *arg1 = (wxWindow *) 0 ;
16706 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16707 wxString *arg2 = (wxString *) &arg2_defvalue ;
16708 wxString const &arg3_defvalue = wxPyEmptyString ;
16709 wxString *arg3 = (wxString *) &arg3_defvalue ;
16710 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16711 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16712 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16713 wxSize const &arg6_defvalue = wxDefaultSize ;
16714 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16715 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16716 wxString *arg7 = (wxString *) &arg7_defvalue ;
16717 wxDirDialog *result = 0 ;
16718 void *argp1 = 0 ;
16719 int res1 = 0 ;
16720 bool temp2 = false ;
16721 bool temp3 = false ;
16722 long val4 ;
16723 int ecode4 = 0 ;
16724 wxPoint temp5 ;
16725 wxSize temp6 ;
16726 bool temp7 = false ;
16727 PyObject * obj0 = 0 ;
16728 PyObject * obj1 = 0 ;
16729 PyObject * obj2 = 0 ;
16730 PyObject * obj3 = 0 ;
16731 PyObject * obj4 = 0 ;
16732 PyObject * obj5 = 0 ;
16733 PyObject * obj6 = 0 ;
16734 char * kwnames[] = {
16735 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16736 };
16737
16738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16740 if (!SWIG_IsOK(res1)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16742 }
16743 arg1 = reinterpret_cast< wxWindow * >(argp1);
16744 if (obj1) {
16745 {
16746 arg2 = wxString_in_helper(obj1);
16747 if (arg2 == NULL) SWIG_fail;
16748 temp2 = true;
16749 }
16750 }
16751 if (obj2) {
16752 {
16753 arg3 = wxString_in_helper(obj2);
16754 if (arg3 == NULL) SWIG_fail;
16755 temp3 = true;
16756 }
16757 }
16758 if (obj3) {
16759 ecode4 = SWIG_AsVal_long(obj3, &val4);
16760 if (!SWIG_IsOK(ecode4)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16762 }
16763 arg4 = static_cast< long >(val4);
16764 }
16765 if (obj4) {
16766 {
16767 arg5 = &temp5;
16768 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16769 }
16770 }
16771 if (obj5) {
16772 {
16773 arg6 = &temp6;
16774 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16775 }
16776 }
16777 if (obj6) {
16778 {
16779 arg7 = wxString_in_helper(obj6);
16780 if (arg7 == NULL) SWIG_fail;
16781 temp7 = true;
16782 }
16783 }
16784 {
16785 if (!wxPyCheckForApp()) SWIG_fail;
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
16791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16792 {
16793 if (temp2)
16794 delete arg2;
16795 }
16796 {
16797 if (temp3)
16798 delete arg3;
16799 }
16800 {
16801 if (temp7)
16802 delete arg7;
16803 }
16804 return resultobj;
16805 fail:
16806 {
16807 if (temp2)
16808 delete arg2;
16809 }
16810 {
16811 if (temp3)
16812 delete arg3;
16813 }
16814 {
16815 if (temp7)
16816 delete arg7;
16817 }
16818 return NULL;
16819 }
16820
16821
16822 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16823 PyObject *resultobj = 0;
16824 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16825 wxString result;
16826 void *argp1 = 0 ;
16827 int res1 = 0 ;
16828 PyObject *swig_obj[1] ;
16829
16830 if (!args) SWIG_fail;
16831 swig_obj[0] = args;
16832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16833 if (!SWIG_IsOK(res1)) {
16834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16835 }
16836 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 result = (arg1)->GetPath();
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 {
16844 #if wxUSE_UNICODE
16845 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16846 #else
16847 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16848 #endif
16849 }
16850 return resultobj;
16851 fail:
16852 return NULL;
16853 }
16854
16855
16856 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16857 PyObject *resultobj = 0;
16858 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16859 wxString result;
16860 void *argp1 = 0 ;
16861 int res1 = 0 ;
16862 PyObject *swig_obj[1] ;
16863
16864 if (!args) SWIG_fail;
16865 swig_obj[0] = args;
16866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16867 if (!SWIG_IsOK(res1)) {
16868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16869 }
16870 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16871 {
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = (arg1)->GetMessage();
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 {
16878 #if wxUSE_UNICODE
16879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16880 #else
16881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16882 #endif
16883 }
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj = 0;
16892 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16893 wxString *arg2 = 0 ;
16894 void *argp1 = 0 ;
16895 int res1 = 0 ;
16896 bool temp2 = false ;
16897 PyObject * obj0 = 0 ;
16898 PyObject * obj1 = 0 ;
16899 char * kwnames[] = {
16900 (char *) "self",(char *) "message", NULL
16901 };
16902
16903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16905 if (!SWIG_IsOK(res1)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16907 }
16908 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16909 {
16910 arg2 = wxString_in_helper(obj1);
16911 if (arg2 == NULL) SWIG_fail;
16912 temp2 = true;
16913 }
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 (arg1)->SetMessage((wxString const &)*arg2);
16917 wxPyEndAllowThreads(__tstate);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 }
16920 resultobj = SWIG_Py_Void();
16921 {
16922 if (temp2)
16923 delete arg2;
16924 }
16925 return resultobj;
16926 fail:
16927 {
16928 if (temp2)
16929 delete arg2;
16930 }
16931 return NULL;
16932 }
16933
16934
16935 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj = 0;
16937 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16938 wxString *arg2 = 0 ;
16939 void *argp1 = 0 ;
16940 int res1 = 0 ;
16941 bool temp2 = false ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 char * kwnames[] = {
16945 (char *) "self",(char *) "path", NULL
16946 };
16947
16948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16950 if (!SWIG_IsOK(res1)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16952 }
16953 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16954 {
16955 arg2 = wxString_in_helper(obj1);
16956 if (arg2 == NULL) SWIG_fail;
16957 temp2 = true;
16958 }
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
16961 (arg1)->SetPath((wxString const &)*arg2);
16962 wxPyEndAllowThreads(__tstate);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 }
16965 resultobj = SWIG_Py_Void();
16966 {
16967 if (temp2)
16968 delete arg2;
16969 }
16970 return resultobj;
16971 fail:
16972 {
16973 if (temp2)
16974 delete arg2;
16975 }
16976 return NULL;
16977 }
16978
16979
16980 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16981 PyObject *obj;
16982 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16983 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16984 return SWIG_Py_Void();
16985 }
16986
16987 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16988 return SWIG_Python_InitShadowInstance(args);
16989 }
16990
16991 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16992 PyObject *resultobj = 0;
16993 wxWindow *arg1 = (wxWindow *) 0 ;
16994 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16995 wxString *arg2 = (wxString *) &arg2_defvalue ;
16996 wxString const &arg3_defvalue = wxPyEmptyString ;
16997 wxString *arg3 = (wxString *) &arg3_defvalue ;
16998 wxString const &arg4_defvalue = wxPyEmptyString ;
16999 wxString *arg4 = (wxString *) &arg4_defvalue ;
17000 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17001 wxString *arg5 = (wxString *) &arg5_defvalue ;
17002 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17003 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17004 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17005 wxFileDialog *result = 0 ;
17006 void *argp1 = 0 ;
17007 int res1 = 0 ;
17008 bool temp2 = false ;
17009 bool temp3 = false ;
17010 bool temp4 = false ;
17011 bool temp5 = false ;
17012 long val6 ;
17013 int ecode6 = 0 ;
17014 wxPoint temp7 ;
17015 PyObject * obj0 = 0 ;
17016 PyObject * obj1 = 0 ;
17017 PyObject * obj2 = 0 ;
17018 PyObject * obj3 = 0 ;
17019 PyObject * obj4 = 0 ;
17020 PyObject * obj5 = 0 ;
17021 PyObject * obj6 = 0 ;
17022 char * kwnames[] = {
17023 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17024 };
17025
17026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17028 if (!SWIG_IsOK(res1)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17030 }
17031 arg1 = reinterpret_cast< wxWindow * >(argp1);
17032 if (obj1) {
17033 {
17034 arg2 = wxString_in_helper(obj1);
17035 if (arg2 == NULL) SWIG_fail;
17036 temp2 = true;
17037 }
17038 }
17039 if (obj2) {
17040 {
17041 arg3 = wxString_in_helper(obj2);
17042 if (arg3 == NULL) SWIG_fail;
17043 temp3 = true;
17044 }
17045 }
17046 if (obj3) {
17047 {
17048 arg4 = wxString_in_helper(obj3);
17049 if (arg4 == NULL) SWIG_fail;
17050 temp4 = true;
17051 }
17052 }
17053 if (obj4) {
17054 {
17055 arg5 = wxString_in_helper(obj4);
17056 if (arg5 == NULL) SWIG_fail;
17057 temp5 = true;
17058 }
17059 }
17060 if (obj5) {
17061 ecode6 = SWIG_AsVal_long(obj5, &val6);
17062 if (!SWIG_IsOK(ecode6)) {
17063 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17064 }
17065 arg6 = static_cast< long >(val6);
17066 }
17067 if (obj6) {
17068 {
17069 arg7 = &temp7;
17070 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17071 }
17072 }
17073 {
17074 if (!wxPyCheckForApp()) SWIG_fail;
17075 PyThreadState* __tstate = wxPyBeginAllowThreads();
17076 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17081 {
17082 if (temp2)
17083 delete arg2;
17084 }
17085 {
17086 if (temp3)
17087 delete arg3;
17088 }
17089 {
17090 if (temp4)
17091 delete arg4;
17092 }
17093 {
17094 if (temp5)
17095 delete arg5;
17096 }
17097 return resultobj;
17098 fail:
17099 {
17100 if (temp2)
17101 delete arg2;
17102 }
17103 {
17104 if (temp3)
17105 delete arg3;
17106 }
17107 {
17108 if (temp4)
17109 delete arg4;
17110 }
17111 {
17112 if (temp5)
17113 delete arg5;
17114 }
17115 return NULL;
17116 }
17117
17118
17119 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17120 PyObject *resultobj = 0;
17121 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17122 wxString *arg2 = 0 ;
17123 void *argp1 = 0 ;
17124 int res1 = 0 ;
17125 bool temp2 = false ;
17126 PyObject * obj0 = 0 ;
17127 PyObject * obj1 = 0 ;
17128 char * kwnames[] = {
17129 (char *) "self",(char *) "message", NULL
17130 };
17131
17132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17134 if (!SWIG_IsOK(res1)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17136 }
17137 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17138 {
17139 arg2 = wxString_in_helper(obj1);
17140 if (arg2 == NULL) SWIG_fail;
17141 temp2 = true;
17142 }
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 (arg1)->SetMessage((wxString const &)*arg2);
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 resultobj = SWIG_Py_Void();
17150 {
17151 if (temp2)
17152 delete arg2;
17153 }
17154 return resultobj;
17155 fail:
17156 {
17157 if (temp2)
17158 delete arg2;
17159 }
17160 return NULL;
17161 }
17162
17163
17164 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj = 0;
17166 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17167 wxString *arg2 = 0 ;
17168 void *argp1 = 0 ;
17169 int res1 = 0 ;
17170 bool temp2 = false ;
17171 PyObject * obj0 = 0 ;
17172 PyObject * obj1 = 0 ;
17173 char * kwnames[] = {
17174 (char *) "self",(char *) "path", NULL
17175 };
17176
17177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17179 if (!SWIG_IsOK(res1)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17181 }
17182 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17183 {
17184 arg2 = wxString_in_helper(obj1);
17185 if (arg2 == NULL) SWIG_fail;
17186 temp2 = true;
17187 }
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 (arg1)->SetPath((wxString const &)*arg2);
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 resultobj = SWIG_Py_Void();
17195 {
17196 if (temp2)
17197 delete arg2;
17198 }
17199 return resultobj;
17200 fail:
17201 {
17202 if (temp2)
17203 delete arg2;
17204 }
17205 return NULL;
17206 }
17207
17208
17209 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17210 PyObject *resultobj = 0;
17211 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17212 wxString *arg2 = 0 ;
17213 void *argp1 = 0 ;
17214 int res1 = 0 ;
17215 bool temp2 = false ;
17216 PyObject * obj0 = 0 ;
17217 PyObject * obj1 = 0 ;
17218 char * kwnames[] = {
17219 (char *) "self",(char *) "dir", NULL
17220 };
17221
17222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17224 if (!SWIG_IsOK(res1)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17226 }
17227 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17228 {
17229 arg2 = wxString_in_helper(obj1);
17230 if (arg2 == NULL) SWIG_fail;
17231 temp2 = true;
17232 }
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 (arg1)->SetDirectory((wxString const &)*arg2);
17236 wxPyEndAllowThreads(__tstate);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 }
17239 resultobj = SWIG_Py_Void();
17240 {
17241 if (temp2)
17242 delete arg2;
17243 }
17244 return resultobj;
17245 fail:
17246 {
17247 if (temp2)
17248 delete arg2;
17249 }
17250 return NULL;
17251 }
17252
17253
17254 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj = 0;
17256 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17257 wxString *arg2 = 0 ;
17258 void *argp1 = 0 ;
17259 int res1 = 0 ;
17260 bool temp2 = false ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char * kwnames[] = {
17264 (char *) "self",(char *) "name", NULL
17265 };
17266
17267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17269 if (!SWIG_IsOK(res1)) {
17270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17271 }
17272 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17273 {
17274 arg2 = wxString_in_helper(obj1);
17275 if (arg2 == NULL) SWIG_fail;
17276 temp2 = true;
17277 }
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->SetFilename((wxString const &)*arg2);
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 resultobj = SWIG_Py_Void();
17285 {
17286 if (temp2)
17287 delete arg2;
17288 }
17289 return resultobj;
17290 fail:
17291 {
17292 if (temp2)
17293 delete arg2;
17294 }
17295 return NULL;
17296 }
17297
17298
17299 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17300 PyObject *resultobj = 0;
17301 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17302 wxString *arg2 = 0 ;
17303 void *argp1 = 0 ;
17304 int res1 = 0 ;
17305 bool temp2 = false ;
17306 PyObject * obj0 = 0 ;
17307 PyObject * obj1 = 0 ;
17308 char * kwnames[] = {
17309 (char *) "self",(char *) "wildCard", NULL
17310 };
17311
17312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17314 if (!SWIG_IsOK(res1)) {
17315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17316 }
17317 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17318 {
17319 arg2 = wxString_in_helper(obj1);
17320 if (arg2 == NULL) SWIG_fail;
17321 temp2 = true;
17322 }
17323 {
17324 PyThreadState* __tstate = wxPyBeginAllowThreads();
17325 (arg1)->SetWildcard((wxString const &)*arg2);
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
17329 resultobj = SWIG_Py_Void();
17330 {
17331 if (temp2)
17332 delete arg2;
17333 }
17334 return resultobj;
17335 fail:
17336 {
17337 if (temp2)
17338 delete arg2;
17339 }
17340 return NULL;
17341 }
17342
17343
17344 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17345 PyObject *resultobj = 0;
17346 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17347 int arg2 ;
17348 void *argp1 = 0 ;
17349 int res1 = 0 ;
17350 int val2 ;
17351 int ecode2 = 0 ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char * kwnames[] = {
17355 (char *) "self",(char *) "filterIndex", NULL
17356 };
17357
17358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17362 }
17363 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17364 ecode2 = SWIG_AsVal_int(obj1, &val2);
17365 if (!SWIG_IsOK(ecode2)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17367 }
17368 arg2 = static_cast< int >(val2);
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 (arg1)->SetFilterIndex(arg2);
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_Py_Void();
17376 return resultobj;
17377 fail:
17378 return NULL;
17379 }
17380
17381
17382 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17383 PyObject *resultobj = 0;
17384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17385 wxString result;
17386 void *argp1 = 0 ;
17387 int res1 = 0 ;
17388 PyObject *swig_obj[1] ;
17389
17390 if (!args) SWIG_fail;
17391 swig_obj[0] = args;
17392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17393 if (!SWIG_IsOK(res1)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17395 }
17396 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = ((wxFileDialog const *)arg1)->GetMessage();
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 {
17404 #if wxUSE_UNICODE
17405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17406 #else
17407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17408 #endif
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17417 PyObject *resultobj = 0;
17418 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17419 wxString result;
17420 void *argp1 = 0 ;
17421 int res1 = 0 ;
17422 PyObject *swig_obj[1] ;
17423
17424 if (!args) SWIG_fail;
17425 swig_obj[0] = args;
17426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17427 if (!SWIG_IsOK(res1)) {
17428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17429 }
17430 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = ((wxFileDialog const *)arg1)->GetPath();
17434 wxPyEndAllowThreads(__tstate);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 }
17437 {
17438 #if wxUSE_UNICODE
17439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17440 #else
17441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17442 #endif
17443 }
17444 return resultobj;
17445 fail:
17446 return NULL;
17447 }
17448
17449
17450 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17451 PyObject *resultobj = 0;
17452 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17453 wxString result;
17454 void *argp1 = 0 ;
17455 int res1 = 0 ;
17456 PyObject *swig_obj[1] ;
17457
17458 if (!args) SWIG_fail;
17459 swig_obj[0] = args;
17460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17461 if (!SWIG_IsOK(res1)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17463 }
17464 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = ((wxFileDialog const *)arg1)->GetDirectory();
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 {
17472 #if wxUSE_UNICODE
17473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17474 #else
17475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17476 #endif
17477 }
17478 return resultobj;
17479 fail:
17480 return NULL;
17481 }
17482
17483
17484 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17485 PyObject *resultobj = 0;
17486 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17487 wxString result;
17488 void *argp1 = 0 ;
17489 int res1 = 0 ;
17490 PyObject *swig_obj[1] ;
17491
17492 if (!args) SWIG_fail;
17493 swig_obj[0] = args;
17494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17495 if (!SWIG_IsOK(res1)) {
17496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17497 }
17498 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17499 {
17500 PyThreadState* __tstate = wxPyBeginAllowThreads();
17501 result = ((wxFileDialog const *)arg1)->GetFilename();
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 {
17506 #if wxUSE_UNICODE
17507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17508 #else
17509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17510 #endif
17511 }
17512 return resultobj;
17513 fail:
17514 return NULL;
17515 }
17516
17517
17518 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17519 PyObject *resultobj = 0;
17520 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17521 wxString result;
17522 void *argp1 = 0 ;
17523 int res1 = 0 ;
17524 PyObject *swig_obj[1] ;
17525
17526 if (!args) SWIG_fail;
17527 swig_obj[0] = args;
17528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17529 if (!SWIG_IsOK(res1)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17531 }
17532 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17533 {
17534 PyThreadState* __tstate = wxPyBeginAllowThreads();
17535 result = ((wxFileDialog const *)arg1)->GetWildcard();
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 {
17540 #if wxUSE_UNICODE
17541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17542 #else
17543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17544 #endif
17545 }
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17553 PyObject *resultobj = 0;
17554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17555 int result;
17556 void *argp1 = 0 ;
17557 int res1 = 0 ;
17558 PyObject *swig_obj[1] ;
17559
17560 if (!args) SWIG_fail;
17561 swig_obj[0] = args;
17562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17563 if (!SWIG_IsOK(res1)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17565 }
17566 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = SWIG_From_int(static_cast< int >(result));
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17581 PyObject *resultobj = 0;
17582 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17583 PyObject *result = 0 ;
17584 void *argp1 = 0 ;
17585 int res1 = 0 ;
17586 PyObject *swig_obj[1] ;
17587
17588 if (!args) SWIG_fail;
17589 swig_obj[0] = args;
17590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17591 if (!SWIG_IsOK(res1)) {
17592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17593 }
17594 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = result;
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17609 PyObject *resultobj = 0;
17610 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17611 PyObject *result = 0 ;
17612 void *argp1 = 0 ;
17613 int res1 = 0 ;
17614 PyObject *swig_obj[1] ;
17615
17616 if (!args) SWIG_fail;
17617 swig_obj[0] = args;
17618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17619 if (!SWIG_IsOK(res1)) {
17620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17621 }
17622 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17626 wxPyEndAllowThreads(__tstate);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 }
17629 resultobj = result;
17630 return resultobj;
17631 fail:
17632 return NULL;
17633 }
17634
17635
17636 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17637 PyObject *obj;
17638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17639 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17640 return SWIG_Py_Void();
17641 }
17642
17643 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17644 return SWIG_Python_InitShadowInstance(args);
17645 }
17646
17647 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj = 0;
17649 wxWindow *arg1 = (wxWindow *) 0 ;
17650 wxString *arg2 = 0 ;
17651 wxString *arg3 = 0 ;
17652 int arg4 = (int) 0 ;
17653 wxString *arg5 = (wxString *) NULL ;
17654 long arg6 = (long) wxCHOICEDLG_STYLE ;
17655 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17656 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17657 wxMultiChoiceDialog *result = 0 ;
17658 void *argp1 = 0 ;
17659 int res1 = 0 ;
17660 bool temp2 = false ;
17661 bool temp3 = false ;
17662 long val6 ;
17663 int ecode6 = 0 ;
17664 wxPoint temp7 ;
17665 PyObject * obj0 = 0 ;
17666 PyObject * obj1 = 0 ;
17667 PyObject * obj2 = 0 ;
17668 PyObject * obj3 = 0 ;
17669 PyObject * obj4 = 0 ;
17670 PyObject * obj5 = 0 ;
17671 char * kwnames[] = {
17672 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17673 };
17674
17675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17677 if (!SWIG_IsOK(res1)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17679 }
17680 arg1 = reinterpret_cast< wxWindow * >(argp1);
17681 {
17682 arg2 = wxString_in_helper(obj1);
17683 if (arg2 == NULL) SWIG_fail;
17684 temp2 = true;
17685 }
17686 {
17687 arg3 = wxString_in_helper(obj2);
17688 if (arg3 == NULL) SWIG_fail;
17689 temp3 = true;
17690 }
17691 if (obj3) {
17692 {
17693 arg4 = PyList_Size(obj3);
17694 arg5 = wxString_LIST_helper(obj3);
17695 if (arg5 == NULL) SWIG_fail;
17696 }
17697 }
17698 if (obj4) {
17699 ecode6 = SWIG_AsVal_long(obj4, &val6);
17700 if (!SWIG_IsOK(ecode6)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17702 }
17703 arg6 = static_cast< long >(val6);
17704 }
17705 if (obj5) {
17706 {
17707 arg7 = &temp7;
17708 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17709 }
17710 }
17711 {
17712 if (!wxPyCheckForApp()) SWIG_fail;
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17719 {
17720 if (temp2)
17721 delete arg2;
17722 }
17723 {
17724 if (temp3)
17725 delete arg3;
17726 }
17727 {
17728 if (arg5) delete [] arg5;
17729 }
17730 return resultobj;
17731 fail:
17732 {
17733 if (temp2)
17734 delete arg2;
17735 }
17736 {
17737 if (temp3)
17738 delete arg3;
17739 }
17740 {
17741 if (arg5) delete [] arg5;
17742 }
17743 return NULL;
17744 }
17745
17746
17747 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj = 0;
17749 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17750 wxArrayInt *arg2 = 0 ;
17751 void *argp1 = 0 ;
17752 int res1 = 0 ;
17753 bool temp2 = false ;
17754 PyObject * obj0 = 0 ;
17755 PyObject * obj1 = 0 ;
17756 char * kwnames[] = {
17757 (char *) "self",(char *) "selections", NULL
17758 };
17759
17760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17762 if (!SWIG_IsOK(res1)) {
17763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17764 }
17765 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17766 {
17767 if (! PySequence_Check(obj1)) {
17768 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17769 SWIG_fail;
17770 }
17771 arg2 = new wxArrayInt;
17772 temp2 = true;
17773 int i, len=PySequence_Length(obj1);
17774 for (i=0; i<len; i++) {
17775 PyObject* item = PySequence_GetItem(obj1, i);
17776 PyObject* number = PyNumber_Int(item);
17777 arg2->Add(PyInt_AS_LONG(number));
17778 Py_DECREF(item);
17779 Py_DECREF(number);
17780 }
17781 }
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 resultobj = SWIG_Py_Void();
17789 {
17790 if (temp2) delete arg2;
17791 }
17792 return resultobj;
17793 fail:
17794 {
17795 if (temp2) delete arg2;
17796 }
17797 return NULL;
17798 }
17799
17800
17801 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17802 PyObject *resultobj = 0;
17803 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17804 PyObject *result = 0 ;
17805 void *argp1 = 0 ;
17806 int res1 = 0 ;
17807 PyObject *swig_obj[1] ;
17808
17809 if (!args) SWIG_fail;
17810 swig_obj[0] = args;
17811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17812 if (!SWIG_IsOK(res1)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17814 }
17815 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 resultobj = result;
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17830 PyObject *obj;
17831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17832 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17833 return SWIG_Py_Void();
17834 }
17835
17836 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17837 return SWIG_Python_InitShadowInstance(args);
17838 }
17839
17840 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj = 0;
17842 wxWindow *arg1 = (wxWindow *) 0 ;
17843 wxString *arg2 = 0 ;
17844 wxString *arg3 = 0 ;
17845 int arg4 ;
17846 wxString *arg5 = (wxString *) 0 ;
17847 long arg6 = (long) wxCHOICEDLG_STYLE ;
17848 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17849 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17850 wxSingleChoiceDialog *result = 0 ;
17851 void *argp1 = 0 ;
17852 int res1 = 0 ;
17853 bool temp2 = false ;
17854 bool temp3 = false ;
17855 long val6 ;
17856 int ecode6 = 0 ;
17857 wxPoint temp7 ;
17858 PyObject * obj0 = 0 ;
17859 PyObject * obj1 = 0 ;
17860 PyObject * obj2 = 0 ;
17861 PyObject * obj3 = 0 ;
17862 PyObject * obj4 = 0 ;
17863 PyObject * obj5 = 0 ;
17864 char * kwnames[] = {
17865 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17866 };
17867
17868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17870 if (!SWIG_IsOK(res1)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17872 }
17873 arg1 = reinterpret_cast< wxWindow * >(argp1);
17874 {
17875 arg2 = wxString_in_helper(obj1);
17876 if (arg2 == NULL) SWIG_fail;
17877 temp2 = true;
17878 }
17879 {
17880 arg3 = wxString_in_helper(obj2);
17881 if (arg3 == NULL) SWIG_fail;
17882 temp3 = true;
17883 }
17884 {
17885 arg4 = PyList_Size(obj3);
17886 arg5 = wxString_LIST_helper(obj3);
17887 if (arg5 == NULL) SWIG_fail;
17888 }
17889 if (obj4) {
17890 ecode6 = SWIG_AsVal_long(obj4, &val6);
17891 if (!SWIG_IsOK(ecode6)) {
17892 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17893 }
17894 arg6 = static_cast< long >(val6);
17895 }
17896 if (obj5) {
17897 {
17898 arg7 = &temp7;
17899 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17900 }
17901 }
17902 {
17903 if (!wxPyCheckForApp()) SWIG_fail;
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17906 wxPyEndAllowThreads(__tstate);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
17909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17910 {
17911 if (temp2)
17912 delete arg2;
17913 }
17914 {
17915 if (temp3)
17916 delete arg3;
17917 }
17918 {
17919 if (arg5) delete [] arg5;
17920 }
17921 return resultobj;
17922 fail:
17923 {
17924 if (temp2)
17925 delete arg2;
17926 }
17927 {
17928 if (temp3)
17929 delete arg3;
17930 }
17931 {
17932 if (arg5) delete [] arg5;
17933 }
17934 return NULL;
17935 }
17936
17937
17938 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17939 PyObject *resultobj = 0;
17940 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17941 int result;
17942 void *argp1 = 0 ;
17943 int res1 = 0 ;
17944 PyObject *swig_obj[1] ;
17945
17946 if (!args) SWIG_fail;
17947 swig_obj[0] = args;
17948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17951 }
17952 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 result = (int)(arg1)->GetSelection();
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 resultobj = SWIG_From_int(static_cast< int >(result));
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17967 PyObject *resultobj = 0;
17968 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17969 wxString result;
17970 void *argp1 = 0 ;
17971 int res1 = 0 ;
17972 PyObject *swig_obj[1] ;
17973
17974 if (!args) SWIG_fail;
17975 swig_obj[0] = args;
17976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17977 if (!SWIG_IsOK(res1)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17979 }
17980 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = (arg1)->GetStringSelection();
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 {
17988 #if wxUSE_UNICODE
17989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17990 #else
17991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17992 #endif
17993 }
17994 return resultobj;
17995 fail:
17996 return NULL;
17997 }
17998
17999
18000 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18001 PyObject *resultobj = 0;
18002 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18003 int arg2 ;
18004 void *argp1 = 0 ;
18005 int res1 = 0 ;
18006 int val2 ;
18007 int ecode2 = 0 ;
18008 PyObject * obj0 = 0 ;
18009 PyObject * obj1 = 0 ;
18010 char * kwnames[] = {
18011 (char *) "self",(char *) "sel", NULL
18012 };
18013
18014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18016 if (!SWIG_IsOK(res1)) {
18017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18018 }
18019 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18020 ecode2 = SWIG_AsVal_int(obj1, &val2);
18021 if (!SWIG_IsOK(ecode2)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18023 }
18024 arg2 = static_cast< int >(val2);
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 (arg1)->SetSelection(arg2);
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = SWIG_Py_Void();
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18039 PyObject *obj;
18040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18041 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18042 return SWIG_Py_Void();
18043 }
18044
18045 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18046 return SWIG_Python_InitShadowInstance(args);
18047 }
18048
18049 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj = 0;
18051 wxWindow *arg1 = (wxWindow *) 0 ;
18052 wxString *arg2 = 0 ;
18053 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18054 wxString *arg3 = (wxString *) &arg3_defvalue ;
18055 wxString const &arg4_defvalue = wxPyEmptyString ;
18056 wxString *arg4 = (wxString *) &arg4_defvalue ;
18057 long arg5 = (long) wxTextEntryDialogStyle ;
18058 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18059 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18060 wxTextEntryDialog *result = 0 ;
18061 void *argp1 = 0 ;
18062 int res1 = 0 ;
18063 bool temp2 = false ;
18064 bool temp3 = false ;
18065 bool temp4 = false ;
18066 long val5 ;
18067 int ecode5 = 0 ;
18068 wxPoint temp6 ;
18069 PyObject * obj0 = 0 ;
18070 PyObject * obj1 = 0 ;
18071 PyObject * obj2 = 0 ;
18072 PyObject * obj3 = 0 ;
18073 PyObject * obj4 = 0 ;
18074 PyObject * obj5 = 0 ;
18075 char * kwnames[] = {
18076 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18077 };
18078
18079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18081 if (!SWIG_IsOK(res1)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18083 }
18084 arg1 = reinterpret_cast< wxWindow * >(argp1);
18085 {
18086 arg2 = wxString_in_helper(obj1);
18087 if (arg2 == NULL) SWIG_fail;
18088 temp2 = true;
18089 }
18090 if (obj2) {
18091 {
18092 arg3 = wxString_in_helper(obj2);
18093 if (arg3 == NULL) SWIG_fail;
18094 temp3 = true;
18095 }
18096 }
18097 if (obj3) {
18098 {
18099 arg4 = wxString_in_helper(obj3);
18100 if (arg4 == NULL) SWIG_fail;
18101 temp4 = true;
18102 }
18103 }
18104 if (obj4) {
18105 ecode5 = SWIG_AsVal_long(obj4, &val5);
18106 if (!SWIG_IsOK(ecode5)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18108 }
18109 arg5 = static_cast< long >(val5);
18110 }
18111 if (obj5) {
18112 {
18113 arg6 = &temp6;
18114 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18115 }
18116 }
18117 {
18118 if (!wxPyCheckForApp()) SWIG_fail;
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18125 {
18126 if (temp2)
18127 delete arg2;
18128 }
18129 {
18130 if (temp3)
18131 delete arg3;
18132 }
18133 {
18134 if (temp4)
18135 delete arg4;
18136 }
18137 return resultobj;
18138 fail:
18139 {
18140 if (temp2)
18141 delete arg2;
18142 }
18143 {
18144 if (temp3)
18145 delete arg3;
18146 }
18147 {
18148 if (temp4)
18149 delete arg4;
18150 }
18151 return NULL;
18152 }
18153
18154
18155 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18156 PyObject *resultobj = 0;
18157 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18158 wxString result;
18159 void *argp1 = 0 ;
18160 int res1 = 0 ;
18161 PyObject *swig_obj[1] ;
18162
18163 if (!args) SWIG_fail;
18164 swig_obj[0] = args;
18165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18166 if (!SWIG_IsOK(res1)) {
18167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18168 }
18169 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 result = (arg1)->GetValue();
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 {
18177 #if wxUSE_UNICODE
18178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18179 #else
18180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18181 #endif
18182 }
18183 return resultobj;
18184 fail:
18185 return NULL;
18186 }
18187
18188
18189 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18190 PyObject *resultobj = 0;
18191 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18192 wxString *arg2 = 0 ;
18193 void *argp1 = 0 ;
18194 int res1 = 0 ;
18195 bool temp2 = false ;
18196 PyObject * obj0 = 0 ;
18197 PyObject * obj1 = 0 ;
18198 char * kwnames[] = {
18199 (char *) "self",(char *) "value", NULL
18200 };
18201
18202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18204 if (!SWIG_IsOK(res1)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18206 }
18207 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18208 {
18209 arg2 = wxString_in_helper(obj1);
18210 if (arg2 == NULL) SWIG_fail;
18211 temp2 = true;
18212 }
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 (arg1)->SetValue((wxString const &)*arg2);
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 resultobj = SWIG_Py_Void();
18220 {
18221 if (temp2)
18222 delete arg2;
18223 }
18224 return resultobj;
18225 fail:
18226 {
18227 if (temp2)
18228 delete arg2;
18229 }
18230 return NULL;
18231 }
18232
18233
18234 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18235 PyObject *obj;
18236 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18237 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18238 return SWIG_Py_Void();
18239 }
18240
18241 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18242 return SWIG_Python_InitShadowInstance(args);
18243 }
18244
18245 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18246 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18247 return 1;
18248 }
18249
18250
18251 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18252 PyObject *pyobj = 0;
18253
18254 {
18255 #if wxUSE_UNICODE
18256 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18257 #else
18258 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18259 #endif
18260 }
18261 return pyobj;
18262 }
18263
18264
18265 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj = 0;
18267 wxWindow *arg1 = (wxWindow *) 0 ;
18268 wxString *arg2 = 0 ;
18269 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18270 wxString *arg3 = (wxString *) &arg3_defvalue ;
18271 wxString const &arg4_defvalue = wxPyEmptyString ;
18272 wxString *arg4 = (wxString *) &arg4_defvalue ;
18273 long arg5 = (long) wxTextEntryDialogStyle ;
18274 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18275 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18276 wxPasswordEntryDialog *result = 0 ;
18277 void *argp1 = 0 ;
18278 int res1 = 0 ;
18279 bool temp2 = false ;
18280 bool temp3 = false ;
18281 bool temp4 = false ;
18282 long val5 ;
18283 int ecode5 = 0 ;
18284 wxPoint temp6 ;
18285 PyObject * obj0 = 0 ;
18286 PyObject * obj1 = 0 ;
18287 PyObject * obj2 = 0 ;
18288 PyObject * obj3 = 0 ;
18289 PyObject * obj4 = 0 ;
18290 PyObject * obj5 = 0 ;
18291 char * kwnames[] = {
18292 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18293 };
18294
18295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18297 if (!SWIG_IsOK(res1)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18299 }
18300 arg1 = reinterpret_cast< wxWindow * >(argp1);
18301 {
18302 arg2 = wxString_in_helper(obj1);
18303 if (arg2 == NULL) SWIG_fail;
18304 temp2 = true;
18305 }
18306 if (obj2) {
18307 {
18308 arg3 = wxString_in_helper(obj2);
18309 if (arg3 == NULL) SWIG_fail;
18310 temp3 = true;
18311 }
18312 }
18313 if (obj3) {
18314 {
18315 arg4 = wxString_in_helper(obj3);
18316 if (arg4 == NULL) SWIG_fail;
18317 temp4 = true;
18318 }
18319 }
18320 if (obj4) {
18321 ecode5 = SWIG_AsVal_long(obj4, &val5);
18322 if (!SWIG_IsOK(ecode5)) {
18323 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18324 }
18325 arg5 = static_cast< long >(val5);
18326 }
18327 if (obj5) {
18328 {
18329 arg6 = &temp6;
18330 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18331 }
18332 }
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 {
18345 if (temp3)
18346 delete arg3;
18347 }
18348 {
18349 if (temp4)
18350 delete arg4;
18351 }
18352 return resultobj;
18353 fail:
18354 {
18355 if (temp2)
18356 delete arg2;
18357 }
18358 {
18359 if (temp3)
18360 delete arg3;
18361 }
18362 {
18363 if (temp4)
18364 delete arg4;
18365 }
18366 return NULL;
18367 }
18368
18369
18370 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18371 PyObject *obj;
18372 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18374 return SWIG_Py_Void();
18375 }
18376
18377 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18378 return SWIG_Python_InitShadowInstance(args);
18379 }
18380
18381 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj = 0;
18383 wxWindow *arg1 = (wxWindow *) 0 ;
18384 wxString *arg2 = 0 ;
18385 wxString *arg3 = 0 ;
18386 wxString *arg4 = 0 ;
18387 long arg5 ;
18388 long arg6 ;
18389 long arg7 ;
18390 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18391 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18392 wxNumberEntryDialog *result = 0 ;
18393 void *argp1 = 0 ;
18394 int res1 = 0 ;
18395 bool temp2 = false ;
18396 bool temp3 = false ;
18397 bool temp4 = false ;
18398 long val5 ;
18399 int ecode5 = 0 ;
18400 long val6 ;
18401 int ecode6 = 0 ;
18402 long val7 ;
18403 int ecode7 = 0 ;
18404 wxPoint temp8 ;
18405 PyObject * obj0 = 0 ;
18406 PyObject * obj1 = 0 ;
18407 PyObject * obj2 = 0 ;
18408 PyObject * obj3 = 0 ;
18409 PyObject * obj4 = 0 ;
18410 PyObject * obj5 = 0 ;
18411 PyObject * obj6 = 0 ;
18412 PyObject * obj7 = 0 ;
18413 char * kwnames[] = {
18414 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18415 };
18416
18417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18419 if (!SWIG_IsOK(res1)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18421 }
18422 arg1 = reinterpret_cast< wxWindow * >(argp1);
18423 {
18424 arg2 = wxString_in_helper(obj1);
18425 if (arg2 == NULL) SWIG_fail;
18426 temp2 = true;
18427 }
18428 {
18429 arg3 = wxString_in_helper(obj2);
18430 if (arg3 == NULL) SWIG_fail;
18431 temp3 = true;
18432 }
18433 {
18434 arg4 = wxString_in_helper(obj3);
18435 if (arg4 == NULL) SWIG_fail;
18436 temp4 = true;
18437 }
18438 ecode5 = SWIG_AsVal_long(obj4, &val5);
18439 if (!SWIG_IsOK(ecode5)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18441 }
18442 arg5 = static_cast< long >(val5);
18443 ecode6 = SWIG_AsVal_long(obj5, &val6);
18444 if (!SWIG_IsOK(ecode6)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18446 }
18447 arg6 = static_cast< long >(val6);
18448 ecode7 = SWIG_AsVal_long(obj6, &val7);
18449 if (!SWIG_IsOK(ecode7)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18451 }
18452 arg7 = static_cast< long >(val7);
18453 if (obj7) {
18454 {
18455 arg8 = &temp8;
18456 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18457 }
18458 }
18459 {
18460 if (!wxPyCheckForApp()) SWIG_fail;
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18467 {
18468 if (temp2)
18469 delete arg2;
18470 }
18471 {
18472 if (temp3)
18473 delete arg3;
18474 }
18475 {
18476 if (temp4)
18477 delete arg4;
18478 }
18479 return resultobj;
18480 fail:
18481 {
18482 if (temp2)
18483 delete arg2;
18484 }
18485 {
18486 if (temp3)
18487 delete arg3;
18488 }
18489 {
18490 if (temp4)
18491 delete arg4;
18492 }
18493 return NULL;
18494 }
18495
18496
18497 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18498 PyObject *resultobj = 0;
18499 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18500 long result;
18501 void *argp1 = 0 ;
18502 int res1 = 0 ;
18503 PyObject *swig_obj[1] ;
18504
18505 if (!args) SWIG_fail;
18506 swig_obj[0] = args;
18507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18508 if (!SWIG_IsOK(res1)) {
18509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18510 }
18511 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = (long)(arg1)->GetValue();
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 resultobj = SWIG_From_long(static_cast< long >(result));
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18526 PyObject *obj;
18527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18528 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18529 return SWIG_Py_Void();
18530 }
18531
18532 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18533 return SWIG_Python_InitShadowInstance(args);
18534 }
18535
18536 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18537 PyObject *resultobj = 0;
18538 wxFontData *result = 0 ;
18539
18540 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 result = (wxFontData *)new wxFontData();
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18555 PyObject *resultobj = 0;
18556 wxFontData *arg1 = (wxFontData *) 0 ;
18557 void *argp1 = 0 ;
18558 int res1 = 0 ;
18559 PyObject *swig_obj[1] ;
18560
18561 if (!args) SWIG_fail;
18562 swig_obj[0] = args;
18563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18564 if (!SWIG_IsOK(res1)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18566 }
18567 arg1 = reinterpret_cast< wxFontData * >(argp1);
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 delete arg1;
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = SWIG_Py_Void();
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj = 0;
18584 wxFontData *arg1 = (wxFontData *) 0 ;
18585 bool arg2 ;
18586 void *argp1 = 0 ;
18587 int res1 = 0 ;
18588 bool val2 ;
18589 int ecode2 = 0 ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char * kwnames[] = {
18593 (char *) "self",(char *) "enable", NULL
18594 };
18595
18596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18598 if (!SWIG_IsOK(res1)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18600 }
18601 arg1 = reinterpret_cast< wxFontData * >(argp1);
18602 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18603 if (!SWIG_IsOK(ecode2)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18605 }
18606 arg2 = static_cast< bool >(val2);
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 (arg1)->EnableEffects(arg2);
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 resultobj = SWIG_Py_Void();
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18621 PyObject *resultobj = 0;
18622 wxFontData *arg1 = (wxFontData *) 0 ;
18623 bool result;
18624 void *argp1 = 0 ;
18625 int res1 = 0 ;
18626 PyObject *swig_obj[1] ;
18627
18628 if (!args) SWIG_fail;
18629 swig_obj[0] = args;
18630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18631 if (!SWIG_IsOK(res1)) {
18632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18633 }
18634 arg1 = reinterpret_cast< wxFontData * >(argp1);
18635 {
18636 PyThreadState* __tstate = wxPyBeginAllowThreads();
18637 result = (bool)(arg1)->GetAllowSymbols();
18638 wxPyEndAllowThreads(__tstate);
18639 if (PyErr_Occurred()) SWIG_fail;
18640 }
18641 {
18642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18651 PyObject *resultobj = 0;
18652 wxFontData *arg1 = (wxFontData *) 0 ;
18653 wxColour result;
18654 void *argp1 = 0 ;
18655 int res1 = 0 ;
18656 PyObject *swig_obj[1] ;
18657
18658 if (!args) SWIG_fail;
18659 swig_obj[0] = args;
18660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18661 if (!SWIG_IsOK(res1)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18663 }
18664 arg1 = reinterpret_cast< wxFontData * >(argp1);
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 result = (arg1)->GetColour();
18668 wxPyEndAllowThreads(__tstate);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18672 return resultobj;
18673 fail:
18674 return NULL;
18675 }
18676
18677
18678 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18679 PyObject *resultobj = 0;
18680 wxFontData *arg1 = (wxFontData *) 0 ;
18681 wxFont result;
18682 void *argp1 = 0 ;
18683 int res1 = 0 ;
18684 PyObject *swig_obj[1] ;
18685
18686 if (!args) SWIG_fail;
18687 swig_obj[0] = args;
18688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18689 if (!SWIG_IsOK(res1)) {
18690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18691 }
18692 arg1 = reinterpret_cast< wxFontData * >(argp1);
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (arg1)->GetChosenFont();
18696 wxPyEndAllowThreads(__tstate);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18707 PyObject *resultobj = 0;
18708 wxFontData *arg1 = (wxFontData *) 0 ;
18709 bool result;
18710 void *argp1 = 0 ;
18711 int res1 = 0 ;
18712 PyObject *swig_obj[1] ;
18713
18714 if (!args) SWIG_fail;
18715 swig_obj[0] = args;
18716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18717 if (!SWIG_IsOK(res1)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18719 }
18720 arg1 = reinterpret_cast< wxFontData * >(argp1);
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 result = (bool)(arg1)->GetEnableEffects();
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 {
18728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18729 }
18730 return resultobj;
18731 fail:
18732 return NULL;
18733 }
18734
18735
18736 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18737 PyObject *resultobj = 0;
18738 wxFontData *arg1 = (wxFontData *) 0 ;
18739 wxFont result;
18740 void *argp1 = 0 ;
18741 int res1 = 0 ;
18742 PyObject *swig_obj[1] ;
18743
18744 if (!args) SWIG_fail;
18745 swig_obj[0] = args;
18746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18747 if (!SWIG_IsOK(res1)) {
18748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18749 }
18750 arg1 = reinterpret_cast< wxFontData * >(argp1);
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 result = (arg1)->GetInitialFont();
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18765 PyObject *resultobj = 0;
18766 wxFontData *arg1 = (wxFontData *) 0 ;
18767 bool result;
18768 void *argp1 = 0 ;
18769 int res1 = 0 ;
18770 PyObject *swig_obj[1] ;
18771
18772 if (!args) SWIG_fail;
18773 swig_obj[0] = args;
18774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18775 if (!SWIG_IsOK(res1)) {
18776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18777 }
18778 arg1 = reinterpret_cast< wxFontData * >(argp1);
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 result = (bool)(arg1)->GetShowHelp();
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 {
18786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18787 }
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj = 0;
18796 wxFontData *arg1 = (wxFontData *) 0 ;
18797 bool arg2 ;
18798 void *argp1 = 0 ;
18799 int res1 = 0 ;
18800 bool val2 ;
18801 int ecode2 = 0 ;
18802 PyObject * obj0 = 0 ;
18803 PyObject * obj1 = 0 ;
18804 char * kwnames[] = {
18805 (char *) "self",(char *) "allowSymbols", NULL
18806 };
18807
18808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18810 if (!SWIG_IsOK(res1)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18812 }
18813 arg1 = reinterpret_cast< wxFontData * >(argp1);
18814 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18815 if (!SWIG_IsOK(ecode2)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18817 }
18818 arg2 = static_cast< bool >(val2);
18819 {
18820 PyThreadState* __tstate = wxPyBeginAllowThreads();
18821 (arg1)->SetAllowSymbols(arg2);
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 resultobj = SWIG_Py_Void();
18826 return resultobj;
18827 fail:
18828 return NULL;
18829 }
18830
18831
18832 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18833 PyObject *resultobj = 0;
18834 wxFontData *arg1 = (wxFontData *) 0 ;
18835 wxFont *arg2 = 0 ;
18836 void *argp1 = 0 ;
18837 int res1 = 0 ;
18838 void *argp2 = 0 ;
18839 int res2 = 0 ;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 char * kwnames[] = {
18843 (char *) "self",(char *) "font", NULL
18844 };
18845
18846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18848 if (!SWIG_IsOK(res1)) {
18849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18850 }
18851 arg1 = reinterpret_cast< wxFontData * >(argp1);
18852 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18853 if (!SWIG_IsOK(res2)) {
18854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18855 }
18856 if (!argp2) {
18857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18858 }
18859 arg2 = reinterpret_cast< wxFont * >(argp2);
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 (arg1)->SetChosenFont((wxFont const &)*arg2);
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_Py_Void();
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj = 0;
18875 wxFontData *arg1 = (wxFontData *) 0 ;
18876 wxColour *arg2 = 0 ;
18877 void *argp1 = 0 ;
18878 int res1 = 0 ;
18879 wxColour temp2 ;
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 char * kwnames[] = {
18883 (char *) "self",(char *) "colour", NULL
18884 };
18885
18886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18888 if (!SWIG_IsOK(res1)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18890 }
18891 arg1 = reinterpret_cast< wxFontData * >(argp1);
18892 {
18893 arg2 = &temp2;
18894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18895 }
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 (arg1)->SetColour((wxColour const &)*arg2);
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 resultobj = SWIG_Py_Void();
18903 return resultobj;
18904 fail:
18905 return NULL;
18906 }
18907
18908
18909 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj = 0;
18911 wxFontData *arg1 = (wxFontData *) 0 ;
18912 wxFont *arg2 = 0 ;
18913 void *argp1 = 0 ;
18914 int res1 = 0 ;
18915 void *argp2 = 0 ;
18916 int res2 = 0 ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 char * kwnames[] = {
18920 (char *) "self",(char *) "font", NULL
18921 };
18922
18923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18925 if (!SWIG_IsOK(res1)) {
18926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18927 }
18928 arg1 = reinterpret_cast< wxFontData * >(argp1);
18929 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18930 if (!SWIG_IsOK(res2)) {
18931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18932 }
18933 if (!argp2) {
18934 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18935 }
18936 arg2 = reinterpret_cast< wxFont * >(argp2);
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 (arg1)->SetInitialFont((wxFont const &)*arg2);
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 resultobj = SWIG_Py_Void();
18944 return resultobj;
18945 fail:
18946 return NULL;
18947 }
18948
18949
18950 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj = 0;
18952 wxFontData *arg1 = (wxFontData *) 0 ;
18953 int arg2 ;
18954 int arg3 ;
18955 void *argp1 = 0 ;
18956 int res1 = 0 ;
18957 int val2 ;
18958 int ecode2 = 0 ;
18959 int val3 ;
18960 int ecode3 = 0 ;
18961 PyObject * obj0 = 0 ;
18962 PyObject * obj1 = 0 ;
18963 PyObject * obj2 = 0 ;
18964 char * kwnames[] = {
18965 (char *) "self",(char *) "min",(char *) "max", NULL
18966 };
18967
18968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18970 if (!SWIG_IsOK(res1)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18972 }
18973 arg1 = reinterpret_cast< wxFontData * >(argp1);
18974 ecode2 = SWIG_AsVal_int(obj1, &val2);
18975 if (!SWIG_IsOK(ecode2)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18977 }
18978 arg2 = static_cast< int >(val2);
18979 ecode3 = SWIG_AsVal_int(obj2, &val3);
18980 if (!SWIG_IsOK(ecode3)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18982 }
18983 arg3 = static_cast< int >(val3);
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 (arg1)->SetRange(arg2,arg3);
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 resultobj = SWIG_Py_Void();
18991 return resultobj;
18992 fail:
18993 return NULL;
18994 }
18995
18996
18997 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18998 PyObject *resultobj = 0;
18999 wxFontData *arg1 = (wxFontData *) 0 ;
19000 bool arg2 ;
19001 void *argp1 = 0 ;
19002 int res1 = 0 ;
19003 bool val2 ;
19004 int ecode2 = 0 ;
19005 PyObject * obj0 = 0 ;
19006 PyObject * obj1 = 0 ;
19007 char * kwnames[] = {
19008 (char *) "self",(char *) "showHelp", NULL
19009 };
19010
19011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19013 if (!SWIG_IsOK(res1)) {
19014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19015 }
19016 arg1 = reinterpret_cast< wxFontData * >(argp1);
19017 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19018 if (!SWIG_IsOK(ecode2)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19020 }
19021 arg2 = static_cast< bool >(val2);
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 (arg1)->SetShowHelp(arg2);
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 resultobj = SWIG_Py_Void();
19029 return resultobj;
19030 fail:
19031 return NULL;
19032 }
19033
19034
19035 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19036 PyObject *obj;
19037 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19038 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19039 return SWIG_Py_Void();
19040 }
19041
19042 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19043 return SWIG_Python_InitShadowInstance(args);
19044 }
19045
19046 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj = 0;
19048 wxWindow *arg1 = (wxWindow *) 0 ;
19049 wxFontData *arg2 = 0 ;
19050 wxFontDialog *result = 0 ;
19051 void *argp1 = 0 ;
19052 int res1 = 0 ;
19053 void *argp2 = 0 ;
19054 int res2 = 0 ;
19055 PyObject * obj0 = 0 ;
19056 PyObject * obj1 = 0 ;
19057 char * kwnames[] = {
19058 (char *) "parent",(char *) "data", NULL
19059 };
19060
19061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19063 if (!SWIG_IsOK(res1)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19065 }
19066 arg1 = reinterpret_cast< wxWindow * >(argp1);
19067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19068 if (!SWIG_IsOK(res2)) {
19069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19070 }
19071 if (!argp2) {
19072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19073 }
19074 arg2 = reinterpret_cast< wxFontData * >(argp2);
19075 {
19076 if (!wxPyCheckForApp()) SWIG_fail;
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19083 return resultobj;
19084 fail:
19085 return NULL;
19086 }
19087
19088
19089 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19090 PyObject *resultobj = 0;
19091 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19092 wxFontData *result = 0 ;
19093 void *argp1 = 0 ;
19094 int res1 = 0 ;
19095 PyObject *swig_obj[1] ;
19096
19097 if (!args) SWIG_fail;
19098 swig_obj[0] = args;
19099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19100 if (!SWIG_IsOK(res1)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19102 }
19103 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 {
19107 wxFontData &_result_ref = (arg1)->GetFontData();
19108 result = (wxFontData *) &_result_ref;
19109 }
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19114 return resultobj;
19115 fail:
19116 return NULL;
19117 }
19118
19119
19120 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19121 PyObject *obj;
19122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19123 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19124 return SWIG_Py_Void();
19125 }
19126
19127 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19128 return SWIG_Python_InitShadowInstance(args);
19129 }
19130
19131 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj = 0;
19133 wxWindow *arg1 = (wxWindow *) NULL ;
19134 wxFont const &arg2_defvalue = wxNullFont ;
19135 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19136 wxString const &arg3_defvalue = wxPyEmptyString ;
19137 wxString *arg3 = (wxString *) &arg3_defvalue ;
19138 wxFont result;
19139 void *argp1 = 0 ;
19140 int res1 = 0 ;
19141 void *argp2 = 0 ;
19142 int res2 = 0 ;
19143 bool temp3 = false ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 PyObject * obj2 = 0 ;
19147 char * kwnames[] = {
19148 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19149 };
19150
19151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19152 if (obj0) {
19153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19154 if (!SWIG_IsOK(res1)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19156 }
19157 arg1 = reinterpret_cast< wxWindow * >(argp1);
19158 }
19159 if (obj1) {
19160 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19161 if (!SWIG_IsOK(res2)) {
19162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19163 }
19164 if (!argp2) {
19165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19166 }
19167 arg2 = reinterpret_cast< wxFont * >(argp2);
19168 }
19169 if (obj2) {
19170 {
19171 arg3 = wxString_in_helper(obj2);
19172 if (arg3 == NULL) SWIG_fail;
19173 temp3 = true;
19174 }
19175 }
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19179 wxPyEndAllowThreads(__tstate);
19180 if (PyErr_Occurred()) SWIG_fail;
19181 }
19182 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19183 {
19184 if (temp3)
19185 delete arg3;
19186 }
19187 return resultobj;
19188 fail:
19189 {
19190 if (temp3)
19191 delete arg3;
19192 }
19193 return NULL;
19194 }
19195
19196
19197 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19198 PyObject *resultobj = 0;
19199 wxWindow *arg1 = (wxWindow *) 0 ;
19200 wxString *arg2 = 0 ;
19201 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19202 wxString *arg3 = (wxString *) &arg3_defvalue ;
19203 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19204 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19205 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19206 wxMessageDialog *result = 0 ;
19207 void *argp1 = 0 ;
19208 int res1 = 0 ;
19209 bool temp2 = false ;
19210 bool temp3 = false ;
19211 long val4 ;
19212 int ecode4 = 0 ;
19213 wxPoint temp5 ;
19214 PyObject * obj0 = 0 ;
19215 PyObject * obj1 = 0 ;
19216 PyObject * obj2 = 0 ;
19217 PyObject * obj3 = 0 ;
19218 PyObject * obj4 = 0 ;
19219 char * kwnames[] = {
19220 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19221 };
19222
19223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19225 if (!SWIG_IsOK(res1)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19227 }
19228 arg1 = reinterpret_cast< wxWindow * >(argp1);
19229 {
19230 arg2 = wxString_in_helper(obj1);
19231 if (arg2 == NULL) SWIG_fail;
19232 temp2 = true;
19233 }
19234 if (obj2) {
19235 {
19236 arg3 = wxString_in_helper(obj2);
19237 if (arg3 == NULL) SWIG_fail;
19238 temp3 = true;
19239 }
19240 }
19241 if (obj3) {
19242 ecode4 = SWIG_AsVal_long(obj3, &val4);
19243 if (!SWIG_IsOK(ecode4)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19245 }
19246 arg4 = static_cast< long >(val4);
19247 }
19248 if (obj4) {
19249 {
19250 arg5 = &temp5;
19251 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19252 }
19253 }
19254 {
19255 if (!wxPyCheckForApp()) SWIG_fail;
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19262 {
19263 if (temp2)
19264 delete arg2;
19265 }
19266 {
19267 if (temp3)
19268 delete arg3;
19269 }
19270 return resultobj;
19271 fail:
19272 {
19273 if (temp2)
19274 delete arg2;
19275 }
19276 {
19277 if (temp3)
19278 delete arg3;
19279 }
19280 return NULL;
19281 }
19282
19283
19284 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19285 PyObject *obj;
19286 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19287 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19288 return SWIG_Py_Void();
19289 }
19290
19291 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19292 return SWIG_Python_InitShadowInstance(args);
19293 }
19294
19295 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19296 PyObject *resultobj = 0;
19297 wxString *arg1 = 0 ;
19298 wxString *arg2 = 0 ;
19299 int arg3 = (int) 100 ;
19300 wxWindow *arg4 = (wxWindow *) NULL ;
19301 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19302 wxProgressDialog *result = 0 ;
19303 bool temp1 = false ;
19304 bool temp2 = false ;
19305 int val3 ;
19306 int ecode3 = 0 ;
19307 void *argp4 = 0 ;
19308 int res4 = 0 ;
19309 int val5 ;
19310 int ecode5 = 0 ;
19311 PyObject * obj0 = 0 ;
19312 PyObject * obj1 = 0 ;
19313 PyObject * obj2 = 0 ;
19314 PyObject * obj3 = 0 ;
19315 PyObject * obj4 = 0 ;
19316 char * kwnames[] = {
19317 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19318 };
19319
19320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19321 {
19322 arg1 = wxString_in_helper(obj0);
19323 if (arg1 == NULL) SWIG_fail;
19324 temp1 = true;
19325 }
19326 {
19327 arg2 = wxString_in_helper(obj1);
19328 if (arg2 == NULL) SWIG_fail;
19329 temp2 = true;
19330 }
19331 if (obj2) {
19332 ecode3 = SWIG_AsVal_int(obj2, &val3);
19333 if (!SWIG_IsOK(ecode3)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19335 }
19336 arg3 = static_cast< int >(val3);
19337 }
19338 if (obj3) {
19339 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19340 if (!SWIG_IsOK(res4)) {
19341 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19342 }
19343 arg4 = reinterpret_cast< wxWindow * >(argp4);
19344 }
19345 if (obj4) {
19346 ecode5 = SWIG_AsVal_int(obj4, &val5);
19347 if (!SWIG_IsOK(ecode5)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19349 }
19350 arg5 = static_cast< int >(val5);
19351 }
19352 {
19353 if (!wxPyCheckForApp()) SWIG_fail;
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19360 {
19361 if (temp1)
19362 delete arg1;
19363 }
19364 {
19365 if (temp2)
19366 delete arg2;
19367 }
19368 return resultobj;
19369 fail:
19370 {
19371 if (temp1)
19372 delete arg1;
19373 }
19374 {
19375 if (temp2)
19376 delete arg2;
19377 }
19378 return NULL;
19379 }
19380
19381
19382 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj = 0;
19384 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19385 int arg2 ;
19386 wxString const &arg3_defvalue = wxPyEmptyString ;
19387 wxString *arg3 = (wxString *) &arg3_defvalue ;
19388 bool *arg4 = (bool *) 0 ;
19389 bool result;
19390 void *argp1 = 0 ;
19391 int res1 = 0 ;
19392 int val2 ;
19393 int ecode2 = 0 ;
19394 bool temp3 = false ;
19395 bool temp4 ;
19396 int res4 = SWIG_TMPOBJ ;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 PyObject * obj2 = 0 ;
19400 char * kwnames[] = {
19401 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19402 };
19403
19404 arg4 = &temp4;
19405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19407 if (!SWIG_IsOK(res1)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19409 }
19410 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19411 ecode2 = SWIG_AsVal_int(obj1, &val2);
19412 if (!SWIG_IsOK(ecode2)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19414 }
19415 arg2 = static_cast< int >(val2);
19416 if (obj2) {
19417 {
19418 arg3 = wxString_in_helper(obj2);
19419 if (arg3 == NULL) SWIG_fail;
19420 temp3 = true;
19421 }
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 {
19430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19431 }
19432 if (SWIG_IsTmpObj(res4)) {
19433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19434 } else {
19435 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19436 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19437 }
19438 {
19439 if (temp3)
19440 delete arg3;
19441 }
19442 return resultobj;
19443 fail:
19444 {
19445 if (temp3)
19446 delete arg3;
19447 }
19448 return NULL;
19449 }
19450
19451
19452 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj = 0;
19454 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19455 wxString const &arg2_defvalue = wxPyEmptyString ;
19456 wxString *arg2 = (wxString *) &arg2_defvalue ;
19457 bool *arg3 = (bool *) 0 ;
19458 bool result;
19459 void *argp1 = 0 ;
19460 int res1 = 0 ;
19461 bool temp2 = false ;
19462 bool temp3 ;
19463 int res3 = SWIG_TMPOBJ ;
19464 PyObject * obj0 = 0 ;
19465 PyObject * obj1 = 0 ;
19466 char * kwnames[] = {
19467 (char *) "self",(char *) "newmsg", NULL
19468 };
19469
19470 arg3 = &temp3;
19471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19473 if (!SWIG_IsOK(res1)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19475 }
19476 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19477 if (obj1) {
19478 {
19479 arg2 = wxString_in_helper(obj1);
19480 if (arg2 == NULL) SWIG_fail;
19481 temp2 = true;
19482 }
19483 }
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 {
19491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19492 }
19493 if (SWIG_IsTmpObj(res3)) {
19494 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19495 } else {
19496 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19497 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19498 }
19499 {
19500 if (temp2)
19501 delete arg2;
19502 }
19503 return resultobj;
19504 fail:
19505 {
19506 if (temp2)
19507 delete arg2;
19508 }
19509 return NULL;
19510 }
19511
19512
19513 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19514 PyObject *resultobj = 0;
19515 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19516 void *argp1 = 0 ;
19517 int res1 = 0 ;
19518 PyObject *swig_obj[1] ;
19519
19520 if (!args) SWIG_fail;
19521 swig_obj[0] = args;
19522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19523 if (!SWIG_IsOK(res1)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19525 }
19526 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 (arg1)->Resume();
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = SWIG_Py_Void();
19534 return resultobj;
19535 fail:
19536 return NULL;
19537 }
19538
19539
19540 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19541 PyObject *obj;
19542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19543 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19544 return SWIG_Py_Void();
19545 }
19546
19547 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19548 return SWIG_Python_InitShadowInstance(args);
19549 }
19550
19551 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19552 PyObject *resultobj = 0;
19553 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19554 int arg2 = (int) 0 ;
19555 wxFindDialogEvent *result = 0 ;
19556 int val1 ;
19557 int ecode1 = 0 ;
19558 int val2 ;
19559 int ecode2 = 0 ;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 char * kwnames[] = {
19563 (char *) "commandType",(char *) "id", NULL
19564 };
19565
19566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19567 if (obj0) {
19568 ecode1 = SWIG_AsVal_int(obj0, &val1);
19569 if (!SWIG_IsOK(ecode1)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19571 }
19572 arg1 = static_cast< wxEventType >(val1);
19573 }
19574 if (obj1) {
19575 ecode2 = SWIG_AsVal_int(obj1, &val2);
19576 if (!SWIG_IsOK(ecode2)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19578 }
19579 arg2 = static_cast< int >(val2);
19580 }
19581 {
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19595 PyObject *resultobj = 0;
19596 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19597 int result;
19598 void *argp1 = 0 ;
19599 int res1 = 0 ;
19600 PyObject *swig_obj[1] ;
19601
19602 if (!args) SWIG_fail;
19603 swig_obj[0] = args;
19604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19605 if (!SWIG_IsOK(res1)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19607 }
19608 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 result = (int)(arg1)->GetFlags();
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 resultobj = SWIG_From_int(static_cast< int >(result));
19616 return resultobj;
19617 fail:
19618 return NULL;
19619 }
19620
19621
19622 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19623 PyObject *resultobj = 0;
19624 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19625 wxString *result = 0 ;
19626 void *argp1 = 0 ;
19627 int res1 = 0 ;
19628 PyObject *swig_obj[1] ;
19629
19630 if (!args) SWIG_fail;
19631 swig_obj[0] = args;
19632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19633 if (!SWIG_IsOK(res1)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19635 }
19636 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 {
19640 wxString const &_result_ref = (arg1)->GetFindString();
19641 result = (wxString *) &_result_ref;
19642 }
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 {
19647 #if wxUSE_UNICODE
19648 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19649 #else
19650 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19651 #endif
19652 }
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19660 PyObject *resultobj = 0;
19661 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19662 wxString *result = 0 ;
19663 void *argp1 = 0 ;
19664 int res1 = 0 ;
19665 PyObject *swig_obj[1] ;
19666
19667 if (!args) SWIG_fail;
19668 swig_obj[0] = args;
19669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19670 if (!SWIG_IsOK(res1)) {
19671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19672 }
19673 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 {
19677 wxString const &_result_ref = (arg1)->GetReplaceString();
19678 result = (wxString *) &_result_ref;
19679 }
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 {
19684 #if wxUSE_UNICODE
19685 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19686 #else
19687 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19688 #endif
19689 }
19690 return resultobj;
19691 fail:
19692 return NULL;
19693 }
19694
19695
19696 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19697 PyObject *resultobj = 0;
19698 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19699 wxFindReplaceDialog *result = 0 ;
19700 void *argp1 = 0 ;
19701 int res1 = 0 ;
19702 PyObject *swig_obj[1] ;
19703
19704 if (!args) SWIG_fail;
19705 swig_obj[0] = args;
19706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19707 if (!SWIG_IsOK(res1)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19709 }
19710 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19718 return resultobj;
19719 fail:
19720 return NULL;
19721 }
19722
19723
19724 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19725 PyObject *resultobj = 0;
19726 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19727 int arg2 ;
19728 void *argp1 = 0 ;
19729 int res1 = 0 ;
19730 int val2 ;
19731 int ecode2 = 0 ;
19732 PyObject * obj0 = 0 ;
19733 PyObject * obj1 = 0 ;
19734 char * kwnames[] = {
19735 (char *) "self",(char *) "flags", NULL
19736 };
19737
19738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19740 if (!SWIG_IsOK(res1)) {
19741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19742 }
19743 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19744 ecode2 = SWIG_AsVal_int(obj1, &val2);
19745 if (!SWIG_IsOK(ecode2)) {
19746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19747 }
19748 arg2 = static_cast< int >(val2);
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 (arg1)->SetFlags(arg2);
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 resultobj = SWIG_Py_Void();
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj = 0;
19764 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19765 wxString *arg2 = 0 ;
19766 void *argp1 = 0 ;
19767 int res1 = 0 ;
19768 bool temp2 = false ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char * kwnames[] = {
19772 (char *) "self",(char *) "str", NULL
19773 };
19774
19775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19777 if (!SWIG_IsOK(res1)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19779 }
19780 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19781 {
19782 arg2 = wxString_in_helper(obj1);
19783 if (arg2 == NULL) SWIG_fail;
19784 temp2 = true;
19785 }
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 (arg1)->SetFindString((wxString const &)*arg2);
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = SWIG_Py_Void();
19793 {
19794 if (temp2)
19795 delete arg2;
19796 }
19797 return resultobj;
19798 fail:
19799 {
19800 if (temp2)
19801 delete arg2;
19802 }
19803 return NULL;
19804 }
19805
19806
19807 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19808 PyObject *resultobj = 0;
19809 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19810 wxString *arg2 = 0 ;
19811 void *argp1 = 0 ;
19812 int res1 = 0 ;
19813 bool temp2 = false ;
19814 PyObject * obj0 = 0 ;
19815 PyObject * obj1 = 0 ;
19816 char * kwnames[] = {
19817 (char *) "self",(char *) "str", NULL
19818 };
19819
19820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19822 if (!SWIG_IsOK(res1)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19824 }
19825 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19826 {
19827 arg2 = wxString_in_helper(obj1);
19828 if (arg2 == NULL) SWIG_fail;
19829 temp2 = true;
19830 }
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 (arg1)->SetReplaceString((wxString const &)*arg2);
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 resultobj = SWIG_Py_Void();
19838 {
19839 if (temp2)
19840 delete arg2;
19841 }
19842 return resultobj;
19843 fail:
19844 {
19845 if (temp2)
19846 delete arg2;
19847 }
19848 return NULL;
19849 }
19850
19851
19852 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19853 PyObject *obj;
19854 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19855 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19856 return SWIG_Py_Void();
19857 }
19858
19859 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19860 return SWIG_Python_InitShadowInstance(args);
19861 }
19862
19863 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj = 0;
19865 int arg1 = (int) 0 ;
19866 wxFindReplaceData *result = 0 ;
19867 int val1 ;
19868 int ecode1 = 0 ;
19869 PyObject * obj0 = 0 ;
19870 char * kwnames[] = {
19871 (char *) "flags", NULL
19872 };
19873
19874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19875 if (obj0) {
19876 ecode1 = SWIG_AsVal_int(obj0, &val1);
19877 if (!SWIG_IsOK(ecode1)) {
19878 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19879 }
19880 arg1 = static_cast< int >(val1);
19881 }
19882 {
19883 PyThreadState* __tstate = wxPyBeginAllowThreads();
19884 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19896 PyObject *resultobj = 0;
19897 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19898 void *argp1 = 0 ;
19899 int res1 = 0 ;
19900 PyObject *swig_obj[1] ;
19901
19902 if (!args) SWIG_fail;
19903 swig_obj[0] = args;
19904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19905 if (!SWIG_IsOK(res1)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19907 }
19908 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 delete arg1;
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 resultobj = SWIG_Py_Void();
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19924 PyObject *resultobj = 0;
19925 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19926 wxString *result = 0 ;
19927 void *argp1 = 0 ;
19928 int res1 = 0 ;
19929 PyObject *swig_obj[1] ;
19930
19931 if (!args) SWIG_fail;
19932 swig_obj[0] = args;
19933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19934 if (!SWIG_IsOK(res1)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19936 }
19937 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 {
19941 wxString const &_result_ref = (arg1)->GetFindString();
19942 result = (wxString *) &_result_ref;
19943 }
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 {
19948 #if wxUSE_UNICODE
19949 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19950 #else
19951 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19952 #endif
19953 }
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19961 PyObject *resultobj = 0;
19962 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19963 wxString *result = 0 ;
19964 void *argp1 = 0 ;
19965 int res1 = 0 ;
19966 PyObject *swig_obj[1] ;
19967
19968 if (!args) SWIG_fail;
19969 swig_obj[0] = args;
19970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19971 if (!SWIG_IsOK(res1)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19973 }
19974 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 {
19978 wxString const &_result_ref = (arg1)->GetReplaceString();
19979 result = (wxString *) &_result_ref;
19980 }
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 {
19985 #if wxUSE_UNICODE
19986 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19987 #else
19988 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19989 #endif
19990 }
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19998 PyObject *resultobj = 0;
19999 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20000 int result;
20001 void *argp1 = 0 ;
20002 int res1 = 0 ;
20003 PyObject *swig_obj[1] ;
20004
20005 if (!args) SWIG_fail;
20006 swig_obj[0] = args;
20007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20008 if (!SWIG_IsOK(res1)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20010 }
20011 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 result = (int)(arg1)->GetFlags();
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 resultobj = SWIG_From_int(static_cast< int >(result));
20019 return resultobj;
20020 fail:
20021 return NULL;
20022 }
20023
20024
20025 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj = 0;
20027 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20028 int arg2 ;
20029 void *argp1 = 0 ;
20030 int res1 = 0 ;
20031 int val2 ;
20032 int ecode2 = 0 ;
20033 PyObject * obj0 = 0 ;
20034 PyObject * obj1 = 0 ;
20035 char * kwnames[] = {
20036 (char *) "self",(char *) "flags", NULL
20037 };
20038
20039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20041 if (!SWIG_IsOK(res1)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20043 }
20044 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20045 ecode2 = SWIG_AsVal_int(obj1, &val2);
20046 if (!SWIG_IsOK(ecode2)) {
20047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20048 }
20049 arg2 = static_cast< int >(val2);
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->SetFlags(arg2);
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 resultobj = SWIG_Py_Void();
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj = 0;
20065 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20066 wxString *arg2 = 0 ;
20067 void *argp1 = 0 ;
20068 int res1 = 0 ;
20069 bool temp2 = false ;
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072 char * kwnames[] = {
20073 (char *) "self",(char *) "str", NULL
20074 };
20075
20076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20078 if (!SWIG_IsOK(res1)) {
20079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20080 }
20081 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20082 {
20083 arg2 = wxString_in_helper(obj1);
20084 if (arg2 == NULL) SWIG_fail;
20085 temp2 = true;
20086 }
20087 {
20088 PyThreadState* __tstate = wxPyBeginAllowThreads();
20089 (arg1)->SetFindString((wxString const &)*arg2);
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 resultobj = SWIG_Py_Void();
20094 {
20095 if (temp2)
20096 delete arg2;
20097 }
20098 return resultobj;
20099 fail:
20100 {
20101 if (temp2)
20102 delete arg2;
20103 }
20104 return NULL;
20105 }
20106
20107
20108 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj = 0;
20110 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20111 wxString *arg2 = 0 ;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 bool temp2 = false ;
20115 PyObject * obj0 = 0 ;
20116 PyObject * obj1 = 0 ;
20117 char * kwnames[] = {
20118 (char *) "self",(char *) "str", NULL
20119 };
20120
20121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20123 if (!SWIG_IsOK(res1)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20125 }
20126 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20127 {
20128 arg2 = wxString_in_helper(obj1);
20129 if (arg2 == NULL) SWIG_fail;
20130 temp2 = true;
20131 }
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 (arg1)->SetReplaceString((wxString const &)*arg2);
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 resultobj = SWIG_Py_Void();
20139 {
20140 if (temp2)
20141 delete arg2;
20142 }
20143 return resultobj;
20144 fail:
20145 {
20146 if (temp2)
20147 delete arg2;
20148 }
20149 return NULL;
20150 }
20151
20152
20153 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20154 PyObject *obj;
20155 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20156 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20157 return SWIG_Py_Void();
20158 }
20159
20160 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20161 return SWIG_Python_InitShadowInstance(args);
20162 }
20163
20164 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj = 0;
20166 wxWindow *arg1 = (wxWindow *) 0 ;
20167 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20168 wxString *arg3 = 0 ;
20169 int arg4 = (int) 0 ;
20170 wxFindReplaceDialog *result = 0 ;
20171 void *argp1 = 0 ;
20172 int res1 = 0 ;
20173 void *argp2 = 0 ;
20174 int res2 = 0 ;
20175 bool temp3 = false ;
20176 int val4 ;
20177 int ecode4 = 0 ;
20178 PyObject * obj0 = 0 ;
20179 PyObject * obj1 = 0 ;
20180 PyObject * obj2 = 0 ;
20181 PyObject * obj3 = 0 ;
20182 char * kwnames[] = {
20183 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20184 };
20185
20186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20188 if (!SWIG_IsOK(res1)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20190 }
20191 arg1 = reinterpret_cast< wxWindow * >(argp1);
20192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20193 if (!SWIG_IsOK(res2)) {
20194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20195 }
20196 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20197 {
20198 arg3 = wxString_in_helper(obj2);
20199 if (arg3 == NULL) SWIG_fail;
20200 temp3 = true;
20201 }
20202 if (obj3) {
20203 ecode4 = SWIG_AsVal_int(obj3, &val4);
20204 if (!SWIG_IsOK(ecode4)) {
20205 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20206 }
20207 arg4 = static_cast< int >(val4);
20208 }
20209 {
20210 if (!wxPyCheckForApp()) SWIG_fail;
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20217 {
20218 if (temp3)
20219 delete arg3;
20220 }
20221 return resultobj;
20222 fail:
20223 {
20224 if (temp3)
20225 delete arg3;
20226 }
20227 return NULL;
20228 }
20229
20230
20231 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20232 PyObject *resultobj = 0;
20233 wxFindReplaceDialog *result = 0 ;
20234
20235 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20236 {
20237 if (!wxPyCheckForApp()) SWIG_fail;
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj = 0;
20252 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20253 wxWindow *arg2 = (wxWindow *) 0 ;
20254 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20255 wxString *arg4 = 0 ;
20256 int arg5 = (int) 0 ;
20257 bool result;
20258 void *argp1 = 0 ;
20259 int res1 = 0 ;
20260 void *argp2 = 0 ;
20261 int res2 = 0 ;
20262 void *argp3 = 0 ;
20263 int res3 = 0 ;
20264 bool temp4 = false ;
20265 int val5 ;
20266 int ecode5 = 0 ;
20267 PyObject * obj0 = 0 ;
20268 PyObject * obj1 = 0 ;
20269 PyObject * obj2 = 0 ;
20270 PyObject * obj3 = 0 ;
20271 PyObject * obj4 = 0 ;
20272 char * kwnames[] = {
20273 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20274 };
20275
20276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20278 if (!SWIG_IsOK(res1)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20280 }
20281 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20283 if (!SWIG_IsOK(res2)) {
20284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20285 }
20286 arg2 = reinterpret_cast< wxWindow * >(argp2);
20287 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20288 if (!SWIG_IsOK(res3)) {
20289 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20290 }
20291 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20292 {
20293 arg4 = wxString_in_helper(obj3);
20294 if (arg4 == NULL) SWIG_fail;
20295 temp4 = true;
20296 }
20297 if (obj4) {
20298 ecode5 = SWIG_AsVal_int(obj4, &val5);
20299 if (!SWIG_IsOK(ecode5)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20301 }
20302 arg5 = static_cast< int >(val5);
20303 }
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 {
20311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20312 }
20313 {
20314 if (temp4)
20315 delete arg4;
20316 }
20317 return resultobj;
20318 fail:
20319 {
20320 if (temp4)
20321 delete arg4;
20322 }
20323 return NULL;
20324 }
20325
20326
20327 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20328 PyObject *resultobj = 0;
20329 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20330 wxFindReplaceData *result = 0 ;
20331 void *argp1 = 0 ;
20332 int res1 = 0 ;
20333 PyObject *swig_obj[1] ;
20334
20335 if (!args) SWIG_fail;
20336 swig_obj[0] = args;
20337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20338 if (!SWIG_IsOK(res1)) {
20339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20340 }
20341 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = (wxFindReplaceData *)(arg1)->GetData();
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20349 return resultobj;
20350 fail:
20351 return NULL;
20352 }
20353
20354
20355 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20356 PyObject *resultobj = 0;
20357 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20358 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20359 void *argp1 = 0 ;
20360 int res1 = 0 ;
20361 void *argp2 = 0 ;
20362 int res2 = 0 ;
20363 PyObject * obj0 = 0 ;
20364 PyObject * obj1 = 0 ;
20365 char * kwnames[] = {
20366 (char *) "self",(char *) "data", NULL
20367 };
20368
20369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20371 if (!SWIG_IsOK(res1)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20373 }
20374 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20375 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20376 if (!SWIG_IsOK(res2)) {
20377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20378 }
20379 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetData(arg2);
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 resultobj = SWIG_Py_Void();
20387 return resultobj;
20388 fail:
20389 return NULL;
20390 }
20391
20392
20393 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20394 PyObject *obj;
20395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20396 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20397 return SWIG_Py_Void();
20398 }
20399
20400 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20401 return SWIG_Python_InitShadowInstance(args);
20402 }
20403
20404 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj = 0;
20406 wxWindow *arg1 = (wxWindow *) 0 ;
20407 int arg2 = (int) (int)-1 ;
20408 wxString const &arg3_defvalue = wxPyEmptyString ;
20409 wxString *arg3 = (wxString *) &arg3_defvalue ;
20410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20412 wxSize const &arg5_defvalue = wxDefaultSize ;
20413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20414 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20415 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20416 wxString *arg7 = (wxString *) &arg7_defvalue ;
20417 wxMDIParentFrame *result = 0 ;
20418 void *argp1 = 0 ;
20419 int res1 = 0 ;
20420 int val2 ;
20421 int ecode2 = 0 ;
20422 bool temp3 = false ;
20423 wxPoint temp4 ;
20424 wxSize temp5 ;
20425 long val6 ;
20426 int ecode6 = 0 ;
20427 bool temp7 = false ;
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 PyObject * obj2 = 0 ;
20431 PyObject * obj3 = 0 ;
20432 PyObject * obj4 = 0 ;
20433 PyObject * obj5 = 0 ;
20434 PyObject * obj6 = 0 ;
20435 char * kwnames[] = {
20436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20437 };
20438
20439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20441 if (!SWIG_IsOK(res1)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20443 }
20444 arg1 = reinterpret_cast< wxWindow * >(argp1);
20445 if (obj1) {
20446 ecode2 = SWIG_AsVal_int(obj1, &val2);
20447 if (!SWIG_IsOK(ecode2)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20449 }
20450 arg2 = static_cast< int >(val2);
20451 }
20452 if (obj2) {
20453 {
20454 arg3 = wxString_in_helper(obj2);
20455 if (arg3 == NULL) SWIG_fail;
20456 temp3 = true;
20457 }
20458 }
20459 if (obj3) {
20460 {
20461 arg4 = &temp4;
20462 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20463 }
20464 }
20465 if (obj4) {
20466 {
20467 arg5 = &temp5;
20468 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20469 }
20470 }
20471 if (obj5) {
20472 ecode6 = SWIG_AsVal_long(obj5, &val6);
20473 if (!SWIG_IsOK(ecode6)) {
20474 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20475 }
20476 arg6 = static_cast< long >(val6);
20477 }
20478 if (obj6) {
20479 {
20480 arg7 = wxString_in_helper(obj6);
20481 if (arg7 == NULL) SWIG_fail;
20482 temp7 = true;
20483 }
20484 }
20485 {
20486 if (!wxPyCheckForApp()) SWIG_fail;
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20489 wxPyEndAllowThreads(__tstate);
20490 if (PyErr_Occurred()) SWIG_fail;
20491 }
20492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20493 {
20494 if (temp3)
20495 delete arg3;
20496 }
20497 {
20498 if (temp7)
20499 delete arg7;
20500 }
20501 return resultobj;
20502 fail:
20503 {
20504 if (temp3)
20505 delete arg3;
20506 }
20507 {
20508 if (temp7)
20509 delete arg7;
20510 }
20511 return NULL;
20512 }
20513
20514
20515 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20516 PyObject *resultobj = 0;
20517 wxMDIParentFrame *result = 0 ;
20518
20519 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20520 {
20521 if (!wxPyCheckForApp()) SWIG_fail;
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20535 PyObject *resultobj = 0;
20536 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20537 wxWindow *arg2 = (wxWindow *) 0 ;
20538 int arg3 = (int) (int)-1 ;
20539 wxString const &arg4_defvalue = wxPyEmptyString ;
20540 wxString *arg4 = (wxString *) &arg4_defvalue ;
20541 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20542 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20543 wxSize const &arg6_defvalue = wxDefaultSize ;
20544 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20545 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20546 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20547 wxString *arg8 = (wxString *) &arg8_defvalue ;
20548 bool result;
20549 void *argp1 = 0 ;
20550 int res1 = 0 ;
20551 void *argp2 = 0 ;
20552 int res2 = 0 ;
20553 int val3 ;
20554 int ecode3 = 0 ;
20555 bool temp4 = false ;
20556 wxPoint temp5 ;
20557 wxSize temp6 ;
20558 long val7 ;
20559 int ecode7 = 0 ;
20560 bool temp8 = false ;
20561 PyObject * obj0 = 0 ;
20562 PyObject * obj1 = 0 ;
20563 PyObject * obj2 = 0 ;
20564 PyObject * obj3 = 0 ;
20565 PyObject * obj4 = 0 ;
20566 PyObject * obj5 = 0 ;
20567 PyObject * obj6 = 0 ;
20568 PyObject * obj7 = 0 ;
20569 char * kwnames[] = {
20570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20571 };
20572
20573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20575 if (!SWIG_IsOK(res1)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20577 }
20578 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20580 if (!SWIG_IsOK(res2)) {
20581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20582 }
20583 arg2 = reinterpret_cast< wxWindow * >(argp2);
20584 if (obj2) {
20585 ecode3 = SWIG_AsVal_int(obj2, &val3);
20586 if (!SWIG_IsOK(ecode3)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20588 }
20589 arg3 = static_cast< int >(val3);
20590 }
20591 if (obj3) {
20592 {
20593 arg4 = wxString_in_helper(obj3);
20594 if (arg4 == NULL) SWIG_fail;
20595 temp4 = true;
20596 }
20597 }
20598 if (obj4) {
20599 {
20600 arg5 = &temp5;
20601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20602 }
20603 }
20604 if (obj5) {
20605 {
20606 arg6 = &temp6;
20607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20608 }
20609 }
20610 if (obj6) {
20611 ecode7 = SWIG_AsVal_long(obj6, &val7);
20612 if (!SWIG_IsOK(ecode7)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20614 }
20615 arg7 = static_cast< long >(val7);
20616 }
20617 if (obj7) {
20618 {
20619 arg8 = wxString_in_helper(obj7);
20620 if (arg8 == NULL) SWIG_fail;
20621 temp8 = true;
20622 }
20623 }
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 {
20631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20632 }
20633 {
20634 if (temp4)
20635 delete arg4;
20636 }
20637 {
20638 if (temp8)
20639 delete arg8;
20640 }
20641 return resultobj;
20642 fail:
20643 {
20644 if (temp4)
20645 delete arg4;
20646 }
20647 {
20648 if (temp8)
20649 delete arg8;
20650 }
20651 return NULL;
20652 }
20653
20654
20655 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20656 PyObject *resultobj = 0;
20657 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20658 void *argp1 = 0 ;
20659 int res1 = 0 ;
20660 PyObject *swig_obj[1] ;
20661
20662 if (!args) SWIG_fail;
20663 swig_obj[0] = args;
20664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20665 if (!SWIG_IsOK(res1)) {
20666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20667 }
20668 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20669 {
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 (arg1)->ActivateNext();
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 resultobj = SWIG_Py_Void();
20676 return resultobj;
20677 fail:
20678 return NULL;
20679 }
20680
20681
20682 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20683 PyObject *resultobj = 0;
20684 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20685 void *argp1 = 0 ;
20686 int res1 = 0 ;
20687 PyObject *swig_obj[1] ;
20688
20689 if (!args) SWIG_fail;
20690 swig_obj[0] = args;
20691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20692 if (!SWIG_IsOK(res1)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20694 }
20695 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20696 {
20697 PyThreadState* __tstate = wxPyBeginAllowThreads();
20698 (arg1)->ActivatePrevious();
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 resultobj = SWIG_Py_Void();
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20710 PyObject *resultobj = 0;
20711 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20712 void *argp1 = 0 ;
20713 int res1 = 0 ;
20714 PyObject *swig_obj[1] ;
20715
20716 if (!args) SWIG_fail;
20717 swig_obj[0] = args;
20718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20719 if (!SWIG_IsOK(res1)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20721 }
20722 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 (arg1)->ArrangeIcons();
20726 wxPyEndAllowThreads(__tstate);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 resultobj = SWIG_Py_Void();
20730 return resultobj;
20731 fail:
20732 return NULL;
20733 }
20734
20735
20736 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20737 PyObject *resultobj = 0;
20738 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20739 void *argp1 = 0 ;
20740 int res1 = 0 ;
20741 PyObject *swig_obj[1] ;
20742
20743 if (!args) SWIG_fail;
20744 swig_obj[0] = args;
20745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20746 if (!SWIG_IsOK(res1)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20748 }
20749 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 (arg1)->Cascade();
20753 wxPyEndAllowThreads(__tstate);
20754 if (PyErr_Occurred()) SWIG_fail;
20755 }
20756 resultobj = SWIG_Py_Void();
20757 return resultobj;
20758 fail:
20759 return NULL;
20760 }
20761
20762
20763 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20764 PyObject *resultobj = 0;
20765 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20766 wxMDIChildFrame *result = 0 ;
20767 void *argp1 = 0 ;
20768 int res1 = 0 ;
20769 PyObject *swig_obj[1] ;
20770
20771 if (!args) SWIG_fail;
20772 swig_obj[0] = args;
20773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20774 if (!SWIG_IsOK(res1)) {
20775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20776 }
20777 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 resultobj = wxPyMake_wxObject(result, (bool)0);
20786 }
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20794 PyObject *resultobj = 0;
20795 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20796 wxMDIClientWindow *result = 0 ;
20797 void *argp1 = 0 ;
20798 int res1 = 0 ;
20799 PyObject *swig_obj[1] ;
20800
20801 if (!args) SWIG_fail;
20802 swig_obj[0] = args;
20803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20804 if (!SWIG_IsOK(res1)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20806 }
20807 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 {
20815 resultobj = wxPyMake_wxObject(result, (bool)0);
20816 }
20817 return resultobj;
20818 fail:
20819 return NULL;
20820 }
20821
20822
20823 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20824 PyObject *resultobj = 0;
20825 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20826 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20827 void *argp1 = 0 ;
20828 int res1 = 0 ;
20829 int val2 ;
20830 int ecode2 = 0 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char * kwnames[] = {
20834 (char *) "self",(char *) "orient", NULL
20835 };
20836
20837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20839 if (!SWIG_IsOK(res1)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20841 }
20842 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20843 if (obj1) {
20844 ecode2 = SWIG_AsVal_int(obj1, &val2);
20845 if (!SWIG_IsOK(ecode2)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20847 }
20848 arg2 = static_cast< wxOrientation >(val2);
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 (arg1)->Tile(arg2);
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 resultobj = SWIG_Py_Void();
20857 return resultobj;
20858 fail:
20859 return NULL;
20860 }
20861
20862
20863 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20864 PyObject *obj;
20865 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20866 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20867 return SWIG_Py_Void();
20868 }
20869
20870 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20871 return SWIG_Python_InitShadowInstance(args);
20872 }
20873
20874 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj = 0;
20876 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20877 int arg2 = (int) (int)-1 ;
20878 wxString const &arg3_defvalue = wxPyEmptyString ;
20879 wxString *arg3 = (wxString *) &arg3_defvalue ;
20880 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20881 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20882 wxSize const &arg5_defvalue = wxDefaultSize ;
20883 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20884 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20885 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20886 wxString *arg7 = (wxString *) &arg7_defvalue ;
20887 wxMDIChildFrame *result = 0 ;
20888 void *argp1 = 0 ;
20889 int res1 = 0 ;
20890 int val2 ;
20891 int ecode2 = 0 ;
20892 bool temp3 = false ;
20893 wxPoint temp4 ;
20894 wxSize temp5 ;
20895 long val6 ;
20896 int ecode6 = 0 ;
20897 bool temp7 = false ;
20898 PyObject * obj0 = 0 ;
20899 PyObject * obj1 = 0 ;
20900 PyObject * obj2 = 0 ;
20901 PyObject * obj3 = 0 ;
20902 PyObject * obj4 = 0 ;
20903 PyObject * obj5 = 0 ;
20904 PyObject * obj6 = 0 ;
20905 char * kwnames[] = {
20906 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20907 };
20908
20909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20911 if (!SWIG_IsOK(res1)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20913 }
20914 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20915 if (obj1) {
20916 ecode2 = SWIG_AsVal_int(obj1, &val2);
20917 if (!SWIG_IsOK(ecode2)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20919 }
20920 arg2 = static_cast< int >(val2);
20921 }
20922 if (obj2) {
20923 {
20924 arg3 = wxString_in_helper(obj2);
20925 if (arg3 == NULL) SWIG_fail;
20926 temp3 = true;
20927 }
20928 }
20929 if (obj3) {
20930 {
20931 arg4 = &temp4;
20932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20933 }
20934 }
20935 if (obj4) {
20936 {
20937 arg5 = &temp5;
20938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20939 }
20940 }
20941 if (obj5) {
20942 ecode6 = SWIG_AsVal_long(obj5, &val6);
20943 if (!SWIG_IsOK(ecode6)) {
20944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20945 }
20946 arg6 = static_cast< long >(val6);
20947 }
20948 if (obj6) {
20949 {
20950 arg7 = wxString_in_helper(obj6);
20951 if (arg7 == NULL) SWIG_fail;
20952 temp7 = true;
20953 }
20954 }
20955 {
20956 if (!wxPyCheckForApp()) SWIG_fail;
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20963 {
20964 if (temp3)
20965 delete arg3;
20966 }
20967 {
20968 if (temp7)
20969 delete arg7;
20970 }
20971 return resultobj;
20972 fail:
20973 {
20974 if (temp3)
20975 delete arg3;
20976 }
20977 {
20978 if (temp7)
20979 delete arg7;
20980 }
20981 return NULL;
20982 }
20983
20984
20985 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20986 PyObject *resultobj = 0;
20987 wxMDIChildFrame *result = 0 ;
20988
20989 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20990 {
20991 if (!wxPyCheckForApp()) SWIG_fail;
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj = 0;
21006 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21007 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21008 int arg3 = (int) (int)-1 ;
21009 wxString const &arg4_defvalue = wxPyEmptyString ;
21010 wxString *arg4 = (wxString *) &arg4_defvalue ;
21011 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21012 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21013 wxSize const &arg6_defvalue = wxDefaultSize ;
21014 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21015 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21016 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21017 wxString *arg8 = (wxString *) &arg8_defvalue ;
21018 bool result;
21019 void *argp1 = 0 ;
21020 int res1 = 0 ;
21021 void *argp2 = 0 ;
21022 int res2 = 0 ;
21023 int val3 ;
21024 int ecode3 = 0 ;
21025 bool temp4 = false ;
21026 wxPoint temp5 ;
21027 wxSize temp6 ;
21028 long val7 ;
21029 int ecode7 = 0 ;
21030 bool temp8 = false ;
21031 PyObject * obj0 = 0 ;
21032 PyObject * obj1 = 0 ;
21033 PyObject * obj2 = 0 ;
21034 PyObject * obj3 = 0 ;
21035 PyObject * obj4 = 0 ;
21036 PyObject * obj5 = 0 ;
21037 PyObject * obj6 = 0 ;
21038 PyObject * obj7 = 0 ;
21039 char * kwnames[] = {
21040 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21041 };
21042
21043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21045 if (!SWIG_IsOK(res1)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21047 }
21048 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21049 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21050 if (!SWIG_IsOK(res2)) {
21051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21052 }
21053 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21054 if (obj2) {
21055 ecode3 = SWIG_AsVal_int(obj2, &val3);
21056 if (!SWIG_IsOK(ecode3)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21058 }
21059 arg3 = static_cast< int >(val3);
21060 }
21061 if (obj3) {
21062 {
21063 arg4 = wxString_in_helper(obj3);
21064 if (arg4 == NULL) SWIG_fail;
21065 temp4 = true;
21066 }
21067 }
21068 if (obj4) {
21069 {
21070 arg5 = &temp5;
21071 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21072 }
21073 }
21074 if (obj5) {
21075 {
21076 arg6 = &temp6;
21077 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21078 }
21079 }
21080 if (obj6) {
21081 ecode7 = SWIG_AsVal_long(obj6, &val7);
21082 if (!SWIG_IsOK(ecode7)) {
21083 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21084 }
21085 arg7 = static_cast< long >(val7);
21086 }
21087 if (obj7) {
21088 {
21089 arg8 = wxString_in_helper(obj7);
21090 if (arg8 == NULL) SWIG_fail;
21091 temp8 = true;
21092 }
21093 }
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 {
21101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21102 }
21103 {
21104 if (temp4)
21105 delete arg4;
21106 }
21107 {
21108 if (temp8)
21109 delete arg8;
21110 }
21111 return resultobj;
21112 fail:
21113 {
21114 if (temp4)
21115 delete arg4;
21116 }
21117 {
21118 if (temp8)
21119 delete arg8;
21120 }
21121 return NULL;
21122 }
21123
21124
21125 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21126 PyObject *resultobj = 0;
21127 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21128 void *argp1 = 0 ;
21129 int res1 = 0 ;
21130 PyObject *swig_obj[1] ;
21131
21132 if (!args) SWIG_fail;
21133 swig_obj[0] = args;
21134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21135 if (!SWIG_IsOK(res1)) {
21136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21137 }
21138 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21139 {
21140 PyThreadState* __tstate = wxPyBeginAllowThreads();
21141 (arg1)->Activate();
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 resultobj = SWIG_Py_Void();
21146 return resultobj;
21147 fail:
21148 return NULL;
21149 }
21150
21151
21152 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21153 PyObject *obj;
21154 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21155 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21156 return SWIG_Py_Void();
21157 }
21158
21159 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21160 return SWIG_Python_InitShadowInstance(args);
21161 }
21162
21163 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21164 PyObject *resultobj = 0;
21165 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21166 long arg2 = (long) 0 ;
21167 wxMDIClientWindow *result = 0 ;
21168 void *argp1 = 0 ;
21169 int res1 = 0 ;
21170 long val2 ;
21171 int ecode2 = 0 ;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char * kwnames[] = {
21175 (char *) "parent",(char *) "style", NULL
21176 };
21177
21178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21180 if (!SWIG_IsOK(res1)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21182 }
21183 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21184 if (obj1) {
21185 ecode2 = SWIG_AsVal_long(obj1, &val2);
21186 if (!SWIG_IsOK(ecode2)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21188 }
21189 arg2 = static_cast< long >(val2);
21190 }
21191 {
21192 if (!wxPyCheckForApp()) SWIG_fail;
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21206 PyObject *resultobj = 0;
21207 wxMDIClientWindow *result = 0 ;
21208
21209 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21210 {
21211 if (!wxPyCheckForApp()) SWIG_fail;
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj = 0;
21226 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21227 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21228 long arg3 = (long) 0 ;
21229 bool result;
21230 void *argp1 = 0 ;
21231 int res1 = 0 ;
21232 void *argp2 = 0 ;
21233 int res2 = 0 ;
21234 long val3 ;
21235 int ecode3 = 0 ;
21236 PyObject * obj0 = 0 ;
21237 PyObject * obj1 = 0 ;
21238 PyObject * obj2 = 0 ;
21239 char * kwnames[] = {
21240 (char *) "self",(char *) "parent",(char *) "style", NULL
21241 };
21242
21243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21245 if (!SWIG_IsOK(res1)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21247 }
21248 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21249 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21250 if (!SWIG_IsOK(res2)) {
21251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21252 }
21253 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21254 if (obj2) {
21255 ecode3 = SWIG_AsVal_long(obj2, &val3);
21256 if (!SWIG_IsOK(ecode3)) {
21257 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21258 }
21259 arg3 = static_cast< long >(val3);
21260 }
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (bool)(arg1)->Create(arg2,arg3);
21264 wxPyEndAllowThreads(__tstate);
21265 if (PyErr_Occurred()) SWIG_fail;
21266 }
21267 {
21268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21269 }
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21277 PyObject *obj;
21278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21279 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21280 return SWIG_Py_Void();
21281 }
21282
21283 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21284 return SWIG_Python_InitShadowInstance(args);
21285 }
21286
21287 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj = 0;
21289 wxWindow *arg1 = (wxWindow *) 0 ;
21290 int arg2 = (int) (int)-1 ;
21291 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21292 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21293 wxSize const &arg4_defvalue = wxDefaultSize ;
21294 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21295 long arg5 = (long) 0 ;
21296 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21297 wxString *arg6 = (wxString *) &arg6_defvalue ;
21298 wxPyWindow *result = 0 ;
21299 void *argp1 = 0 ;
21300 int res1 = 0 ;
21301 int val2 ;
21302 int ecode2 = 0 ;
21303 wxPoint temp3 ;
21304 wxSize temp4 ;
21305 long val5 ;
21306 int ecode5 = 0 ;
21307 bool temp6 = false ;
21308 PyObject * obj0 = 0 ;
21309 PyObject * obj1 = 0 ;
21310 PyObject * obj2 = 0 ;
21311 PyObject * obj3 = 0 ;
21312 PyObject * obj4 = 0 ;
21313 PyObject * obj5 = 0 ;
21314 char * kwnames[] = {
21315 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21316 };
21317
21318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21320 if (!SWIG_IsOK(res1)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21322 }
21323 arg1 = reinterpret_cast< wxWindow * >(argp1);
21324 if (obj1) {
21325 ecode2 = SWIG_AsVal_int(obj1, &val2);
21326 if (!SWIG_IsOK(ecode2)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21328 }
21329 arg2 = static_cast< int >(val2);
21330 }
21331 if (obj2) {
21332 {
21333 arg3 = &temp3;
21334 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21335 }
21336 }
21337 if (obj3) {
21338 {
21339 arg4 = &temp4;
21340 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21341 }
21342 }
21343 if (obj4) {
21344 ecode5 = SWIG_AsVal_long(obj4, &val5);
21345 if (!SWIG_IsOK(ecode5)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21347 }
21348 arg5 = static_cast< long >(val5);
21349 }
21350 if (obj5) {
21351 {
21352 arg6 = wxString_in_helper(obj5);
21353 if (arg6 == NULL) SWIG_fail;
21354 temp6 = true;
21355 }
21356 }
21357 {
21358 if (!wxPyCheckForApp()) SWIG_fail;
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21365 {
21366 if (temp6)
21367 delete arg6;
21368 }
21369 return resultobj;
21370 fail:
21371 {
21372 if (temp6)
21373 delete arg6;
21374 }
21375 return NULL;
21376 }
21377
21378
21379 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21380 PyObject *resultobj = 0;
21381 wxPyWindow *result = 0 ;
21382
21383 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21384 {
21385 if (!wxPyCheckForApp()) SWIG_fail;
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 result = (wxPyWindow *)new wxPyWindow();
21388 wxPyEndAllowThreads(__tstate);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj = 0;
21400 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21401 PyObject *arg2 = (PyObject *) 0 ;
21402 PyObject *arg3 = (PyObject *) 0 ;
21403 void *argp1 = 0 ;
21404 int res1 = 0 ;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 PyObject * obj2 = 0 ;
21408 char * kwnames[] = {
21409 (char *) "self",(char *) "self",(char *) "_class", NULL
21410 };
21411
21412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21414 if (!SWIG_IsOK(res1)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21416 }
21417 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21418 arg2 = obj1;
21419 arg3 = obj2;
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 (arg1)->_setCallbackInfo(arg2,arg3);
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 resultobj = SWIG_Py_Void();
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj = 0;
21435 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21436 wxDC *arg2 = (wxDC *) 0 ;
21437 bool result;
21438 void *argp1 = 0 ;
21439 int res1 = 0 ;
21440 void *argp2 = 0 ;
21441 int res2 = 0 ;
21442 PyObject * obj0 = 0 ;
21443 PyObject * obj1 = 0 ;
21444 char * kwnames[] = {
21445 (char *) "self",(char *) "dc", NULL
21446 };
21447
21448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21450 if (!SWIG_IsOK(res1)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21452 }
21453 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21454 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21455 if (!SWIG_IsOK(res2)) {
21456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21457 }
21458 arg2 = reinterpret_cast< wxDC * >(argp2);
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 result = (bool)(arg1)->DoEraseBackground(arg2);
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 {
21466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21467 }
21468 return resultobj;
21469 fail:
21470 return NULL;
21471 }
21472
21473
21474 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj = 0;
21476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21477 int arg2 ;
21478 int arg3 ;
21479 int arg4 ;
21480 int arg5 ;
21481 void *argp1 = 0 ;
21482 int res1 = 0 ;
21483 int val2 ;
21484 int ecode2 = 0 ;
21485 int val3 ;
21486 int ecode3 = 0 ;
21487 int val4 ;
21488 int ecode4 = 0 ;
21489 int val5 ;
21490 int ecode5 = 0 ;
21491 PyObject * obj0 = 0 ;
21492 PyObject * obj1 = 0 ;
21493 PyObject * obj2 = 0 ;
21494 PyObject * obj3 = 0 ;
21495 PyObject * obj4 = 0 ;
21496 char * kwnames[] = {
21497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21498 };
21499
21500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21502 if (!SWIG_IsOK(res1)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21504 }
21505 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21506 ecode2 = SWIG_AsVal_int(obj1, &val2);
21507 if (!SWIG_IsOK(ecode2)) {
21508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21509 }
21510 arg2 = static_cast< int >(val2);
21511 ecode3 = SWIG_AsVal_int(obj2, &val3);
21512 if (!SWIG_IsOK(ecode3)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21514 }
21515 arg3 = static_cast< int >(val3);
21516 ecode4 = SWIG_AsVal_int(obj3, &val4);
21517 if (!SWIG_IsOK(ecode4)) {
21518 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21519 }
21520 arg4 = static_cast< int >(val4);
21521 ecode5 = SWIG_AsVal_int(obj4, &val5);
21522 if (!SWIG_IsOK(ecode5)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21524 }
21525 arg5 = static_cast< int >(val5);
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = SWIG_Py_Void();
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj = 0;
21541 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21542 int arg2 ;
21543 int arg3 ;
21544 int arg4 ;
21545 int arg5 ;
21546 int arg6 = (int) wxSIZE_AUTO ;
21547 void *argp1 = 0 ;
21548 int res1 = 0 ;
21549 int val2 ;
21550 int ecode2 = 0 ;
21551 int val3 ;
21552 int ecode3 = 0 ;
21553 int val4 ;
21554 int ecode4 = 0 ;
21555 int val5 ;
21556 int ecode5 = 0 ;
21557 int val6 ;
21558 int ecode6 = 0 ;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 PyObject * obj2 = 0 ;
21562 PyObject * obj3 = 0 ;
21563 PyObject * obj4 = 0 ;
21564 PyObject * obj5 = 0 ;
21565 char * kwnames[] = {
21566 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21567 };
21568
21569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21571 if (!SWIG_IsOK(res1)) {
21572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21573 }
21574 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21575 ecode2 = SWIG_AsVal_int(obj1, &val2);
21576 if (!SWIG_IsOK(ecode2)) {
21577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21578 }
21579 arg2 = static_cast< int >(val2);
21580 ecode3 = SWIG_AsVal_int(obj2, &val3);
21581 if (!SWIG_IsOK(ecode3)) {
21582 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21583 }
21584 arg3 = static_cast< int >(val3);
21585 ecode4 = SWIG_AsVal_int(obj3, &val4);
21586 if (!SWIG_IsOK(ecode4)) {
21587 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21588 }
21589 arg4 = static_cast< int >(val4);
21590 ecode5 = SWIG_AsVal_int(obj4, &val5);
21591 if (!SWIG_IsOK(ecode5)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21593 }
21594 arg5 = static_cast< int >(val5);
21595 if (obj5) {
21596 ecode6 = SWIG_AsVal_int(obj5, &val6);
21597 if (!SWIG_IsOK(ecode6)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21599 }
21600 arg6 = static_cast< int >(val6);
21601 }
21602 {
21603 PyThreadState* __tstate = wxPyBeginAllowThreads();
21604 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 resultobj = SWIG_Py_Void();
21609 return resultobj;
21610 fail:
21611 return NULL;
21612 }
21613
21614
21615 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj = 0;
21617 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21618 int arg2 ;
21619 int arg3 ;
21620 void *argp1 = 0 ;
21621 int res1 = 0 ;
21622 int val2 ;
21623 int ecode2 = 0 ;
21624 int val3 ;
21625 int ecode3 = 0 ;
21626 PyObject * obj0 = 0 ;
21627 PyObject * obj1 = 0 ;
21628 PyObject * obj2 = 0 ;
21629 char * kwnames[] = {
21630 (char *) "self",(char *) "width",(char *) "height", NULL
21631 };
21632
21633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21635 if (!SWIG_IsOK(res1)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21637 }
21638 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21639 ecode2 = SWIG_AsVal_int(obj1, &val2);
21640 if (!SWIG_IsOK(ecode2)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21642 }
21643 arg2 = static_cast< int >(val2);
21644 ecode3 = SWIG_AsVal_int(obj2, &val3);
21645 if (!SWIG_IsOK(ecode3)) {
21646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21647 }
21648 arg3 = static_cast< int >(val3);
21649 {
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 (arg1)->DoSetClientSize(arg2,arg3);
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 resultobj = SWIG_Py_Void();
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj = 0;
21664 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21665 int arg2 ;
21666 int arg3 ;
21667 void *argp1 = 0 ;
21668 int res1 = 0 ;
21669 int val2 ;
21670 int ecode2 = 0 ;
21671 int val3 ;
21672 int ecode3 = 0 ;
21673 PyObject * obj0 = 0 ;
21674 PyObject * obj1 = 0 ;
21675 PyObject * obj2 = 0 ;
21676 char * kwnames[] = {
21677 (char *) "self",(char *) "x",(char *) "y", NULL
21678 };
21679
21680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21682 if (!SWIG_IsOK(res1)) {
21683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21684 }
21685 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21686 ecode2 = SWIG_AsVal_int(obj1, &val2);
21687 if (!SWIG_IsOK(ecode2)) {
21688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21689 }
21690 arg2 = static_cast< int >(val2);
21691 ecode3 = SWIG_AsVal_int(obj2, &val3);
21692 if (!SWIG_IsOK(ecode3)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21694 }
21695 arg3 = static_cast< int >(val3);
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 (arg1)->DoSetVirtualSize(arg2,arg3);
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 resultobj = SWIG_Py_Void();
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21710 PyObject *resultobj = 0;
21711 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21712 int *arg2 = (int *) 0 ;
21713 int *arg3 = (int *) 0 ;
21714 void *argp1 = 0 ;
21715 int res1 = 0 ;
21716 int temp2 ;
21717 int res2 = SWIG_TMPOBJ ;
21718 int temp3 ;
21719 int res3 = SWIG_TMPOBJ ;
21720 PyObject *swig_obj[1] ;
21721
21722 arg2 = &temp2;
21723 arg3 = &temp3;
21724 if (!args) SWIG_fail;
21725 swig_obj[0] = args;
21726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21727 if (!SWIG_IsOK(res1)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21729 }
21730 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 resultobj = SWIG_Py_Void();
21738 if (SWIG_IsTmpObj(res2)) {
21739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21740 } else {
21741 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21743 }
21744 if (SWIG_IsTmpObj(res3)) {
21745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21746 } else {
21747 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21749 }
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21757 PyObject *resultobj = 0;
21758 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21759 int *arg2 = (int *) 0 ;
21760 int *arg3 = (int *) 0 ;
21761 void *argp1 = 0 ;
21762 int res1 = 0 ;
21763 int temp2 ;
21764 int res2 = SWIG_TMPOBJ ;
21765 int temp3 ;
21766 int res3 = SWIG_TMPOBJ ;
21767 PyObject *swig_obj[1] ;
21768
21769 arg2 = &temp2;
21770 arg3 = &temp3;
21771 if (!args) SWIG_fail;
21772 swig_obj[0] = args;
21773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21774 if (!SWIG_IsOK(res1)) {
21775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21776 }
21777 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21778 {
21779 PyThreadState* __tstate = wxPyBeginAllowThreads();
21780 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 resultobj = SWIG_Py_Void();
21785 if (SWIG_IsTmpObj(res2)) {
21786 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21787 } else {
21788 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21789 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21790 }
21791 if (SWIG_IsTmpObj(res3)) {
21792 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21793 } else {
21794 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21795 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21796 }
21797 return resultobj;
21798 fail:
21799 return NULL;
21800 }
21801
21802
21803 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21804 PyObject *resultobj = 0;
21805 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21806 int *arg2 = (int *) 0 ;
21807 int *arg3 = (int *) 0 ;
21808 void *argp1 = 0 ;
21809 int res1 = 0 ;
21810 int temp2 ;
21811 int res2 = SWIG_TMPOBJ ;
21812 int temp3 ;
21813 int res3 = SWIG_TMPOBJ ;
21814 PyObject *swig_obj[1] ;
21815
21816 arg2 = &temp2;
21817 arg3 = &temp3;
21818 if (!args) SWIG_fail;
21819 swig_obj[0] = args;
21820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21821 if (!SWIG_IsOK(res1)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21823 }
21824 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21828 wxPyEndAllowThreads(__tstate);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 resultobj = SWIG_Py_Void();
21832 if (SWIG_IsTmpObj(res2)) {
21833 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21834 } else {
21835 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21836 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21837 }
21838 if (SWIG_IsTmpObj(res3)) {
21839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21840 } else {
21841 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21843 }
21844 return resultobj;
21845 fail:
21846 return NULL;
21847 }
21848
21849
21850 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21851 PyObject *resultobj = 0;
21852 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21853 wxSize result;
21854 void *argp1 = 0 ;
21855 int res1 = 0 ;
21856 PyObject *swig_obj[1] ;
21857
21858 if (!args) SWIG_fail;
21859 swig_obj[0] = args;
21860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21861 if (!SWIG_IsOK(res1)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21863 }
21864 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21879 PyObject *resultobj = 0;
21880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21881 wxSize result;
21882 void *argp1 = 0 ;
21883 int res1 = 0 ;
21884 PyObject *swig_obj[1] ;
21885
21886 if (!args) SWIG_fail;
21887 swig_obj[0] = args;
21888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21889 if (!SWIG_IsOK(res1)) {
21890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21891 }
21892 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21900 return resultobj;
21901 fail:
21902 return NULL;
21903 }
21904
21905
21906 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21907 PyObject *resultobj = 0;
21908 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21909 SwigValueWrapper<wxVisualAttributes > result;
21910 void *argp1 = 0 ;
21911 int res1 = 0 ;
21912 PyObject *swig_obj[1] ;
21913
21914 if (!args) SWIG_fail;
21915 swig_obj[0] = args;
21916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21917 if (!SWIG_IsOK(res1)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21919 }
21920 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (arg1)->GetDefaultAttributes();
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21928 return resultobj;
21929 fail:
21930 return NULL;
21931 }
21932
21933
21934 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21935 PyObject *resultobj = 0;
21936 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21937 void *argp1 = 0 ;
21938 int res1 = 0 ;
21939 PyObject *swig_obj[1] ;
21940
21941 if (!args) SWIG_fail;
21942 swig_obj[0] = args;
21943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21944 if (!SWIG_IsOK(res1)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21946 }
21947 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 (arg1)->OnInternalIdle();
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 resultobj = SWIG_Py_Void();
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21962 PyObject *obj;
21963 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21965 return SWIG_Py_Void();
21966 }
21967
21968 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21969 return SWIG_Python_InitShadowInstance(args);
21970 }
21971
21972 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj = 0;
21974 wxWindow *arg1 = (wxWindow *) 0 ;
21975 int arg2 = (int) (int)-1 ;
21976 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21977 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21978 wxSize const &arg4_defvalue = wxDefaultSize ;
21979 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21980 long arg5 = (long) 0 ;
21981 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21982 wxString *arg6 = (wxString *) &arg6_defvalue ;
21983 wxPyPanel *result = 0 ;
21984 void *argp1 = 0 ;
21985 int res1 = 0 ;
21986 int val2 ;
21987 int ecode2 = 0 ;
21988 wxPoint temp3 ;
21989 wxSize temp4 ;
21990 long val5 ;
21991 int ecode5 = 0 ;
21992 bool temp6 = false ;
21993 PyObject * obj0 = 0 ;
21994 PyObject * obj1 = 0 ;
21995 PyObject * obj2 = 0 ;
21996 PyObject * obj3 = 0 ;
21997 PyObject * obj4 = 0 ;
21998 PyObject * obj5 = 0 ;
21999 char * kwnames[] = {
22000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22001 };
22002
22003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22005 if (!SWIG_IsOK(res1)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22007 }
22008 arg1 = reinterpret_cast< wxWindow * >(argp1);
22009 if (obj1) {
22010 ecode2 = SWIG_AsVal_int(obj1, &val2);
22011 if (!SWIG_IsOK(ecode2)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22013 }
22014 arg2 = static_cast< int >(val2);
22015 }
22016 if (obj2) {
22017 {
22018 arg3 = &temp3;
22019 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22020 }
22021 }
22022 if (obj3) {
22023 {
22024 arg4 = &temp4;
22025 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22026 }
22027 }
22028 if (obj4) {
22029 ecode5 = SWIG_AsVal_long(obj4, &val5);
22030 if (!SWIG_IsOK(ecode5)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22032 }
22033 arg5 = static_cast< long >(val5);
22034 }
22035 if (obj5) {
22036 {
22037 arg6 = wxString_in_helper(obj5);
22038 if (arg6 == NULL) SWIG_fail;
22039 temp6 = true;
22040 }
22041 }
22042 {
22043 if (!wxPyCheckForApp()) SWIG_fail;
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22050 {
22051 if (temp6)
22052 delete arg6;
22053 }
22054 return resultobj;
22055 fail:
22056 {
22057 if (temp6)
22058 delete arg6;
22059 }
22060 return NULL;
22061 }
22062
22063
22064 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22065 PyObject *resultobj = 0;
22066 wxPyPanel *result = 0 ;
22067
22068 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22069 {
22070 if (!wxPyCheckForApp()) SWIG_fail;
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = (wxPyPanel *)new wxPyPanel();
22073 wxPyEndAllowThreads(__tstate);
22074 if (PyErr_Occurred()) SWIG_fail;
22075 }
22076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22077 return resultobj;
22078 fail:
22079 return NULL;
22080 }
22081
22082
22083 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22084 PyObject *resultobj = 0;
22085 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22086 PyObject *arg2 = (PyObject *) 0 ;
22087 PyObject *arg3 = (PyObject *) 0 ;
22088 void *argp1 = 0 ;
22089 int res1 = 0 ;
22090 PyObject * obj0 = 0 ;
22091 PyObject * obj1 = 0 ;
22092 PyObject * obj2 = 0 ;
22093 char * kwnames[] = {
22094 (char *) "self",(char *) "self",(char *) "_class", NULL
22095 };
22096
22097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22099 if (!SWIG_IsOK(res1)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22101 }
22102 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22103 arg2 = obj1;
22104 arg3 = obj2;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 (arg1)->_setCallbackInfo(arg2,arg3);
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 resultobj = SWIG_Py_Void();
22112 return resultobj;
22113 fail:
22114 return NULL;
22115 }
22116
22117
22118 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj = 0;
22120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22121 wxDC *arg2 = (wxDC *) 0 ;
22122 bool result;
22123 void *argp1 = 0 ;
22124 int res1 = 0 ;
22125 void *argp2 = 0 ;
22126 int res2 = 0 ;
22127 PyObject * obj0 = 0 ;
22128 PyObject * obj1 = 0 ;
22129 char * kwnames[] = {
22130 (char *) "self",(char *) "dc", NULL
22131 };
22132
22133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22135 if (!SWIG_IsOK(res1)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22137 }
22138 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22139 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22140 if (!SWIG_IsOK(res2)) {
22141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22142 }
22143 arg2 = reinterpret_cast< wxDC * >(argp2);
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = (bool)(arg1)->DoEraseBackground(arg2);
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 {
22151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22152 }
22153 return resultobj;
22154 fail:
22155 return NULL;
22156 }
22157
22158
22159 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22160 PyObject *resultobj = 0;
22161 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22162 int arg2 ;
22163 int arg3 ;
22164 int arg4 ;
22165 int arg5 ;
22166 void *argp1 = 0 ;
22167 int res1 = 0 ;
22168 int val2 ;
22169 int ecode2 = 0 ;
22170 int val3 ;
22171 int ecode3 = 0 ;
22172 int val4 ;
22173 int ecode4 = 0 ;
22174 int val5 ;
22175 int ecode5 = 0 ;
22176 PyObject * obj0 = 0 ;
22177 PyObject * obj1 = 0 ;
22178 PyObject * obj2 = 0 ;
22179 PyObject * obj3 = 0 ;
22180 PyObject * obj4 = 0 ;
22181 char * kwnames[] = {
22182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22183 };
22184
22185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22187 if (!SWIG_IsOK(res1)) {
22188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22189 }
22190 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22191 ecode2 = SWIG_AsVal_int(obj1, &val2);
22192 if (!SWIG_IsOK(ecode2)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22194 }
22195 arg2 = static_cast< int >(val2);
22196 ecode3 = SWIG_AsVal_int(obj2, &val3);
22197 if (!SWIG_IsOK(ecode3)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22199 }
22200 arg3 = static_cast< int >(val3);
22201 ecode4 = SWIG_AsVal_int(obj3, &val4);
22202 if (!SWIG_IsOK(ecode4)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22204 }
22205 arg4 = static_cast< int >(val4);
22206 ecode5 = SWIG_AsVal_int(obj4, &val5);
22207 if (!SWIG_IsOK(ecode5)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22209 }
22210 arg5 = static_cast< int >(val5);
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 resultobj = SWIG_Py_Void();
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj = 0;
22226 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22227 int arg2 ;
22228 int arg3 ;
22229 int arg4 ;
22230 int arg5 ;
22231 int arg6 = (int) wxSIZE_AUTO ;
22232 void *argp1 = 0 ;
22233 int res1 = 0 ;
22234 int val2 ;
22235 int ecode2 = 0 ;
22236 int val3 ;
22237 int ecode3 = 0 ;
22238 int val4 ;
22239 int ecode4 = 0 ;
22240 int val5 ;
22241 int ecode5 = 0 ;
22242 int val6 ;
22243 int ecode6 = 0 ;
22244 PyObject * obj0 = 0 ;
22245 PyObject * obj1 = 0 ;
22246 PyObject * obj2 = 0 ;
22247 PyObject * obj3 = 0 ;
22248 PyObject * obj4 = 0 ;
22249 PyObject * obj5 = 0 ;
22250 char * kwnames[] = {
22251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22252 };
22253
22254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22256 if (!SWIG_IsOK(res1)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22258 }
22259 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22260 ecode2 = SWIG_AsVal_int(obj1, &val2);
22261 if (!SWIG_IsOK(ecode2)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22263 }
22264 arg2 = static_cast< int >(val2);
22265 ecode3 = SWIG_AsVal_int(obj2, &val3);
22266 if (!SWIG_IsOK(ecode3)) {
22267 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22268 }
22269 arg3 = static_cast< int >(val3);
22270 ecode4 = SWIG_AsVal_int(obj3, &val4);
22271 if (!SWIG_IsOK(ecode4)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22273 }
22274 arg4 = static_cast< int >(val4);
22275 ecode5 = SWIG_AsVal_int(obj4, &val5);
22276 if (!SWIG_IsOK(ecode5)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22278 }
22279 arg5 = static_cast< int >(val5);
22280 if (obj5) {
22281 ecode6 = SWIG_AsVal_int(obj5, &val6);
22282 if (!SWIG_IsOK(ecode6)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22284 }
22285 arg6 = static_cast< int >(val6);
22286 }
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 resultobj = SWIG_Py_Void();
22294 return resultobj;
22295 fail:
22296 return NULL;
22297 }
22298
22299
22300 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22301 PyObject *resultobj = 0;
22302 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22303 int arg2 ;
22304 int arg3 ;
22305 void *argp1 = 0 ;
22306 int res1 = 0 ;
22307 int val2 ;
22308 int ecode2 = 0 ;
22309 int val3 ;
22310 int ecode3 = 0 ;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 PyObject * obj2 = 0 ;
22314 char * kwnames[] = {
22315 (char *) "self",(char *) "width",(char *) "height", NULL
22316 };
22317
22318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22320 if (!SWIG_IsOK(res1)) {
22321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22322 }
22323 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22324 ecode2 = SWIG_AsVal_int(obj1, &val2);
22325 if (!SWIG_IsOK(ecode2)) {
22326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22327 }
22328 arg2 = static_cast< int >(val2);
22329 ecode3 = SWIG_AsVal_int(obj2, &val3);
22330 if (!SWIG_IsOK(ecode3)) {
22331 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22332 }
22333 arg3 = static_cast< int >(val3);
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 (arg1)->DoSetClientSize(arg2,arg3);
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 resultobj = SWIG_Py_Void();
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj = 0;
22349 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22350 int arg2 ;
22351 int arg3 ;
22352 void *argp1 = 0 ;
22353 int res1 = 0 ;
22354 int val2 ;
22355 int ecode2 = 0 ;
22356 int val3 ;
22357 int ecode3 = 0 ;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 PyObject * obj2 = 0 ;
22361 char * kwnames[] = {
22362 (char *) "self",(char *) "x",(char *) "y", NULL
22363 };
22364
22365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22367 if (!SWIG_IsOK(res1)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22369 }
22370 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22371 ecode2 = SWIG_AsVal_int(obj1, &val2);
22372 if (!SWIG_IsOK(ecode2)) {
22373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22374 }
22375 arg2 = static_cast< int >(val2);
22376 ecode3 = SWIG_AsVal_int(obj2, &val3);
22377 if (!SWIG_IsOK(ecode3)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22379 }
22380 arg3 = static_cast< int >(val3);
22381 {
22382 PyThreadState* __tstate = wxPyBeginAllowThreads();
22383 (arg1)->DoSetVirtualSize(arg2,arg3);
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 resultobj = SWIG_Py_Void();
22388 return resultobj;
22389 fail:
22390 return NULL;
22391 }
22392
22393
22394 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22395 PyObject *resultobj = 0;
22396 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22397 int *arg2 = (int *) 0 ;
22398 int *arg3 = (int *) 0 ;
22399 void *argp1 = 0 ;
22400 int res1 = 0 ;
22401 int temp2 ;
22402 int res2 = SWIG_TMPOBJ ;
22403 int temp3 ;
22404 int res3 = SWIG_TMPOBJ ;
22405 PyObject *swig_obj[1] ;
22406
22407 arg2 = &temp2;
22408 arg3 = &temp3;
22409 if (!args) SWIG_fail;
22410 swig_obj[0] = args;
22411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22412 if (!SWIG_IsOK(res1)) {
22413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22414 }
22415 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 resultobj = SWIG_Py_Void();
22423 if (SWIG_IsTmpObj(res2)) {
22424 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22425 } else {
22426 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22427 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22428 }
22429 if (SWIG_IsTmpObj(res3)) {
22430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22431 } else {
22432 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22434 }
22435 return resultobj;
22436 fail:
22437 return NULL;
22438 }
22439
22440
22441 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22442 PyObject *resultobj = 0;
22443 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22444 int *arg2 = (int *) 0 ;
22445 int *arg3 = (int *) 0 ;
22446 void *argp1 = 0 ;
22447 int res1 = 0 ;
22448 int temp2 ;
22449 int res2 = SWIG_TMPOBJ ;
22450 int temp3 ;
22451 int res3 = SWIG_TMPOBJ ;
22452 PyObject *swig_obj[1] ;
22453
22454 arg2 = &temp2;
22455 arg3 = &temp3;
22456 if (!args) SWIG_fail;
22457 swig_obj[0] = args;
22458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22459 if (!SWIG_IsOK(res1)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22461 }
22462 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 resultobj = SWIG_Py_Void();
22470 if (SWIG_IsTmpObj(res2)) {
22471 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22472 } else {
22473 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22474 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22475 }
22476 if (SWIG_IsTmpObj(res3)) {
22477 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22478 } else {
22479 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22480 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22481 }
22482 return resultobj;
22483 fail:
22484 return NULL;
22485 }
22486
22487
22488 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22489 PyObject *resultobj = 0;
22490 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22491 int *arg2 = (int *) 0 ;
22492 int *arg3 = (int *) 0 ;
22493 void *argp1 = 0 ;
22494 int res1 = 0 ;
22495 int temp2 ;
22496 int res2 = SWIG_TMPOBJ ;
22497 int temp3 ;
22498 int res3 = SWIG_TMPOBJ ;
22499 PyObject *swig_obj[1] ;
22500
22501 arg2 = &temp2;
22502 arg3 = &temp3;
22503 if (!args) SWIG_fail;
22504 swig_obj[0] = args;
22505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22506 if (!SWIG_IsOK(res1)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22508 }
22509 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 resultobj = SWIG_Py_Void();
22517 if (SWIG_IsTmpObj(res2)) {
22518 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22519 } else {
22520 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22521 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22522 }
22523 if (SWIG_IsTmpObj(res3)) {
22524 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22525 } else {
22526 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22527 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22528 }
22529 return resultobj;
22530 fail:
22531 return NULL;
22532 }
22533
22534
22535 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22536 PyObject *resultobj = 0;
22537 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22538 wxSize result;
22539 void *argp1 = 0 ;
22540 int res1 = 0 ;
22541 PyObject *swig_obj[1] ;
22542
22543 if (!args) SWIG_fail;
22544 swig_obj[0] = args;
22545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22546 if (!SWIG_IsOK(res1)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22548 }
22549 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22553 wxPyEndAllowThreads(__tstate);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 }
22556 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22557 return resultobj;
22558 fail:
22559 return NULL;
22560 }
22561
22562
22563 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22564 PyObject *resultobj = 0;
22565 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22566 wxSize result;
22567 void *argp1 = 0 ;
22568 int res1 = 0 ;
22569 PyObject *swig_obj[1] ;
22570
22571 if (!args) SWIG_fail;
22572 swig_obj[0] = args;
22573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22574 if (!SWIG_IsOK(res1)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22576 }
22577 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22592 PyObject *resultobj = 0;
22593 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22594 SwigValueWrapper<wxVisualAttributes > result;
22595 void *argp1 = 0 ;
22596 int res1 = 0 ;
22597 PyObject *swig_obj[1] ;
22598
22599 if (!args) SWIG_fail;
22600 swig_obj[0] = args;
22601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22602 if (!SWIG_IsOK(res1)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22604 }
22605 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = (arg1)->GetDefaultAttributes();
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22613 return resultobj;
22614 fail:
22615 return NULL;
22616 }
22617
22618
22619 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22620 PyObject *resultobj = 0;
22621 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22622 void *argp1 = 0 ;
22623 int res1 = 0 ;
22624 PyObject *swig_obj[1] ;
22625
22626 if (!args) SWIG_fail;
22627 swig_obj[0] = args;
22628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22629 if (!SWIG_IsOK(res1)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22631 }
22632 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 (arg1)->OnInternalIdle();
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 resultobj = SWIG_Py_Void();
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22647 PyObject *obj;
22648 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22650 return SWIG_Py_Void();
22651 }
22652
22653 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22654 return SWIG_Python_InitShadowInstance(args);
22655 }
22656
22657 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22658 PyObject *resultobj = 0;
22659 wxWindow *arg1 = (wxWindow *) 0 ;
22660 int arg2 = (int) (int)-1 ;
22661 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22662 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22663 wxSize const &arg4_defvalue = wxDefaultSize ;
22664 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22665 long arg5 = (long) 0 ;
22666 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22667 wxString *arg6 = (wxString *) &arg6_defvalue ;
22668 wxPyScrolledWindow *result = 0 ;
22669 void *argp1 = 0 ;
22670 int res1 = 0 ;
22671 int val2 ;
22672 int ecode2 = 0 ;
22673 wxPoint temp3 ;
22674 wxSize temp4 ;
22675 long val5 ;
22676 int ecode5 = 0 ;
22677 bool temp6 = false ;
22678 PyObject * obj0 = 0 ;
22679 PyObject * obj1 = 0 ;
22680 PyObject * obj2 = 0 ;
22681 PyObject * obj3 = 0 ;
22682 PyObject * obj4 = 0 ;
22683 PyObject * obj5 = 0 ;
22684 char * kwnames[] = {
22685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22686 };
22687
22688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22690 if (!SWIG_IsOK(res1)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22692 }
22693 arg1 = reinterpret_cast< wxWindow * >(argp1);
22694 if (obj1) {
22695 ecode2 = SWIG_AsVal_int(obj1, &val2);
22696 if (!SWIG_IsOK(ecode2)) {
22697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22698 }
22699 arg2 = static_cast< int >(val2);
22700 }
22701 if (obj2) {
22702 {
22703 arg3 = &temp3;
22704 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22705 }
22706 }
22707 if (obj3) {
22708 {
22709 arg4 = &temp4;
22710 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22711 }
22712 }
22713 if (obj4) {
22714 ecode5 = SWIG_AsVal_long(obj4, &val5);
22715 if (!SWIG_IsOK(ecode5)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22717 }
22718 arg5 = static_cast< long >(val5);
22719 }
22720 if (obj5) {
22721 {
22722 arg6 = wxString_in_helper(obj5);
22723 if (arg6 == NULL) SWIG_fail;
22724 temp6 = true;
22725 }
22726 }
22727 {
22728 if (!wxPyCheckForApp()) SWIG_fail;
22729 PyThreadState* __tstate = wxPyBeginAllowThreads();
22730 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22731 wxPyEndAllowThreads(__tstate);
22732 if (PyErr_Occurred()) SWIG_fail;
22733 }
22734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22735 {
22736 if (temp6)
22737 delete arg6;
22738 }
22739 return resultobj;
22740 fail:
22741 {
22742 if (temp6)
22743 delete arg6;
22744 }
22745 return NULL;
22746 }
22747
22748
22749 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22750 PyObject *resultobj = 0;
22751 wxPyScrolledWindow *result = 0 ;
22752
22753 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22754 {
22755 if (!wxPyCheckForApp()) SWIG_fail;
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22758 wxPyEndAllowThreads(__tstate);
22759 if (PyErr_Occurred()) SWIG_fail;
22760 }
22761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj = 0;
22770 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22771 PyObject *arg2 = (PyObject *) 0 ;
22772 PyObject *arg3 = (PyObject *) 0 ;
22773 void *argp1 = 0 ;
22774 int res1 = 0 ;
22775 PyObject * obj0 = 0 ;
22776 PyObject * obj1 = 0 ;
22777 PyObject * obj2 = 0 ;
22778 char * kwnames[] = {
22779 (char *) "self",(char *) "self",(char *) "_class", NULL
22780 };
22781
22782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22784 if (!SWIG_IsOK(res1)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22786 }
22787 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22788 arg2 = obj1;
22789 arg3 = obj2;
22790 {
22791 PyThreadState* __tstate = wxPyBeginAllowThreads();
22792 (arg1)->_setCallbackInfo(arg2,arg3);
22793 wxPyEndAllowThreads(__tstate);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 }
22796 resultobj = SWIG_Py_Void();
22797 return resultobj;
22798 fail:
22799 return NULL;
22800 }
22801
22802
22803 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22804 PyObject *resultobj = 0;
22805 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22806 wxDC *arg2 = (wxDC *) 0 ;
22807 bool result;
22808 void *argp1 = 0 ;
22809 int res1 = 0 ;
22810 void *argp2 = 0 ;
22811 int res2 = 0 ;
22812 PyObject * obj0 = 0 ;
22813 PyObject * obj1 = 0 ;
22814 char * kwnames[] = {
22815 (char *) "self",(char *) "dc", NULL
22816 };
22817
22818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22820 if (!SWIG_IsOK(res1)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22822 }
22823 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22824 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22825 if (!SWIG_IsOK(res2)) {
22826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22827 }
22828 arg2 = reinterpret_cast< wxDC * >(argp2);
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 result = (bool)(arg1)->DoEraseBackground(arg2);
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 {
22836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22837 }
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj = 0;
22846 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22847 int arg2 ;
22848 int arg3 ;
22849 int arg4 ;
22850 int arg5 ;
22851 void *argp1 = 0 ;
22852 int res1 = 0 ;
22853 int val2 ;
22854 int ecode2 = 0 ;
22855 int val3 ;
22856 int ecode3 = 0 ;
22857 int val4 ;
22858 int ecode4 = 0 ;
22859 int val5 ;
22860 int ecode5 = 0 ;
22861 PyObject * obj0 = 0 ;
22862 PyObject * obj1 = 0 ;
22863 PyObject * obj2 = 0 ;
22864 PyObject * obj3 = 0 ;
22865 PyObject * obj4 = 0 ;
22866 char * kwnames[] = {
22867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22868 };
22869
22870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22872 if (!SWIG_IsOK(res1)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22874 }
22875 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22876 ecode2 = SWIG_AsVal_int(obj1, &val2);
22877 if (!SWIG_IsOK(ecode2)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22879 }
22880 arg2 = static_cast< int >(val2);
22881 ecode3 = SWIG_AsVal_int(obj2, &val3);
22882 if (!SWIG_IsOK(ecode3)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22884 }
22885 arg3 = static_cast< int >(val3);
22886 ecode4 = SWIG_AsVal_int(obj3, &val4);
22887 if (!SWIG_IsOK(ecode4)) {
22888 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22889 }
22890 arg4 = static_cast< int >(val4);
22891 ecode5 = SWIG_AsVal_int(obj4, &val5);
22892 if (!SWIG_IsOK(ecode5)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22894 }
22895 arg5 = static_cast< int >(val5);
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 resultobj = SWIG_Py_Void();
22903 return resultobj;
22904 fail:
22905 return NULL;
22906 }
22907
22908
22909 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj = 0;
22911 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22912 int arg2 ;
22913 int arg3 ;
22914 int arg4 ;
22915 int arg5 ;
22916 int arg6 = (int) wxSIZE_AUTO ;
22917 void *argp1 = 0 ;
22918 int res1 = 0 ;
22919 int val2 ;
22920 int ecode2 = 0 ;
22921 int val3 ;
22922 int ecode3 = 0 ;
22923 int val4 ;
22924 int ecode4 = 0 ;
22925 int val5 ;
22926 int ecode5 = 0 ;
22927 int val6 ;
22928 int ecode6 = 0 ;
22929 PyObject * obj0 = 0 ;
22930 PyObject * obj1 = 0 ;
22931 PyObject * obj2 = 0 ;
22932 PyObject * obj3 = 0 ;
22933 PyObject * obj4 = 0 ;
22934 PyObject * obj5 = 0 ;
22935 char * kwnames[] = {
22936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22937 };
22938
22939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22941 if (!SWIG_IsOK(res1)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22943 }
22944 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22945 ecode2 = SWIG_AsVal_int(obj1, &val2);
22946 if (!SWIG_IsOK(ecode2)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22948 }
22949 arg2 = static_cast< int >(val2);
22950 ecode3 = SWIG_AsVal_int(obj2, &val3);
22951 if (!SWIG_IsOK(ecode3)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22953 }
22954 arg3 = static_cast< int >(val3);
22955 ecode4 = SWIG_AsVal_int(obj3, &val4);
22956 if (!SWIG_IsOK(ecode4)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22958 }
22959 arg4 = static_cast< int >(val4);
22960 ecode5 = SWIG_AsVal_int(obj4, &val5);
22961 if (!SWIG_IsOK(ecode5)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22963 }
22964 arg5 = static_cast< int >(val5);
22965 if (obj5) {
22966 ecode6 = SWIG_AsVal_int(obj5, &val6);
22967 if (!SWIG_IsOK(ecode6)) {
22968 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22969 }
22970 arg6 = static_cast< int >(val6);
22971 }
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 resultobj = SWIG_Py_Void();
22979 return resultobj;
22980 fail:
22981 return NULL;
22982 }
22983
22984
22985 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj = 0;
22987 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22988 int arg2 ;
22989 int arg3 ;
22990 void *argp1 = 0 ;
22991 int res1 = 0 ;
22992 int val2 ;
22993 int ecode2 = 0 ;
22994 int val3 ;
22995 int ecode3 = 0 ;
22996 PyObject * obj0 = 0 ;
22997 PyObject * obj1 = 0 ;
22998 PyObject * obj2 = 0 ;
22999 char * kwnames[] = {
23000 (char *) "self",(char *) "width",(char *) "height", NULL
23001 };
23002
23003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23005 if (!SWIG_IsOK(res1)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23007 }
23008 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23009 ecode2 = SWIG_AsVal_int(obj1, &val2);
23010 if (!SWIG_IsOK(ecode2)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23012 }
23013 arg2 = static_cast< int >(val2);
23014 ecode3 = SWIG_AsVal_int(obj2, &val3);
23015 if (!SWIG_IsOK(ecode3)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23017 }
23018 arg3 = static_cast< int >(val3);
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 (arg1)->DoSetClientSize(arg2,arg3);
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 resultobj = SWIG_Py_Void();
23026 return resultobj;
23027 fail:
23028 return NULL;
23029 }
23030
23031
23032 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23033 PyObject *resultobj = 0;
23034 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23035 int arg2 ;
23036 int arg3 ;
23037 void *argp1 = 0 ;
23038 int res1 = 0 ;
23039 int val2 ;
23040 int ecode2 = 0 ;
23041 int val3 ;
23042 int ecode3 = 0 ;
23043 PyObject * obj0 = 0 ;
23044 PyObject * obj1 = 0 ;
23045 PyObject * obj2 = 0 ;
23046 char * kwnames[] = {
23047 (char *) "self",(char *) "x",(char *) "y", NULL
23048 };
23049
23050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23052 if (!SWIG_IsOK(res1)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23054 }
23055 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23056 ecode2 = SWIG_AsVal_int(obj1, &val2);
23057 if (!SWIG_IsOK(ecode2)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23059 }
23060 arg2 = static_cast< int >(val2);
23061 ecode3 = SWIG_AsVal_int(obj2, &val3);
23062 if (!SWIG_IsOK(ecode3)) {
23063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23064 }
23065 arg3 = static_cast< int >(val3);
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 (arg1)->DoSetVirtualSize(arg2,arg3);
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 resultobj = SWIG_Py_Void();
23073 return resultobj;
23074 fail:
23075 return NULL;
23076 }
23077
23078
23079 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23080 PyObject *resultobj = 0;
23081 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23082 int *arg2 = (int *) 0 ;
23083 int *arg3 = (int *) 0 ;
23084 void *argp1 = 0 ;
23085 int res1 = 0 ;
23086 int temp2 ;
23087 int res2 = SWIG_TMPOBJ ;
23088 int temp3 ;
23089 int res3 = SWIG_TMPOBJ ;
23090 PyObject *swig_obj[1] ;
23091
23092 arg2 = &temp2;
23093 arg3 = &temp3;
23094 if (!args) SWIG_fail;
23095 swig_obj[0] = args;
23096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23097 if (!SWIG_IsOK(res1)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23099 }
23100 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 resultobj = SWIG_Py_Void();
23108 if (SWIG_IsTmpObj(res2)) {
23109 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23110 } else {
23111 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23112 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23113 }
23114 if (SWIG_IsTmpObj(res3)) {
23115 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23116 } else {
23117 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23118 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23119 }
23120 return resultobj;
23121 fail:
23122 return NULL;
23123 }
23124
23125
23126 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23127 PyObject *resultobj = 0;
23128 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23129 int *arg2 = (int *) 0 ;
23130 int *arg3 = (int *) 0 ;
23131 void *argp1 = 0 ;
23132 int res1 = 0 ;
23133 int temp2 ;
23134 int res2 = SWIG_TMPOBJ ;
23135 int temp3 ;
23136 int res3 = SWIG_TMPOBJ ;
23137 PyObject *swig_obj[1] ;
23138
23139 arg2 = &temp2;
23140 arg3 = &temp3;
23141 if (!args) SWIG_fail;
23142 swig_obj[0] = args;
23143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23144 if (!SWIG_IsOK(res1)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23146 }
23147 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23148 {
23149 PyThreadState* __tstate = wxPyBeginAllowThreads();
23150 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 resultobj = SWIG_Py_Void();
23155 if (SWIG_IsTmpObj(res2)) {
23156 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23157 } else {
23158 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23159 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23160 }
23161 if (SWIG_IsTmpObj(res3)) {
23162 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23163 } else {
23164 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23165 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23166 }
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23174 PyObject *resultobj = 0;
23175 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23176 int *arg2 = (int *) 0 ;
23177 int *arg3 = (int *) 0 ;
23178 void *argp1 = 0 ;
23179 int res1 = 0 ;
23180 int temp2 ;
23181 int res2 = SWIG_TMPOBJ ;
23182 int temp3 ;
23183 int res3 = SWIG_TMPOBJ ;
23184 PyObject *swig_obj[1] ;
23185
23186 arg2 = &temp2;
23187 arg3 = &temp3;
23188 if (!args) SWIG_fail;
23189 swig_obj[0] = args;
23190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23191 if (!SWIG_IsOK(res1)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23193 }
23194 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 resultobj = SWIG_Py_Void();
23202 if (SWIG_IsTmpObj(res2)) {
23203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23204 } else {
23205 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23207 }
23208 if (SWIG_IsTmpObj(res3)) {
23209 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23210 } else {
23211 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23212 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23213 }
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23221 PyObject *resultobj = 0;
23222 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23223 wxSize result;
23224 void *argp1 = 0 ;
23225 int res1 = 0 ;
23226 PyObject *swig_obj[1] ;
23227
23228 if (!args) SWIG_fail;
23229 swig_obj[0] = args;
23230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23231 if (!SWIG_IsOK(res1)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23233 }
23234 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23249 PyObject *resultobj = 0;
23250 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23251 wxSize result;
23252 void *argp1 = 0 ;
23253 int res1 = 0 ;
23254 PyObject *swig_obj[1] ;
23255
23256 if (!args) SWIG_fail;
23257 swig_obj[0] = args;
23258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23259 if (!SWIG_IsOK(res1)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23261 }
23262 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23266 wxPyEndAllowThreads(__tstate);
23267 if (PyErr_Occurred()) SWIG_fail;
23268 }
23269 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23277 PyObject *resultobj = 0;
23278 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23279 SwigValueWrapper<wxVisualAttributes > result;
23280 void *argp1 = 0 ;
23281 int res1 = 0 ;
23282 PyObject *swig_obj[1] ;
23283
23284 if (!args) SWIG_fail;
23285 swig_obj[0] = args;
23286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23287 if (!SWIG_IsOK(res1)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23289 }
23290 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 result = (arg1)->GetDefaultAttributes();
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23305 PyObject *resultobj = 0;
23306 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23307 void *argp1 = 0 ;
23308 int res1 = 0 ;
23309 PyObject *swig_obj[1] ;
23310
23311 if (!args) SWIG_fail;
23312 swig_obj[0] = args;
23313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23314 if (!SWIG_IsOK(res1)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23316 }
23317 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 (arg1)->OnInternalIdle();
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 resultobj = SWIG_Py_Void();
23325 return resultobj;
23326 fail:
23327 return NULL;
23328 }
23329
23330
23331 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23332 PyObject *obj;
23333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23335 return SWIG_Py_Void();
23336 }
23337
23338 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23339 return SWIG_Python_InitShadowInstance(args);
23340 }
23341
23342 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23343 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23344 return 1;
23345 }
23346
23347
23348 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23349 PyObject *pyobj = 0;
23350
23351 {
23352 #if wxUSE_UNICODE
23353 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23354 #else
23355 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23356 #endif
23357 }
23358 return pyobj;
23359 }
23360
23361
23362 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23363 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23364 return 1;
23365 }
23366
23367
23368 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23369 PyObject *pyobj = 0;
23370
23371 {
23372 #if wxUSE_UNICODE
23373 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23374 #else
23375 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23376 #endif
23377 }
23378 return pyobj;
23379 }
23380
23381
23382 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23383 PyObject *resultobj = 0;
23384 wxPrintData *result = 0 ;
23385
23386 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 result = (wxPrintData *)new wxPrintData();
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23401 PyObject *resultobj = 0;
23402 wxPrintData *arg1 = 0 ;
23403 wxPrintData *result = 0 ;
23404 void *argp1 = 0 ;
23405 int res1 = 0 ;
23406
23407 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23409 if (!SWIG_IsOK(res1)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23411 }
23412 if (!argp1) {
23413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23414 }
23415 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23416 {
23417 PyThreadState* __tstate = wxPyBeginAllowThreads();
23418 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23423 return resultobj;
23424 fail:
23425 return NULL;
23426 }
23427
23428
23429 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23430 int argc;
23431 PyObject *argv[2];
23432
23433 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23434 --argc;
23435 if (argc == 0) {
23436 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23437 }
23438 if (argc == 1) {
23439 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23440 }
23441
23442 fail:
23443 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23444 return NULL;
23445 }
23446
23447
23448 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23449 PyObject *resultobj = 0;
23450 wxPrintData *arg1 = (wxPrintData *) 0 ;
23451 void *argp1 = 0 ;
23452 int res1 = 0 ;
23453 PyObject *swig_obj[1] ;
23454
23455 if (!args) SWIG_fail;
23456 swig_obj[0] = args;
23457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23458 if (!SWIG_IsOK(res1)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23460 }
23461 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 delete arg1;
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 resultobj = SWIG_Py_Void();
23470 return resultobj;
23471 fail:
23472 return NULL;
23473 }
23474
23475
23476 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23477 PyObject *resultobj = 0;
23478 wxPrintData *arg1 = (wxPrintData *) 0 ;
23479 int result;
23480 void *argp1 = 0 ;
23481 int res1 = 0 ;
23482 PyObject *swig_obj[1] ;
23483
23484 if (!args) SWIG_fail;
23485 swig_obj[0] = args;
23486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23487 if (!SWIG_IsOK(res1)) {
23488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23489 }
23490 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23491 {
23492 PyThreadState* __tstate = wxPyBeginAllowThreads();
23493 result = (int)(arg1)->GetNoCopies();
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 resultobj = SWIG_From_int(static_cast< int >(result));
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23505 PyObject *resultobj = 0;
23506 wxPrintData *arg1 = (wxPrintData *) 0 ;
23507 bool result;
23508 void *argp1 = 0 ;
23509 int res1 = 0 ;
23510 PyObject *swig_obj[1] ;
23511
23512 if (!args) SWIG_fail;
23513 swig_obj[0] = args;
23514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23515 if (!SWIG_IsOK(res1)) {
23516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23517 }
23518 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 result = (bool)(arg1)->GetCollate();
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 {
23526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23527 }
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23535 PyObject *resultobj = 0;
23536 wxPrintData *arg1 = (wxPrintData *) 0 ;
23537 int result;
23538 void *argp1 = 0 ;
23539 int res1 = 0 ;
23540 PyObject *swig_obj[1] ;
23541
23542 if (!args) SWIG_fail;
23543 swig_obj[0] = args;
23544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23545 if (!SWIG_IsOK(res1)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23547 }
23548 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (int)(arg1)->GetOrientation();
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 resultobj = SWIG_From_int(static_cast< int >(result));
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23563 PyObject *resultobj = 0;
23564 wxPrintData *arg1 = (wxPrintData *) 0 ;
23565 bool result;
23566 void *argp1 = 0 ;
23567 int res1 = 0 ;
23568 PyObject *swig_obj[1] ;
23569
23570 if (!args) SWIG_fail;
23571 swig_obj[0] = args;
23572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23573 if (!SWIG_IsOK(res1)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23575 }
23576 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 result = (bool)(arg1)->IsOk();
23580 wxPyEndAllowThreads(__tstate);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 {
23584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23585 }
23586 return resultobj;
23587 fail:
23588 return NULL;
23589 }
23590
23591
23592 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23593 PyObject *resultobj = 0;
23594 wxPrintData *arg1 = (wxPrintData *) 0 ;
23595 wxString *result = 0 ;
23596 void *argp1 = 0 ;
23597 int res1 = 0 ;
23598 PyObject *swig_obj[1] ;
23599
23600 if (!args) SWIG_fail;
23601 swig_obj[0] = args;
23602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23603 if (!SWIG_IsOK(res1)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23605 }
23606 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 {
23610 wxString const &_result_ref = (arg1)->GetPrinterName();
23611 result = (wxString *) &_result_ref;
23612 }
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 {
23617 #if wxUSE_UNICODE
23618 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23619 #else
23620 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23621 #endif
23622 }
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23630 PyObject *resultobj = 0;
23631 wxPrintData *arg1 = (wxPrintData *) 0 ;
23632 bool result;
23633 void *argp1 = 0 ;
23634 int res1 = 0 ;
23635 PyObject *swig_obj[1] ;
23636
23637 if (!args) SWIG_fail;
23638 swig_obj[0] = args;
23639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23640 if (!SWIG_IsOK(res1)) {
23641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23642 }
23643 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 result = (bool)(arg1)->GetColour();
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 {
23651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23652 }
23653 return resultobj;
23654 fail:
23655 return NULL;
23656 }
23657
23658
23659 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23660 PyObject *resultobj = 0;
23661 wxPrintData *arg1 = (wxPrintData *) 0 ;
23662 wxDuplexMode result;
23663 void *argp1 = 0 ;
23664 int res1 = 0 ;
23665 PyObject *swig_obj[1] ;
23666
23667 if (!args) SWIG_fail;
23668 swig_obj[0] = args;
23669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23670 if (!SWIG_IsOK(res1)) {
23671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23672 }
23673 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (wxDuplexMode)(arg1)->GetDuplex();
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 resultobj = SWIG_From_int(static_cast< int >(result));
23681 return resultobj;
23682 fail:
23683 return NULL;
23684 }
23685
23686
23687 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23688 PyObject *resultobj = 0;
23689 wxPrintData *arg1 = (wxPrintData *) 0 ;
23690 wxPaperSize result;
23691 void *argp1 = 0 ;
23692 int res1 = 0 ;
23693 PyObject *swig_obj[1] ;
23694
23695 if (!args) SWIG_fail;
23696 swig_obj[0] = args;
23697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23698 if (!SWIG_IsOK(res1)) {
23699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23700 }
23701 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23702 {
23703 PyThreadState* __tstate = wxPyBeginAllowThreads();
23704 result = (wxPaperSize)(arg1)->GetPaperId();
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 resultobj = SWIG_From_int(static_cast< int >(result));
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23716 PyObject *resultobj = 0;
23717 wxPrintData *arg1 = (wxPrintData *) 0 ;
23718 wxSize *result = 0 ;
23719 void *argp1 = 0 ;
23720 int res1 = 0 ;
23721 PyObject *swig_obj[1] ;
23722
23723 if (!args) SWIG_fail;
23724 swig_obj[0] = args;
23725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23726 if (!SWIG_IsOK(res1)) {
23727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23728 }
23729 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 {
23733 wxSize const &_result_ref = (arg1)->GetPaperSize();
23734 result = (wxSize *) &_result_ref;
23735 }
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23740 return resultobj;
23741 fail:
23742 return NULL;
23743 }
23744
23745
23746 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23747 PyObject *resultobj = 0;
23748 wxPrintData *arg1 = (wxPrintData *) 0 ;
23749 int result;
23750 void *argp1 = 0 ;
23751 int res1 = 0 ;
23752 PyObject *swig_obj[1] ;
23753
23754 if (!args) SWIG_fail;
23755 swig_obj[0] = args;
23756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23757 if (!SWIG_IsOK(res1)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23759 }
23760 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 result = (int)(arg1)->GetQuality();
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 resultobj = SWIG_From_int(static_cast< int >(result));
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23775 PyObject *resultobj = 0;
23776 wxPrintData *arg1 = (wxPrintData *) 0 ;
23777 wxPrintBin result;
23778 void *argp1 = 0 ;
23779 int res1 = 0 ;
23780 PyObject *swig_obj[1] ;
23781
23782 if (!args) SWIG_fail;
23783 swig_obj[0] = args;
23784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23785 if (!SWIG_IsOK(res1)) {
23786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23787 }
23788 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = (wxPrintBin)(arg1)->GetBin();
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 resultobj = SWIG_From_int(static_cast< int >(result));
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23803 PyObject *resultobj = 0;
23804 wxPrintData *arg1 = (wxPrintData *) 0 ;
23805 wxPrintMode result;
23806 void *argp1 = 0 ;
23807 int res1 = 0 ;
23808 PyObject *swig_obj[1] ;
23809
23810 if (!args) SWIG_fail;
23811 swig_obj[0] = args;
23812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23813 if (!SWIG_IsOK(res1)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23815 }
23816 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 resultobj = SWIG_From_int(static_cast< int >(result));
23824 return resultobj;
23825 fail:
23826 return NULL;
23827 }
23828
23829
23830 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23831 PyObject *resultobj = 0;
23832 wxPrintData *arg1 = (wxPrintData *) 0 ;
23833 int result;
23834 void *argp1 = 0 ;
23835 int res1 = 0 ;
23836 PyObject *swig_obj[1] ;
23837
23838 if (!args) SWIG_fail;
23839 swig_obj[0] = args;
23840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23841 if (!SWIG_IsOK(res1)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23843 }
23844 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (int)((wxPrintData const *)arg1)->GetMedia();
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 resultobj = SWIG_From_int(static_cast< int >(result));
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj = 0;
23860 wxPrintData *arg1 = (wxPrintData *) 0 ;
23861 int arg2 ;
23862 void *argp1 = 0 ;
23863 int res1 = 0 ;
23864 int val2 ;
23865 int ecode2 = 0 ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char * kwnames[] = {
23869 (char *) "self",(char *) "v", NULL
23870 };
23871
23872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23874 if (!SWIG_IsOK(res1)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23876 }
23877 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23878 ecode2 = SWIG_AsVal_int(obj1, &val2);
23879 if (!SWIG_IsOK(ecode2)) {
23880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23881 }
23882 arg2 = static_cast< int >(val2);
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 (arg1)->SetNoCopies(arg2);
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 resultobj = SWIG_Py_Void();
23890 return resultobj;
23891 fail:
23892 return NULL;
23893 }
23894
23895
23896 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23897 PyObject *resultobj = 0;
23898 wxPrintData *arg1 = (wxPrintData *) 0 ;
23899 bool arg2 ;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 bool val2 ;
23903 int ecode2 = 0 ;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 char * kwnames[] = {
23907 (char *) "self",(char *) "flag", NULL
23908 };
23909
23910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23912 if (!SWIG_IsOK(res1)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23914 }
23915 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23916 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23917 if (!SWIG_IsOK(ecode2)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23919 }
23920 arg2 = static_cast< bool >(val2);
23921 {
23922 PyThreadState* __tstate = wxPyBeginAllowThreads();
23923 (arg1)->SetCollate(arg2);
23924 wxPyEndAllowThreads(__tstate);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 }
23927 resultobj = SWIG_Py_Void();
23928 return resultobj;
23929 fail:
23930 return NULL;
23931 }
23932
23933
23934 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23935 PyObject *resultobj = 0;
23936 wxPrintData *arg1 = (wxPrintData *) 0 ;
23937 int arg2 ;
23938 void *argp1 = 0 ;
23939 int res1 = 0 ;
23940 int val2 ;
23941 int ecode2 = 0 ;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char * kwnames[] = {
23945 (char *) "self",(char *) "orient", NULL
23946 };
23947
23948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23950 if (!SWIG_IsOK(res1)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23952 }
23953 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23954 ecode2 = SWIG_AsVal_int(obj1, &val2);
23955 if (!SWIG_IsOK(ecode2)) {
23956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23957 }
23958 arg2 = static_cast< int >(val2);
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 (arg1)->SetOrientation(arg2);
23962 wxPyEndAllowThreads(__tstate);
23963 if (PyErr_Occurred()) SWIG_fail;
23964 }
23965 resultobj = SWIG_Py_Void();
23966 return resultobj;
23967 fail:
23968 return NULL;
23969 }
23970
23971
23972 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23973 PyObject *resultobj = 0;
23974 wxPrintData *arg1 = (wxPrintData *) 0 ;
23975 wxString *arg2 = 0 ;
23976 void *argp1 = 0 ;
23977 int res1 = 0 ;
23978 bool temp2 = false ;
23979 PyObject * obj0 = 0 ;
23980 PyObject * obj1 = 0 ;
23981 char * kwnames[] = {
23982 (char *) "self",(char *) "name", NULL
23983 };
23984
23985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23987 if (!SWIG_IsOK(res1)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23989 }
23990 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23991 {
23992 arg2 = wxString_in_helper(obj1);
23993 if (arg2 == NULL) SWIG_fail;
23994 temp2 = true;
23995 }
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->SetPrinterName((wxString const &)*arg2);
23999 wxPyEndAllowThreads(__tstate);
24000 if (PyErr_Occurred()) SWIG_fail;
24001 }
24002 resultobj = SWIG_Py_Void();
24003 {
24004 if (temp2)
24005 delete arg2;
24006 }
24007 return resultobj;
24008 fail:
24009 {
24010 if (temp2)
24011 delete arg2;
24012 }
24013 return NULL;
24014 }
24015
24016
24017 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj = 0;
24019 wxPrintData *arg1 = (wxPrintData *) 0 ;
24020 bool arg2 ;
24021 void *argp1 = 0 ;
24022 int res1 = 0 ;
24023 bool val2 ;
24024 int ecode2 = 0 ;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 char * kwnames[] = {
24028 (char *) "self",(char *) "colour", NULL
24029 };
24030
24031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24033 if (!SWIG_IsOK(res1)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24035 }
24036 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24037 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24038 if (!SWIG_IsOK(ecode2)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24040 }
24041 arg2 = static_cast< bool >(val2);
24042 {
24043 PyThreadState* __tstate = wxPyBeginAllowThreads();
24044 (arg1)->SetColour(arg2);
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 resultobj = SWIG_Py_Void();
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj = 0;
24057 wxPrintData *arg1 = (wxPrintData *) 0 ;
24058 wxDuplexMode arg2 ;
24059 void *argp1 = 0 ;
24060 int res1 = 0 ;
24061 int val2 ;
24062 int ecode2 = 0 ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char * kwnames[] = {
24066 (char *) "self",(char *) "duplex", NULL
24067 };
24068
24069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24071 if (!SWIG_IsOK(res1)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24073 }
24074 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24075 ecode2 = SWIG_AsVal_int(obj1, &val2);
24076 if (!SWIG_IsOK(ecode2)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24078 }
24079 arg2 = static_cast< wxDuplexMode >(val2);
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 (arg1)->SetDuplex(arg2);
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_Py_Void();
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24094 PyObject *resultobj = 0;
24095 wxPrintData *arg1 = (wxPrintData *) 0 ;
24096 wxPaperSize arg2 ;
24097 void *argp1 = 0 ;
24098 int res1 = 0 ;
24099 int val2 ;
24100 int ecode2 = 0 ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char * kwnames[] = {
24104 (char *) "self",(char *) "sizeId", NULL
24105 };
24106
24107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24109 if (!SWIG_IsOK(res1)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24111 }
24112 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24113 ecode2 = SWIG_AsVal_int(obj1, &val2);
24114 if (!SWIG_IsOK(ecode2)) {
24115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24116 }
24117 arg2 = static_cast< wxPaperSize >(val2);
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 (arg1)->SetPaperId(arg2);
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 resultobj = SWIG_Py_Void();
24125 return resultobj;
24126 fail:
24127 return NULL;
24128 }
24129
24130
24131 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj = 0;
24133 wxPrintData *arg1 = (wxPrintData *) 0 ;
24134 wxSize *arg2 = 0 ;
24135 void *argp1 = 0 ;
24136 int res1 = 0 ;
24137 wxSize temp2 ;
24138 PyObject * obj0 = 0 ;
24139 PyObject * obj1 = 0 ;
24140 char * kwnames[] = {
24141 (char *) "self",(char *) "sz", NULL
24142 };
24143
24144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24146 if (!SWIG_IsOK(res1)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24148 }
24149 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24150 {
24151 arg2 = &temp2;
24152 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24153 }
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 (arg1)->SetPaperSize((wxSize const &)*arg2);
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 resultobj = SWIG_Py_Void();
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj = 0;
24169 wxPrintData *arg1 = (wxPrintData *) 0 ;
24170 int arg2 ;
24171 void *argp1 = 0 ;
24172 int res1 = 0 ;
24173 int val2 ;
24174 int ecode2 = 0 ;
24175 PyObject * obj0 = 0 ;
24176 PyObject * obj1 = 0 ;
24177 char * kwnames[] = {
24178 (char *) "self",(char *) "quality", NULL
24179 };
24180
24181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24183 if (!SWIG_IsOK(res1)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24185 }
24186 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24187 ecode2 = SWIG_AsVal_int(obj1, &val2);
24188 if (!SWIG_IsOK(ecode2)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24190 }
24191 arg2 = static_cast< int >(val2);
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 (arg1)->SetQuality(arg2);
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 resultobj = SWIG_Py_Void();
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj = 0;
24207 wxPrintData *arg1 = (wxPrintData *) 0 ;
24208 wxPrintBin arg2 ;
24209 void *argp1 = 0 ;
24210 int res1 = 0 ;
24211 int val2 ;
24212 int ecode2 = 0 ;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 char * kwnames[] = {
24216 (char *) "self",(char *) "bin", NULL
24217 };
24218
24219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24221 if (!SWIG_IsOK(res1)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24223 }
24224 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24225 ecode2 = SWIG_AsVal_int(obj1, &val2);
24226 if (!SWIG_IsOK(ecode2)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24228 }
24229 arg2 = static_cast< wxPrintBin >(val2);
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->SetBin(arg2);
24233 wxPyEndAllowThreads(__tstate);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 resultobj = SWIG_Py_Void();
24237 return resultobj;
24238 fail:
24239 return NULL;
24240 }
24241
24242
24243 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24244 PyObject *resultobj = 0;
24245 wxPrintData *arg1 = (wxPrintData *) 0 ;
24246 wxPrintMode arg2 ;
24247 void *argp1 = 0 ;
24248 int res1 = 0 ;
24249 int val2 ;
24250 int ecode2 = 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 char * kwnames[] = {
24254 (char *) "self",(char *) "printMode", NULL
24255 };
24256
24257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24259 if (!SWIG_IsOK(res1)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24261 }
24262 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24263 ecode2 = SWIG_AsVal_int(obj1, &val2);
24264 if (!SWIG_IsOK(ecode2)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24266 }
24267 arg2 = static_cast< wxPrintMode >(val2);
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 (arg1)->SetPrintMode(arg2);
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 resultobj = SWIG_Py_Void();
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj = 0;
24283 wxPrintData *arg1 = (wxPrintData *) 0 ;
24284 int arg2 ;
24285 void *argp1 = 0 ;
24286 int res1 = 0 ;
24287 int val2 ;
24288 int ecode2 = 0 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 char * kwnames[] = {
24292 (char *) "self",(char *) "media", NULL
24293 };
24294
24295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24297 if (!SWIG_IsOK(res1)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24299 }
24300 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24301 ecode2 = SWIG_AsVal_int(obj1, &val2);
24302 if (!SWIG_IsOK(ecode2)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24304 }
24305 arg2 = static_cast< int >(val2);
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 (arg1)->SetMedia(arg2);
24309 wxPyEndAllowThreads(__tstate);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 resultobj = SWIG_Py_Void();
24313 return resultobj;
24314 fail:
24315 return NULL;
24316 }
24317
24318
24319 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24320 PyObject *resultobj = 0;
24321 wxPrintData *arg1 = (wxPrintData *) 0 ;
24322 wxString result;
24323 void *argp1 = 0 ;
24324 int res1 = 0 ;
24325 PyObject *swig_obj[1] ;
24326
24327 if (!args) SWIG_fail;
24328 swig_obj[0] = args;
24329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24330 if (!SWIG_IsOK(res1)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24332 }
24333 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24334 {
24335 PyThreadState* __tstate = wxPyBeginAllowThreads();
24336 result = ((wxPrintData const *)arg1)->GetFilename();
24337 wxPyEndAllowThreads(__tstate);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 {
24341 #if wxUSE_UNICODE
24342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24343 #else
24344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24345 #endif
24346 }
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj = 0;
24355 wxPrintData *arg1 = (wxPrintData *) 0 ;
24356 wxString *arg2 = 0 ;
24357 void *argp1 = 0 ;
24358 int res1 = 0 ;
24359 bool temp2 = false ;
24360 PyObject * obj0 = 0 ;
24361 PyObject * obj1 = 0 ;
24362 char * kwnames[] = {
24363 (char *) "self",(char *) "filename", NULL
24364 };
24365
24366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24368 if (!SWIG_IsOK(res1)) {
24369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24370 }
24371 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24372 {
24373 arg2 = wxString_in_helper(obj1);
24374 if (arg2 == NULL) SWIG_fail;
24375 temp2 = true;
24376 }
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 (arg1)->SetFilename((wxString const &)*arg2);
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
24383 resultobj = SWIG_Py_Void();
24384 {
24385 if (temp2)
24386 delete arg2;
24387 }
24388 return resultobj;
24389 fail:
24390 {
24391 if (temp2)
24392 delete arg2;
24393 }
24394 return NULL;
24395 }
24396
24397
24398 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24399 PyObject *resultobj = 0;
24400 wxPrintData *arg1 = (wxPrintData *) 0 ;
24401 PyObject *result = 0 ;
24402 void *argp1 = 0 ;
24403 int res1 = 0 ;
24404 PyObject *swig_obj[1] ;
24405
24406 if (!args) SWIG_fail;
24407 swig_obj[0] = args;
24408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24409 if (!SWIG_IsOK(res1)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24411 }
24412 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = result;
24420 return resultobj;
24421 fail:
24422 return NULL;
24423 }
24424
24425
24426 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24427 PyObject *resultobj = 0;
24428 wxPrintData *arg1 = (wxPrintData *) 0 ;
24429 PyObject *arg2 = (PyObject *) 0 ;
24430 void *argp1 = 0 ;
24431 int res1 = 0 ;
24432 PyObject * obj0 = 0 ;
24433 PyObject * obj1 = 0 ;
24434 char * kwnames[] = {
24435 (char *) "self",(char *) "data", NULL
24436 };
24437
24438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24440 if (!SWIG_IsOK(res1)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24442 }
24443 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24444 arg2 = obj1;
24445 {
24446 PyThreadState* __tstate = wxPyBeginAllowThreads();
24447 wxPrintData_SetPrivData(arg1,arg2);
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 resultobj = SWIG_Py_Void();
24452 return resultobj;
24453 fail:
24454 return NULL;
24455 }
24456
24457
24458 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24459 PyObject *obj;
24460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24461 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24462 return SWIG_Py_Void();
24463 }
24464
24465 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24466 return SWIG_Python_InitShadowInstance(args);
24467 }
24468
24469 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24470 PyObject *resultobj = 0;
24471 wxPageSetupDialogData *result = 0 ;
24472
24473 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24477 wxPyEndAllowThreads(__tstate);
24478 if (PyErr_Occurred()) SWIG_fail;
24479 }
24480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24481 return resultobj;
24482 fail:
24483 return NULL;
24484 }
24485
24486
24487 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24488 PyObject *resultobj = 0;
24489 wxPageSetupDialogData *arg1 = 0 ;
24490 wxPageSetupDialogData *result = 0 ;
24491 void *argp1 = 0 ;
24492 int res1 = 0 ;
24493
24494 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24496 if (!SWIG_IsOK(res1)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24498 }
24499 if (!argp1) {
24500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24501 }
24502 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24503 {
24504 PyThreadState* __tstate = wxPyBeginAllowThreads();
24505 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24506 wxPyEndAllowThreads(__tstate);
24507 if (PyErr_Occurred()) SWIG_fail;
24508 }
24509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24510 return resultobj;
24511 fail:
24512 return NULL;
24513 }
24514
24515
24516 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24517 PyObject *resultobj = 0;
24518 wxPrintData *arg1 = 0 ;
24519 wxPageSetupDialogData *result = 0 ;
24520 void *argp1 = 0 ;
24521 int res1 = 0 ;
24522
24523 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24525 if (!SWIG_IsOK(res1)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24527 }
24528 if (!argp1) {
24529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24530 }
24531 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
24538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24539 return resultobj;
24540 fail:
24541 return NULL;
24542 }
24543
24544
24545 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24546 int argc;
24547 PyObject *argv[2];
24548
24549 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24550 --argc;
24551 if (argc == 0) {
24552 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24553 }
24554 if (argc == 1) {
24555 int _v = 0;
24556 {
24557 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24558 _v = SWIG_CheckState(res);
24559 }
24560 if (!_v) goto check_2;
24561 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24562 }
24563 check_2:
24564
24565 if (argc == 1) {
24566 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24567 }
24568
24569 fail:
24570 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24571 return NULL;
24572 }
24573
24574
24575 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24576 PyObject *resultobj = 0;
24577 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24578 void *argp1 = 0 ;
24579 int res1 = 0 ;
24580 PyObject *swig_obj[1] ;
24581
24582 if (!args) SWIG_fail;
24583 swig_obj[0] = args;
24584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24585 if (!SWIG_IsOK(res1)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24587 }
24588 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 delete arg1;
24592
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 resultobj = SWIG_Py_Void();
24597 return resultobj;
24598 fail:
24599 return NULL;
24600 }
24601
24602
24603 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24604 PyObject *resultobj = 0;
24605 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24606 bool arg2 ;
24607 void *argp1 = 0 ;
24608 int res1 = 0 ;
24609 bool val2 ;
24610 int ecode2 = 0 ;
24611 PyObject * obj0 = 0 ;
24612 PyObject * obj1 = 0 ;
24613 char * kwnames[] = {
24614 (char *) "self",(char *) "flag", NULL
24615 };
24616
24617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24619 if (!SWIG_IsOK(res1)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24621 }
24622 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24623 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24624 if (!SWIG_IsOK(ecode2)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24626 }
24627 arg2 = static_cast< bool >(val2);
24628 {
24629 PyThreadState* __tstate = wxPyBeginAllowThreads();
24630 (arg1)->EnableHelp(arg2);
24631 wxPyEndAllowThreads(__tstate);
24632 if (PyErr_Occurred()) SWIG_fail;
24633 }
24634 resultobj = SWIG_Py_Void();
24635 return resultobj;
24636 fail:
24637 return NULL;
24638 }
24639
24640
24641 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj = 0;
24643 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24644 bool arg2 ;
24645 void *argp1 = 0 ;
24646 int res1 = 0 ;
24647 bool val2 ;
24648 int ecode2 = 0 ;
24649 PyObject * obj0 = 0 ;
24650 PyObject * obj1 = 0 ;
24651 char * kwnames[] = {
24652 (char *) "self",(char *) "flag", NULL
24653 };
24654
24655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24657 if (!SWIG_IsOK(res1)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24659 }
24660 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24661 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24662 if (!SWIG_IsOK(ecode2)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24664 }
24665 arg2 = static_cast< bool >(val2);
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->EnableMargins(arg2);
24669 wxPyEndAllowThreads(__tstate);
24670 if (PyErr_Occurred()) SWIG_fail;
24671 }
24672 resultobj = SWIG_Py_Void();
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj = 0;
24681 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24682 bool arg2 ;
24683 void *argp1 = 0 ;
24684 int res1 = 0 ;
24685 bool val2 ;
24686 int ecode2 = 0 ;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 char * kwnames[] = {
24690 (char *) "self",(char *) "flag", NULL
24691 };
24692
24693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24695 if (!SWIG_IsOK(res1)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24697 }
24698 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24699 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24700 if (!SWIG_IsOK(ecode2)) {
24701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24702 }
24703 arg2 = static_cast< bool >(val2);
24704 {
24705 PyThreadState* __tstate = wxPyBeginAllowThreads();
24706 (arg1)->EnableOrientation(arg2);
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 resultobj = SWIG_Py_Void();
24711 return resultobj;
24712 fail:
24713 return NULL;
24714 }
24715
24716
24717 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj = 0;
24719 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24720 bool arg2 ;
24721 void *argp1 = 0 ;
24722 int res1 = 0 ;
24723 bool val2 ;
24724 int ecode2 = 0 ;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 char * kwnames[] = {
24728 (char *) "self",(char *) "flag", NULL
24729 };
24730
24731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24733 if (!SWIG_IsOK(res1)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24735 }
24736 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24737 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24738 if (!SWIG_IsOK(ecode2)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24740 }
24741 arg2 = static_cast< bool >(val2);
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 (arg1)->EnablePaper(arg2);
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_Py_Void();
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj = 0;
24757 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24758 bool arg2 ;
24759 void *argp1 = 0 ;
24760 int res1 = 0 ;
24761 bool val2 ;
24762 int ecode2 = 0 ;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char * kwnames[] = {
24766 (char *) "self",(char *) "flag", NULL
24767 };
24768
24769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24771 if (!SWIG_IsOK(res1)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24773 }
24774 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24775 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24776 if (!SWIG_IsOK(ecode2)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24778 }
24779 arg2 = static_cast< bool >(val2);
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 (arg1)->EnablePrinter(arg2);
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 resultobj = SWIG_Py_Void();
24787 return resultobj;
24788 fail:
24789 return NULL;
24790 }
24791
24792
24793 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24794 PyObject *resultobj = 0;
24795 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24796 bool result;
24797 void *argp1 = 0 ;
24798 int res1 = 0 ;
24799 PyObject *swig_obj[1] ;
24800
24801 if (!args) SWIG_fail;
24802 swig_obj[0] = args;
24803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24804 if (!SWIG_IsOK(res1)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24806 }
24807 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = (bool)(arg1)->GetDefaultMinMargins();
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 {
24815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24816 }
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24824 PyObject *resultobj = 0;
24825 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24826 bool result;
24827 void *argp1 = 0 ;
24828 int res1 = 0 ;
24829 PyObject *swig_obj[1] ;
24830
24831 if (!args) SWIG_fail;
24832 swig_obj[0] = args;
24833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24834 if (!SWIG_IsOK(res1)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24836 }
24837 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24838 {
24839 PyThreadState* __tstate = wxPyBeginAllowThreads();
24840 result = (bool)(arg1)->GetEnableMargins();
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 {
24845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24846 }
24847 return resultobj;
24848 fail:
24849 return NULL;
24850 }
24851
24852
24853 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24854 PyObject *resultobj = 0;
24855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24856 bool result;
24857 void *argp1 = 0 ;
24858 int res1 = 0 ;
24859 PyObject *swig_obj[1] ;
24860
24861 if (!args) SWIG_fail;
24862 swig_obj[0] = args;
24863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24864 if (!SWIG_IsOK(res1)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24866 }
24867 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 result = (bool)(arg1)->GetEnableOrientation();
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 {
24875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24876 }
24877 return resultobj;
24878 fail:
24879 return NULL;
24880 }
24881
24882
24883 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24884 PyObject *resultobj = 0;
24885 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24886 bool result;
24887 void *argp1 = 0 ;
24888 int res1 = 0 ;
24889 PyObject *swig_obj[1] ;
24890
24891 if (!args) SWIG_fail;
24892 swig_obj[0] = args;
24893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24894 if (!SWIG_IsOK(res1)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24896 }
24897 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 result = (bool)(arg1)->GetEnablePaper();
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 {
24905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24906 }
24907 return resultobj;
24908 fail:
24909 return NULL;
24910 }
24911
24912
24913 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24914 PyObject *resultobj = 0;
24915 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24916 bool result;
24917 void *argp1 = 0 ;
24918 int res1 = 0 ;
24919 PyObject *swig_obj[1] ;
24920
24921 if (!args) SWIG_fail;
24922 swig_obj[0] = args;
24923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24924 if (!SWIG_IsOK(res1)) {
24925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24926 }
24927 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24928 {
24929 PyThreadState* __tstate = wxPyBeginAllowThreads();
24930 result = (bool)(arg1)->GetEnablePrinter();
24931 wxPyEndAllowThreads(__tstate);
24932 if (PyErr_Occurred()) SWIG_fail;
24933 }
24934 {
24935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24936 }
24937 return resultobj;
24938 fail:
24939 return NULL;
24940 }
24941
24942
24943 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24944 PyObject *resultobj = 0;
24945 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24946 bool result;
24947 void *argp1 = 0 ;
24948 int res1 = 0 ;
24949 PyObject *swig_obj[1] ;
24950
24951 if (!args) SWIG_fail;
24952 swig_obj[0] = args;
24953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24954 if (!SWIG_IsOK(res1)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24956 }
24957 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 result = (bool)(arg1)->GetEnableHelp();
24961 wxPyEndAllowThreads(__tstate);
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 {
24965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24966 }
24967 return resultobj;
24968 fail:
24969 return NULL;
24970 }
24971
24972
24973 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24974 PyObject *resultobj = 0;
24975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24976 bool result;
24977 void *argp1 = 0 ;
24978 int res1 = 0 ;
24979 PyObject *swig_obj[1] ;
24980
24981 if (!args) SWIG_fail;
24982 swig_obj[0] = args;
24983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24984 if (!SWIG_IsOK(res1)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24986 }
24987 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = (bool)(arg1)->GetDefaultInfo();
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 {
24995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24996 }
24997 return resultobj;
24998 fail:
24999 return NULL;
25000 }
25001
25002
25003 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25004 PyObject *resultobj = 0;
25005 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25006 wxPoint result;
25007 void *argp1 = 0 ;
25008 int res1 = 0 ;
25009 PyObject *swig_obj[1] ;
25010
25011 if (!args) SWIG_fail;
25012 swig_obj[0] = args;
25013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25014 if (!SWIG_IsOK(res1)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25016 }
25017 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 result = (arg1)->GetMarginTopLeft();
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25032 PyObject *resultobj = 0;
25033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25034 wxPoint result;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 PyObject *swig_obj[1] ;
25038
25039 if (!args) SWIG_fail;
25040 swig_obj[0] = args;
25041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25042 if (!SWIG_IsOK(res1)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25044 }
25045 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 result = (arg1)->GetMarginBottomRight();
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25053 return resultobj;
25054 fail:
25055 return NULL;
25056 }
25057
25058
25059 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25060 PyObject *resultobj = 0;
25061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25062 wxPoint result;
25063 void *argp1 = 0 ;
25064 int res1 = 0 ;
25065 PyObject *swig_obj[1] ;
25066
25067 if (!args) SWIG_fail;
25068 swig_obj[0] = args;
25069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25070 if (!SWIG_IsOK(res1)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25072 }
25073 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 result = (arg1)->GetMinMarginTopLeft();
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
25080 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25081 return resultobj;
25082 fail:
25083 return NULL;
25084 }
25085
25086
25087 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25088 PyObject *resultobj = 0;
25089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25090 wxPoint result;
25091 void *argp1 = 0 ;
25092 int res1 = 0 ;
25093 PyObject *swig_obj[1] ;
25094
25095 if (!args) SWIG_fail;
25096 swig_obj[0] = args;
25097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25098 if (!SWIG_IsOK(res1)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25100 }
25101 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 result = (arg1)->GetMinMarginBottomRight();
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25116 PyObject *resultobj = 0;
25117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25118 wxPaperSize result;
25119 void *argp1 = 0 ;
25120 int res1 = 0 ;
25121 PyObject *swig_obj[1] ;
25122
25123 if (!args) SWIG_fail;
25124 swig_obj[0] = args;
25125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25126 if (!SWIG_IsOK(res1)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 }
25129 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 result = (wxPaperSize)(arg1)->GetPaperId();
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_From_int(static_cast< int >(result));
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25144 PyObject *resultobj = 0;
25145 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25146 wxSize result;
25147 void *argp1 = 0 ;
25148 int res1 = 0 ;
25149 PyObject *swig_obj[1] ;
25150
25151 if (!args) SWIG_fail;
25152 swig_obj[0] = args;
25153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25154 if (!SWIG_IsOK(res1)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 }
25157 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (arg1)->GetPaperSize();
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25165 return resultobj;
25166 fail:
25167 return NULL;
25168 }
25169
25170
25171 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25174 wxPrintData *result = 0 ;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 PyObject *swig_obj[1] ;
25178
25179 if (!args) SWIG_fail;
25180 swig_obj[0] = args;
25181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25182 if (!SWIG_IsOK(res1)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25184 }
25185 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 {
25189 wxPrintData &_result_ref = (arg1)->GetPrintData();
25190 result = (wxPrintData *) &_result_ref;
25191 }
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25196 return resultobj;
25197 fail:
25198 return NULL;
25199 }
25200
25201
25202 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25203 PyObject *resultobj = 0;
25204 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25205 bool result;
25206 void *argp1 = 0 ;
25207 int res1 = 0 ;
25208 PyObject *swig_obj[1] ;
25209
25210 if (!args) SWIG_fail;
25211 swig_obj[0] = args;
25212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25213 if (!SWIG_IsOK(res1)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25215 }
25216 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 result = (bool)(arg1)->IsOk();
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 {
25224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25225 }
25226 return resultobj;
25227 fail:
25228 return NULL;
25229 }
25230
25231
25232 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj = 0;
25234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25235 bool arg2 ;
25236 void *argp1 = 0 ;
25237 int res1 = 0 ;
25238 bool val2 ;
25239 int ecode2 = 0 ;
25240 PyObject * obj0 = 0 ;
25241 PyObject * obj1 = 0 ;
25242 char * kwnames[] = {
25243 (char *) "self",(char *) "flag", NULL
25244 };
25245
25246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25248 if (!SWIG_IsOK(res1)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25250 }
25251 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25252 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25253 if (!SWIG_IsOK(ecode2)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25255 }
25256 arg2 = static_cast< bool >(val2);
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 (arg1)->SetDefaultInfo(arg2);
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 resultobj = SWIG_Py_Void();
25264 return resultobj;
25265 fail:
25266 return NULL;
25267 }
25268
25269
25270 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj = 0;
25272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25273 bool arg2 ;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 bool val2 ;
25277 int ecode2 = 0 ;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char * kwnames[] = {
25281 (char *) "self",(char *) "flag", NULL
25282 };
25283
25284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25286 if (!SWIG_IsOK(res1)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25288 }
25289 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25290 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25291 if (!SWIG_IsOK(ecode2)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25293 }
25294 arg2 = static_cast< bool >(val2);
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 (arg1)->SetDefaultMinMargins(arg2);
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 resultobj = SWIG_Py_Void();
25302 return resultobj;
25303 fail:
25304 return NULL;
25305 }
25306
25307
25308 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj = 0;
25310 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25311 wxPoint *arg2 = 0 ;
25312 void *argp1 = 0 ;
25313 int res1 = 0 ;
25314 wxPoint temp2 ;
25315 PyObject * obj0 = 0 ;
25316 PyObject * obj1 = 0 ;
25317 char * kwnames[] = {
25318 (char *) "self",(char *) "pt", NULL
25319 };
25320
25321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25323 if (!SWIG_IsOK(res1)) {
25324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25325 }
25326 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25327 {
25328 arg2 = &temp2;
25329 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25330 }
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 resultobj = SWIG_Py_Void();
25338 return resultobj;
25339 fail:
25340 return NULL;
25341 }
25342
25343
25344 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj = 0;
25346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25347 wxPoint *arg2 = 0 ;
25348 void *argp1 = 0 ;
25349 int res1 = 0 ;
25350 wxPoint temp2 ;
25351 PyObject * obj0 = 0 ;
25352 PyObject * obj1 = 0 ;
25353 char * kwnames[] = {
25354 (char *) "self",(char *) "pt", NULL
25355 };
25356
25357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25359 if (!SWIG_IsOK(res1)) {
25360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25361 }
25362 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25363 {
25364 arg2 = &temp2;
25365 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25366 }
25367 {
25368 PyThreadState* __tstate = wxPyBeginAllowThreads();
25369 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25370 wxPyEndAllowThreads(__tstate);
25371 if (PyErr_Occurred()) SWIG_fail;
25372 }
25373 resultobj = SWIG_Py_Void();
25374 return resultobj;
25375 fail:
25376 return NULL;
25377 }
25378
25379
25380 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25381 PyObject *resultobj = 0;
25382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25383 wxPoint *arg2 = 0 ;
25384 void *argp1 = 0 ;
25385 int res1 = 0 ;
25386 wxPoint temp2 ;
25387 PyObject * obj0 = 0 ;
25388 PyObject * obj1 = 0 ;
25389 char * kwnames[] = {
25390 (char *) "self",(char *) "pt", NULL
25391 };
25392
25393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25395 if (!SWIG_IsOK(res1)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25397 }
25398 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25399 {
25400 arg2 = &temp2;
25401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25402 }
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25406 wxPyEndAllowThreads(__tstate);
25407 if (PyErr_Occurred()) SWIG_fail;
25408 }
25409 resultobj = SWIG_Py_Void();
25410 return resultobj;
25411 fail:
25412 return NULL;
25413 }
25414
25415
25416 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25417 PyObject *resultobj = 0;
25418 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25419 wxPoint *arg2 = 0 ;
25420 void *argp1 = 0 ;
25421 int res1 = 0 ;
25422 wxPoint temp2 ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 char * kwnames[] = {
25426 (char *) "self",(char *) "pt", NULL
25427 };
25428
25429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25431 if (!SWIG_IsOK(res1)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25433 }
25434 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25435 {
25436 arg2 = &temp2;
25437 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25438 }
25439 {
25440 PyThreadState* __tstate = wxPyBeginAllowThreads();
25441 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
25445 resultobj = SWIG_Py_Void();
25446 return resultobj;
25447 fail:
25448 return NULL;
25449 }
25450
25451
25452 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25453 PyObject *resultobj = 0;
25454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25455 wxPaperSize arg2 ;
25456 void *argp1 = 0 ;
25457 int res1 = 0 ;
25458 int val2 ;
25459 int ecode2 = 0 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 char * kwnames[] = {
25463 (char *) "self",(char *) "id", NULL
25464 };
25465
25466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25468 if (!SWIG_IsOK(res1)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25470 }
25471 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25472 ecode2 = SWIG_AsVal_int(obj1, &val2);
25473 if (!SWIG_IsOK(ecode2)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25475 }
25476 arg2 = static_cast< wxPaperSize >(val2);
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 (arg1)->SetPaperId(arg2);
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 resultobj = SWIG_Py_Void();
25484 return resultobj;
25485 fail:
25486 return NULL;
25487 }
25488
25489
25490 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj = 0;
25492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25493 wxSize *arg2 = 0 ;
25494 void *argp1 = 0 ;
25495 int res1 = 0 ;
25496 wxSize temp2 ;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 char * kwnames[] = {
25500 (char *) "self",(char *) "size", NULL
25501 };
25502
25503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25505 if (!SWIG_IsOK(res1)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 }
25508 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25509 {
25510 arg2 = &temp2;
25511 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25512 }
25513 {
25514 PyThreadState* __tstate = wxPyBeginAllowThreads();
25515 (arg1)->SetPaperSize((wxSize const &)*arg2);
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 resultobj = SWIG_Py_Void();
25520 return resultobj;
25521 fail:
25522 return NULL;
25523 }
25524
25525
25526 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25527 PyObject *resultobj = 0;
25528 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25529 wxPrintData *arg2 = 0 ;
25530 void *argp1 = 0 ;
25531 int res1 = 0 ;
25532 void *argp2 = 0 ;
25533 int res2 = 0 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char * kwnames[] = {
25537 (char *) "self",(char *) "printData", NULL
25538 };
25539
25540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25542 if (!SWIG_IsOK(res1)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25544 }
25545 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25546 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25547 if (!SWIG_IsOK(res2)) {
25548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25549 }
25550 if (!argp2) {
25551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25552 }
25553 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25554 {
25555 PyThreadState* __tstate = wxPyBeginAllowThreads();
25556 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25557 wxPyEndAllowThreads(__tstate);
25558 if (PyErr_Occurred()) SWIG_fail;
25559 }
25560 resultobj = SWIG_Py_Void();
25561 return resultobj;
25562 fail:
25563 return NULL;
25564 }
25565
25566
25567 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25568 PyObject *resultobj = 0;
25569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25570 void *argp1 = 0 ;
25571 int res1 = 0 ;
25572 PyObject *swig_obj[1] ;
25573
25574 if (!args) SWIG_fail;
25575 swig_obj[0] = args;
25576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25577 if (!SWIG_IsOK(res1)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25579 }
25580 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25581 {
25582 PyThreadState* __tstate = wxPyBeginAllowThreads();
25583 (arg1)->CalculateIdFromPaperSize();
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 resultobj = SWIG_Py_Void();
25588 return resultobj;
25589 fail:
25590 return NULL;
25591 }
25592
25593
25594 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25595 PyObject *resultobj = 0;
25596 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25597 void *argp1 = 0 ;
25598 int res1 = 0 ;
25599 PyObject *swig_obj[1] ;
25600
25601 if (!args) SWIG_fail;
25602 swig_obj[0] = args;
25603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25604 if (!SWIG_IsOK(res1)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25606 }
25607 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 (arg1)->CalculatePaperSizeFromId();
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 resultobj = SWIG_Py_Void();
25615 return resultobj;
25616 fail:
25617 return NULL;
25618 }
25619
25620
25621 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25622 PyObject *obj;
25623 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25624 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25625 return SWIG_Py_Void();
25626 }
25627
25628 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25629 return SWIG_Python_InitShadowInstance(args);
25630 }
25631
25632 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25633 PyObject *resultobj = 0;
25634 wxWindow *arg1 = (wxWindow *) 0 ;
25635 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25636 wxPageSetupDialog *result = 0 ;
25637 void *argp1 = 0 ;
25638 int res1 = 0 ;
25639 void *argp2 = 0 ;
25640 int res2 = 0 ;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643 char * kwnames[] = {
25644 (char *) "parent",(char *) "data", NULL
25645 };
25646
25647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25649 if (!SWIG_IsOK(res1)) {
25650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25651 }
25652 arg1 = reinterpret_cast< wxWindow * >(argp1);
25653 if (obj1) {
25654 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25655 if (!SWIG_IsOK(res2)) {
25656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25657 }
25658 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25659 }
25660 {
25661 if (!wxPyCheckForApp()) SWIG_fail;
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25664 wxPyEndAllowThreads(__tstate);
25665 if (PyErr_Occurred()) SWIG_fail;
25666 }
25667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25668 return resultobj;
25669 fail:
25670 return NULL;
25671 }
25672
25673
25674 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25675 PyObject *resultobj = 0;
25676 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25677 void *argp1 = 0 ;
25678 int res1 = 0 ;
25679 PyObject *swig_obj[1] ;
25680
25681 if (!args) SWIG_fail;
25682 swig_obj[0] = args;
25683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25684 if (!SWIG_IsOK(res1)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25686 }
25687 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 delete arg1;
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 resultobj = SWIG_Py_Void();
25696 return resultobj;
25697 fail:
25698 return NULL;
25699 }
25700
25701
25702 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25703 PyObject *resultobj = 0;
25704 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25705 wxPageSetupDialogData *result = 0 ;
25706 void *argp1 = 0 ;
25707 int res1 = 0 ;
25708 PyObject *swig_obj[1] ;
25709
25710 if (!args) SWIG_fail;
25711 swig_obj[0] = args;
25712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25713 if (!SWIG_IsOK(res1)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25715 }
25716 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 {
25720 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25721 result = (wxPageSetupDialogData *) &_result_ref;
25722 }
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25734 PyObject *resultobj = 0;
25735 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25736 wxPageSetupDialogData *result = 0 ;
25737 void *argp1 = 0 ;
25738 int res1 = 0 ;
25739 PyObject *swig_obj[1] ;
25740
25741 if (!args) SWIG_fail;
25742 swig_obj[0] = args;
25743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25744 if (!SWIG_IsOK(res1)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25746 }
25747 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25748 {
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 {
25751 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25752 result = (wxPageSetupDialogData *) &_result_ref;
25753 }
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25765 PyObject *resultobj = 0;
25766 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25767 int result;
25768 void *argp1 = 0 ;
25769 int res1 = 0 ;
25770 PyObject *swig_obj[1] ;
25771
25772 if (!args) SWIG_fail;
25773 swig_obj[0] = args;
25774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25775 if (!SWIG_IsOK(res1)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25777 }
25778 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 result = (int)(arg1)->ShowModal();
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 resultobj = SWIG_From_int(static_cast< int >(result));
25786 return resultobj;
25787 fail:
25788 return NULL;
25789 }
25790
25791
25792 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25793 PyObject *obj;
25794 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25796 return SWIG_Py_Void();
25797 }
25798
25799 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25800 return SWIG_Python_InitShadowInstance(args);
25801 }
25802
25803 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25804 PyObject *resultobj = 0;
25805 wxPrintDialogData *result = 0 ;
25806
25807 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 result = (wxPrintDialogData *)new wxPrintDialogData();
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25815 return resultobj;
25816 fail:
25817 return NULL;
25818 }
25819
25820
25821 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25822 PyObject *resultobj = 0;
25823 wxPrintData *arg1 = 0 ;
25824 wxPrintDialogData *result = 0 ;
25825 void *argp1 = 0 ;
25826 int res1 = 0 ;
25827
25828 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25830 if (!SWIG_IsOK(res1)) {
25831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25832 }
25833 if (!argp1) {
25834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25835 }
25836 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25837 {
25838 PyThreadState* __tstate = wxPyBeginAllowThreads();
25839 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25840 wxPyEndAllowThreads(__tstate);
25841 if (PyErr_Occurred()) SWIG_fail;
25842 }
25843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25844 return resultobj;
25845 fail:
25846 return NULL;
25847 }
25848
25849
25850 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25851 PyObject *resultobj = 0;
25852 wxPrintDialogData *arg1 = 0 ;
25853 wxPrintDialogData *result = 0 ;
25854 void *argp1 = 0 ;
25855 int res1 = 0 ;
25856
25857 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25859 if (!SWIG_IsOK(res1)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25861 }
25862 if (!argp1) {
25863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25864 }
25865 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25873 return resultobj;
25874 fail:
25875 return NULL;
25876 }
25877
25878
25879 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25880 int argc;
25881 PyObject *argv[2];
25882
25883 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25884 --argc;
25885 if (argc == 0) {
25886 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25887 }
25888 if (argc == 1) {
25889 int _v = 0;
25890 {
25891 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25892 _v = SWIG_CheckState(res);
25893 }
25894 if (!_v) goto check_2;
25895 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25896 }
25897 check_2:
25898
25899 if (argc == 1) {
25900 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25901 }
25902
25903 fail:
25904 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25905 return NULL;
25906 }
25907
25908
25909 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25910 PyObject *resultobj = 0;
25911 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25912 void *argp1 = 0 ;
25913 int res1 = 0 ;
25914 PyObject *swig_obj[1] ;
25915
25916 if (!args) SWIG_fail;
25917 swig_obj[0] = args;
25918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25919 if (!SWIG_IsOK(res1)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25921 }
25922 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25923 {
25924 PyThreadState* __tstate = wxPyBeginAllowThreads();
25925 delete arg1;
25926
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 resultobj = SWIG_Py_Void();
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25938 PyObject *resultobj = 0;
25939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25940 int result;
25941 void *argp1 = 0 ;
25942 int res1 = 0 ;
25943 PyObject *swig_obj[1] ;
25944
25945 if (!args) SWIG_fail;
25946 swig_obj[0] = args;
25947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25948 if (!SWIG_IsOK(res1)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25950 }
25951 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25952 {
25953 PyThreadState* __tstate = wxPyBeginAllowThreads();
25954 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25955 wxPyEndAllowThreads(__tstate);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 resultobj = SWIG_From_int(static_cast< int >(result));
25959 return resultobj;
25960 fail:
25961 return NULL;
25962 }
25963
25964
25965 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25966 PyObject *resultobj = 0;
25967 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25968 int result;
25969 void *argp1 = 0 ;
25970 int res1 = 0 ;
25971 PyObject *swig_obj[1] ;
25972
25973 if (!args) SWIG_fail;
25974 swig_obj[0] = args;
25975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25976 if (!SWIG_IsOK(res1)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25978 }
25979 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 resultobj = SWIG_From_int(static_cast< int >(result));
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25994 PyObject *resultobj = 0;
25995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25996 int result;
25997 void *argp1 = 0 ;
25998 int res1 = 0 ;
25999 PyObject *swig_obj[1] ;
26000
26001 if (!args) SWIG_fail;
26002 swig_obj[0] = args;
26003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26004 if (!SWIG_IsOK(res1)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26006 }
26007 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 resultobj = SWIG_From_int(static_cast< int >(result));
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26022 PyObject *resultobj = 0;
26023 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26024 int result;
26025 void *argp1 = 0 ;
26026 int res1 = 0 ;
26027 PyObject *swig_obj[1] ;
26028
26029 if (!args) SWIG_fail;
26030 swig_obj[0] = args;
26031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26032 if (!SWIG_IsOK(res1)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26034 }
26035 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 resultobj = SWIG_From_int(static_cast< int >(result));
26043 return resultobj;
26044 fail:
26045 return NULL;
26046 }
26047
26048
26049 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26050 PyObject *resultobj = 0;
26051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26052 int result;
26053 void *argp1 = 0 ;
26054 int res1 = 0 ;
26055 PyObject *swig_obj[1] ;
26056
26057 if (!args) SWIG_fail;
26058 swig_obj[0] = args;
26059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26060 if (!SWIG_IsOK(res1)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26062 }
26063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 resultobj = SWIG_From_int(static_cast< int >(result));
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26078 PyObject *resultobj = 0;
26079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26080 bool result;
26081 void *argp1 = 0 ;
26082 int res1 = 0 ;
26083 PyObject *swig_obj[1] ;
26084
26085 if (!args) SWIG_fail;
26086 swig_obj[0] = args;
26087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26088 if (!SWIG_IsOK(res1)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26090 }
26091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 {
26099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26100 }
26101 return resultobj;
26102 fail:
26103 return NULL;
26104 }
26105
26106
26107 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26108 PyObject *resultobj = 0;
26109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26110 bool result;
26111 void *argp1 = 0 ;
26112 int res1 = 0 ;
26113 PyObject *swig_obj[1] ;
26114
26115 if (!args) SWIG_fail;
26116 swig_obj[0] = args;
26117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26118 if (!SWIG_IsOK(res1)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26120 }
26121 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 {
26129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26130 }
26131 return resultobj;
26132 fail:
26133 return NULL;
26134 }
26135
26136
26137 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26138 PyObject *resultobj = 0;
26139 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26140 bool result;
26141 void *argp1 = 0 ;
26142 int res1 = 0 ;
26143 PyObject *swig_obj[1] ;
26144
26145 if (!args) SWIG_fail;
26146 swig_obj[0] = args;
26147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26148 if (!SWIG_IsOK(res1)) {
26149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26150 }
26151 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 {
26159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26160 }
26161 return resultobj;
26162 fail:
26163 return NULL;
26164 }
26165
26166
26167 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26168 PyObject *resultobj = 0;
26169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26170 bool result;
26171 void *argp1 = 0 ;
26172 int res1 = 0 ;
26173 PyObject *swig_obj[1] ;
26174
26175 if (!args) SWIG_fail;
26176 swig_obj[0] = args;
26177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26178 if (!SWIG_IsOK(res1)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26180 }
26181 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26182 {
26183 PyThreadState* __tstate = wxPyBeginAllowThreads();
26184 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26190 }
26191 return resultobj;
26192 fail:
26193 return NULL;
26194 }
26195
26196
26197 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26198 PyObject *resultobj = 0;
26199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26200 int arg2 ;
26201 void *argp1 = 0 ;
26202 int res1 = 0 ;
26203 int val2 ;
26204 int ecode2 = 0 ;
26205 PyObject * obj0 = 0 ;
26206 PyObject * obj1 = 0 ;
26207 char * kwnames[] = {
26208 (char *) "self",(char *) "v", NULL
26209 };
26210
26211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26213 if (!SWIG_IsOK(res1)) {
26214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26215 }
26216 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26217 ecode2 = SWIG_AsVal_int(obj1, &val2);
26218 if (!SWIG_IsOK(ecode2)) {
26219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26220 }
26221 arg2 = static_cast< int >(val2);
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 (arg1)->SetFromPage(arg2);
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 resultobj = SWIG_Py_Void();
26229 return resultobj;
26230 fail:
26231 return NULL;
26232 }
26233
26234
26235 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26236 PyObject *resultobj = 0;
26237 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26238 int arg2 ;
26239 void *argp1 = 0 ;
26240 int res1 = 0 ;
26241 int val2 ;
26242 int ecode2 = 0 ;
26243 PyObject * obj0 = 0 ;
26244 PyObject * obj1 = 0 ;
26245 char * kwnames[] = {
26246 (char *) "self",(char *) "v", NULL
26247 };
26248
26249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26251 if (!SWIG_IsOK(res1)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26253 }
26254 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26255 ecode2 = SWIG_AsVal_int(obj1, &val2);
26256 if (!SWIG_IsOK(ecode2)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26258 }
26259 arg2 = static_cast< int >(val2);
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 (arg1)->SetToPage(arg2);
26263 wxPyEndAllowThreads(__tstate);
26264 if (PyErr_Occurred()) SWIG_fail;
26265 }
26266 resultobj = SWIG_Py_Void();
26267 return resultobj;
26268 fail:
26269 return NULL;
26270 }
26271
26272
26273 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26274 PyObject *resultobj = 0;
26275 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26276 int arg2 ;
26277 void *argp1 = 0 ;
26278 int res1 = 0 ;
26279 int val2 ;
26280 int ecode2 = 0 ;
26281 PyObject * obj0 = 0 ;
26282 PyObject * obj1 = 0 ;
26283 char * kwnames[] = {
26284 (char *) "self",(char *) "v", NULL
26285 };
26286
26287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26289 if (!SWIG_IsOK(res1)) {
26290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26291 }
26292 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26293 ecode2 = SWIG_AsVal_int(obj1, &val2);
26294 if (!SWIG_IsOK(ecode2)) {
26295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26296 }
26297 arg2 = static_cast< int >(val2);
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 (arg1)->SetMinPage(arg2);
26301 wxPyEndAllowThreads(__tstate);
26302 if (PyErr_Occurred()) SWIG_fail;
26303 }
26304 resultobj = SWIG_Py_Void();
26305 return resultobj;
26306 fail:
26307 return NULL;
26308 }
26309
26310
26311 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26312 PyObject *resultobj = 0;
26313 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26314 int arg2 ;
26315 void *argp1 = 0 ;
26316 int res1 = 0 ;
26317 int val2 ;
26318 int ecode2 = 0 ;
26319 PyObject * obj0 = 0 ;
26320 PyObject * obj1 = 0 ;
26321 char * kwnames[] = {
26322 (char *) "self",(char *) "v", NULL
26323 };
26324
26325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26327 if (!SWIG_IsOK(res1)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26329 }
26330 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26331 ecode2 = SWIG_AsVal_int(obj1, &val2);
26332 if (!SWIG_IsOK(ecode2)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26334 }
26335 arg2 = static_cast< int >(val2);
26336 {
26337 PyThreadState* __tstate = wxPyBeginAllowThreads();
26338 (arg1)->SetMaxPage(arg2);
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 resultobj = SWIG_Py_Void();
26343 return resultobj;
26344 fail:
26345 return NULL;
26346 }
26347
26348
26349 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26350 PyObject *resultobj = 0;
26351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26352 int arg2 ;
26353 void *argp1 = 0 ;
26354 int res1 = 0 ;
26355 int val2 ;
26356 int ecode2 = 0 ;
26357 PyObject * obj0 = 0 ;
26358 PyObject * obj1 = 0 ;
26359 char * kwnames[] = {
26360 (char *) "self",(char *) "v", NULL
26361 };
26362
26363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26365 if (!SWIG_IsOK(res1)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26367 }
26368 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26369 ecode2 = SWIG_AsVal_int(obj1, &val2);
26370 if (!SWIG_IsOK(ecode2)) {
26371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26372 }
26373 arg2 = static_cast< int >(val2);
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 (arg1)->SetNoCopies(arg2);
26377 wxPyEndAllowThreads(__tstate);
26378 if (PyErr_Occurred()) SWIG_fail;
26379 }
26380 resultobj = SWIG_Py_Void();
26381 return resultobj;
26382 fail:
26383 return NULL;
26384 }
26385
26386
26387 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26388 PyObject *resultobj = 0;
26389 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26390 bool arg2 ;
26391 void *argp1 = 0 ;
26392 int res1 = 0 ;
26393 bool val2 ;
26394 int ecode2 = 0 ;
26395 PyObject * obj0 = 0 ;
26396 PyObject * obj1 = 0 ;
26397 char * kwnames[] = {
26398 (char *) "self",(char *) "flag", NULL
26399 };
26400
26401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26403 if (!SWIG_IsOK(res1)) {
26404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26405 }
26406 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26407 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26408 if (!SWIG_IsOK(ecode2)) {
26409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26410 }
26411 arg2 = static_cast< bool >(val2);
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 (arg1)->SetAllPages(arg2);
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 resultobj = SWIG_Py_Void();
26419 return resultobj;
26420 fail:
26421 return NULL;
26422 }
26423
26424
26425 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26426 PyObject *resultobj = 0;
26427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26428 bool arg2 ;
26429 void *argp1 = 0 ;
26430 int res1 = 0 ;
26431 bool val2 ;
26432 int ecode2 = 0 ;
26433 PyObject * obj0 = 0 ;
26434 PyObject * obj1 = 0 ;
26435 char * kwnames[] = {
26436 (char *) "self",(char *) "flag", NULL
26437 };
26438
26439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26441 if (!SWIG_IsOK(res1)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26443 }
26444 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26445 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26446 if (!SWIG_IsOK(ecode2)) {
26447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26448 }
26449 arg2 = static_cast< bool >(val2);
26450 {
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 (arg1)->SetSelection(arg2);
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
26456 resultobj = SWIG_Py_Void();
26457 return resultobj;
26458 fail:
26459 return NULL;
26460 }
26461
26462
26463 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26464 PyObject *resultobj = 0;
26465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26466 bool arg2 ;
26467 void *argp1 = 0 ;
26468 int res1 = 0 ;
26469 bool val2 ;
26470 int ecode2 = 0 ;
26471 PyObject * obj0 = 0 ;
26472 PyObject * obj1 = 0 ;
26473 char * kwnames[] = {
26474 (char *) "self",(char *) "flag", NULL
26475 };
26476
26477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26479 if (!SWIG_IsOK(res1)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26481 }
26482 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26483 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26484 if (!SWIG_IsOK(ecode2)) {
26485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26486 }
26487 arg2 = static_cast< bool >(val2);
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 (arg1)->SetCollate(arg2);
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
26494 resultobj = SWIG_Py_Void();
26495 return resultobj;
26496 fail:
26497 return NULL;
26498 }
26499
26500
26501 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26502 PyObject *resultobj = 0;
26503 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26504 bool arg2 ;
26505 void *argp1 = 0 ;
26506 int res1 = 0 ;
26507 bool val2 ;
26508 int ecode2 = 0 ;
26509 PyObject * obj0 = 0 ;
26510 PyObject * obj1 = 0 ;
26511 char * kwnames[] = {
26512 (char *) "self",(char *) "flag", NULL
26513 };
26514
26515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26517 if (!SWIG_IsOK(res1)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26519 }
26520 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26521 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26522 if (!SWIG_IsOK(ecode2)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26524 }
26525 arg2 = static_cast< bool >(val2);
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 (arg1)->SetPrintToFile(arg2);
26529 wxPyEndAllowThreads(__tstate);
26530 if (PyErr_Occurred()) SWIG_fail;
26531 }
26532 resultobj = SWIG_Py_Void();
26533 return resultobj;
26534 fail:
26535 return NULL;
26536 }
26537
26538
26539 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26540 PyObject *resultobj = 0;
26541 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26542 bool arg2 ;
26543 void *argp1 = 0 ;
26544 int res1 = 0 ;
26545 bool val2 ;
26546 int ecode2 = 0 ;
26547 PyObject * obj0 = 0 ;
26548 PyObject * obj1 = 0 ;
26549 char * kwnames[] = {
26550 (char *) "self",(char *) "flag", NULL
26551 };
26552
26553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26555 if (!SWIG_IsOK(res1)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26557 }
26558 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26559 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26560 if (!SWIG_IsOK(ecode2)) {
26561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26562 }
26563 arg2 = static_cast< bool >(val2);
26564 {
26565 PyThreadState* __tstate = wxPyBeginAllowThreads();
26566 (arg1)->EnablePrintToFile(arg2);
26567 wxPyEndAllowThreads(__tstate);
26568 if (PyErr_Occurred()) SWIG_fail;
26569 }
26570 resultobj = SWIG_Py_Void();
26571 return resultobj;
26572 fail:
26573 return NULL;
26574 }
26575
26576
26577 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26578 PyObject *resultobj = 0;
26579 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26580 bool arg2 ;
26581 void *argp1 = 0 ;
26582 int res1 = 0 ;
26583 bool val2 ;
26584 int ecode2 = 0 ;
26585 PyObject * obj0 = 0 ;
26586 PyObject * obj1 = 0 ;
26587 char * kwnames[] = {
26588 (char *) "self",(char *) "flag", NULL
26589 };
26590
26591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26593 if (!SWIG_IsOK(res1)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26595 }
26596 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26598 if (!SWIG_IsOK(ecode2)) {
26599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26600 }
26601 arg2 = static_cast< bool >(val2);
26602 {
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 (arg1)->EnableSelection(arg2);
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 resultobj = SWIG_Py_Void();
26609 return resultobj;
26610 fail:
26611 return NULL;
26612 }
26613
26614
26615 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj = 0;
26617 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26618 bool arg2 ;
26619 void *argp1 = 0 ;
26620 int res1 = 0 ;
26621 bool val2 ;
26622 int ecode2 = 0 ;
26623 PyObject * obj0 = 0 ;
26624 PyObject * obj1 = 0 ;
26625 char * kwnames[] = {
26626 (char *) "self",(char *) "flag", NULL
26627 };
26628
26629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26631 if (!SWIG_IsOK(res1)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26633 }
26634 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26635 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26636 if (!SWIG_IsOK(ecode2)) {
26637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26638 }
26639 arg2 = static_cast< bool >(val2);
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 (arg1)->EnablePageNumbers(arg2);
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 resultobj = SWIG_Py_Void();
26647 return resultobj;
26648 fail:
26649 return NULL;
26650 }
26651
26652
26653 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26654 PyObject *resultobj = 0;
26655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26656 bool arg2 ;
26657 void *argp1 = 0 ;
26658 int res1 = 0 ;
26659 bool val2 ;
26660 int ecode2 = 0 ;
26661 PyObject * obj0 = 0 ;
26662 PyObject * obj1 = 0 ;
26663 char * kwnames[] = {
26664 (char *) "self",(char *) "flag", NULL
26665 };
26666
26667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26669 if (!SWIG_IsOK(res1)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26671 }
26672 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26673 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26674 if (!SWIG_IsOK(ecode2)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26676 }
26677 arg2 = static_cast< bool >(val2);
26678 {
26679 PyThreadState* __tstate = wxPyBeginAllowThreads();
26680 (arg1)->EnableHelp(arg2);
26681 wxPyEndAllowThreads(__tstate);
26682 if (PyErr_Occurred()) SWIG_fail;
26683 }
26684 resultobj = SWIG_Py_Void();
26685 return resultobj;
26686 fail:
26687 return NULL;
26688 }
26689
26690
26691 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26692 PyObject *resultobj = 0;
26693 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26694 bool result;
26695 void *argp1 = 0 ;
26696 int res1 = 0 ;
26697 PyObject *swig_obj[1] ;
26698
26699 if (!args) SWIG_fail;
26700 swig_obj[0] = args;
26701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26702 if (!SWIG_IsOK(res1)) {
26703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26704 }
26705 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 {
26713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26714 }
26715 return resultobj;
26716 fail:
26717 return NULL;
26718 }
26719
26720
26721 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26722 PyObject *resultobj = 0;
26723 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26724 bool result;
26725 void *argp1 = 0 ;
26726 int res1 = 0 ;
26727 PyObject *swig_obj[1] ;
26728
26729 if (!args) SWIG_fail;
26730 swig_obj[0] = args;
26731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26732 if (!SWIG_IsOK(res1)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26734 }
26735 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26739 wxPyEndAllowThreads(__tstate);
26740 if (PyErr_Occurred()) SWIG_fail;
26741 }
26742 {
26743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26744 }
26745 return resultobj;
26746 fail:
26747 return NULL;
26748 }
26749
26750
26751 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26752 PyObject *resultobj = 0;
26753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26754 bool result;
26755 void *argp1 = 0 ;
26756 int res1 = 0 ;
26757 PyObject *swig_obj[1] ;
26758
26759 if (!args) SWIG_fail;
26760 swig_obj[0] = args;
26761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26762 if (!SWIG_IsOK(res1)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26764 }
26765 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 {
26773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26774 }
26775 return resultobj;
26776 fail:
26777 return NULL;
26778 }
26779
26780
26781 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26782 PyObject *resultobj = 0;
26783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26784 bool result;
26785 void *argp1 = 0 ;
26786 int res1 = 0 ;
26787 PyObject *swig_obj[1] ;
26788
26789 if (!args) SWIG_fail;
26790 swig_obj[0] = args;
26791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26792 if (!SWIG_IsOK(res1)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26794 }
26795 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 {
26803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26804 }
26805 return resultobj;
26806 fail:
26807 return NULL;
26808 }
26809
26810
26811 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26812 PyObject *resultobj = 0;
26813 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26814 bool result;
26815 void *argp1 = 0 ;
26816 int res1 = 0 ;
26817 PyObject *swig_obj[1] ;
26818
26819 if (!args) SWIG_fail;
26820 swig_obj[0] = args;
26821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26822 if (!SWIG_IsOK(res1)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26824 }
26825 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
26828 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 {
26833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26834 }
26835 return resultobj;
26836 fail:
26837 return NULL;
26838 }
26839
26840
26841 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26842 PyObject *resultobj = 0;
26843 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26844 wxPrintData *result = 0 ;
26845 void *argp1 = 0 ;
26846 int res1 = 0 ;
26847 PyObject *swig_obj[1] ;
26848
26849 if (!args) SWIG_fail;
26850 swig_obj[0] = args;
26851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26852 if (!SWIG_IsOK(res1)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26854 }
26855 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26856 {
26857 PyThreadState* __tstate = wxPyBeginAllowThreads();
26858 {
26859 wxPrintData &_result_ref = (arg1)->GetPrintData();
26860 result = (wxPrintData *) &_result_ref;
26861 }
26862 wxPyEndAllowThreads(__tstate);
26863 if (PyErr_Occurred()) SWIG_fail;
26864 }
26865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26866 return resultobj;
26867 fail:
26868 return NULL;
26869 }
26870
26871
26872 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26873 PyObject *resultobj = 0;
26874 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26875 wxPrintData *arg2 = 0 ;
26876 void *argp1 = 0 ;
26877 int res1 = 0 ;
26878 void *argp2 = 0 ;
26879 int res2 = 0 ;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882 char * kwnames[] = {
26883 (char *) "self",(char *) "printData", NULL
26884 };
26885
26886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26888 if (!SWIG_IsOK(res1)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26890 }
26891 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26892 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26893 if (!SWIG_IsOK(res2)) {
26894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26895 }
26896 if (!argp2) {
26897 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26898 }
26899 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 resultobj = SWIG_Py_Void();
26907 return resultobj;
26908 fail:
26909 return NULL;
26910 }
26911
26912
26913 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26914 PyObject *obj;
26915 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26916 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26917 return SWIG_Py_Void();
26918 }
26919
26920 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26921 return SWIG_Python_InitShadowInstance(args);
26922 }
26923
26924 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26925 PyObject *resultobj = 0;
26926 wxWindow *arg1 = (wxWindow *) 0 ;
26927 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26928 wxPrintDialog *result = 0 ;
26929 void *argp1 = 0 ;
26930 int res1 = 0 ;
26931 void *argp2 = 0 ;
26932 int res2 = 0 ;
26933 PyObject * obj0 = 0 ;
26934 PyObject * obj1 = 0 ;
26935 char * kwnames[] = {
26936 (char *) "parent",(char *) "data", NULL
26937 };
26938
26939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26941 if (!SWIG_IsOK(res1)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26943 }
26944 arg1 = reinterpret_cast< wxWindow * >(argp1);
26945 if (obj1) {
26946 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26947 if (!SWIG_IsOK(res2)) {
26948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26949 }
26950 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26951 }
26952 {
26953 if (!wxPyCheckForApp()) SWIG_fail;
26954 PyThreadState* __tstate = wxPyBeginAllowThreads();
26955 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26960 return resultobj;
26961 fail:
26962 return NULL;
26963 }
26964
26965
26966 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26967 PyObject *resultobj = 0;
26968 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26969 void *argp1 = 0 ;
26970 int res1 = 0 ;
26971 PyObject *swig_obj[1] ;
26972
26973 if (!args) SWIG_fail;
26974 swig_obj[0] = args;
26975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26976 if (!SWIG_IsOK(res1)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26978 }
26979 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 delete arg1;
26983
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_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26995 PyObject *resultobj = 0;
26996 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26997 int result;
26998 void *argp1 = 0 ;
26999 int res1 = 0 ;
27000 PyObject *swig_obj[1] ;
27001
27002 if (!args) SWIG_fail;
27003 swig_obj[0] = args;
27004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27005 if (!SWIG_IsOK(res1)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27007 }
27008 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27009 {
27010 PyThreadState* __tstate = wxPyBeginAllowThreads();
27011 result = (int)(arg1)->ShowModal();
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
27015 resultobj = SWIG_From_int(static_cast< int >(result));
27016 return resultobj;
27017 fail:
27018 return NULL;
27019 }
27020
27021
27022 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27023 PyObject *resultobj = 0;
27024 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27025 wxPrintDialogData *result = 0 ;
27026 void *argp1 = 0 ;
27027 int res1 = 0 ;
27028 PyObject *swig_obj[1] ;
27029
27030 if (!args) SWIG_fail;
27031 swig_obj[0] = args;
27032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27033 if (!SWIG_IsOK(res1)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27035 }
27036 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27037 {
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 {
27040 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27041 result = (wxPrintDialogData *) &_result_ref;
27042 }
27043 wxPyEndAllowThreads(__tstate);
27044 if (PyErr_Occurred()) SWIG_fail;
27045 }
27046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27047 return resultobj;
27048 fail:
27049 return NULL;
27050 }
27051
27052
27053 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27054 PyObject *resultobj = 0;
27055 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27056 wxPrintData *result = 0 ;
27057 void *argp1 = 0 ;
27058 int res1 = 0 ;
27059 PyObject *swig_obj[1] ;
27060
27061 if (!args) SWIG_fail;
27062 swig_obj[0] = args;
27063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27064 if (!SWIG_IsOK(res1)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27066 }
27067 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27068 {
27069 PyThreadState* __tstate = wxPyBeginAllowThreads();
27070 {
27071 wxPrintData &_result_ref = (arg1)->GetPrintData();
27072 result = (wxPrintData *) &_result_ref;
27073 }
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
27077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27078 return resultobj;
27079 fail:
27080 return NULL;
27081 }
27082
27083
27084 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27085 PyObject *resultobj = 0;
27086 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27087 wxDC *result = 0 ;
27088 void *argp1 = 0 ;
27089 int res1 = 0 ;
27090 PyObject *swig_obj[1] ;
27091
27092 if (!args) SWIG_fail;
27093 swig_obj[0] = args;
27094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27095 if (!SWIG_IsOK(res1)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27097 }
27098 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27099 {
27100 PyThreadState* __tstate = wxPyBeginAllowThreads();
27101 result = (wxDC *)(arg1)->GetPrintDC();
27102 wxPyEndAllowThreads(__tstate);
27103 if (PyErr_Occurred()) SWIG_fail;
27104 }
27105 {
27106 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27107 }
27108 return resultobj;
27109 fail:
27110 return NULL;
27111 }
27112
27113
27114 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27115 PyObject *obj;
27116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27117 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27118 return SWIG_Py_Void();
27119 }
27120
27121 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27122 return SWIG_Python_InitShadowInstance(args);
27123 }
27124
27125 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27126 PyObject *resultobj = 0;
27127 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27128 wxPrinter *result = 0 ;
27129 void *argp1 = 0 ;
27130 int res1 = 0 ;
27131 PyObject * obj0 = 0 ;
27132 char * kwnames[] = {
27133 (char *) "data", NULL
27134 };
27135
27136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27137 if (obj0) {
27138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27139 if (!SWIG_IsOK(res1)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27141 }
27142 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27143 }
27144 {
27145 if (!wxPyCheckForApp()) SWIG_fail;
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 result = (wxPrinter *)new wxPrinter(arg1);
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27152 return resultobj;
27153 fail:
27154 return NULL;
27155 }
27156
27157
27158 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27159 PyObject *resultobj = 0;
27160 wxPrinter *arg1 = (wxPrinter *) 0 ;
27161 void *argp1 = 0 ;
27162 int res1 = 0 ;
27163 PyObject *swig_obj[1] ;
27164
27165 if (!args) SWIG_fail;
27166 swig_obj[0] = args;
27167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27168 if (!SWIG_IsOK(res1)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27170 }
27171 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 delete arg1;
27175
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 resultobj = SWIG_Py_Void();
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27187 PyObject *resultobj = 0;
27188 wxPrinter *arg1 = (wxPrinter *) 0 ;
27189 wxWindow *arg2 = (wxWindow *) 0 ;
27190 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27191 wxWindow *result = 0 ;
27192 void *argp1 = 0 ;
27193 int res1 = 0 ;
27194 void *argp2 = 0 ;
27195 int res2 = 0 ;
27196 void *argp3 = 0 ;
27197 int res3 = 0 ;
27198 PyObject * obj0 = 0 ;
27199 PyObject * obj1 = 0 ;
27200 PyObject * obj2 = 0 ;
27201 char * kwnames[] = {
27202 (char *) "self",(char *) "parent",(char *) "printout", NULL
27203 };
27204
27205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27207 if (!SWIG_IsOK(res1)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27209 }
27210 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27211 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27212 if (!SWIG_IsOK(res2)) {
27213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27214 }
27215 arg2 = reinterpret_cast< wxWindow * >(argp2);
27216 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27217 if (!SWIG_IsOK(res3)) {
27218 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27219 }
27220 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27221 {
27222 PyThreadState* __tstate = wxPyBeginAllowThreads();
27223 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 {
27228 resultobj = wxPyMake_wxObject(result, 0);
27229 }
27230 return resultobj;
27231 fail:
27232 return NULL;
27233 }
27234
27235
27236 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27237 PyObject *resultobj = 0;
27238 wxPrinter *arg1 = (wxPrinter *) 0 ;
27239 wxWindow *arg2 = (wxWindow *) 0 ;
27240 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27241 wxString *arg4 = 0 ;
27242 void *argp1 = 0 ;
27243 int res1 = 0 ;
27244 void *argp2 = 0 ;
27245 int res2 = 0 ;
27246 void *argp3 = 0 ;
27247 int res3 = 0 ;
27248 bool temp4 = false ;
27249 PyObject * obj0 = 0 ;
27250 PyObject * obj1 = 0 ;
27251 PyObject * obj2 = 0 ;
27252 PyObject * obj3 = 0 ;
27253 char * kwnames[] = {
27254 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27255 };
27256
27257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27259 if (!SWIG_IsOK(res1)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27261 }
27262 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27263 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27264 if (!SWIG_IsOK(res2)) {
27265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27266 }
27267 arg2 = reinterpret_cast< wxWindow * >(argp2);
27268 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27269 if (!SWIG_IsOK(res3)) {
27270 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27271 }
27272 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27273 {
27274 arg4 = wxString_in_helper(obj3);
27275 if (arg4 == NULL) SWIG_fail;
27276 temp4 = true;
27277 }
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 resultobj = SWIG_Py_Void();
27285 {
27286 if (temp4)
27287 delete arg4;
27288 }
27289 return resultobj;
27290 fail:
27291 {
27292 if (temp4)
27293 delete arg4;
27294 }
27295 return NULL;
27296 }
27297
27298
27299 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27300 PyObject *resultobj = 0;
27301 wxPrinter *arg1 = (wxPrinter *) 0 ;
27302 wxWindow *arg2 = (wxWindow *) 0 ;
27303 bool result;
27304 void *argp1 = 0 ;
27305 int res1 = 0 ;
27306 void *argp2 = 0 ;
27307 int res2 = 0 ;
27308 PyObject * obj0 = 0 ;
27309 PyObject * obj1 = 0 ;
27310 char * kwnames[] = {
27311 (char *) "self",(char *) "parent", NULL
27312 };
27313
27314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27316 if (!SWIG_IsOK(res1)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27318 }
27319 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27321 if (!SWIG_IsOK(res2)) {
27322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27323 }
27324 arg2 = reinterpret_cast< wxWindow * >(argp2);
27325 {
27326 PyThreadState* __tstate = wxPyBeginAllowThreads();
27327 result = (bool)(arg1)->Setup(arg2);
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 {
27332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27333 }
27334 return resultobj;
27335 fail:
27336 return NULL;
27337 }
27338
27339
27340 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27341 PyObject *resultobj = 0;
27342 wxPrinter *arg1 = (wxPrinter *) 0 ;
27343 wxWindow *arg2 = (wxWindow *) 0 ;
27344 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27345 bool arg4 = (bool) true ;
27346 bool result;
27347 void *argp1 = 0 ;
27348 int res1 = 0 ;
27349 void *argp2 = 0 ;
27350 int res2 = 0 ;
27351 void *argp3 = 0 ;
27352 int res3 = 0 ;
27353 bool val4 ;
27354 int ecode4 = 0 ;
27355 PyObject * obj0 = 0 ;
27356 PyObject * obj1 = 0 ;
27357 PyObject * obj2 = 0 ;
27358 PyObject * obj3 = 0 ;
27359 char * kwnames[] = {
27360 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27361 };
27362
27363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27365 if (!SWIG_IsOK(res1)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27367 }
27368 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27370 if (!SWIG_IsOK(res2)) {
27371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27372 }
27373 arg2 = reinterpret_cast< wxWindow * >(argp2);
27374 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27375 if (!SWIG_IsOK(res3)) {
27376 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27377 }
27378 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27379 if (obj3) {
27380 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27381 if (!SWIG_IsOK(ecode4)) {
27382 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27383 }
27384 arg4 = static_cast< bool >(val4);
27385 }
27386 {
27387 PyThreadState* __tstate = wxPyBeginAllowThreads();
27388 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 {
27393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27394 }
27395 return resultobj;
27396 fail:
27397 return NULL;
27398 }
27399
27400
27401 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj = 0;
27403 wxPrinter *arg1 = (wxPrinter *) 0 ;
27404 wxWindow *arg2 = (wxWindow *) 0 ;
27405 wxDC *result = 0 ;
27406 void *argp1 = 0 ;
27407 int res1 = 0 ;
27408 void *argp2 = 0 ;
27409 int res2 = 0 ;
27410 PyObject * obj0 = 0 ;
27411 PyObject * obj1 = 0 ;
27412 char * kwnames[] = {
27413 (char *) "self",(char *) "parent", NULL
27414 };
27415
27416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27418 if (!SWIG_IsOK(res1)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27420 }
27421 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27423 if (!SWIG_IsOK(res2)) {
27424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27425 }
27426 arg2 = reinterpret_cast< wxWindow * >(argp2);
27427 {
27428 PyThreadState* __tstate = wxPyBeginAllowThreads();
27429 result = (wxDC *)(arg1)->PrintDialog(arg2);
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 {
27434 resultobj = wxPyMake_wxObject(result, (bool)0);
27435 }
27436 return resultobj;
27437 fail:
27438 return NULL;
27439 }
27440
27441
27442 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27443 PyObject *resultobj = 0;
27444 wxPrinter *arg1 = (wxPrinter *) 0 ;
27445 wxPrintDialogData *result = 0 ;
27446 void *argp1 = 0 ;
27447 int res1 = 0 ;
27448 PyObject *swig_obj[1] ;
27449
27450 if (!args) SWIG_fail;
27451 swig_obj[0] = args;
27452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27453 if (!SWIG_IsOK(res1)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27455 }
27456 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27457 {
27458 PyThreadState* __tstate = wxPyBeginAllowThreads();
27459 {
27460 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27461 result = (wxPrintDialogData *) &_result_ref;
27462 }
27463 wxPyEndAllowThreads(__tstate);
27464 if (PyErr_Occurred()) SWIG_fail;
27465 }
27466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27467 return resultobj;
27468 fail:
27469 return NULL;
27470 }
27471
27472
27473 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27474 PyObject *resultobj = 0;
27475 wxPrinter *arg1 = (wxPrinter *) 0 ;
27476 bool result;
27477 void *argp1 = 0 ;
27478 int res1 = 0 ;
27479 PyObject *swig_obj[1] ;
27480
27481 if (!args) SWIG_fail;
27482 swig_obj[0] = args;
27483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27484 if (!SWIG_IsOK(res1)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27486 }
27487 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27488 {
27489 PyThreadState* __tstate = wxPyBeginAllowThreads();
27490 result = (bool)(arg1)->GetAbort();
27491 wxPyEndAllowThreads(__tstate);
27492 if (PyErr_Occurred()) SWIG_fail;
27493 }
27494 {
27495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27496 }
27497 return resultobj;
27498 fail:
27499 return NULL;
27500 }
27501
27502
27503 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27504 PyObject *resultobj = 0;
27505 wxPrinterError result;
27506
27507 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (wxPrinterError)wxPrinter::GetLastError();
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 resultobj = SWIG_From_int(static_cast< int >(result));
27515 return resultobj;
27516 fail:
27517 return NULL;
27518 }
27519
27520
27521 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27522 PyObject *obj;
27523 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27524 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27525 return SWIG_Py_Void();
27526 }
27527
27528 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27529 return SWIG_Python_InitShadowInstance(args);
27530 }
27531
27532 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27533 PyObject *resultobj = 0;
27534 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27535 wxString *arg1 = (wxString *) &arg1_defvalue ;
27536 wxPyPrintout *result = 0 ;
27537 bool temp1 = false ;
27538 PyObject * obj0 = 0 ;
27539 char * kwnames[] = {
27540 (char *) "title", NULL
27541 };
27542
27543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27544 if (obj0) {
27545 {
27546 arg1 = wxString_in_helper(obj0);
27547 if (arg1 == NULL) SWIG_fail;
27548 temp1 = true;
27549 }
27550 }
27551 {
27552 if (!wxPyCheckForApp()) SWIG_fail;
27553 PyThreadState* __tstate = wxPyBeginAllowThreads();
27554 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27555 wxPyEndAllowThreads(__tstate);
27556 if (PyErr_Occurred()) SWIG_fail;
27557 }
27558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27559 {
27560 if (temp1)
27561 delete arg1;
27562 }
27563 return resultobj;
27564 fail:
27565 {
27566 if (temp1)
27567 delete arg1;
27568 }
27569 return NULL;
27570 }
27571
27572
27573 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27574 PyObject *resultobj = 0;
27575 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27576 void *argp1 = 0 ;
27577 int res1 = 0 ;
27578 PyObject *swig_obj[1] ;
27579
27580 if (!args) SWIG_fail;
27581 swig_obj[0] = args;
27582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27583 if (!SWIG_IsOK(res1)) {
27584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27585 }
27586 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27587 {
27588 PyThreadState* __tstate = wxPyBeginAllowThreads();
27589 delete arg1;
27590
27591 wxPyEndAllowThreads(__tstate);
27592 if (PyErr_Occurred()) SWIG_fail;
27593 }
27594 resultobj = SWIG_Py_Void();
27595 return resultobj;
27596 fail:
27597 return NULL;
27598 }
27599
27600
27601 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27602 PyObject *resultobj = 0;
27603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27604 PyObject *arg2 = (PyObject *) 0 ;
27605 PyObject *arg3 = (PyObject *) 0 ;
27606 void *argp1 = 0 ;
27607 int res1 = 0 ;
27608 PyObject * obj0 = 0 ;
27609 PyObject * obj1 = 0 ;
27610 PyObject * obj2 = 0 ;
27611 char * kwnames[] = {
27612 (char *) "self",(char *) "self",(char *) "_class", NULL
27613 };
27614
27615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27617 if (!SWIG_IsOK(res1)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27619 }
27620 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27621 arg2 = obj1;
27622 arg3 = obj2;
27623 {
27624 PyThreadState* __tstate = wxPyBeginAllowThreads();
27625 (arg1)->_setCallbackInfo(arg2,arg3);
27626 wxPyEndAllowThreads(__tstate);
27627 if (PyErr_Occurred()) SWIG_fail;
27628 }
27629 resultobj = SWIG_Py_Void();
27630 return resultobj;
27631 fail:
27632 return NULL;
27633 }
27634
27635
27636 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27637 PyObject *resultobj = 0;
27638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27639 wxString result;
27640 void *argp1 = 0 ;
27641 int res1 = 0 ;
27642 PyObject *swig_obj[1] ;
27643
27644 if (!args) SWIG_fail;
27645 swig_obj[0] = args;
27646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27647 if (!SWIG_IsOK(res1)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27649 }
27650 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 result = ((wxPyPrintout const *)arg1)->GetTitle();
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 {
27658 #if wxUSE_UNICODE
27659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27660 #else
27661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27662 #endif
27663 }
27664 return resultobj;
27665 fail:
27666 return NULL;
27667 }
27668
27669
27670 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27671 PyObject *resultobj = 0;
27672 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27673 wxDC *result = 0 ;
27674 void *argp1 = 0 ;
27675 int res1 = 0 ;
27676 PyObject *swig_obj[1] ;
27677
27678 if (!args) SWIG_fail;
27679 swig_obj[0] = args;
27680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27681 if (!SWIG_IsOK(res1)) {
27682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27683 }
27684 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27685 {
27686 PyThreadState* __tstate = wxPyBeginAllowThreads();
27687 result = (wxDC *)(arg1)->GetDC();
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
27691 {
27692 resultobj = wxPyMake_wxObject(result, (bool)0);
27693 }
27694 return resultobj;
27695 fail:
27696 return NULL;
27697 }
27698
27699
27700 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27701 PyObject *resultobj = 0;
27702 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27703 wxDC *arg2 = (wxDC *) 0 ;
27704 void *argp1 = 0 ;
27705 int res1 = 0 ;
27706 void *argp2 = 0 ;
27707 int res2 = 0 ;
27708 PyObject * obj0 = 0 ;
27709 PyObject * obj1 = 0 ;
27710 char * kwnames[] = {
27711 (char *) "self",(char *) "dc", NULL
27712 };
27713
27714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27716 if (!SWIG_IsOK(res1)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27718 }
27719 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27720 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27721 if (!SWIG_IsOK(res2)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27723 }
27724 arg2 = reinterpret_cast< wxDC * >(argp2);
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 (arg1)->SetDC(arg2);
27728 wxPyEndAllowThreads(__tstate);
27729 if (PyErr_Occurred()) SWIG_fail;
27730 }
27731 resultobj = SWIG_Py_Void();
27732 return resultobj;
27733 fail:
27734 return NULL;
27735 }
27736
27737
27738 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27739 PyObject *resultobj = 0;
27740 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27741 wxSize *arg2 = 0 ;
27742 void *argp1 = 0 ;
27743 int res1 = 0 ;
27744 wxSize temp2 ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char * kwnames[] = {
27748 (char *) "self",(char *) "imageSize", NULL
27749 };
27750
27751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
27752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27753 if (!SWIG_IsOK(res1)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27755 }
27756 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27757 {
27758 arg2 = &temp2;
27759 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27760 }
27761 {
27762 PyThreadState* __tstate = wxPyBeginAllowThreads();
27763 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 resultobj = SWIG_Py_Void();
27768 return resultobj;
27769 fail:
27770 return NULL;
27771 }
27772
27773
27774 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj = 0;
27776 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27777 wxSize *arg2 = 0 ;
27778 void *argp1 = 0 ;
27779 int res1 = 0 ;
27780 wxSize temp2 ;
27781 PyObject * obj0 = 0 ;
27782 PyObject * obj1 = 0 ;
27783 char * kwnames[] = {
27784 (char *) "self",(char *) "imageSize", NULL
27785 };
27786
27787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27789 if (!SWIG_IsOK(res1)) {
27790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27791 }
27792 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27793 {
27794 arg2 = &temp2;
27795 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27796 }
27797 {
27798 PyThreadState* __tstate = wxPyBeginAllowThreads();
27799 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27800 wxPyEndAllowThreads(__tstate);
27801 if (PyErr_Occurred()) SWIG_fail;
27802 }
27803 resultobj = SWIG_Py_Void();
27804 return resultobj;
27805 fail:
27806 return NULL;
27807 }
27808
27809
27810 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj = 0;
27812 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27813 wxSize *arg2 = 0 ;
27814 wxPageSetupDialogData *arg3 = 0 ;
27815 void *argp1 = 0 ;
27816 int res1 = 0 ;
27817 wxSize temp2 ;
27818 void *argp3 = 0 ;
27819 int res3 = 0 ;
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
27822 PyObject * obj2 = 0 ;
27823 char * kwnames[] = {
27824 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27825 };
27826
27827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27829 if (!SWIG_IsOK(res1)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27831 }
27832 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27833 {
27834 arg2 = &temp2;
27835 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27836 }
27837 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27838 if (!SWIG_IsOK(res3)) {
27839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27840 }
27841 if (!argp3) {
27842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27843 }
27844 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
27845 {
27846 PyThreadState* __tstate = wxPyBeginAllowThreads();
27847 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 resultobj = SWIG_Py_Void();
27852 return resultobj;
27853 fail:
27854 return NULL;
27855 }
27856
27857
27858 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27859 PyObject *resultobj = 0;
27860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27861 void *argp1 = 0 ;
27862 int res1 = 0 ;
27863 PyObject *swig_obj[1] ;
27864
27865 if (!args) SWIG_fail;
27866 swig_obj[0] = args;
27867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27868 if (!SWIG_IsOK(res1)) {
27869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27870 }
27871 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 (arg1)->MapScreenSizeToPaper();
27875 wxPyEndAllowThreads(__tstate);
27876 if (PyErr_Occurred()) SWIG_fail;
27877 }
27878 resultobj = SWIG_Py_Void();
27879 return resultobj;
27880 fail:
27881 return NULL;
27882 }
27883
27884
27885 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27886 PyObject *resultobj = 0;
27887 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27888 void *argp1 = 0 ;
27889 int res1 = 0 ;
27890 PyObject *swig_obj[1] ;
27891
27892 if (!args) SWIG_fail;
27893 swig_obj[0] = args;
27894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27895 if (!SWIG_IsOK(res1)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27897 }
27898 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27899 {
27900 PyThreadState* __tstate = wxPyBeginAllowThreads();
27901 (arg1)->MapScreenSizeToPage();
27902 wxPyEndAllowThreads(__tstate);
27903 if (PyErr_Occurred()) SWIG_fail;
27904 }
27905 resultobj = SWIG_Py_Void();
27906 return resultobj;
27907 fail:
27908 return NULL;
27909 }
27910
27911
27912 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27913 PyObject *resultobj = 0;
27914 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27915 wxPageSetupDialogData *arg2 = 0 ;
27916 void *argp1 = 0 ;
27917 int res1 = 0 ;
27918 void *argp2 = 0 ;
27919 int res2 = 0 ;
27920 PyObject * obj0 = 0 ;
27921 PyObject * obj1 = 0 ;
27922 char * kwnames[] = {
27923 (char *) "self",(char *) "pageSetupData", NULL
27924 };
27925
27926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27928 if (!SWIG_IsOK(res1)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27930 }
27931 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27932 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27933 if (!SWIG_IsOK(res2)) {
27934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27935 }
27936 if (!argp2) {
27937 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27938 }
27939 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
27940 {
27941 PyThreadState* __tstate = wxPyBeginAllowThreads();
27942 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
27943 wxPyEndAllowThreads(__tstate);
27944 if (PyErr_Occurred()) SWIG_fail;
27945 }
27946 resultobj = SWIG_Py_Void();
27947 return resultobj;
27948 fail:
27949 return NULL;
27950 }
27951
27952
27953 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27954 PyObject *resultobj = 0;
27955 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27956 void *argp1 = 0 ;
27957 int res1 = 0 ;
27958 PyObject *swig_obj[1] ;
27959
27960 if (!args) SWIG_fail;
27961 swig_obj[0] = args;
27962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27963 if (!SWIG_IsOK(res1)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27965 }
27966 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27967 {
27968 PyThreadState* __tstate = wxPyBeginAllowThreads();
27969 (arg1)->MapScreenSizeToDevice();
27970 wxPyEndAllowThreads(__tstate);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 }
27973 resultobj = SWIG_Py_Void();
27974 return resultobj;
27975 fail:
27976 return NULL;
27977 }
27978
27979
27980 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27981 PyObject *resultobj = 0;
27982 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27983 wxRect result;
27984 void *argp1 = 0 ;
27985 int res1 = 0 ;
27986 PyObject *swig_obj[1] ;
27987
27988 if (!args) SWIG_fail;
27989 swig_obj[0] = args;
27990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27991 if (!SWIG_IsOK(res1)) {
27992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27993 }
27994 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27995 {
27996 PyThreadState* __tstate = wxPyBeginAllowThreads();
27997 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
27998 wxPyEndAllowThreads(__tstate);
27999 if (PyErr_Occurred()) SWIG_fail;
28000 }
28001 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28002 return resultobj;
28003 fail:
28004 return NULL;
28005 }
28006
28007
28008 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28009 PyObject *resultobj = 0;
28010 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28011 wxRect result;
28012 void *argp1 = 0 ;
28013 int res1 = 0 ;
28014 PyObject *swig_obj[1] ;
28015
28016 if (!args) SWIG_fail;
28017 swig_obj[0] = args;
28018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28019 if (!SWIG_IsOK(res1)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28021 }
28022 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28023 {
28024 PyThreadState* __tstate = wxPyBeginAllowThreads();
28025 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28030 return resultobj;
28031 fail:
28032 return NULL;
28033 }
28034
28035
28036 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28037 PyObject *resultobj = 0;
28038 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28039 wxPageSetupDialogData *arg2 = 0 ;
28040 wxRect result;
28041 void *argp1 = 0 ;
28042 int res1 = 0 ;
28043 void *argp2 = 0 ;
28044 int res2 = 0 ;
28045 PyObject * obj0 = 0 ;
28046 PyObject * obj1 = 0 ;
28047 char * kwnames[] = {
28048 (char *) "self",(char *) "pageSetupData", NULL
28049 };
28050
28051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28053 if (!SWIG_IsOK(res1)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28055 }
28056 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28058 if (!SWIG_IsOK(res2)) {
28059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28060 }
28061 if (!argp2) {
28062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28063 }
28064 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28065 {
28066 PyThreadState* __tstate = wxPyBeginAllowThreads();
28067 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28068 wxPyEndAllowThreads(__tstate);
28069 if (PyErr_Occurred()) SWIG_fail;
28070 }
28071 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28072 return resultobj;
28073 fail:
28074 return NULL;
28075 }
28076
28077
28078 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28079 PyObject *resultobj = 0;
28080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28081 int arg2 ;
28082 int arg3 ;
28083 void *argp1 = 0 ;
28084 int res1 = 0 ;
28085 int val2 ;
28086 int ecode2 = 0 ;
28087 int val3 ;
28088 int ecode3 = 0 ;
28089 PyObject * obj0 = 0 ;
28090 PyObject * obj1 = 0 ;
28091 PyObject * obj2 = 0 ;
28092 char * kwnames[] = {
28093 (char *) "self",(char *) "x",(char *) "y", NULL
28094 };
28095
28096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28098 if (!SWIG_IsOK(res1)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28100 }
28101 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28102 ecode2 = SWIG_AsVal_int(obj1, &val2);
28103 if (!SWIG_IsOK(ecode2)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28105 }
28106 arg2 = static_cast< int >(val2);
28107 ecode3 = SWIG_AsVal_int(obj2, &val3);
28108 if (!SWIG_IsOK(ecode3)) {
28109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28110 }
28111 arg3 = static_cast< int >(val3);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 (arg1)->SetLogicalOrigin(arg2,arg3);
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 resultobj = SWIG_Py_Void();
28119 return resultobj;
28120 fail:
28121 return NULL;
28122 }
28123
28124
28125 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28126 PyObject *resultobj = 0;
28127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28128 int arg2 ;
28129 int arg3 ;
28130 void *argp1 = 0 ;
28131 int res1 = 0 ;
28132 int val2 ;
28133 int ecode2 = 0 ;
28134 int val3 ;
28135 int ecode3 = 0 ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 PyObject * obj2 = 0 ;
28139 char * kwnames[] = {
28140 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28141 };
28142
28143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28145 if (!SWIG_IsOK(res1)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28147 }
28148 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28149 ecode2 = SWIG_AsVal_int(obj1, &val2);
28150 if (!SWIG_IsOK(ecode2)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28152 }
28153 arg2 = static_cast< int >(val2);
28154 ecode3 = SWIG_AsVal_int(obj2, &val3);
28155 if (!SWIG_IsOK(ecode3)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28157 }
28158 arg3 = static_cast< int >(val3);
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 resultobj = SWIG_Py_Void();
28166 return resultobj;
28167 fail:
28168 return NULL;
28169 }
28170
28171
28172 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28173 PyObject *resultobj = 0;
28174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28175 int arg2 ;
28176 int arg3 ;
28177 void *argp1 = 0 ;
28178 int res1 = 0 ;
28179 int val2 ;
28180 int ecode2 = 0 ;
28181 int val3 ;
28182 int ecode3 = 0 ;
28183 PyObject * obj0 = 0 ;
28184 PyObject * obj1 = 0 ;
28185 PyObject * obj2 = 0 ;
28186 char * kwnames[] = {
28187 (char *) "self",(char *) "w",(char *) "h", NULL
28188 };
28189
28190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28192 if (!SWIG_IsOK(res1)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28194 }
28195 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28196 ecode2 = SWIG_AsVal_int(obj1, &val2);
28197 if (!SWIG_IsOK(ecode2)) {
28198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28199 }
28200 arg2 = static_cast< int >(val2);
28201 ecode3 = SWIG_AsVal_int(obj2, &val3);
28202 if (!SWIG_IsOK(ecode3)) {
28203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28204 }
28205 arg3 = static_cast< int >(val3);
28206 {
28207 PyThreadState* __tstate = wxPyBeginAllowThreads();
28208 (arg1)->SetPageSizePixels(arg2,arg3);
28209 wxPyEndAllowThreads(__tstate);
28210 if (PyErr_Occurred()) SWIG_fail;
28211 }
28212 resultobj = SWIG_Py_Void();
28213 return resultobj;
28214 fail:
28215 return NULL;
28216 }
28217
28218
28219 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28220 PyObject *resultobj = 0;
28221 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28222 int *arg2 = (int *) 0 ;
28223 int *arg3 = (int *) 0 ;
28224 void *argp1 = 0 ;
28225 int res1 = 0 ;
28226 int temp2 ;
28227 int res2 = SWIG_TMPOBJ ;
28228 int temp3 ;
28229 int res3 = SWIG_TMPOBJ ;
28230 PyObject *swig_obj[1] ;
28231
28232 arg2 = &temp2;
28233 arg3 = &temp3;
28234 if (!args) SWIG_fail;
28235 swig_obj[0] = args;
28236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28237 if (!SWIG_IsOK(res1)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28239 }
28240 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 (arg1)->GetPageSizePixels(arg2,arg3);
28244 wxPyEndAllowThreads(__tstate);
28245 if (PyErr_Occurred()) SWIG_fail;
28246 }
28247 resultobj = SWIG_Py_Void();
28248 if (SWIG_IsTmpObj(res2)) {
28249 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28250 } else {
28251 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28253 }
28254 if (SWIG_IsTmpObj(res3)) {
28255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28256 } else {
28257 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28259 }
28260 return resultobj;
28261 fail:
28262 return NULL;
28263 }
28264
28265
28266 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28267 PyObject *resultobj = 0;
28268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28269 int arg2 ;
28270 int arg3 ;
28271 void *argp1 = 0 ;
28272 int res1 = 0 ;
28273 int val2 ;
28274 int ecode2 = 0 ;
28275 int val3 ;
28276 int ecode3 = 0 ;
28277 PyObject * obj0 = 0 ;
28278 PyObject * obj1 = 0 ;
28279 PyObject * obj2 = 0 ;
28280 char * kwnames[] = {
28281 (char *) "self",(char *) "w",(char *) "h", NULL
28282 };
28283
28284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28286 if (!SWIG_IsOK(res1)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28288 }
28289 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28290 ecode2 = SWIG_AsVal_int(obj1, &val2);
28291 if (!SWIG_IsOK(ecode2)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28293 }
28294 arg2 = static_cast< int >(val2);
28295 ecode3 = SWIG_AsVal_int(obj2, &val3);
28296 if (!SWIG_IsOK(ecode3)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28298 }
28299 arg3 = static_cast< int >(val3);
28300 {
28301 PyThreadState* __tstate = wxPyBeginAllowThreads();
28302 (arg1)->SetPageSizeMM(arg2,arg3);
28303 wxPyEndAllowThreads(__tstate);
28304 if (PyErr_Occurred()) SWIG_fail;
28305 }
28306 resultobj = SWIG_Py_Void();
28307 return resultobj;
28308 fail:
28309 return NULL;
28310 }
28311
28312
28313 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28314 PyObject *resultobj = 0;
28315 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28316 int *arg2 = (int *) 0 ;
28317 int *arg3 = (int *) 0 ;
28318 void *argp1 = 0 ;
28319 int res1 = 0 ;
28320 int temp2 ;
28321 int res2 = SWIG_TMPOBJ ;
28322 int temp3 ;
28323 int res3 = SWIG_TMPOBJ ;
28324 PyObject *swig_obj[1] ;
28325
28326 arg2 = &temp2;
28327 arg3 = &temp3;
28328 if (!args) SWIG_fail;
28329 swig_obj[0] = args;
28330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28331 if (!SWIG_IsOK(res1)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28333 }
28334 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28335 {
28336 PyThreadState* __tstate = wxPyBeginAllowThreads();
28337 (arg1)->GetPageSizeMM(arg2,arg3);
28338 wxPyEndAllowThreads(__tstate);
28339 if (PyErr_Occurred()) SWIG_fail;
28340 }
28341 resultobj = SWIG_Py_Void();
28342 if (SWIG_IsTmpObj(res2)) {
28343 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28344 } else {
28345 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28346 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28347 }
28348 if (SWIG_IsTmpObj(res3)) {
28349 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28350 } else {
28351 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28353 }
28354 return resultobj;
28355 fail:
28356 return NULL;
28357 }
28358
28359
28360 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28361 PyObject *resultobj = 0;
28362 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28363 int arg2 ;
28364 int arg3 ;
28365 void *argp1 = 0 ;
28366 int res1 = 0 ;
28367 int val2 ;
28368 int ecode2 = 0 ;
28369 int val3 ;
28370 int ecode3 = 0 ;
28371 PyObject * obj0 = 0 ;
28372 PyObject * obj1 = 0 ;
28373 PyObject * obj2 = 0 ;
28374 char * kwnames[] = {
28375 (char *) "self",(char *) "x",(char *) "y", NULL
28376 };
28377
28378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 }
28383 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28384 ecode2 = SWIG_AsVal_int(obj1, &val2);
28385 if (!SWIG_IsOK(ecode2)) {
28386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28387 }
28388 arg2 = static_cast< int >(val2);
28389 ecode3 = SWIG_AsVal_int(obj2, &val3);
28390 if (!SWIG_IsOK(ecode3)) {
28391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28392 }
28393 arg3 = static_cast< int >(val3);
28394 {
28395 PyThreadState* __tstate = wxPyBeginAllowThreads();
28396 (arg1)->SetPPIScreen(arg2,arg3);
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 resultobj = SWIG_Py_Void();
28401 return resultobj;
28402 fail:
28403 return NULL;
28404 }
28405
28406
28407 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28408 PyObject *resultobj = 0;
28409 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28410 int *arg2 = (int *) 0 ;
28411 int *arg3 = (int *) 0 ;
28412 void *argp1 = 0 ;
28413 int res1 = 0 ;
28414 int temp2 ;
28415 int res2 = SWIG_TMPOBJ ;
28416 int temp3 ;
28417 int res3 = SWIG_TMPOBJ ;
28418 PyObject *swig_obj[1] ;
28419
28420 arg2 = &temp2;
28421 arg3 = &temp3;
28422 if (!args) SWIG_fail;
28423 swig_obj[0] = args;
28424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28425 if (!SWIG_IsOK(res1)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28427 }
28428 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28429 {
28430 PyThreadState* __tstate = wxPyBeginAllowThreads();
28431 (arg1)->GetPPIScreen(arg2,arg3);
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 resultobj = SWIG_Py_Void();
28436 if (SWIG_IsTmpObj(res2)) {
28437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28438 } else {
28439 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28441 }
28442 if (SWIG_IsTmpObj(res3)) {
28443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28444 } else {
28445 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28446 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28447 }
28448 return resultobj;
28449 fail:
28450 return NULL;
28451 }
28452
28453
28454 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28455 PyObject *resultobj = 0;
28456 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28457 int arg2 ;
28458 int arg3 ;
28459 void *argp1 = 0 ;
28460 int res1 = 0 ;
28461 int val2 ;
28462 int ecode2 = 0 ;
28463 int val3 ;
28464 int ecode3 = 0 ;
28465 PyObject * obj0 = 0 ;
28466 PyObject * obj1 = 0 ;
28467 PyObject * obj2 = 0 ;
28468 char * kwnames[] = {
28469 (char *) "self",(char *) "x",(char *) "y", NULL
28470 };
28471
28472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28476 }
28477 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28478 ecode2 = SWIG_AsVal_int(obj1, &val2);
28479 if (!SWIG_IsOK(ecode2)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28481 }
28482 arg2 = static_cast< int >(val2);
28483 ecode3 = SWIG_AsVal_int(obj2, &val3);
28484 if (!SWIG_IsOK(ecode3)) {
28485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28486 }
28487 arg3 = static_cast< int >(val3);
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 (arg1)->SetPPIPrinter(arg2,arg3);
28491 wxPyEndAllowThreads(__tstate);
28492 if (PyErr_Occurred()) SWIG_fail;
28493 }
28494 resultobj = SWIG_Py_Void();
28495 return resultobj;
28496 fail:
28497 return NULL;
28498 }
28499
28500
28501 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28502 PyObject *resultobj = 0;
28503 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28504 int *arg2 = (int *) 0 ;
28505 int *arg3 = (int *) 0 ;
28506 void *argp1 = 0 ;
28507 int res1 = 0 ;
28508 int temp2 ;
28509 int res2 = SWIG_TMPOBJ ;
28510 int temp3 ;
28511 int res3 = SWIG_TMPOBJ ;
28512 PyObject *swig_obj[1] ;
28513
28514 arg2 = &temp2;
28515 arg3 = &temp3;
28516 if (!args) SWIG_fail;
28517 swig_obj[0] = args;
28518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28519 if (!SWIG_IsOK(res1)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28521 }
28522 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 (arg1)->GetPPIPrinter(arg2,arg3);
28526 wxPyEndAllowThreads(__tstate);
28527 if (PyErr_Occurred()) SWIG_fail;
28528 }
28529 resultobj = SWIG_Py_Void();
28530 if (SWIG_IsTmpObj(res2)) {
28531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28532 } else {
28533 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28535 }
28536 if (SWIG_IsTmpObj(res3)) {
28537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28538 } else {
28539 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28541 }
28542 return resultobj;
28543 fail:
28544 return NULL;
28545 }
28546
28547
28548 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28549 PyObject *resultobj = 0;
28550 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28551 wxRect *arg2 = 0 ;
28552 void *argp1 = 0 ;
28553 int res1 = 0 ;
28554 wxRect temp2 ;
28555 PyObject * obj0 = 0 ;
28556 PyObject * obj1 = 0 ;
28557 char * kwnames[] = {
28558 (char *) "self",(char *) "paperRectPixels", NULL
28559 };
28560
28561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28563 if (!SWIG_IsOK(res1)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28565 }
28566 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28567 {
28568 arg2 = &temp2;
28569 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28570 }
28571 {
28572 PyThreadState* __tstate = wxPyBeginAllowThreads();
28573 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28574 wxPyEndAllowThreads(__tstate);
28575 if (PyErr_Occurred()) SWIG_fail;
28576 }
28577 resultobj = SWIG_Py_Void();
28578 return resultobj;
28579 fail:
28580 return NULL;
28581 }
28582
28583
28584 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28585 PyObject *resultobj = 0;
28586 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28587 wxRect result;
28588 void *argp1 = 0 ;
28589 int res1 = 0 ;
28590 PyObject *swig_obj[1] ;
28591
28592 if (!args) SWIG_fail;
28593 swig_obj[0] = args;
28594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28595 if (!SWIG_IsOK(res1)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28597 }
28598 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28599 {
28600 PyThreadState* __tstate = wxPyBeginAllowThreads();
28601 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28602 wxPyEndAllowThreads(__tstate);
28603 if (PyErr_Occurred()) SWIG_fail;
28604 }
28605 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28606 return resultobj;
28607 fail:
28608 return NULL;
28609 }
28610
28611
28612 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28613 PyObject *resultobj = 0;
28614 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28615 bool result;
28616 void *argp1 = 0 ;
28617 int res1 = 0 ;
28618 PyObject *swig_obj[1] ;
28619
28620 if (!args) SWIG_fail;
28621 swig_obj[0] = args;
28622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28623 if (!SWIG_IsOK(res1)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28625 }
28626 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28627 {
28628 PyThreadState* __tstate = wxPyBeginAllowThreads();
28629 result = (bool)(arg1)->IsPreview();
28630 wxPyEndAllowThreads(__tstate);
28631 if (PyErr_Occurred()) SWIG_fail;
28632 }
28633 {
28634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28635 }
28636 return resultobj;
28637 fail:
28638 return NULL;
28639 }
28640
28641
28642 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28643 PyObject *resultobj = 0;
28644 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28645 bool arg2 ;
28646 void *argp1 = 0 ;
28647 int res1 = 0 ;
28648 bool val2 ;
28649 int ecode2 = 0 ;
28650 PyObject * obj0 = 0 ;
28651 PyObject * obj1 = 0 ;
28652 char * kwnames[] = {
28653 (char *) "self",(char *) "p", NULL
28654 };
28655
28656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28658 if (!SWIG_IsOK(res1)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28660 }
28661 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28662 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28663 if (!SWIG_IsOK(ecode2)) {
28664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28665 }
28666 arg2 = static_cast< bool >(val2);
28667 {
28668 PyThreadState* __tstate = wxPyBeginAllowThreads();
28669 (arg1)->SetIsPreview(arg2);
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 resultobj = SWIG_Py_Void();
28674 return resultobj;
28675 fail:
28676 return NULL;
28677 }
28678
28679
28680 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28681 PyObject *resultobj = 0;
28682 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28683 int arg2 ;
28684 int arg3 ;
28685 bool result;
28686 void *argp1 = 0 ;
28687 int res1 = 0 ;
28688 int val2 ;
28689 int ecode2 = 0 ;
28690 int val3 ;
28691 int ecode3 = 0 ;
28692 PyObject * obj0 = 0 ;
28693 PyObject * obj1 = 0 ;
28694 PyObject * obj2 = 0 ;
28695 char * kwnames[] = {
28696 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28697 };
28698
28699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28701 if (!SWIG_IsOK(res1)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28703 }
28704 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28705 ecode2 = SWIG_AsVal_int(obj1, &val2);
28706 if (!SWIG_IsOK(ecode2)) {
28707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28708 }
28709 arg2 = static_cast< int >(val2);
28710 ecode3 = SWIG_AsVal_int(obj2, &val3);
28711 if (!SWIG_IsOK(ecode3)) {
28712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28713 }
28714 arg3 = static_cast< int >(val3);
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28718 wxPyEndAllowThreads(__tstate);
28719 if (PyErr_Occurred()) SWIG_fail;
28720 }
28721 {
28722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28723 }
28724 return resultobj;
28725 fail:
28726 return NULL;
28727 }
28728
28729
28730 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28731 PyObject *resultobj = 0;
28732 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28733 void *argp1 = 0 ;
28734 int res1 = 0 ;
28735 PyObject *swig_obj[1] ;
28736
28737 if (!args) SWIG_fail;
28738 swig_obj[0] = args;
28739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28740 if (!SWIG_IsOK(res1)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28742 }
28743 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28744 {
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 (arg1)->OnEndDocument();
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
28750 resultobj = SWIG_Py_Void();
28751 return resultobj;
28752 fail:
28753 return NULL;
28754 }
28755
28756
28757 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28758 PyObject *resultobj = 0;
28759 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28760 void *argp1 = 0 ;
28761 int res1 = 0 ;
28762 PyObject *swig_obj[1] ;
28763
28764 if (!args) SWIG_fail;
28765 swig_obj[0] = args;
28766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28767 if (!SWIG_IsOK(res1)) {
28768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28769 }
28770 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28771 {
28772 PyThreadState* __tstate = wxPyBeginAllowThreads();
28773 (arg1)->OnBeginPrinting();
28774 wxPyEndAllowThreads(__tstate);
28775 if (PyErr_Occurred()) SWIG_fail;
28776 }
28777 resultobj = SWIG_Py_Void();
28778 return resultobj;
28779 fail:
28780 return NULL;
28781 }
28782
28783
28784 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28785 PyObject *resultobj = 0;
28786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28787 void *argp1 = 0 ;
28788 int res1 = 0 ;
28789 PyObject *swig_obj[1] ;
28790
28791 if (!args) SWIG_fail;
28792 swig_obj[0] = args;
28793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28794 if (!SWIG_IsOK(res1)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28796 }
28797 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28798 {
28799 PyThreadState* __tstate = wxPyBeginAllowThreads();
28800 (arg1)->OnEndPrinting();
28801 wxPyEndAllowThreads(__tstate);
28802 if (PyErr_Occurred()) SWIG_fail;
28803 }
28804 resultobj = SWIG_Py_Void();
28805 return resultobj;
28806 fail:
28807 return NULL;
28808 }
28809
28810
28811 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28812 PyObject *resultobj = 0;
28813 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28814 void *argp1 = 0 ;
28815 int res1 = 0 ;
28816 PyObject *swig_obj[1] ;
28817
28818 if (!args) SWIG_fail;
28819 swig_obj[0] = args;
28820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28821 if (!SWIG_IsOK(res1)) {
28822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28823 }
28824 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28825 {
28826 PyThreadState* __tstate = wxPyBeginAllowThreads();
28827 (arg1)->OnPreparePrinting();
28828 wxPyEndAllowThreads(__tstate);
28829 if (PyErr_Occurred()) SWIG_fail;
28830 }
28831 resultobj = SWIG_Py_Void();
28832 return resultobj;
28833 fail:
28834 return NULL;
28835 }
28836
28837
28838 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28839 PyObject *resultobj = 0;
28840 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28841 int arg2 ;
28842 bool result;
28843 void *argp1 = 0 ;
28844 int res1 = 0 ;
28845 int val2 ;
28846 int ecode2 = 0 ;
28847 PyObject * obj0 = 0 ;
28848 PyObject * obj1 = 0 ;
28849 char * kwnames[] = {
28850 (char *) "self",(char *) "page", NULL
28851 };
28852
28853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28855 if (!SWIG_IsOK(res1)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28857 }
28858 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28859 ecode2 = SWIG_AsVal_int(obj1, &val2);
28860 if (!SWIG_IsOK(ecode2)) {
28861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28862 }
28863 arg2 = static_cast< int >(val2);
28864 {
28865 PyThreadState* __tstate = wxPyBeginAllowThreads();
28866 result = (bool)(arg1)->HasPage(arg2);
28867 wxPyEndAllowThreads(__tstate);
28868 if (PyErr_Occurred()) SWIG_fail;
28869 }
28870 {
28871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28872 }
28873 return resultobj;
28874 fail:
28875 return NULL;
28876 }
28877
28878
28879 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28880 PyObject *resultobj = 0;
28881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28882 int *arg2 = (int *) 0 ;
28883 int *arg3 = (int *) 0 ;
28884 int *arg4 = (int *) 0 ;
28885 int *arg5 = (int *) 0 ;
28886 void *argp1 = 0 ;
28887 int res1 = 0 ;
28888 int temp2 ;
28889 int res2 = SWIG_TMPOBJ ;
28890 int temp3 ;
28891 int res3 = SWIG_TMPOBJ ;
28892 int temp4 ;
28893 int res4 = SWIG_TMPOBJ ;
28894 int temp5 ;
28895 int res5 = SWIG_TMPOBJ ;
28896 PyObject *swig_obj[1] ;
28897
28898 arg2 = &temp2;
28899 arg3 = &temp3;
28900 arg4 = &temp4;
28901 arg5 = &temp5;
28902 if (!args) SWIG_fail;
28903 swig_obj[0] = args;
28904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28905 if (!SWIG_IsOK(res1)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28907 }
28908 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28909 {
28910 PyThreadState* __tstate = wxPyBeginAllowThreads();
28911 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28912 wxPyEndAllowThreads(__tstate);
28913 if (PyErr_Occurred()) SWIG_fail;
28914 }
28915 resultobj = SWIG_Py_Void();
28916 if (SWIG_IsTmpObj(res2)) {
28917 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28918 } else {
28919 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28920 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28921 }
28922 if (SWIG_IsTmpObj(res3)) {
28923 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28924 } else {
28925 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28926 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28927 }
28928 if (SWIG_IsTmpObj(res4)) {
28929 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28930 } else {
28931 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28933 }
28934 if (SWIG_IsTmpObj(res5)) {
28935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28936 } else {
28937 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28939 }
28940 return resultobj;
28941 fail:
28942 return NULL;
28943 }
28944
28945
28946 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28947 PyObject *obj;
28948 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28950 return SWIG_Py_Void();
28951 }
28952
28953 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28954 return SWIG_Python_InitShadowInstance(args);
28955 }
28956
28957 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28958 PyObject *resultobj = 0;
28959 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28960 wxWindow *arg2 = (wxWindow *) 0 ;
28961 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28962 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28963 wxSize const &arg4_defvalue = wxDefaultSize ;
28964 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28965 long arg5 = (long) 0 ;
28966 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28967 wxString *arg6 = (wxString *) &arg6_defvalue ;
28968 wxPreviewCanvas *result = 0 ;
28969 void *argp1 = 0 ;
28970 int res1 = 0 ;
28971 void *argp2 = 0 ;
28972 int res2 = 0 ;
28973 wxPoint temp3 ;
28974 wxSize temp4 ;
28975 long val5 ;
28976 int ecode5 = 0 ;
28977 bool temp6 = false ;
28978 PyObject * obj0 = 0 ;
28979 PyObject * obj1 = 0 ;
28980 PyObject * obj2 = 0 ;
28981 PyObject * obj3 = 0 ;
28982 PyObject * obj4 = 0 ;
28983 PyObject * obj5 = 0 ;
28984 char * kwnames[] = {
28985 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28986 };
28987
28988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28990 if (!SWIG_IsOK(res1)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28992 }
28993 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28995 if (!SWIG_IsOK(res2)) {
28996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28997 }
28998 arg2 = reinterpret_cast< wxWindow * >(argp2);
28999 if (obj2) {
29000 {
29001 arg3 = &temp3;
29002 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29003 }
29004 }
29005 if (obj3) {
29006 {
29007 arg4 = &temp4;
29008 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29009 }
29010 }
29011 if (obj4) {
29012 ecode5 = SWIG_AsVal_long(obj4, &val5);
29013 if (!SWIG_IsOK(ecode5)) {
29014 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29015 }
29016 arg5 = static_cast< long >(val5);
29017 }
29018 if (obj5) {
29019 {
29020 arg6 = wxString_in_helper(obj5);
29021 if (arg6 == NULL) SWIG_fail;
29022 temp6 = true;
29023 }
29024 }
29025 {
29026 if (!wxPyCheckForApp()) SWIG_fail;
29027 PyThreadState* __tstate = wxPyBeginAllowThreads();
29028 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29029 wxPyEndAllowThreads(__tstate);
29030 if (PyErr_Occurred()) SWIG_fail;
29031 }
29032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29033 {
29034 if (temp6)
29035 delete arg6;
29036 }
29037 return resultobj;
29038 fail:
29039 {
29040 if (temp6)
29041 delete arg6;
29042 }
29043 return NULL;
29044 }
29045
29046
29047 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29048 PyObject *obj;
29049 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29051 return SWIG_Py_Void();
29052 }
29053
29054 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29055 return SWIG_Python_InitShadowInstance(args);
29056 }
29057
29058 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29059 PyObject *resultobj = 0;
29060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29061 wxFrame *arg2 = (wxFrame *) 0 ;
29062 wxString *arg3 = 0 ;
29063 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29064 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29065 wxSize const &arg5_defvalue = wxDefaultSize ;
29066 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29067 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29068 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29069 wxString *arg7 = (wxString *) &arg7_defvalue ;
29070 wxPreviewFrame *result = 0 ;
29071 int res1 = 0 ;
29072 void *argp2 = 0 ;
29073 int res2 = 0 ;
29074 bool temp3 = false ;
29075 wxPoint temp4 ;
29076 wxSize temp5 ;
29077 long val6 ;
29078 int ecode6 = 0 ;
29079 bool temp7 = false ;
29080 PyObject * obj0 = 0 ;
29081 PyObject * obj1 = 0 ;
29082 PyObject * obj2 = 0 ;
29083 PyObject * obj3 = 0 ;
29084 PyObject * obj4 = 0 ;
29085 PyObject * obj5 = 0 ;
29086 PyObject * obj6 = 0 ;
29087 char * kwnames[] = {
29088 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29089 };
29090
29091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29092 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29093 if (!SWIG_IsOK(res1)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29095 }
29096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29097 if (!SWIG_IsOK(res2)) {
29098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29099 }
29100 arg2 = reinterpret_cast< wxFrame * >(argp2);
29101 {
29102 arg3 = wxString_in_helper(obj2);
29103 if (arg3 == NULL) SWIG_fail;
29104 temp3 = true;
29105 }
29106 if (obj3) {
29107 {
29108 arg4 = &temp4;
29109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29110 }
29111 }
29112 if (obj4) {
29113 {
29114 arg5 = &temp5;
29115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29116 }
29117 }
29118 if (obj5) {
29119 ecode6 = SWIG_AsVal_long(obj5, &val6);
29120 if (!SWIG_IsOK(ecode6)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29122 }
29123 arg6 = static_cast< long >(val6);
29124 }
29125 if (obj6) {
29126 {
29127 arg7 = wxString_in_helper(obj6);
29128 if (arg7 == NULL) SWIG_fail;
29129 temp7 = true;
29130 }
29131 }
29132 {
29133 if (!wxPyCheckForApp()) SWIG_fail;
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29136 wxPyEndAllowThreads(__tstate);
29137 if (PyErr_Occurred()) SWIG_fail;
29138 }
29139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29140 {
29141 if (temp3)
29142 delete arg3;
29143 }
29144 {
29145 if (temp7)
29146 delete arg7;
29147 }
29148 return resultobj;
29149 fail:
29150 {
29151 if (temp3)
29152 delete arg3;
29153 }
29154 {
29155 if (temp7)
29156 delete arg7;
29157 }
29158 return NULL;
29159 }
29160
29161
29162 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29163 PyObject *resultobj = 0;
29164 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29165 void *argp1 = 0 ;
29166 int res1 = 0 ;
29167 PyObject *swig_obj[1] ;
29168
29169 if (!args) SWIG_fail;
29170 swig_obj[0] = args;
29171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29172 if (!SWIG_IsOK(res1)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29174 }
29175 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29176 {
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 (arg1)->Initialize();
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 resultobj = SWIG_Py_Void();
29183 return resultobj;
29184 fail:
29185 return NULL;
29186 }
29187
29188
29189 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29190 PyObject *resultobj = 0;
29191 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29192 void *argp1 = 0 ;
29193 int res1 = 0 ;
29194 PyObject *swig_obj[1] ;
29195
29196 if (!args) SWIG_fail;
29197 swig_obj[0] = args;
29198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29199 if (!SWIG_IsOK(res1)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29201 }
29202 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 (arg1)->CreateControlBar();
29206 wxPyEndAllowThreads(__tstate);
29207 if (PyErr_Occurred()) SWIG_fail;
29208 }
29209 resultobj = SWIG_Py_Void();
29210 return resultobj;
29211 fail:
29212 return NULL;
29213 }
29214
29215
29216 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29217 PyObject *resultobj = 0;
29218 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29219 void *argp1 = 0 ;
29220 int res1 = 0 ;
29221 PyObject *swig_obj[1] ;
29222
29223 if (!args) SWIG_fail;
29224 swig_obj[0] = args;
29225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29226 if (!SWIG_IsOK(res1)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29228 }
29229 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 (arg1)->CreateCanvas();
29233 wxPyEndAllowThreads(__tstate);
29234 if (PyErr_Occurred()) SWIG_fail;
29235 }
29236 resultobj = SWIG_Py_Void();
29237 return resultobj;
29238 fail:
29239 return NULL;
29240 }
29241
29242
29243 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29244 PyObject *resultobj = 0;
29245 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29246 wxPreviewControlBar *result = 0 ;
29247 void *argp1 = 0 ;
29248 int res1 = 0 ;
29249 PyObject *swig_obj[1] ;
29250
29251 if (!args) SWIG_fail;
29252 swig_obj[0] = args;
29253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29254 if (!SWIG_IsOK(res1)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29256 }
29257 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
29260 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29265 return resultobj;
29266 fail:
29267 return NULL;
29268 }
29269
29270
29271 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29272 PyObject *obj;
29273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29275 return SWIG_Py_Void();
29276 }
29277
29278 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29279 return SWIG_Python_InitShadowInstance(args);
29280 }
29281
29282 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29283 PyObject *resultobj = 0;
29284 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29285 long arg2 ;
29286 wxWindow *arg3 = (wxWindow *) 0 ;
29287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29289 wxSize const &arg5_defvalue = wxDefaultSize ;
29290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29291 long arg6 = (long) wxTAB_TRAVERSAL ;
29292 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29293 wxString *arg7 = (wxString *) &arg7_defvalue ;
29294 wxPreviewControlBar *result = 0 ;
29295 void *argp1 = 0 ;
29296 int res1 = 0 ;
29297 long val2 ;
29298 int ecode2 = 0 ;
29299 void *argp3 = 0 ;
29300 int res3 = 0 ;
29301 wxPoint temp4 ;
29302 wxSize temp5 ;
29303 long val6 ;
29304 int ecode6 = 0 ;
29305 bool temp7 = false ;
29306 PyObject * obj0 = 0 ;
29307 PyObject * obj1 = 0 ;
29308 PyObject * obj2 = 0 ;
29309 PyObject * obj3 = 0 ;
29310 PyObject * obj4 = 0 ;
29311 PyObject * obj5 = 0 ;
29312 PyObject * obj6 = 0 ;
29313 char * kwnames[] = {
29314 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29315 };
29316
29317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29319 if (!SWIG_IsOK(res1)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29321 }
29322 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29323 ecode2 = SWIG_AsVal_long(obj1, &val2);
29324 if (!SWIG_IsOK(ecode2)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29326 }
29327 arg2 = static_cast< long >(val2);
29328 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29329 if (!SWIG_IsOK(res3)) {
29330 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29331 }
29332 arg3 = reinterpret_cast< wxWindow * >(argp3);
29333 if (obj3) {
29334 {
29335 arg4 = &temp4;
29336 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29337 }
29338 }
29339 if (obj4) {
29340 {
29341 arg5 = &temp5;
29342 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29343 }
29344 }
29345 if (obj5) {
29346 ecode6 = SWIG_AsVal_long(obj5, &val6);
29347 if (!SWIG_IsOK(ecode6)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29349 }
29350 arg6 = static_cast< long >(val6);
29351 }
29352 if (obj6) {
29353 {
29354 arg7 = wxString_in_helper(obj6);
29355 if (arg7 == NULL) SWIG_fail;
29356 temp7 = true;
29357 }
29358 }
29359 {
29360 if (!wxPyCheckForApp()) SWIG_fail;
29361 PyThreadState* __tstate = wxPyBeginAllowThreads();
29362 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29363 wxPyEndAllowThreads(__tstate);
29364 if (PyErr_Occurred()) SWIG_fail;
29365 }
29366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29367 {
29368 if (temp7)
29369 delete arg7;
29370 }
29371 return resultobj;
29372 fail:
29373 {
29374 if (temp7)
29375 delete arg7;
29376 }
29377 return NULL;
29378 }
29379
29380
29381 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29382 PyObject *resultobj = 0;
29383 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29384 int result;
29385 void *argp1 = 0 ;
29386 int res1 = 0 ;
29387 PyObject *swig_obj[1] ;
29388
29389 if (!args) SWIG_fail;
29390 swig_obj[0] = args;
29391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29392 if (!SWIG_IsOK(res1)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29394 }
29395 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29396 {
29397 PyThreadState* __tstate = wxPyBeginAllowThreads();
29398 result = (int)(arg1)->GetZoomControl();
29399 wxPyEndAllowThreads(__tstate);
29400 if (PyErr_Occurred()) SWIG_fail;
29401 }
29402 resultobj = SWIG_From_int(static_cast< int >(result));
29403 return resultobj;
29404 fail:
29405 return NULL;
29406 }
29407
29408
29409 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29410 PyObject *resultobj = 0;
29411 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29412 int arg2 ;
29413 void *argp1 = 0 ;
29414 int res1 = 0 ;
29415 int val2 ;
29416 int ecode2 = 0 ;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 char * kwnames[] = {
29420 (char *) "self",(char *) "zoom", NULL
29421 };
29422
29423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29425 if (!SWIG_IsOK(res1)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29427 }
29428 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29429 ecode2 = SWIG_AsVal_int(obj1, &val2);
29430 if (!SWIG_IsOK(ecode2)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29432 }
29433 arg2 = static_cast< int >(val2);
29434 {
29435 PyThreadState* __tstate = wxPyBeginAllowThreads();
29436 (arg1)->SetZoomControl(arg2);
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 resultobj = SWIG_Py_Void();
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29448 PyObject *resultobj = 0;
29449 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29450 wxPrintPreview *result = 0 ;
29451 void *argp1 = 0 ;
29452 int res1 = 0 ;
29453 PyObject *swig_obj[1] ;
29454
29455 if (!args) SWIG_fail;
29456 swig_obj[0] = args;
29457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29458 if (!SWIG_IsOK(res1)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29460 }
29461 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29462 {
29463 PyThreadState* __tstate = wxPyBeginAllowThreads();
29464 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29465 wxPyEndAllowThreads(__tstate);
29466 if (PyErr_Occurred()) SWIG_fail;
29467 }
29468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29469 return resultobj;
29470 fail:
29471 return NULL;
29472 }
29473
29474
29475 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29476 PyObject *resultobj = 0;
29477 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29478 void *argp1 = 0 ;
29479 int res1 = 0 ;
29480 PyObject *swig_obj[1] ;
29481
29482 if (!args) SWIG_fail;
29483 swig_obj[0] = args;
29484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29485 if (!SWIG_IsOK(res1)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29487 }
29488 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 (arg1)->OnNext();
29492 wxPyEndAllowThreads(__tstate);
29493 if (PyErr_Occurred()) SWIG_fail;
29494 }
29495 resultobj = SWIG_Py_Void();
29496 return resultobj;
29497 fail:
29498 return NULL;
29499 }
29500
29501
29502 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29503 PyObject *resultobj = 0;
29504 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29505 void *argp1 = 0 ;
29506 int res1 = 0 ;
29507 PyObject *swig_obj[1] ;
29508
29509 if (!args) SWIG_fail;
29510 swig_obj[0] = args;
29511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29512 if (!SWIG_IsOK(res1)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29514 }
29515 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29516 {
29517 PyThreadState* __tstate = wxPyBeginAllowThreads();
29518 (arg1)->OnPrevious();
29519 wxPyEndAllowThreads(__tstate);
29520 if (PyErr_Occurred()) SWIG_fail;
29521 }
29522 resultobj = SWIG_Py_Void();
29523 return resultobj;
29524 fail:
29525 return NULL;
29526 }
29527
29528
29529 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29530 PyObject *resultobj = 0;
29531 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29532 void *argp1 = 0 ;
29533 int res1 = 0 ;
29534 PyObject *swig_obj[1] ;
29535
29536 if (!args) SWIG_fail;
29537 swig_obj[0] = args;
29538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29539 if (!SWIG_IsOK(res1)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29541 }
29542 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
29545 (arg1)->OnFirst();
29546 wxPyEndAllowThreads(__tstate);
29547 if (PyErr_Occurred()) SWIG_fail;
29548 }
29549 resultobj = SWIG_Py_Void();
29550 return resultobj;
29551 fail:
29552 return NULL;
29553 }
29554
29555
29556 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29557 PyObject *resultobj = 0;
29558 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29559 void *argp1 = 0 ;
29560 int res1 = 0 ;
29561 PyObject *swig_obj[1] ;
29562
29563 if (!args) SWIG_fail;
29564 swig_obj[0] = args;
29565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29566 if (!SWIG_IsOK(res1)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29568 }
29569 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 (arg1)->OnLast();
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = SWIG_Py_Void();
29577 return resultobj;
29578 fail:
29579 return NULL;
29580 }
29581
29582
29583 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 PyObject *resultobj = 0;
29585 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29586 void *argp1 = 0 ;
29587 int res1 = 0 ;
29588 PyObject *swig_obj[1] ;
29589
29590 if (!args) SWIG_fail;
29591 swig_obj[0] = args;
29592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29593 if (!SWIG_IsOK(res1)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29595 }
29596 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 (arg1)->OnGoto();
29600 wxPyEndAllowThreads(__tstate);
29601 if (PyErr_Occurred()) SWIG_fail;
29602 }
29603 resultobj = SWIG_Py_Void();
29604 return resultobj;
29605 fail:
29606 return NULL;
29607 }
29608
29609
29610 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29611 PyObject *obj;
29612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29613 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29614 return SWIG_Py_Void();
29615 }
29616
29617 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29618 return SWIG_Python_InitShadowInstance(args);
29619 }
29620
29621 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29622 PyObject *resultobj = 0;
29623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29624 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29625 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29626 wxPrintPreview *result = 0 ;
29627 int res1 = 0 ;
29628 int res2 = 0 ;
29629 void *argp3 = 0 ;
29630 int res3 = 0 ;
29631
29632 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29633 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29634 if (!SWIG_IsOK(res1)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29636 }
29637 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29638 if (!SWIG_IsOK(res2)) {
29639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29640 }
29641 if (swig_obj[2]) {
29642 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29643 if (!SWIG_IsOK(res3)) {
29644 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29645 }
29646 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29647 }
29648 {
29649 if (!wxPyCheckForApp()) SWIG_fail;
29650 PyThreadState* __tstate = wxPyBeginAllowThreads();
29651 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29652 wxPyEndAllowThreads(__tstate);
29653 if (PyErr_Occurred()) SWIG_fail;
29654 }
29655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29656 return resultobj;
29657 fail:
29658 return NULL;
29659 }
29660
29661
29662 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29663 PyObject *resultobj = 0;
29664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29665 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29666 wxPrintData *arg3 = (wxPrintData *) 0 ;
29667 wxPrintPreview *result = 0 ;
29668 int res1 = 0 ;
29669 int res2 = 0 ;
29670 void *argp3 = 0 ;
29671 int res3 = 0 ;
29672
29673 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29674 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29675 if (!SWIG_IsOK(res1)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29677 }
29678 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29679 if (!SWIG_IsOK(res2)) {
29680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29681 }
29682 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29683 if (!SWIG_IsOK(res3)) {
29684 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29685 }
29686 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29687 {
29688 if (!wxPyCheckForApp()) SWIG_fail;
29689 PyThreadState* __tstate = wxPyBeginAllowThreads();
29690 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29691 wxPyEndAllowThreads(__tstate);
29692 if (PyErr_Occurred()) SWIG_fail;
29693 }
29694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29695 return resultobj;
29696 fail:
29697 return NULL;
29698 }
29699
29700
29701 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29702 int argc;
29703 PyObject *argv[4];
29704
29705 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29706 --argc;
29707 if ((argc >= 2) && (argc <= 3)) {
29708 int _v = 0;
29709 if (argc > 2) {
29710 {
29711 void *vptr = 0;
29712 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29713 _v = SWIG_CheckState(res);
29714 }
29715 if (!_v) goto check_1;
29716 }
29717 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29718 }
29719 check_1:
29720
29721 if (argc == 3) {
29722 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29723 }
29724
29725 fail:
29726 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29727 return NULL;
29728 }
29729
29730
29731 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29732 PyObject *resultobj = 0;
29733 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29734 void *argp1 = 0 ;
29735 int res1 = 0 ;
29736 PyObject *swig_obj[1] ;
29737
29738 if (!args) SWIG_fail;
29739 swig_obj[0] = args;
29740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29741 if (!SWIG_IsOK(res1)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29743 }
29744 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29745 {
29746 PyThreadState* __tstate = wxPyBeginAllowThreads();
29747 delete arg1;
29748
29749 wxPyEndAllowThreads(__tstate);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
29752 resultobj = SWIG_Py_Void();
29753 return resultobj;
29754 fail:
29755 return NULL;
29756 }
29757
29758
29759 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29760 PyObject *resultobj = 0;
29761 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29762 int arg2 ;
29763 bool result;
29764 void *argp1 = 0 ;
29765 int res1 = 0 ;
29766 int val2 ;
29767 int ecode2 = 0 ;
29768 PyObject * obj0 = 0 ;
29769 PyObject * obj1 = 0 ;
29770 char * kwnames[] = {
29771 (char *) "self",(char *) "pageNum", NULL
29772 };
29773
29774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29776 if (!SWIG_IsOK(res1)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29778 }
29779 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29780 ecode2 = SWIG_AsVal_int(obj1, &val2);
29781 if (!SWIG_IsOK(ecode2)) {
29782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29783 }
29784 arg2 = static_cast< int >(val2);
29785 {
29786 PyThreadState* __tstate = wxPyBeginAllowThreads();
29787 result = (bool)(arg1)->SetCurrentPage(arg2);
29788 wxPyEndAllowThreads(__tstate);
29789 if (PyErr_Occurred()) SWIG_fail;
29790 }
29791 {
29792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29793 }
29794 return resultobj;
29795 fail:
29796 return NULL;
29797 }
29798
29799
29800 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29801 PyObject *resultobj = 0;
29802 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29803 int result;
29804 void *argp1 = 0 ;
29805 int res1 = 0 ;
29806 PyObject *swig_obj[1] ;
29807
29808 if (!args) SWIG_fail;
29809 swig_obj[0] = args;
29810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29811 if (!SWIG_IsOK(res1)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29813 }
29814 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29815 {
29816 PyThreadState* __tstate = wxPyBeginAllowThreads();
29817 result = (int)(arg1)->GetCurrentPage();
29818 wxPyEndAllowThreads(__tstate);
29819 if (PyErr_Occurred()) SWIG_fail;
29820 }
29821 resultobj = SWIG_From_int(static_cast< int >(result));
29822 return resultobj;
29823 fail:
29824 return NULL;
29825 }
29826
29827
29828 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29829 PyObject *resultobj = 0;
29830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29831 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29832 void *argp1 = 0 ;
29833 int res1 = 0 ;
29834 int res2 = 0 ;
29835 PyObject * obj0 = 0 ;
29836 PyObject * obj1 = 0 ;
29837 char * kwnames[] = {
29838 (char *) "self",(char *) "printout", NULL
29839 };
29840
29841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29843 if (!SWIG_IsOK(res1)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29845 }
29846 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29847 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29848 if (!SWIG_IsOK(res2)) {
29849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29850 }
29851 {
29852 PyThreadState* __tstate = wxPyBeginAllowThreads();
29853 (arg1)->SetPrintout(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_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29865 PyObject *resultobj = 0;
29866 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29867 wxPyPrintout *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_wxPrintPreview, 0 | 0 );
29875 if (!SWIG_IsOK(res1)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29877 }
29878 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29879 {
29880 PyThreadState* __tstate = wxPyBeginAllowThreads();
29881 result = (wxPyPrintout *)(arg1)->GetPrintout();
29882 wxPyEndAllowThreads(__tstate);
29883 if (PyErr_Occurred()) SWIG_fail;
29884 }
29885 {
29886 resultobj = wxPyMake_wxObject(result, 0);
29887 }
29888 return resultobj;
29889 fail:
29890 return NULL;
29891 }
29892
29893
29894 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29895 PyObject *resultobj = 0;
29896 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29897 wxPyPrintout *result = 0 ;
29898 void *argp1 = 0 ;
29899 int res1 = 0 ;
29900 PyObject *swig_obj[1] ;
29901
29902 if (!args) SWIG_fail;
29903 swig_obj[0] = args;
29904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29905 if (!SWIG_IsOK(res1)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29907 }
29908 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29909 {
29910 PyThreadState* __tstate = wxPyBeginAllowThreads();
29911 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 {
29916 resultobj = wxPyMake_wxObject(result, 0);
29917 }
29918 return resultobj;
29919 fail:
29920 return NULL;
29921 }
29922
29923
29924 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29925 PyObject *resultobj = 0;
29926 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29927 wxFrame *arg2 = (wxFrame *) 0 ;
29928 void *argp1 = 0 ;
29929 int res1 = 0 ;
29930 void *argp2 = 0 ;
29931 int res2 = 0 ;
29932 PyObject * obj0 = 0 ;
29933 PyObject * obj1 = 0 ;
29934 char * kwnames[] = {
29935 (char *) "self",(char *) "frame", NULL
29936 };
29937
29938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29940 if (!SWIG_IsOK(res1)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29942 }
29943 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29944 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29945 if (!SWIG_IsOK(res2)) {
29946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29947 }
29948 arg2 = reinterpret_cast< wxFrame * >(argp2);
29949 {
29950 PyThreadState* __tstate = wxPyBeginAllowThreads();
29951 (arg1)->SetFrame(arg2);
29952 wxPyEndAllowThreads(__tstate);
29953 if (PyErr_Occurred()) SWIG_fail;
29954 }
29955 resultobj = SWIG_Py_Void();
29956 return resultobj;
29957 fail:
29958 return NULL;
29959 }
29960
29961
29962 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29963 PyObject *resultobj = 0;
29964 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29965 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29966 void *argp1 = 0 ;
29967 int res1 = 0 ;
29968 void *argp2 = 0 ;
29969 int res2 = 0 ;
29970 PyObject * obj0 = 0 ;
29971 PyObject * obj1 = 0 ;
29972 char * kwnames[] = {
29973 (char *) "self",(char *) "canvas", NULL
29974 };
29975
29976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29978 if (!SWIG_IsOK(res1)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29980 }
29981 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29982 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29983 if (!SWIG_IsOK(res2)) {
29984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29985 }
29986 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29987 {
29988 PyThreadState* __tstate = wxPyBeginAllowThreads();
29989 (arg1)->SetCanvas(arg2);
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_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30001 PyObject *resultobj = 0;
30002 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30003 wxFrame *result = 0 ;
30004 void *argp1 = 0 ;
30005 int res1 = 0 ;
30006 PyObject *swig_obj[1] ;
30007
30008 if (!args) SWIG_fail;
30009 swig_obj[0] = args;
30010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30011 if (!SWIG_IsOK(res1)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30013 }
30014 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30015 {
30016 PyThreadState* __tstate = wxPyBeginAllowThreads();
30017 result = (wxFrame *)(arg1)->GetFrame();
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 {
30022 resultobj = wxPyMake_wxObject(result, 0);
30023 }
30024 return resultobj;
30025 fail:
30026 return NULL;
30027 }
30028
30029
30030 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30031 PyObject *resultobj = 0;
30032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30033 wxPreviewCanvas *result = 0 ;
30034 void *argp1 = 0 ;
30035 int res1 = 0 ;
30036 PyObject *swig_obj[1] ;
30037
30038 if (!args) SWIG_fail;
30039 swig_obj[0] = args;
30040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30041 if (!SWIG_IsOK(res1)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30043 }
30044 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30045 {
30046 PyThreadState* __tstate = wxPyBeginAllowThreads();
30047 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30048 wxPyEndAllowThreads(__tstate);
30049 if (PyErr_Occurred()) SWIG_fail;
30050 }
30051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30052 return resultobj;
30053 fail:
30054 return NULL;
30055 }
30056
30057
30058 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30059 PyObject *resultobj = 0;
30060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30061 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30062 wxDC *arg3 = 0 ;
30063 bool result;
30064 void *argp1 = 0 ;
30065 int res1 = 0 ;
30066 void *argp2 = 0 ;
30067 int res2 = 0 ;
30068 void *argp3 = 0 ;
30069 int res3 = 0 ;
30070 PyObject * obj0 = 0 ;
30071 PyObject * obj1 = 0 ;
30072 PyObject * obj2 = 0 ;
30073 char * kwnames[] = {
30074 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30075 };
30076
30077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30079 if (!SWIG_IsOK(res1)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30081 }
30082 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30084 if (!SWIG_IsOK(res2)) {
30085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30086 }
30087 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30088 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30089 if (!SWIG_IsOK(res3)) {
30090 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30091 }
30092 if (!argp3) {
30093 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30094 }
30095 arg3 = reinterpret_cast< wxDC * >(argp3);
30096 {
30097 PyThreadState* __tstate = wxPyBeginAllowThreads();
30098 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30099 wxPyEndAllowThreads(__tstate);
30100 if (PyErr_Occurred()) SWIG_fail;
30101 }
30102 {
30103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30104 }
30105 return resultobj;
30106 fail:
30107 return NULL;
30108 }
30109
30110
30111 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30112 PyObject *resultobj = 0;
30113 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30114 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30115 wxDC *arg3 = 0 ;
30116 bool result;
30117 void *argp1 = 0 ;
30118 int res1 = 0 ;
30119 void *argp2 = 0 ;
30120 int res2 = 0 ;
30121 void *argp3 = 0 ;
30122 int res3 = 0 ;
30123 PyObject * obj0 = 0 ;
30124 PyObject * obj1 = 0 ;
30125 PyObject * obj2 = 0 ;
30126 char * kwnames[] = {
30127 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30128 };
30129
30130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30132 if (!SWIG_IsOK(res1)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30134 }
30135 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30136 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30137 if (!SWIG_IsOK(res2)) {
30138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30139 }
30140 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30141 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30142 if (!SWIG_IsOK(res3)) {
30143 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30144 }
30145 if (!argp3) {
30146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30147 }
30148 arg3 = reinterpret_cast< wxDC * >(argp3);
30149 {
30150 PyThreadState* __tstate = wxPyBeginAllowThreads();
30151 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30152 wxPyEndAllowThreads(__tstate);
30153 if (PyErr_Occurred()) SWIG_fail;
30154 }
30155 {
30156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30157 }
30158 return resultobj;
30159 fail:
30160 return NULL;
30161 }
30162
30163
30164 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30165 PyObject *resultobj = 0;
30166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30167 int arg2 ;
30168 bool result;
30169 void *argp1 = 0 ;
30170 int res1 = 0 ;
30171 int val2 ;
30172 int ecode2 = 0 ;
30173 PyObject * obj0 = 0 ;
30174 PyObject * obj1 = 0 ;
30175 char * kwnames[] = {
30176 (char *) "self",(char *) "pageNum", NULL
30177 };
30178
30179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30181 if (!SWIG_IsOK(res1)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30183 }
30184 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30185 ecode2 = SWIG_AsVal_int(obj1, &val2);
30186 if (!SWIG_IsOK(ecode2)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30188 }
30189 arg2 = static_cast< int >(val2);
30190 {
30191 PyThreadState* __tstate = wxPyBeginAllowThreads();
30192 result = (bool)(arg1)->RenderPage(arg2);
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 {
30197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30198 }
30199 return resultobj;
30200 fail:
30201 return NULL;
30202 }
30203
30204
30205 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30206 PyObject *resultobj = 0;
30207 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30208 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30209 void *argp1 = 0 ;
30210 int res1 = 0 ;
30211 void *argp2 = 0 ;
30212 int res2 = 0 ;
30213 PyObject * obj0 = 0 ;
30214 PyObject * obj1 = 0 ;
30215 char * kwnames[] = {
30216 (char *) "self",(char *) "canvas", NULL
30217 };
30218
30219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30221 if (!SWIG_IsOK(res1)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30223 }
30224 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30226 if (!SWIG_IsOK(res2)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30228 }
30229 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 (arg1)->AdjustScrollbars(arg2);
30233 wxPyEndAllowThreads(__tstate);
30234 if (PyErr_Occurred()) SWIG_fail;
30235 }
30236 resultobj = SWIG_Py_Void();
30237 return resultobj;
30238 fail:
30239 return NULL;
30240 }
30241
30242
30243 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30244 PyObject *resultobj = 0;
30245 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30246 wxPrintDialogData *result = 0 ;
30247 void *argp1 = 0 ;
30248 int res1 = 0 ;
30249 PyObject *swig_obj[1] ;
30250
30251 if (!args) SWIG_fail;
30252 swig_obj[0] = args;
30253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30254 if (!SWIG_IsOK(res1)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30256 }
30257 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30258 {
30259 PyThreadState* __tstate = wxPyBeginAllowThreads();
30260 {
30261 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30262 result = (wxPrintDialogData *) &_result_ref;
30263 }
30264 wxPyEndAllowThreads(__tstate);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 }
30267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30268 return resultobj;
30269 fail:
30270 return NULL;
30271 }
30272
30273
30274 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30275 PyObject *resultobj = 0;
30276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30277 int arg2 ;
30278 void *argp1 = 0 ;
30279 int res1 = 0 ;
30280 int val2 ;
30281 int ecode2 = 0 ;
30282 PyObject * obj0 = 0 ;
30283 PyObject * obj1 = 0 ;
30284 char * kwnames[] = {
30285 (char *) "self",(char *) "percent", NULL
30286 };
30287
30288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30290 if (!SWIG_IsOK(res1)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30292 }
30293 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30294 ecode2 = SWIG_AsVal_int(obj1, &val2);
30295 if (!SWIG_IsOK(ecode2)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30297 }
30298 arg2 = static_cast< int >(val2);
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->SetZoom(arg2);
30302 wxPyEndAllowThreads(__tstate);
30303 if (PyErr_Occurred()) SWIG_fail;
30304 }
30305 resultobj = SWIG_Py_Void();
30306 return resultobj;
30307 fail:
30308 return NULL;
30309 }
30310
30311
30312 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30313 PyObject *resultobj = 0;
30314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30315 int result;
30316 void *argp1 = 0 ;
30317 int res1 = 0 ;
30318 PyObject *swig_obj[1] ;
30319
30320 if (!args) SWIG_fail;
30321 swig_obj[0] = args;
30322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30323 if (!SWIG_IsOK(res1)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30325 }
30326 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30327 {
30328 PyThreadState* __tstate = wxPyBeginAllowThreads();
30329 result = (int)(arg1)->GetZoom();
30330 wxPyEndAllowThreads(__tstate);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 resultobj = SWIG_From_int(static_cast< int >(result));
30334 return resultobj;
30335 fail:
30336 return NULL;
30337 }
30338
30339
30340 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30341 PyObject *resultobj = 0;
30342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30343 int result;
30344 void *argp1 = 0 ;
30345 int res1 = 0 ;
30346 PyObject *swig_obj[1] ;
30347
30348 if (!args) SWIG_fail;
30349 swig_obj[0] = args;
30350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30351 if (!SWIG_IsOK(res1)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30353 }
30354 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
30357 result = (int)(arg1)->GetMaxPage();
30358 wxPyEndAllowThreads(__tstate);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 }
30361 resultobj = SWIG_From_int(static_cast< int >(result));
30362 return resultobj;
30363 fail:
30364 return NULL;
30365 }
30366
30367
30368 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30369 PyObject *resultobj = 0;
30370 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30371 int result;
30372 void *argp1 = 0 ;
30373 int res1 = 0 ;
30374 PyObject *swig_obj[1] ;
30375
30376 if (!args) SWIG_fail;
30377 swig_obj[0] = args;
30378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30379 if (!SWIG_IsOK(res1)) {
30380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30381 }
30382 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30383 {
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 result = (int)(arg1)->GetMinPage();
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 resultobj = SWIG_From_int(static_cast< int >(result));
30390 return resultobj;
30391 fail:
30392 return NULL;
30393 }
30394
30395
30396 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30397 PyObject *resultobj = 0;
30398 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30399 bool result;
30400 void *argp1 = 0 ;
30401 int res1 = 0 ;
30402 PyObject *swig_obj[1] ;
30403
30404 if (!args) SWIG_fail;
30405 swig_obj[0] = args;
30406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30407 if (!SWIG_IsOK(res1)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30409 }
30410 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 result = (bool)(arg1)->IsOk();
30414 wxPyEndAllowThreads(__tstate);
30415 if (PyErr_Occurred()) SWIG_fail;
30416 }
30417 {
30418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30419 }
30420 return resultobj;
30421 fail:
30422 return NULL;
30423 }
30424
30425
30426 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30427 PyObject *resultobj = 0;
30428 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30429 bool arg2 ;
30430 void *argp1 = 0 ;
30431 int res1 = 0 ;
30432 bool val2 ;
30433 int ecode2 = 0 ;
30434 PyObject * obj0 = 0 ;
30435 PyObject * obj1 = 0 ;
30436 char * kwnames[] = {
30437 (char *) "self",(char *) "ok", NULL
30438 };
30439
30440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30442 if (!SWIG_IsOK(res1)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30444 }
30445 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30447 if (!SWIG_IsOK(ecode2)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30449 }
30450 arg2 = static_cast< bool >(val2);
30451 {
30452 PyThreadState* __tstate = wxPyBeginAllowThreads();
30453 (arg1)->SetOk(arg2);
30454 wxPyEndAllowThreads(__tstate);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 }
30457 resultobj = SWIG_Py_Void();
30458 return resultobj;
30459 fail:
30460 return NULL;
30461 }
30462
30463
30464 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30465 PyObject *resultobj = 0;
30466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30467 bool arg2 ;
30468 bool result;
30469 void *argp1 = 0 ;
30470 int res1 = 0 ;
30471 bool val2 ;
30472 int ecode2 = 0 ;
30473 PyObject * obj0 = 0 ;
30474 PyObject * obj1 = 0 ;
30475 char * kwnames[] = {
30476 (char *) "self",(char *) "interactive", NULL
30477 };
30478
30479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30481 if (!SWIG_IsOK(res1)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30483 }
30484 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30485 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30486 if (!SWIG_IsOK(ecode2)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30488 }
30489 arg2 = static_cast< bool >(val2);
30490 {
30491 PyThreadState* __tstate = wxPyBeginAllowThreads();
30492 result = (bool)(arg1)->Print(arg2);
30493 wxPyEndAllowThreads(__tstate);
30494 if (PyErr_Occurred()) SWIG_fail;
30495 }
30496 {
30497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30498 }
30499 return resultobj;
30500 fail:
30501 return NULL;
30502 }
30503
30504
30505 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30506 PyObject *resultobj = 0;
30507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30508 void *argp1 = 0 ;
30509 int res1 = 0 ;
30510 PyObject *swig_obj[1] ;
30511
30512 if (!args) SWIG_fail;
30513 swig_obj[0] = args;
30514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30515 if (!SWIG_IsOK(res1)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30517 }
30518 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30519 {
30520 PyThreadState* __tstate = wxPyBeginAllowThreads();
30521 (arg1)->DetermineScaling();
30522 wxPyEndAllowThreads(__tstate);
30523 if (PyErr_Occurred()) SWIG_fail;
30524 }
30525 resultobj = SWIG_Py_Void();
30526 return resultobj;
30527 fail:
30528 return NULL;
30529 }
30530
30531
30532 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30533 PyObject *obj;
30534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30536 return SWIG_Py_Void();
30537 }
30538
30539 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30540 return SWIG_Python_InitShadowInstance(args);
30541 }
30542
30543 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30544 PyObject *resultobj = 0;
30545 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30546 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30547 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30548 wxPyPrintPreview *result = 0 ;
30549 int res1 = 0 ;
30550 int res2 = 0 ;
30551 void *argp3 = 0 ;
30552 int res3 = 0 ;
30553
30554 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30555 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30556 if (!SWIG_IsOK(res1)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30558 }
30559 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30560 if (!SWIG_IsOK(res2)) {
30561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30562 }
30563 if (swig_obj[2]) {
30564 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30565 if (!SWIG_IsOK(res3)) {
30566 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30567 }
30568 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30569 }
30570 {
30571 if (!wxPyCheckForApp()) SWIG_fail;
30572 PyThreadState* __tstate = wxPyBeginAllowThreads();
30573 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30574 wxPyEndAllowThreads(__tstate);
30575 if (PyErr_Occurred()) SWIG_fail;
30576 }
30577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30578 return resultobj;
30579 fail:
30580 return NULL;
30581 }
30582
30583
30584 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30585 PyObject *resultobj = 0;
30586 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30587 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30588 wxPrintData *arg3 = (wxPrintData *) 0 ;
30589 wxPyPrintPreview *result = 0 ;
30590 int res1 = 0 ;
30591 int res2 = 0 ;
30592 void *argp3 = 0 ;
30593 int res3 = 0 ;
30594
30595 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30596 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30597 if (!SWIG_IsOK(res1)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30599 }
30600 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30601 if (!SWIG_IsOK(res2)) {
30602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30603 }
30604 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30605 if (!SWIG_IsOK(res3)) {
30606 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30607 }
30608 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30609 {
30610 if (!wxPyCheckForApp()) SWIG_fail;
30611 PyThreadState* __tstate = wxPyBeginAllowThreads();
30612 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30613 wxPyEndAllowThreads(__tstate);
30614 if (PyErr_Occurred()) SWIG_fail;
30615 }
30616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30617 return resultobj;
30618 fail:
30619 return NULL;
30620 }
30621
30622
30623 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30624 int argc;
30625 PyObject *argv[4];
30626
30627 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30628 --argc;
30629 if ((argc >= 2) && (argc <= 3)) {
30630 int _v = 0;
30631 if (argc > 2) {
30632 {
30633 void *vptr = 0;
30634 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30635 _v = SWIG_CheckState(res);
30636 }
30637 if (!_v) goto check_1;
30638 }
30639 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30640 }
30641 check_1:
30642
30643 if (argc == 3) {
30644 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30645 }
30646
30647 fail:
30648 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30649 return NULL;
30650 }
30651
30652
30653 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30654 PyObject *resultobj = 0;
30655 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30656 PyObject *arg2 = (PyObject *) 0 ;
30657 PyObject *arg3 = (PyObject *) 0 ;
30658 void *argp1 = 0 ;
30659 int res1 = 0 ;
30660 PyObject * obj0 = 0 ;
30661 PyObject * obj1 = 0 ;
30662 PyObject * obj2 = 0 ;
30663 char * kwnames[] = {
30664 (char *) "self",(char *) "self",(char *) "_class", NULL
30665 };
30666
30667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30669 if (!SWIG_IsOK(res1)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30671 }
30672 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30673 arg2 = obj1;
30674 arg3 = obj2;
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 (arg1)->_setCallbackInfo(arg2,arg3);
30678 wxPyEndAllowThreads(__tstate);
30679 if (PyErr_Occurred()) SWIG_fail;
30680 }
30681 resultobj = SWIG_Py_Void();
30682 return resultobj;
30683 fail:
30684 return NULL;
30685 }
30686
30687
30688 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30689 PyObject *obj;
30690 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30692 return SWIG_Py_Void();
30693 }
30694
30695 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30696 return SWIG_Python_InitShadowInstance(args);
30697 }
30698
30699 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30700 PyObject *resultobj = 0;
30701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30702 wxFrame *arg2 = (wxFrame *) 0 ;
30703 wxString *arg3 = 0 ;
30704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30706 wxSize const &arg5_defvalue = wxDefaultSize ;
30707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30708 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30709 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30710 wxString *arg7 = (wxString *) &arg7_defvalue ;
30711 wxPyPreviewFrame *result = 0 ;
30712 void *argp1 = 0 ;
30713 int res1 = 0 ;
30714 void *argp2 = 0 ;
30715 int res2 = 0 ;
30716 bool temp3 = false ;
30717 wxPoint temp4 ;
30718 wxSize temp5 ;
30719 long val6 ;
30720 int ecode6 = 0 ;
30721 bool temp7 = false ;
30722 PyObject * obj0 = 0 ;
30723 PyObject * obj1 = 0 ;
30724 PyObject * obj2 = 0 ;
30725 PyObject * obj3 = 0 ;
30726 PyObject * obj4 = 0 ;
30727 PyObject * obj5 = 0 ;
30728 PyObject * obj6 = 0 ;
30729 char * kwnames[] = {
30730 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30731 };
30732
30733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30735 if (!SWIG_IsOK(res1)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30737 }
30738 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30739 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30740 if (!SWIG_IsOK(res2)) {
30741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30742 }
30743 arg2 = reinterpret_cast< wxFrame * >(argp2);
30744 {
30745 arg3 = wxString_in_helper(obj2);
30746 if (arg3 == NULL) SWIG_fail;
30747 temp3 = true;
30748 }
30749 if (obj3) {
30750 {
30751 arg4 = &temp4;
30752 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30753 }
30754 }
30755 if (obj4) {
30756 {
30757 arg5 = &temp5;
30758 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30759 }
30760 }
30761 if (obj5) {
30762 ecode6 = SWIG_AsVal_long(obj5, &val6);
30763 if (!SWIG_IsOK(ecode6)) {
30764 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30765 }
30766 arg6 = static_cast< long >(val6);
30767 }
30768 if (obj6) {
30769 {
30770 arg7 = wxString_in_helper(obj6);
30771 if (arg7 == NULL) SWIG_fail;
30772 temp7 = true;
30773 }
30774 }
30775 {
30776 if (!wxPyCheckForApp()) SWIG_fail;
30777 PyThreadState* __tstate = wxPyBeginAllowThreads();
30778 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30779 wxPyEndAllowThreads(__tstate);
30780 if (PyErr_Occurred()) SWIG_fail;
30781 }
30782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30783 {
30784 if (temp3)
30785 delete arg3;
30786 }
30787 {
30788 if (temp7)
30789 delete arg7;
30790 }
30791 return resultobj;
30792 fail:
30793 {
30794 if (temp3)
30795 delete arg3;
30796 }
30797 {
30798 if (temp7)
30799 delete arg7;
30800 }
30801 return NULL;
30802 }
30803
30804
30805 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30806 PyObject *resultobj = 0;
30807 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30808 PyObject *arg2 = (PyObject *) 0 ;
30809 PyObject *arg3 = (PyObject *) 0 ;
30810 void *argp1 = 0 ;
30811 int res1 = 0 ;
30812 PyObject * obj0 = 0 ;
30813 PyObject * obj1 = 0 ;
30814 PyObject * obj2 = 0 ;
30815 char * kwnames[] = {
30816 (char *) "self",(char *) "self",(char *) "_class", NULL
30817 };
30818
30819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30821 if (!SWIG_IsOK(res1)) {
30822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30823 }
30824 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30825 arg2 = obj1;
30826 arg3 = obj2;
30827 {
30828 PyThreadState* __tstate = wxPyBeginAllowThreads();
30829 (arg1)->_setCallbackInfo(arg2,arg3);
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
30833 resultobj = SWIG_Py_Void();
30834 return resultobj;
30835 fail:
30836 return NULL;
30837 }
30838
30839
30840 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30841 PyObject *resultobj = 0;
30842 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30843 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30844 void *argp1 = 0 ;
30845 int res1 = 0 ;
30846 void *argp2 = 0 ;
30847 int res2 = 0 ;
30848 PyObject * obj0 = 0 ;
30849 PyObject * obj1 = 0 ;
30850 char * kwnames[] = {
30851 (char *) "self",(char *) "canvas", NULL
30852 };
30853
30854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30856 if (!SWIG_IsOK(res1)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30858 }
30859 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30860 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30861 if (!SWIG_IsOK(res2)) {
30862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30863 }
30864 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30865 {
30866 PyThreadState* __tstate = wxPyBeginAllowThreads();
30867 (arg1)->SetPreviewCanvas(arg2);
30868 wxPyEndAllowThreads(__tstate);
30869 if (PyErr_Occurred()) SWIG_fail;
30870 }
30871 resultobj = SWIG_Py_Void();
30872 return resultobj;
30873 fail:
30874 return NULL;
30875 }
30876
30877
30878 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30879 PyObject *resultobj = 0;
30880 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30881 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30882 void *argp1 = 0 ;
30883 int res1 = 0 ;
30884 void *argp2 = 0 ;
30885 int res2 = 0 ;
30886 PyObject * obj0 = 0 ;
30887 PyObject * obj1 = 0 ;
30888 char * kwnames[] = {
30889 (char *) "self",(char *) "bar", NULL
30890 };
30891
30892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30894 if (!SWIG_IsOK(res1)) {
30895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30896 }
30897 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30899 if (!SWIG_IsOK(res2)) {
30900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30901 }
30902 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30903 {
30904 PyThreadState* __tstate = wxPyBeginAllowThreads();
30905 (arg1)->SetControlBar(arg2);
30906 wxPyEndAllowThreads(__tstate);
30907 if (PyErr_Occurred()) SWIG_fail;
30908 }
30909 resultobj = SWIG_Py_Void();
30910 return resultobj;
30911 fail:
30912 return NULL;
30913 }
30914
30915
30916 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30917 PyObject *resultobj = 0;
30918 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30919 void *argp1 = 0 ;
30920 int res1 = 0 ;
30921 PyObject *swig_obj[1] ;
30922
30923 if (!args) SWIG_fail;
30924 swig_obj[0] = args;
30925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30926 if (!SWIG_IsOK(res1)) {
30927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30928 }
30929 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30930 {
30931 PyThreadState* __tstate = wxPyBeginAllowThreads();
30932 (arg1)->Initialize();
30933 wxPyEndAllowThreads(__tstate);
30934 if (PyErr_Occurred()) SWIG_fail;
30935 }
30936 resultobj = SWIG_Py_Void();
30937 return resultobj;
30938 fail:
30939 return NULL;
30940 }
30941
30942
30943 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30944 PyObject *resultobj = 0;
30945 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30946 void *argp1 = 0 ;
30947 int res1 = 0 ;
30948 PyObject *swig_obj[1] ;
30949
30950 if (!args) SWIG_fail;
30951 swig_obj[0] = args;
30952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30953 if (!SWIG_IsOK(res1)) {
30954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30955 }
30956 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30957 {
30958 PyThreadState* __tstate = wxPyBeginAllowThreads();
30959 (arg1)->CreateCanvas();
30960 wxPyEndAllowThreads(__tstate);
30961 if (PyErr_Occurred()) SWIG_fail;
30962 }
30963 resultobj = SWIG_Py_Void();
30964 return resultobj;
30965 fail:
30966 return NULL;
30967 }
30968
30969
30970 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30971 PyObject *resultobj = 0;
30972 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30973 void *argp1 = 0 ;
30974 int res1 = 0 ;
30975 PyObject *swig_obj[1] ;
30976
30977 if (!args) SWIG_fail;
30978 swig_obj[0] = args;
30979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30980 if (!SWIG_IsOK(res1)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30982 }
30983 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30984 {
30985 PyThreadState* __tstate = wxPyBeginAllowThreads();
30986 (arg1)->CreateControlBar();
30987 wxPyEndAllowThreads(__tstate);
30988 if (PyErr_Occurred()) SWIG_fail;
30989 }
30990 resultobj = SWIG_Py_Void();
30991 return resultobj;
30992 fail:
30993 return NULL;
30994 }
30995
30996
30997 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30998 PyObject *obj;
30999 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31000 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31001 return SWIG_Py_Void();
31002 }
31003
31004 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31005 return SWIG_Python_InitShadowInstance(args);
31006 }
31007
31008 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31009 PyObject *resultobj = 0;
31010 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31011 long arg2 ;
31012 wxWindow *arg3 = (wxWindow *) 0 ;
31013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31015 wxSize const &arg5_defvalue = wxDefaultSize ;
31016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31017 long arg6 = (long) 0 ;
31018 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31019 wxString *arg7 = (wxString *) &arg7_defvalue ;
31020 wxPyPreviewControlBar *result = 0 ;
31021 void *argp1 = 0 ;
31022 int res1 = 0 ;
31023 long val2 ;
31024 int ecode2 = 0 ;
31025 void *argp3 = 0 ;
31026 int res3 = 0 ;
31027 wxPoint temp4 ;
31028 wxSize temp5 ;
31029 long val6 ;
31030 int ecode6 = 0 ;
31031 bool temp7 = false ;
31032 PyObject * obj0 = 0 ;
31033 PyObject * obj1 = 0 ;
31034 PyObject * obj2 = 0 ;
31035 PyObject * obj3 = 0 ;
31036 PyObject * obj4 = 0 ;
31037 PyObject * obj5 = 0 ;
31038 PyObject * obj6 = 0 ;
31039 char * kwnames[] = {
31040 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31041 };
31042
31043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31045 if (!SWIG_IsOK(res1)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31047 }
31048 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31049 ecode2 = SWIG_AsVal_long(obj1, &val2);
31050 if (!SWIG_IsOK(ecode2)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31052 }
31053 arg2 = static_cast< long >(val2);
31054 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31055 if (!SWIG_IsOK(res3)) {
31056 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31057 }
31058 arg3 = reinterpret_cast< wxWindow * >(argp3);
31059 if (obj3) {
31060 {
31061 arg4 = &temp4;
31062 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31063 }
31064 }
31065 if (obj4) {
31066 {
31067 arg5 = &temp5;
31068 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31069 }
31070 }
31071 if (obj5) {
31072 ecode6 = SWIG_AsVal_long(obj5, &val6);
31073 if (!SWIG_IsOK(ecode6)) {
31074 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31075 }
31076 arg6 = static_cast< long >(val6);
31077 }
31078 if (obj6) {
31079 {
31080 arg7 = wxString_in_helper(obj6);
31081 if (arg7 == NULL) SWIG_fail;
31082 temp7 = true;
31083 }
31084 }
31085 {
31086 if (!wxPyCheckForApp()) SWIG_fail;
31087 PyThreadState* __tstate = wxPyBeginAllowThreads();
31088 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31089 wxPyEndAllowThreads(__tstate);
31090 if (PyErr_Occurred()) SWIG_fail;
31091 }
31092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31093 {
31094 if (temp7)
31095 delete arg7;
31096 }
31097 return resultobj;
31098 fail:
31099 {
31100 if (temp7)
31101 delete arg7;
31102 }
31103 return NULL;
31104 }
31105
31106
31107 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31108 PyObject *resultobj = 0;
31109 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31110 PyObject *arg2 = (PyObject *) 0 ;
31111 PyObject *arg3 = (PyObject *) 0 ;
31112 void *argp1 = 0 ;
31113 int res1 = 0 ;
31114 PyObject * obj0 = 0 ;
31115 PyObject * obj1 = 0 ;
31116 PyObject * obj2 = 0 ;
31117 char * kwnames[] = {
31118 (char *) "self",(char *) "self",(char *) "_class", NULL
31119 };
31120
31121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31123 if (!SWIG_IsOK(res1)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31125 }
31126 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31127 arg2 = obj1;
31128 arg3 = obj2;
31129 {
31130 PyThreadState* __tstate = wxPyBeginAllowThreads();
31131 (arg1)->_setCallbackInfo(arg2,arg3);
31132 wxPyEndAllowThreads(__tstate);
31133 if (PyErr_Occurred()) SWIG_fail;
31134 }
31135 resultobj = SWIG_Py_Void();
31136 return resultobj;
31137 fail:
31138 return NULL;
31139 }
31140
31141
31142 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31143 PyObject *resultobj = 0;
31144 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31145 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31146 void *argp1 = 0 ;
31147 int res1 = 0 ;
31148 void *argp2 = 0 ;
31149 int res2 = 0 ;
31150 PyObject * obj0 = 0 ;
31151 PyObject * obj1 = 0 ;
31152 char * kwnames[] = {
31153 (char *) "self",(char *) "preview", NULL
31154 };
31155
31156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31158 if (!SWIG_IsOK(res1)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31160 }
31161 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31163 if (!SWIG_IsOK(res2)) {
31164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31165 }
31166 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
31167 {
31168 PyThreadState* __tstate = wxPyBeginAllowThreads();
31169 (arg1)->SetPrintPreview(arg2);
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 resultobj = SWIG_Py_Void();
31174 return resultobj;
31175 fail:
31176 return NULL;
31177 }
31178
31179
31180 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31181 PyObject *resultobj = 0;
31182 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31183 void *argp1 = 0 ;
31184 int res1 = 0 ;
31185 PyObject *swig_obj[1] ;
31186
31187 if (!args) SWIG_fail;
31188 swig_obj[0] = args;
31189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31190 if (!SWIG_IsOK(res1)) {
31191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31192 }
31193 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31194 {
31195 PyThreadState* __tstate = wxPyBeginAllowThreads();
31196 (arg1)->CreateButtons();
31197 wxPyEndAllowThreads(__tstate);
31198 if (PyErr_Occurred()) SWIG_fail;
31199 }
31200 resultobj = SWIG_Py_Void();
31201 return resultobj;
31202 fail:
31203 return NULL;
31204 }
31205
31206
31207 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31208 PyObject *resultobj = 0;
31209 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31210 int arg2 ;
31211 void *argp1 = 0 ;
31212 int res1 = 0 ;
31213 int val2 ;
31214 int ecode2 = 0 ;
31215 PyObject * obj0 = 0 ;
31216 PyObject * obj1 = 0 ;
31217 char * kwnames[] = {
31218 (char *) "self",(char *) "zoom", NULL
31219 };
31220
31221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31223 if (!SWIG_IsOK(res1)) {
31224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31225 }
31226 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31227 ecode2 = SWIG_AsVal_int(obj1, &val2);
31228 if (!SWIG_IsOK(ecode2)) {
31229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31230 }
31231 arg2 = static_cast< int >(val2);
31232 {
31233 PyThreadState* __tstate = wxPyBeginAllowThreads();
31234 (arg1)->SetZoomControl(arg2);
31235 wxPyEndAllowThreads(__tstate);
31236 if (PyErr_Occurred()) SWIG_fail;
31237 }
31238 resultobj = SWIG_Py_Void();
31239 return resultobj;
31240 fail:
31241 return NULL;
31242 }
31243
31244
31245 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31246 PyObject *obj;
31247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31249 return SWIG_Py_Void();
31250 }
31251
31252 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31253 return SWIG_Python_InitShadowInstance(args);
31254 }
31255
31256 static PyMethodDef SwigMethods[] = {
31257 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31259 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31261 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31263 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31264 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31266 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31270 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31271 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31273 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31275 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31277 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31278 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31279 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31280 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31281 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31284 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31286 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31289 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31290 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31292 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31294 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31295 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31296 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31297 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31299 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31301 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31303 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31307 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31309 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31311 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31314 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31315 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31317 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31319 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31321 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31324 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31330 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31331 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31333 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31334 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31338 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31339 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31341 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31344 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31345 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31346 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31347 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31348 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31349 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31352 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31353 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31354 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31357 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31358 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31360 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31362 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31363 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31366 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31367 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31368 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31369 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31370 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31371 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31372 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31373 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31374 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31376 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31377 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31378 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31379 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31383 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31388 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31389 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31391 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31392 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31394 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31396 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31397 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31399 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31405 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31406 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31409 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31410 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31412 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31414 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31416 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31418 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31420 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31422 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31423 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31426 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31427 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31428 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31429 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31430 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31431 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31433 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31441 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31443 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31446 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31447 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31450 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31451 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31453 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31454 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31455 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31458 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31460 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31462 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31463 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31464 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31467 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31469 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31471 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31473 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31475 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31476 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31477 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31480 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31482 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31483 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31484 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31486 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31488 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31489 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31493 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31494 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31495 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31496 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31500 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31501 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31503 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31504 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31505 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31507 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31508 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31509 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31512 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31513 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31514 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31516 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31525 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31526 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31527 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31528 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31530 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31531 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31534 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31535 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31537 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31540 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31541 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31542 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31545 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31546 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31548 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31549 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31551 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31552 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31556 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31557 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31563 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31564 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31566 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31570 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31572 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31573 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31574 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31575 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31577 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31578 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31579 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31581 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31583 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31584 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31585 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31586 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31587 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31588 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31589 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31590 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31591 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31596 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31597 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31599 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31600 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31601 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31604 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31605 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31608 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31609 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31617 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31618 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31619 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31620 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31621 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31622 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31623 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31624 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31625 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31626 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31629 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31630 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31631 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31633 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31634 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31636 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31637 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31639 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31640 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31641 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31642 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31644 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31645 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31647 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31648 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31649 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31650 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31651 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31653 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31654 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31655 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31656 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31657 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31658 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31665 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31666 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31668 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31669 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31670 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31673 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31674 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31678 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31679 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31680 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31682 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31683 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31684 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31685 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31689 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31690 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31692 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31693 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31694 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31695 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31699 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31700 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31702 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31704 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31706 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31707 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31709 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31711 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31712 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31713 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31714 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31715 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31716 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31718 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31719 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31721 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31723 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31724 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31725 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31727 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31729 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31730 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31732 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31739 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31740 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31741 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31742 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31743 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31744 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31745 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31746 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31747 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31749 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31756 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31757 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31758 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31759 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31760 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31761 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31762 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31763 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31764 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31766 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31773 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31774 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31775 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31776 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31777 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31778 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31779 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31780 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31781 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31782 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31783 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31784 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31785 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31786 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31787 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31788 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31789 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31790 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31791 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31792 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31793 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31794 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31795 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
31796 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31809 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31811 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31813 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31814 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31815 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31816 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31822 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31823 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31824 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31825 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31826 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31827 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31828 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31829 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31830 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31831 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31832 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31833 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31834 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31835 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
31836 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31846 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31847 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31848 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31849 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31851 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31852 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31853 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31854 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31855 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31856 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31857 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31858 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31859 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31860 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31861 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31862 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31863 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31864 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31865 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31866 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31867 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31881 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31882 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31883 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31884 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
31885 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31886 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31888 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31889 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31891 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31892 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31893 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31894 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31895 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31896 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31897 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31899 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31905 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31906 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31907 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31908 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31909 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31911 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31913 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31914 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
31919 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
31920 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
31922 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
31923 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
31924 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31929 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31931 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31933 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31935 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
31937 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31938 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31941 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31942 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31943 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31944 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31946 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31947 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31948 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31950 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31951 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31953 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31954 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31955 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31956 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31957 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31958 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31960 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31962 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31963 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31964 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31965 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31966 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31967 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31968 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31969 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31970 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31971 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31973 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31975 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31976 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31979 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31980 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31985 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31987 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31988 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31989 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
31990 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31993 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31994 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31995 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31996 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31998 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31999 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32004 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32005 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32006 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32007 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32008 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32012 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32014 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32015 { NULL, NULL, 0, NULL }
32016 };
32017
32018
32019 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32020
32021 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32022 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32023 }
32024 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32026 }
32027 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32028 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32029 }
32030 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32031 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32032 }
32033 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32034 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32035 }
32036 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32037 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32038 }
32039 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32040 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32041 }
32042 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32043 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32044 }
32045 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32046 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32047 }
32048 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32049 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32050 }
32051 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32052 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32053 }
32054 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32055 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32056 }
32057 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32058 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32059 }
32060 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32061 return (void *)((wxEvent *) ((wxPyEvent *) x));
32062 }
32063 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32064 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32065 }
32066 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32067 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32068 }
32069 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32071 }
32072 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32073 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32074 }
32075 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32076 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32077 }
32078 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32079 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32080 }
32081 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32082 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32083 }
32084 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32085 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32086 }
32087 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32088 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32089 }
32090 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32092 }
32093 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32094 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32095 }
32096 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32097 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32098 }
32099 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32101 }
32102 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32104 }
32105 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32106 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32107 }
32108 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32109 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32110 }
32111 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32112 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32113 }
32114 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32115 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32116 }
32117 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32118 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32119 }
32120 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32121 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32122 }
32123 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32125 }
32126 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32128 }
32129 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32130 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32131 }
32132 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32133 return (void *)((wxEvent *) ((wxShowEvent *) x));
32134 }
32135 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32136 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32137 }
32138 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32140 }
32141 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32143 }
32144 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32145 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32146 }
32147 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32148 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32149 }
32150 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32151 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32152 }
32153 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32154 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32155 }
32156 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32157 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32158 }
32159 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32160 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32161 }
32162 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32163 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32164 }
32165 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32166 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32167 }
32168 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32169 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32170 }
32171 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32172 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32173 }
32174 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32175 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32176 }
32177 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32178 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32179 }
32180 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32181 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32182 }
32183 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32184 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32185 }
32186 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32187 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32188 }
32189 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32190 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32191 }
32192 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32193 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32194 }
32195 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32196 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32197 }
32198 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32199 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32200 }
32201 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32203 }
32204 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32206 }
32207 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32209 }
32210 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32211 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32212 }
32213 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32214 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32215 }
32216 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32217 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32218 }
32219 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32221 }
32222 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32223 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32224 }
32225 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32227 }
32228 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32229 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32230 }
32231 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32233 }
32234 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32235 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32236 }
32237 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32238 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32239 }
32240 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32241 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32242 }
32243 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32244 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32245 }
32246 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32247 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32248 }
32249 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32251 }
32252 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32253 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32254 }
32255 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32256 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32257 }
32258 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32260 }
32261 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32263 }
32264 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32266 }
32267 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32268 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32269 }
32270 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32271 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32272 }
32273 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32275 }
32276 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32277 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32278 }
32279 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32280 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32281 }
32282 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32283 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32284 }
32285 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32286 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32287 }
32288 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32289 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32290 }
32291 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32292 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32293 }
32294 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32295 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32296 }
32297 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32298 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32299 }
32300 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32301 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32302 }
32303 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32304 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32305 }
32306 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32307 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32308 }
32309 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32311 }
32312 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32313 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32314 }
32315 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32316 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32317 }
32318 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32319 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32320 }
32321 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
32322 return (void *)((wxFrame *) ((wxTipWindow *) x));
32323 }
32324 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32325 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32326 }
32327 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32328 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32329 }
32330 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32331 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32332 }
32333 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32334 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32335 }
32336 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32337 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32338 }
32339 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32340 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32341 }
32342 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32343 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32344 }
32345 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32347 }
32348 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32350 }
32351 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32352 return (void *)((wxObject *) ((wxSizerItem *) x));
32353 }
32354 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32355 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32356 }
32357 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32358 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32359 }
32360 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32361 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32362 }
32363 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32364 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32365 }
32366 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32367 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32368 }
32369 static void *_p_wxSizerTo_p_wxObject(void *x) {
32370 return (void *)((wxObject *) ((wxSizer *) x));
32371 }
32372 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32373 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32374 }
32375 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32376 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32377 }
32378 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32380 }
32381 static void *_p_wxEventTo_p_wxObject(void *x) {
32382 return (void *)((wxObject *) ((wxEvent *) x));
32383 }
32384 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32385 return (void *)((wxObject *) ((wxFontData *) x));
32386 }
32387 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32388 return (void *)((wxObject *) ((wxPrintData *) x));
32389 }
32390 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32391 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32392 }
32393 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32394 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32395 }
32396 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32397 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32398 }
32399 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32400 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32401 }
32402 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32403 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32404 }
32405 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32407 }
32408 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32410 }
32411 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32412 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32413 }
32414 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32415 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32416 }
32417 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32418 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32419 }
32420 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32421 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32422 }
32423 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32424 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32425 }
32426 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32427 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32428 }
32429 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32431 }
32432 static void *_p_wxControlTo_p_wxObject(void *x) {
32433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32434 }
32435 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32436 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32437 }
32438 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32440 }
32441 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32442 return (void *)((wxObject *) ((wxFSFile *) x));
32443 }
32444 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32445 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32446 }
32447 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32448 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32449 }
32450 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32452 }
32453 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32454 return (void *)((wxObject *) ((wxColourData *) x));
32455 }
32456 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32457 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32458 }
32459 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32461 }
32462 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32464 }
32465 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32467 }
32468 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32470 }
32471 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32473 }
32474 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32476 }
32477 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32479 }
32480 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32482 }
32483 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32485 }
32486 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32488 }
32489 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32491 }
32492 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32494 }
32495 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32496 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32497 }
32498 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32499 return (void *)((wxObject *) ((wxPrinter *) x));
32500 }
32501 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32502 return (void *)((wxObject *) ((wxMenuItem *) x));
32503 }
32504 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32505 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32506 }
32507 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32508 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32509 }
32510 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32511 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32512 }
32513 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32514 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32515 }
32516 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32517 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32518 }
32519 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32520 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32521 }
32522 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32523 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32524 }
32525 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32526 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32527 }
32528 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32529 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32530 }
32531 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32532 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32533 }
32534 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32535 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32536 }
32537 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32538 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32539 }
32540 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32541 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32542 }
32543 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32544 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32545 }
32546 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32547 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32548 }
32549 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32550 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32551 }
32552 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32553 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32554 }
32555 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32556 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32557 }
32558 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32559 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32560 }
32561 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32562 return (void *)((wxObject *) ((wxImageHandler *) x));
32563 }
32564 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32565 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32566 }
32567 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32568 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32569 }
32570 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32571 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32572 }
32573 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32574 return (void *)((wxObject *) ((wxEvtHandler *) x));
32575 }
32576 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32577 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32578 }
32579 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32580 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32581 }
32582 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32584 }
32585 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32587 }
32588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32589 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32590 }
32591 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32592 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32593 }
32594 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32596 }
32597 static void *_p_wxImageTo_p_wxObject(void *x) {
32598 return (void *)((wxObject *) ((wxImage *) x));
32599 }
32600 static void *_p_wxFrameTo_p_wxObject(void *x) {
32601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32602 }
32603 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32604 return (void *)((wxObject *) ((wxPyPrintout *) x));
32605 }
32606 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32607 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32608 }
32609 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32610 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32611 }
32612 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32614 }
32615 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32617 }
32618 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32620 }
32621 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32622 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32623 }
32624 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32625 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32626 }
32627 static void *_p_wxWindowTo_p_wxObject(void *x) {
32628 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32629 }
32630 static void *_p_wxMenuTo_p_wxObject(void *x) {
32631 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32632 }
32633 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32635 }
32636 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32638 }
32639 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32641 }
32642 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32644 }
32645 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32647 }
32648 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32650 }
32651 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32653 }
32654 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32656 }
32657 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32659 }
32660 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32662 }
32663 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32665 }
32666 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32668 }
32669 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32671 }
32672 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32674 }
32675 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32676 return (void *)((wxObject *) ((wxPrintPreview *) x));
32677 }
32678 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32679 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32680 }
32681 static void *_p_wxPanelTo_p_wxObject(void *x) {
32682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32683 }
32684 static void *_p_wxDialogTo_p_wxObject(void *x) {
32685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32686 }
32687 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32689 }
32690 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32692 }
32693 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32695 }
32696 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32697 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32698 }
32699 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32700 return (void *)((wxObject *) ((wxPrintDialog *) x));
32701 }
32702 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32703 return (void *)((wxObject *) ((wxFileSystem *) x));
32704 }
32705 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32706 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32707 }
32708 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32709 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32710 }
32711 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32712 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32713 }
32714 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32715 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32716 }
32717 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32718 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32719 }
32720 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32721 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32722 }
32723 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32725 }
32726 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32727 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32728 }
32729 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32731 }
32732 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32734 }
32735 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32736 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32737 }
32738 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32739 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32740 }
32741 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32743 }
32744 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32746 }
32747 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32748 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32749 }
32750 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32751 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32752 }
32753 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32754 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32755 }
32756 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32757 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32758 }
32759 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32760 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32761 }
32762 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32763 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32764 }
32765 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32766 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32767 }
32768 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32769 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32770 }
32771 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32772 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32773 }
32774 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32775 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32776 }
32777 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32778 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32779 }
32780 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32781 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32782 }
32783 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32784 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32785 }
32786 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32787 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32788 }
32789 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32790 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32791 }
32792 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32793 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32794 }
32795 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32796 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32797 }
32798 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32799 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32800 }
32801 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32802 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32803 }
32804 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32805 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32806 }
32807 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32808 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32809 }
32810 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32811 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32812 }
32813 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32814 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32815 }
32816 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32818 }
32819 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32821 }
32822 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32823 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32824 }
32825 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32826 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32827 }
32828 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32829 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32830 }
32831 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32832 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32833 }
32834 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32835 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32836 }
32837 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32838 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32839 }
32840 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32841 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32842 }
32843 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32844 return (void *)((wxWindow *) ((wxMenuBar *) x));
32845 }
32846 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32848 }
32849 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32851 }
32852 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32854 }
32855 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32857 }
32858 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32860 }
32861 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32863 }
32864 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32866 }
32867 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32868 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32869 }
32870 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32872 }
32873 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32874 return (void *)((wxWindow *) ((wxPanel *) x));
32875 }
32876 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32877 return (void *)((wxWindow *) ((wxStatusBar *) x));
32878 }
32879 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32880 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32881 }
32882 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32883 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32884 }
32885 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32886 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32887 }
32888 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32889 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32890 }
32891 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32892 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32893 }
32894 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32895 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32896 }
32897 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32898 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32899 }
32900 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32901 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32902 }
32903 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32904 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32905 }
32906 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32907 return (void *)((wxWindow *) ((wxSashWindow *) x));
32908 }
32909 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32910 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32911 }
32912 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32913 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32914 }
32915 static void *_p_wxControlTo_p_wxWindow(void *x) {
32916 return (void *)((wxWindow *) ((wxControl *) x));
32917 }
32918 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32919 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32920 }
32921 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32922 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32923 }
32924 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32925 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32926 }
32927 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32928 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32929 }
32930 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32931 return (void *)((wxWindow *) ((wxPyWindow *) x));
32932 }
32933 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32934 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32935 }
32936 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32937 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32938 }
32939 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32940 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32941 }
32942 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32943 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32944 }
32945 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32946 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32947 }
32948 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32949 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32950 }
32951 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32953 }
32954 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32956 }
32957 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32958 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32959 }
32960 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32961 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32962 }
32963 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32965 }
32966 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32967 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32968 }
32969 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32970 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32971 }
32972 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32973 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32974 }
32975 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32976 return (void *)((wxDialog *) ((wxColourDialog *) x));
32977 }
32978 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32979 return (void *)((wxDialog *) ((wxDirDialog *) x));
32980 }
32981 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32982 return (void *)((wxDialog *) ((wxFontDialog *) x));
32983 }
32984 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32985 return (void *)((wxDialog *) ((wxFileDialog *) x));
32986 }
32987 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32988 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32989 }
32990 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32991 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32992 }
32993 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32994 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32995 }
32996 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32997 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32998 }
32999 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33000 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33001 }
33002 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33003 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33004 }
33005 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33006 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33007 }
33008 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33009 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33010 }
33011 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33012 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33013 }
33014 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33015 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33016 }
33017 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33018 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33019 }
33020 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33021 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33022 }
33023 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33024 return (void *)((wxPanel *) ((wxPyPanel *) x));
33025 }
33026 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33027 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33028 }
33029 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33030 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33031 }
33032 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33033 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33034 }
33035 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33036 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33037 }
33038 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33039 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33040 }
33041 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33042 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33043 }
33044 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33045 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33046 }
33047 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33048 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33049 }
33050 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33051 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33052 }
33053 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33054 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33055 }
33056 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33057 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33058 }
33059 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33060 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33061 }
33062 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33063 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33064 }
33065 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33066 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33067 }
33068 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33069 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33070 }
33071 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33072 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33073 }
33074 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33075 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33076 }
33077 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33078 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33079 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};
33080 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33081 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33082 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33083 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33084 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33085 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33086 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33087 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33088 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33089 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33090 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33091 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33092 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33093 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33094 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33095 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33096 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33097 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33098 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33099 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33100 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33101 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33102 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33103 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33104 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33105 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33106 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33107 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33108 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33109 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33110 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33111 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33112 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33113 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33114 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33115 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33116 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33117 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33118 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33119 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33120 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33121 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33122 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33123 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33124 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33125 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33126 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33127 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33128 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33129 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33130 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33131 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33132 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33133 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33134 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33135 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33136 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33137 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33138 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33139 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33140 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33141 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33142 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33143 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33144 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33145 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33146 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33147 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33148 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33149 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33150 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33151 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33152 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33153 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33154 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33155 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33156 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33157 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33158 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33159 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33160 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33161 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33162 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33163 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33164 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33165 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33166 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33167 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33168 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33169 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33170 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33171 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33172 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33173 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33174 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33175 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33176 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33177 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33178 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33179 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33180 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33181 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33182 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33183 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33184 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33185 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33186 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33187 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33188 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33189 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33190 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33191 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33192 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33193 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33194 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33195 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33196 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33197 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33198 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33199 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33200 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33201 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33202 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33203 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33204 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33205 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33206 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33207 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33208 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33209 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33210 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33211 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33212 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33213 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33214 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33215 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33216 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33217 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33218 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33219 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33232 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33233 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33234 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33235 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33236 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33237 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33238 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33239 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33240 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33243
33244 static swig_type_info *swig_type_initial[] = {
33245 &_swigt__p_bool,
33246 &_swigt__p_char,
33247 &_swigt__p_form_ops_t,
33248 &_swigt__p_int,
33249 &_swigt__p_unsigned_char,
33250 &_swigt__p_unsigned_int,
33251 &_swigt__p_unsigned_long,
33252 &_swigt__p_wxANIHandler,
33253 &_swigt__p_wxAcceleratorTable,
33254 &_swigt__p_wxActivateEvent,
33255 &_swigt__p_wxArrayInt,
33256 &_swigt__p_wxBMPHandler,
33257 &_swigt__p_wxBitmap,
33258 &_swigt__p_wxBoxSizer,
33259 &_swigt__p_wxCURHandler,
33260 &_swigt__p_wxCalculateLayoutEvent,
33261 &_swigt__p_wxChildFocusEvent,
33262 &_swigt__p_wxClipboardTextEvent,
33263 &_swigt__p_wxCloseEvent,
33264 &_swigt__p_wxColour,
33265 &_swigt__p_wxColourData,
33266 &_swigt__p_wxColourDialog,
33267 &_swigt__p_wxCommandEvent,
33268 &_swigt__p_wxContextMenuEvent,
33269 &_swigt__p_wxControl,
33270 &_swigt__p_wxControlWithItems,
33271 &_swigt__p_wxDC,
33272 &_swigt__p_wxDateEvent,
33273 &_swigt__p_wxDialog,
33274 &_swigt__p_wxDirDialog,
33275 &_swigt__p_wxDisplayChangedEvent,
33276 &_swigt__p_wxDropFilesEvent,
33277 &_swigt__p_wxDuplexMode,
33278 &_swigt__p_wxEraseEvent,
33279 &_swigt__p_wxEvent,
33280 &_swigt__p_wxEvtHandler,
33281 &_swigt__p_wxFSFile,
33282 &_swigt__p_wxFileDialog,
33283 &_swigt__p_wxFileSystem,
33284 &_swigt__p_wxFindDialogEvent,
33285 &_swigt__p_wxFindReplaceData,
33286 &_swigt__p_wxFindReplaceDialog,
33287 &_swigt__p_wxFlexGridSizer,
33288 &_swigt__p_wxFocusEvent,
33289 &_swigt__p_wxFont,
33290 &_swigt__p_wxFontData,
33291 &_swigt__p_wxFontDialog,
33292 &_swigt__p_wxFrame,
33293 &_swigt__p_wxGBSizerItem,
33294 &_swigt__p_wxGIFHandler,
33295 &_swigt__p_wxGridBagSizer,
33296 &_swigt__p_wxGridSizer,
33297 &_swigt__p_wxHtmlLinkInfo,
33298 &_swigt__p_wxICOHandler,
33299 &_swigt__p_wxIcon,
33300 &_swigt__p_wxIconBundle,
33301 &_swigt__p_wxIconizeEvent,
33302 &_swigt__p_wxIdleEvent,
33303 &_swigt__p_wxImage,
33304 &_swigt__p_wxImageHandler,
33305 &_swigt__p_wxIndividualLayoutConstraint,
33306 &_swigt__p_wxInitDialogEvent,
33307 &_swigt__p_wxJPEGHandler,
33308 &_swigt__p_wxKeyEvent,
33309 &_swigt__p_wxLayoutAlgorithm,
33310 &_swigt__p_wxLayoutConstraints,
33311 &_swigt__p_wxMDIChildFrame,
33312 &_swigt__p_wxMDIClientWindow,
33313 &_swigt__p_wxMDIParentFrame,
33314 &_swigt__p_wxMaximizeEvent,
33315 &_swigt__p_wxMenu,
33316 &_swigt__p_wxMenuBar,
33317 &_swigt__p_wxMenuEvent,
33318 &_swigt__p_wxMenuItem,
33319 &_swigt__p_wxMessageDialog,
33320 &_swigt__p_wxMiniFrame,
33321 &_swigt__p_wxMouseCaptureChangedEvent,
33322 &_swigt__p_wxMouseCaptureLostEvent,
33323 &_swigt__p_wxMouseEvent,
33324 &_swigt__p_wxMoveEvent,
33325 &_swigt__p_wxMultiChoiceDialog,
33326 &_swigt__p_wxNavigationKeyEvent,
33327 &_swigt__p_wxNcPaintEvent,
33328 &_swigt__p_wxNotifyEvent,
33329 &_swigt__p_wxNumberEntryDialog,
33330 &_swigt__p_wxObject,
33331 &_swigt__p_wxPCXHandler,
33332 &_swigt__p_wxPNGHandler,
33333 &_swigt__p_wxPNMHandler,
33334 &_swigt__p_wxPageSetupDialog,
33335 &_swigt__p_wxPageSetupDialogData,
33336 &_swigt__p_wxPaintEvent,
33337 &_swigt__p_wxPaletteChangedEvent,
33338 &_swigt__p_wxPanel,
33339 &_swigt__p_wxPaperSize,
33340 &_swigt__p_wxPasswordEntryDialog,
33341 &_swigt__p_wxPoint,
33342 &_swigt__p_wxPopupWindow,
33343 &_swigt__p_wxPreviewCanvas,
33344 &_swigt__p_wxPreviewControlBar,
33345 &_swigt__p_wxPreviewFrame,
33346 &_swigt__p_wxPrintData,
33347 &_swigt__p_wxPrintDialog,
33348 &_swigt__p_wxPrintDialogData,
33349 &_swigt__p_wxPrintPreview,
33350 &_swigt__p_wxPrinter,
33351 &_swigt__p_wxProgressDialog,
33352 &_swigt__p_wxPyApp,
33353 &_swigt__p_wxPyCommandEvent,
33354 &_swigt__p_wxPyEvent,
33355 &_swigt__p_wxPyHtmlListBox,
33356 &_swigt__p_wxPyImageHandler,
33357 &_swigt__p_wxPyPanel,
33358 &_swigt__p_wxPyPopupTransientWindow,
33359 &_swigt__p_wxPyPreviewControlBar,
33360 &_swigt__p_wxPyPreviewFrame,
33361 &_swigt__p_wxPyPrintPreview,
33362 &_swigt__p_wxPyPrintout,
33363 &_swigt__p_wxPyScrolledWindow,
33364 &_swigt__p_wxPySizer,
33365 &_swigt__p_wxPyTaskBarIcon,
33366 &_swigt__p_wxPyVListBox,
33367 &_swigt__p_wxPyVScrolledWindow,
33368 &_swigt__p_wxPyValidator,
33369 &_swigt__p_wxPyWindow,
33370 &_swigt__p_wxQueryLayoutInfoEvent,
33371 &_swigt__p_wxQueryNewPaletteEvent,
33372 &_swigt__p_wxRect,
33373 &_swigt__p_wxRegion,
33374 &_swigt__p_wxSashEvent,
33375 &_swigt__p_wxSashLayoutWindow,
33376 &_swigt__p_wxSashWindow,
33377 &_swigt__p_wxScrollEvent,
33378 &_swigt__p_wxScrollWinEvent,
33379 &_swigt__p_wxScrolledWindow,
33380 &_swigt__p_wxSetCursorEvent,
33381 &_swigt__p_wxShowEvent,
33382 &_swigt__p_wxSingleChoiceDialog,
33383 &_swigt__p_wxSize,
33384 &_swigt__p_wxSizeEvent,
33385 &_swigt__p_wxSizer,
33386 &_swigt__p_wxSizerItem,
33387 &_swigt__p_wxSplashScreen,
33388 &_swigt__p_wxSplashScreenWindow,
33389 &_swigt__p_wxSplitterEvent,
33390 &_swigt__p_wxSplitterWindow,
33391 &_swigt__p_wxStaticBoxSizer,
33392 &_swigt__p_wxStatusBar,
33393 &_swigt__p_wxStdDialogButtonSizer,
33394 &_swigt__p_wxString,
33395 &_swigt__p_wxSysColourChangedEvent,
33396 &_swigt__p_wxTGAHandler,
33397 &_swigt__p_wxTIFFHandler,
33398 &_swigt__p_wxTaskBarIcon,
33399 &_swigt__p_wxTaskBarIconEvent,
33400 &_swigt__p_wxTextEntryDialog,
33401 &_swigt__p_wxTipWindow,
33402 &_swigt__p_wxToolBar,
33403 &_swigt__p_wxTopLevelWindow,
33404 &_swigt__p_wxUpdateUIEvent,
33405 &_swigt__p_wxValidator,
33406 &_swigt__p_wxVisualAttributes,
33407 &_swigt__p_wxWindow,
33408 &_swigt__p_wxWindowCreateEvent,
33409 &_swigt__p_wxWindowDestroyEvent,
33410 &_swigt__p_wxXPMHandler,
33411 };
33412
33413 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33414 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33415 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33416 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33417 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33418 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33419 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33420 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33421 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33422 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33423 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33424 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33425 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33426 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33427 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33428 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33429 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33430 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33431 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33432 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33433 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33434 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33435 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}};
33436 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33437 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}};
33438 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33439 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33440 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33441 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33442 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33443 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33444 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33445 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33446 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33447 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33448 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33449 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33450 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33451 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33452 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33453 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33454 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33455 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33456 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33457 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33458 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33459 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33460 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33461 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33462 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33463 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33464 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33465 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33466 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}};
33467 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33468 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33469 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33470 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33471 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33472 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33473 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33474 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33475 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33476 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33477 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33478 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33479 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33480 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33481 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}};
33482 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33483 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33484 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33485 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33486 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33487 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33488 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33489 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33490 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33491 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33492 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33493 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33494 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}};
33495 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33496 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33497 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33498 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33499 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33500 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33501 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33502 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33503 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33504 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33505 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33506 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33507 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33508 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33509 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33510 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33511 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33512 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33513 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33514 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33515 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33516 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33517 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33518 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33519 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33520 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33521 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33522 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
33523 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33524 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33525 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_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}};
33526 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33527 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33528 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
33529 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33530 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33531 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33532 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}};
33533 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33534 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}};
33535 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}};
33536 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33537 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33538 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33539 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}};
33540 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33541 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33542 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33543 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33544 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33545 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33546 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33547 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33548 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33549 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33550 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33551 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
33552 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
33553 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33559 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}};
33560 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33561 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}};
33562 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33573 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}};
33574 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33575 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33576 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}};
33577 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33578 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33579
33580 static swig_cast_info *swig_cast_initial[] = {
33581 _swigc__p_bool,
33582 _swigc__p_char,
33583 _swigc__p_form_ops_t,
33584 _swigc__p_int,
33585 _swigc__p_unsigned_char,
33586 _swigc__p_unsigned_int,
33587 _swigc__p_unsigned_long,
33588 _swigc__p_wxANIHandler,
33589 _swigc__p_wxAcceleratorTable,
33590 _swigc__p_wxActivateEvent,
33591 _swigc__p_wxArrayInt,
33592 _swigc__p_wxBMPHandler,
33593 _swigc__p_wxBitmap,
33594 _swigc__p_wxBoxSizer,
33595 _swigc__p_wxCURHandler,
33596 _swigc__p_wxCalculateLayoutEvent,
33597 _swigc__p_wxChildFocusEvent,
33598 _swigc__p_wxClipboardTextEvent,
33599 _swigc__p_wxCloseEvent,
33600 _swigc__p_wxColour,
33601 _swigc__p_wxColourData,
33602 _swigc__p_wxColourDialog,
33603 _swigc__p_wxCommandEvent,
33604 _swigc__p_wxContextMenuEvent,
33605 _swigc__p_wxControl,
33606 _swigc__p_wxControlWithItems,
33607 _swigc__p_wxDC,
33608 _swigc__p_wxDateEvent,
33609 _swigc__p_wxDialog,
33610 _swigc__p_wxDirDialog,
33611 _swigc__p_wxDisplayChangedEvent,
33612 _swigc__p_wxDropFilesEvent,
33613 _swigc__p_wxDuplexMode,
33614 _swigc__p_wxEraseEvent,
33615 _swigc__p_wxEvent,
33616 _swigc__p_wxEvtHandler,
33617 _swigc__p_wxFSFile,
33618 _swigc__p_wxFileDialog,
33619 _swigc__p_wxFileSystem,
33620 _swigc__p_wxFindDialogEvent,
33621 _swigc__p_wxFindReplaceData,
33622 _swigc__p_wxFindReplaceDialog,
33623 _swigc__p_wxFlexGridSizer,
33624 _swigc__p_wxFocusEvent,
33625 _swigc__p_wxFont,
33626 _swigc__p_wxFontData,
33627 _swigc__p_wxFontDialog,
33628 _swigc__p_wxFrame,
33629 _swigc__p_wxGBSizerItem,
33630 _swigc__p_wxGIFHandler,
33631 _swigc__p_wxGridBagSizer,
33632 _swigc__p_wxGridSizer,
33633 _swigc__p_wxHtmlLinkInfo,
33634 _swigc__p_wxICOHandler,
33635 _swigc__p_wxIcon,
33636 _swigc__p_wxIconBundle,
33637 _swigc__p_wxIconizeEvent,
33638 _swigc__p_wxIdleEvent,
33639 _swigc__p_wxImage,
33640 _swigc__p_wxImageHandler,
33641 _swigc__p_wxIndividualLayoutConstraint,
33642 _swigc__p_wxInitDialogEvent,
33643 _swigc__p_wxJPEGHandler,
33644 _swigc__p_wxKeyEvent,
33645 _swigc__p_wxLayoutAlgorithm,
33646 _swigc__p_wxLayoutConstraints,
33647 _swigc__p_wxMDIChildFrame,
33648 _swigc__p_wxMDIClientWindow,
33649 _swigc__p_wxMDIParentFrame,
33650 _swigc__p_wxMaximizeEvent,
33651 _swigc__p_wxMenu,
33652 _swigc__p_wxMenuBar,
33653 _swigc__p_wxMenuEvent,
33654 _swigc__p_wxMenuItem,
33655 _swigc__p_wxMessageDialog,
33656 _swigc__p_wxMiniFrame,
33657 _swigc__p_wxMouseCaptureChangedEvent,
33658 _swigc__p_wxMouseCaptureLostEvent,
33659 _swigc__p_wxMouseEvent,
33660 _swigc__p_wxMoveEvent,
33661 _swigc__p_wxMultiChoiceDialog,
33662 _swigc__p_wxNavigationKeyEvent,
33663 _swigc__p_wxNcPaintEvent,
33664 _swigc__p_wxNotifyEvent,
33665 _swigc__p_wxNumberEntryDialog,
33666 _swigc__p_wxObject,
33667 _swigc__p_wxPCXHandler,
33668 _swigc__p_wxPNGHandler,
33669 _swigc__p_wxPNMHandler,
33670 _swigc__p_wxPageSetupDialog,
33671 _swigc__p_wxPageSetupDialogData,
33672 _swigc__p_wxPaintEvent,
33673 _swigc__p_wxPaletteChangedEvent,
33674 _swigc__p_wxPanel,
33675 _swigc__p_wxPaperSize,
33676 _swigc__p_wxPasswordEntryDialog,
33677 _swigc__p_wxPoint,
33678 _swigc__p_wxPopupWindow,
33679 _swigc__p_wxPreviewCanvas,
33680 _swigc__p_wxPreviewControlBar,
33681 _swigc__p_wxPreviewFrame,
33682 _swigc__p_wxPrintData,
33683 _swigc__p_wxPrintDialog,
33684 _swigc__p_wxPrintDialogData,
33685 _swigc__p_wxPrintPreview,
33686 _swigc__p_wxPrinter,
33687 _swigc__p_wxProgressDialog,
33688 _swigc__p_wxPyApp,
33689 _swigc__p_wxPyCommandEvent,
33690 _swigc__p_wxPyEvent,
33691 _swigc__p_wxPyHtmlListBox,
33692 _swigc__p_wxPyImageHandler,
33693 _swigc__p_wxPyPanel,
33694 _swigc__p_wxPyPopupTransientWindow,
33695 _swigc__p_wxPyPreviewControlBar,
33696 _swigc__p_wxPyPreviewFrame,
33697 _swigc__p_wxPyPrintPreview,
33698 _swigc__p_wxPyPrintout,
33699 _swigc__p_wxPyScrolledWindow,
33700 _swigc__p_wxPySizer,
33701 _swigc__p_wxPyTaskBarIcon,
33702 _swigc__p_wxPyVListBox,
33703 _swigc__p_wxPyVScrolledWindow,
33704 _swigc__p_wxPyValidator,
33705 _swigc__p_wxPyWindow,
33706 _swigc__p_wxQueryLayoutInfoEvent,
33707 _swigc__p_wxQueryNewPaletteEvent,
33708 _swigc__p_wxRect,
33709 _swigc__p_wxRegion,
33710 _swigc__p_wxSashEvent,
33711 _swigc__p_wxSashLayoutWindow,
33712 _swigc__p_wxSashWindow,
33713 _swigc__p_wxScrollEvent,
33714 _swigc__p_wxScrollWinEvent,
33715 _swigc__p_wxScrolledWindow,
33716 _swigc__p_wxSetCursorEvent,
33717 _swigc__p_wxShowEvent,
33718 _swigc__p_wxSingleChoiceDialog,
33719 _swigc__p_wxSize,
33720 _swigc__p_wxSizeEvent,
33721 _swigc__p_wxSizer,
33722 _swigc__p_wxSizerItem,
33723 _swigc__p_wxSplashScreen,
33724 _swigc__p_wxSplashScreenWindow,
33725 _swigc__p_wxSplitterEvent,
33726 _swigc__p_wxSplitterWindow,
33727 _swigc__p_wxStaticBoxSizer,
33728 _swigc__p_wxStatusBar,
33729 _swigc__p_wxStdDialogButtonSizer,
33730 _swigc__p_wxString,
33731 _swigc__p_wxSysColourChangedEvent,
33732 _swigc__p_wxTGAHandler,
33733 _swigc__p_wxTIFFHandler,
33734 _swigc__p_wxTaskBarIcon,
33735 _swigc__p_wxTaskBarIconEvent,
33736 _swigc__p_wxTextEntryDialog,
33737 _swigc__p_wxTipWindow,
33738 _swigc__p_wxToolBar,
33739 _swigc__p_wxTopLevelWindow,
33740 _swigc__p_wxUpdateUIEvent,
33741 _swigc__p_wxValidator,
33742 _swigc__p_wxVisualAttributes,
33743 _swigc__p_wxWindow,
33744 _swigc__p_wxWindowCreateEvent,
33745 _swigc__p_wxWindowDestroyEvent,
33746 _swigc__p_wxXPMHandler,
33747 };
33748
33749
33750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33751
33752 static swig_const_info swig_const_table[] = {
33753 {0, 0, 0, 0.0, 0, 0}};
33754
33755 #ifdef __cplusplus
33756 }
33757 #endif
33758 /* -----------------------------------------------------------------------------
33759 * Type initialization:
33760 * This problem is tough by the requirement that no dynamic
33761 * memory is used. Also, since swig_type_info structures store pointers to
33762 * swig_cast_info structures and swig_cast_info structures store pointers back
33763 * to swig_type_info structures, we need some lookup code at initialization.
33764 * The idea is that swig generates all the structures that are needed.
33765 * The runtime then collects these partially filled structures.
33766 * The SWIG_InitializeModule function takes these initial arrays out of
33767 * swig_module, and does all the lookup, filling in the swig_module.types
33768 * array with the correct data and linking the correct swig_cast_info
33769 * structures together.
33770 *
33771 * The generated swig_type_info structures are assigned staticly to an initial
33772 * array. We just loop though that array, and handle each type individually.
33773 * First we lookup if this type has been already loaded, and if so, use the
33774 * loaded structure instead of the generated one. Then we have to fill in the
33775 * cast linked list. The cast data is initially stored in something like a
33776 * two-dimensional array. Each row corresponds to a type (there are the same
33777 * number of rows as there are in the swig_type_initial array). Each entry in
33778 * a column is one of the swig_cast_info structures for that type.
33779 * The cast_initial array is actually an array of arrays, because each row has
33780 * a variable number of columns. So to actually build the cast linked list,
33781 * we find the array of casts associated with the type, and loop through it
33782 * adding the casts to the list. The one last trick we need to do is making
33783 * sure the type pointer in the swig_cast_info struct is correct.
33784 *
33785 * First off, we lookup the cast->type name to see if it is already loaded.
33786 * There are three cases to handle:
33787 * 1) If the cast->type has already been loaded AND the type we are adding
33788 * casting info to has not been loaded (it is in this module), THEN we
33789 * replace the cast->type pointer with the type pointer that has already
33790 * been loaded.
33791 * 2) If BOTH types (the one we are adding casting info to, and the
33792 * cast->type) are loaded, THEN the cast info has already been loaded by
33793 * the previous module so we just ignore it.
33794 * 3) Finally, if cast->type has not already been loaded, then we add that
33795 * swig_cast_info to the linked list (because the cast->type) pointer will
33796 * be correct.
33797 * ----------------------------------------------------------------------------- */
33798
33799 #ifdef __cplusplus
33800 extern "C" {
33801 #if 0
33802 } /* c-mode */
33803 #endif
33804 #endif
33805
33806 #if 0
33807 #define SWIGRUNTIME_DEBUG
33808 #endif
33809
33810 SWIGRUNTIME void
33811 SWIG_InitializeModule(void *clientdata) {
33812 size_t i;
33813 swig_module_info *module_head;
33814 static int init_run = 0;
33815
33816 clientdata = clientdata;
33817
33818 if (init_run) return;
33819 init_run = 1;
33820
33821 /* Initialize the swig_module */
33822 swig_module.type_initial = swig_type_initial;
33823 swig_module.cast_initial = swig_cast_initial;
33824
33825 /* Try and load any already created modules */
33826 module_head = SWIG_GetModule(clientdata);
33827 if (module_head) {
33828 swig_module.next = module_head->next;
33829 module_head->next = &swig_module;
33830 } else {
33831 /* This is the first module loaded */
33832 swig_module.next = &swig_module;
33833 SWIG_SetModule(clientdata, &swig_module);
33834 }
33835
33836 /* Now work on filling in swig_module.types */
33837 #ifdef SWIGRUNTIME_DEBUG
33838 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33839 #endif
33840 for (i = 0; i < swig_module.size; ++i) {
33841 swig_type_info *type = 0;
33842 swig_type_info *ret;
33843 swig_cast_info *cast;
33844
33845 #ifdef SWIGRUNTIME_DEBUG
33846 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33847 #endif
33848
33849 /* if there is another module already loaded */
33850 if (swig_module.next != &swig_module) {
33851 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33852 }
33853 if (type) {
33854 /* Overwrite clientdata field */
33855 #ifdef SWIGRUNTIME_DEBUG
33856 printf("SWIG_InitializeModule: found type %s\n", type->name);
33857 #endif
33858 if (swig_module.type_initial[i]->clientdata) {
33859 type->clientdata = swig_module.type_initial[i]->clientdata;
33860 #ifdef SWIGRUNTIME_DEBUG
33861 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33862 #endif
33863 }
33864 } else {
33865 type = swig_module.type_initial[i];
33866 }
33867
33868 /* Insert casting types */
33869 cast = swig_module.cast_initial[i];
33870 while (cast->type) {
33871 /* Don't need to add information already in the list */
33872 ret = 0;
33873 #ifdef SWIGRUNTIME_DEBUG
33874 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33875 #endif
33876 if (swig_module.next != &swig_module) {
33877 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33878 #ifdef SWIGRUNTIME_DEBUG
33879 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33880 #endif
33881 }
33882 if (ret) {
33883 if (type == swig_module.type_initial[i]) {
33884 #ifdef SWIGRUNTIME_DEBUG
33885 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33886 #endif
33887 cast->type = ret;
33888 ret = 0;
33889 } else {
33890 /* Check for casting already in the list */
33891 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33892 #ifdef SWIGRUNTIME_DEBUG
33893 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33894 #endif
33895 if (!ocast) ret = 0;
33896 }
33897 }
33898
33899 if (!ret) {
33900 #ifdef SWIGRUNTIME_DEBUG
33901 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33902 #endif
33903 if (type->cast) {
33904 type->cast->prev = cast;
33905 cast->next = type->cast;
33906 }
33907 type->cast = cast;
33908 }
33909 cast++;
33910 }
33911 /* Set entry in modules->types array equal to the type */
33912 swig_module.types[i] = type;
33913 }
33914 swig_module.types[i] = 0;
33915
33916 #ifdef SWIGRUNTIME_DEBUG
33917 printf("**** SWIG_InitializeModule: Cast List ******\n");
33918 for (i = 0; i < swig_module.size; ++i) {
33919 int j = 0;
33920 swig_cast_info *cast = swig_module.cast_initial[i];
33921 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33922 while (cast->type) {
33923 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33924 cast++;
33925 ++j;
33926 }
33927 printf("---- Total casts: %d\n",j);
33928 }
33929 printf("**** SWIG_InitializeModule: Cast List ******\n");
33930 #endif
33931 }
33932
33933 /* This function will propagate the clientdata field of type to
33934 * any new swig_type_info structures that have been added into the list
33935 * of equivalent types. It is like calling
33936 * SWIG_TypeClientData(type, clientdata) a second time.
33937 */
33938 SWIGRUNTIME void
33939 SWIG_PropagateClientData(void) {
33940 size_t i;
33941 swig_cast_info *equiv;
33942 static int init_run = 0;
33943
33944 if (init_run) return;
33945 init_run = 1;
33946
33947 for (i = 0; i < swig_module.size; i++) {
33948 if (swig_module.types[i]->clientdata) {
33949 equiv = swig_module.types[i]->cast;
33950 while (equiv) {
33951 if (!equiv->converter) {
33952 if (equiv->type && !equiv->type->clientdata)
33953 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33954 }
33955 equiv = equiv->next;
33956 }
33957 }
33958 }
33959 }
33960
33961 #ifdef __cplusplus
33962 #if 0
33963 {
33964 /* c-mode */
33965 #endif
33966 }
33967 #endif
33968
33969
33970
33971 #ifdef __cplusplus
33972 extern "C" {
33973 #endif
33974
33975 /* Python-specific SWIG API */
33976 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33977 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33978 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33979
33980 /* -----------------------------------------------------------------------------
33981 * global variable support code.
33982 * ----------------------------------------------------------------------------- */
33983
33984 typedef struct swig_globalvar {
33985 char *name; /* Name of global variable */
33986 PyObject *(*get_attr)(void); /* Return the current value */
33987 int (*set_attr)(PyObject *); /* Set the value */
33988 struct swig_globalvar *next;
33989 } swig_globalvar;
33990
33991 typedef struct swig_varlinkobject {
33992 PyObject_HEAD
33993 swig_globalvar *vars;
33994 } swig_varlinkobject;
33995
33996 SWIGINTERN PyObject *
33997 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33998 return PyString_FromString("<Swig global variables>");
33999 }
34000
34001 SWIGINTERN PyObject *
34002 swig_varlink_str(swig_varlinkobject *v) {
34003 PyObject *str = PyString_FromString("(");
34004 swig_globalvar *var;
34005 for (var = v->vars; var; var=var->next) {
34006 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34007 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34008 }
34009 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34010 return str;
34011 }
34012
34013 SWIGINTERN int
34014 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34015 PyObject *str = swig_varlink_str(v);
34016 fprintf(fp,"Swig global variables ");
34017 fprintf(fp,"%s\n", PyString_AsString(str));
34018 Py_DECREF(str);
34019 return 0;
34020 }
34021
34022 SWIGINTERN void
34023 swig_varlink_dealloc(swig_varlinkobject *v) {
34024 swig_globalvar *var = v->vars;
34025 while (var) {
34026 swig_globalvar *n = var->next;
34027 free(var->name);
34028 free(var);
34029 var = n;
34030 }
34031 }
34032
34033 SWIGINTERN PyObject *
34034 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34035 PyObject *res = NULL;
34036 swig_globalvar *var = v->vars;
34037 while (var) {
34038 if (strcmp(var->name,n) == 0) {
34039 res = (*var->get_attr)();
34040 break;
34041 }
34042 var = var->next;
34043 }
34044 if (res == NULL && !PyErr_Occurred()) {
34045 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34046 }
34047 return res;
34048 }
34049
34050 SWIGINTERN int
34051 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34052 int res = 1;
34053 swig_globalvar *var = v->vars;
34054 while (var) {
34055 if (strcmp(var->name,n) == 0) {
34056 res = (*var->set_attr)(p);
34057 break;
34058 }
34059 var = var->next;
34060 }
34061 if (res == 1 && !PyErr_Occurred()) {
34062 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34063 }
34064 return res;
34065 }
34066
34067 SWIGINTERN PyTypeObject*
34068 swig_varlink_type(void) {
34069 static char varlink__doc__[] = "Swig var link object";
34070 static PyTypeObject varlink_type;
34071 static int type_init = 0;
34072 if (!type_init) {
34073 const PyTypeObject tmp
34074 = {
34075 PyObject_HEAD_INIT(NULL)
34076 0, /* Number of items in variable part (ob_size) */
34077 (char *)"swigvarlink", /* Type name (tp_name) */
34078 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34079 0, /* Itemsize (tp_itemsize) */
34080 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34081 (printfunc) swig_varlink_print, /* Print (tp_print) */
34082 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34083 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34084 0, /* tp_compare */
34085 (reprfunc) swig_varlink_repr, /* tp_repr */
34086 0, /* tp_as_number */
34087 0, /* tp_as_sequence */
34088 0, /* tp_as_mapping */
34089 0, /* tp_hash */
34090 0, /* tp_call */
34091 (reprfunc)swig_varlink_str, /* tp_str */
34092 0, /* tp_getattro */
34093 0, /* tp_setattro */
34094 0, /* tp_as_buffer */
34095 0, /* tp_flags */
34096 varlink__doc__, /* tp_doc */
34097 0, /* tp_traverse */
34098 0, /* tp_clear */
34099 0, /* tp_richcompare */
34100 0, /* tp_weaklistoffset */
34101 #if PY_VERSION_HEX >= 0x02020000
34102 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34103 #endif
34104 #if PY_VERSION_HEX >= 0x02030000
34105 0, /* tp_del */
34106 #endif
34107 #ifdef COUNT_ALLOCS
34108 0,0,0,0 /* tp_alloc -> tp_next */
34109 #endif
34110 };
34111 varlink_type = tmp;
34112 varlink_type.ob_type = &PyType_Type;
34113 type_init = 1;
34114 }
34115 return &varlink_type;
34116 }
34117
34118 /* Create a variable linking object for use later */
34119 SWIGINTERN PyObject *
34120 SWIG_Python_newvarlink(void) {
34121 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34122 if (result) {
34123 result->vars = 0;
34124 }
34125 return ((PyObject*) result);
34126 }
34127
34128 SWIGINTERN void
34129 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34130 swig_varlinkobject *v = (swig_varlinkobject *) p;
34131 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34132 if (gv) {
34133 size_t size = strlen(name)+1;
34134 gv->name = (char *)malloc(size);
34135 if (gv->name) {
34136 strncpy(gv->name,name,size);
34137 gv->get_attr = get_attr;
34138 gv->set_attr = set_attr;
34139 gv->next = v->vars;
34140 }
34141 }
34142 v->vars = gv;
34143 }
34144
34145 SWIGINTERN PyObject *
34146 SWIG_globals() {
34147 static PyObject *_SWIG_globals = 0;
34148 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34149 return _SWIG_globals;
34150 }
34151
34152 /* -----------------------------------------------------------------------------
34153 * constants/methods manipulation
34154 * ----------------------------------------------------------------------------- */
34155
34156 /* Install Constants */
34157 SWIGINTERN void
34158 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34159 PyObject *obj = 0;
34160 size_t i;
34161 for (i = 0; constants[i].type; ++i) {
34162 switch(constants[i].type) {
34163 case SWIG_PY_POINTER:
34164 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34165 break;
34166 case SWIG_PY_BINARY:
34167 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34168 break;
34169 default:
34170 obj = 0;
34171 break;
34172 }
34173 if (obj) {
34174 PyDict_SetItemString(d, constants[i].name, obj);
34175 Py_DECREF(obj);
34176 }
34177 }
34178 }
34179
34180 /* -----------------------------------------------------------------------------*/
34181 /* Fix SwigMethods to carry the callback ptrs when needed */
34182 /* -----------------------------------------------------------------------------*/
34183
34184 SWIGINTERN void
34185 SWIG_Python_FixMethods(PyMethodDef *methods,
34186 swig_const_info *const_table,
34187 swig_type_info **types,
34188 swig_type_info **types_initial) {
34189 size_t i;
34190 for (i = 0; methods[i].ml_name; ++i) {
34191 const char *c = methods[i].ml_doc;
34192 if (c && (c = strstr(c, "swig_ptr: "))) {
34193 int j;
34194 swig_const_info *ci = 0;
34195 const char *name = c + 10;
34196 for (j = 0; const_table[j].type; ++j) {
34197 if (strncmp(const_table[j].name, name,
34198 strlen(const_table[j].name)) == 0) {
34199 ci = &(const_table[j]);
34200 break;
34201 }
34202 }
34203 if (ci) {
34204 size_t shift = (ci->ptype) - types;
34205 swig_type_info *ty = types_initial[shift];
34206 size_t ldoc = (c - methods[i].ml_doc);
34207 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34208 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34209 if (ndoc) {
34210 char *buff = ndoc;
34211 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34212 if (ptr) {
34213 strncpy(buff, methods[i].ml_doc, ldoc);
34214 buff += ldoc;
34215 strncpy(buff, "swig_ptr: ", 10);
34216 buff += 10;
34217 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34218 methods[i].ml_doc = ndoc;
34219 }
34220 }
34221 }
34222 }
34223 }
34224 }
34225
34226 #ifdef __cplusplus
34227 }
34228 #endif
34229
34230 /* -----------------------------------------------------------------------------*
34231 * Partial Init method
34232 * -----------------------------------------------------------------------------*/
34233
34234 #ifdef __cplusplus
34235 extern "C"
34236 #endif
34237 SWIGEXPORT void SWIG_init(void) {
34238 PyObject *m, *d;
34239
34240 /* Fix SwigMethods to carry the callback ptrs when needed */
34241 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34242
34243 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34244 d = PyModule_GetDict(m);
34245
34246 SWIG_InitializeModule(0);
34247 SWIG_InstallConstants(d,swig_const_table);
34248
34249
34250 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34251 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34252 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34253 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34254 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34255 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34256 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34257 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34258 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34259 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34260 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34261 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34262 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34263 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34264 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34265 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34266 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34267 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34268 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34269 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34270 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34271 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34272 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34273 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34274 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34275 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34276 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34277 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34278 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34279 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34280 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34281 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34282 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34283 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34284 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34285 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34286 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34287 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34288 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34289 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34290 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34291 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34292 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34293 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34294 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34295 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34296 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34297 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34298 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34299 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34300 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34301 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34302 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34303 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34304 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34305 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34306 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34307 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34308 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34309 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34310 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34311 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34312 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34313 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34314 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34315 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34316 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34317 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34318 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34319 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34320 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34321 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34322 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34323 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34324 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34325 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34326 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34327 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34328 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34329 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34330 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34331 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34332 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34333 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34334 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34335 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34336 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34337 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34338 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34339 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34340 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34341 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34342 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34343 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34344 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34345 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34346 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34347 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34348 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34349 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34350 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34351 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34352 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34353 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34354 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34355
34356 // Map renamed classes back to their common name for OOR
34357 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34358 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34359 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34360
34361 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34362 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34363 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34364 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34365 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34366 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34367 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34368 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34369 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34370 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34371 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34372 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34373 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34374 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34375 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34376 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34377 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34378 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34379 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34380 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34381 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34382 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34383 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34384 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34385 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34386 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34387 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34388 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34389 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34390 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34391 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34392 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34393 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34394 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34395 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34396 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34397 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34398 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34399 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34400 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34401 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34402 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34403 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34404 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34405 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34406 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34407 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34408 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34409 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34410 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34411 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34412 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34413 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34414 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34415 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34416 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34417 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34418 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34419 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34420 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34421 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34422 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34423 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34424 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34425 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34426 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34427 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34428 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34429 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34430 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34431 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34432 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34433 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34434 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34435 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34436 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34437 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34438 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34439 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34440 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34441 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34442 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34443 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34444 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34445 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34446 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34447 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34448 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34449 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34450 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34451 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34452 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34453 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34454 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34455 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34456 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34457 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34458 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34459 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34460 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34461 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34462 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34463 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34464 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34465
34466 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34467
34468 }
34469