]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info *swig_types[164];
2626 static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629
2630 /* -------- TYPES TABLE (END) -------- */
2631
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2635 # endif
2636 #endif
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2639 #endif
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 #endif
2643 #ifndef METH_O
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 #endif
2646
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2651
2652 #define SWIG_name "_windows_"
2653
2654 #define SWIGVERSION 0x010329
2655
2656
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659
2660
2661 #include <stdexcept>
2662
2663
2664 namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
2668
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
2673
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
2677 }
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
2707 }
2708
2709
2710 namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
2719 }
2720 };
2721 }
2722
2723
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2726
2727
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2730
2731
2732
2733 #include <limits.h>
2734 #ifndef LLONG_MIN
2735 # define LLONG_MIN LONG_LONG_MIN
2736 #endif
2737 #ifndef LLONG_MAX
2738 # define LLONG_MAX LONG_LONG_MAX
2739 #endif
2740 #ifndef ULLONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2742 #endif
2743
2744
2745 SWIGINTERN int
2746 SWIG_AsVal_long (PyObject* obj, long* val)
2747 {
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
2753 }
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_int (PyObject * obj, int *val)
2758 {
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
2769 }
2770
2771
2772 SWIGINTERN int
2773 SWIG_AsVal_bool (PyObject *obj, bool *val)
2774 {
2775 if (obj == Py_True) {
2776 if (val) *val = true;
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
2779 if (val) *val = false;
2780 return SWIG_OK;
2781 } else {
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
2786 }
2787 }
2788
2789
2790 #define SWIG_From_long PyInt_FromLong
2791
2792
2793 SWIGINTERNINLINE PyObject *
2794 SWIG_From_int (int value)
2795 {
2796 return SWIG_From_long (value);
2797 }
2798
2799
2800 SWIGINTERN int
2801 SWIG_AsVal_double (PyObject *obj, double* val)
2802 {
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
2805 return SWIG_OK;
2806 }
2807 return SWIG_TypeError;
2808 }
2809
2810
2811 #define SWIG_From_double PyFloat_FromDouble
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2817 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2818 int style = self->GetExtraStyle();
2819 if ( on )
2820 style |= wxFRAME_EX_METAL;
2821 else
2822 style &= ~wxFRAME_EX_METAL;
2823 self->SetExtraStyle(style);
2824 }
2825
2826
2827 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2828 wxRect r;
2829 self->GetFieldRect(i, r);
2830 return r;
2831 }
2832 static const wxString wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2835
2836 #include <wx/popupwin.h>
2837
2838
2839 class wxPopupWindow : public wxWindow {
2840 public:
2841 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2842 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2843 };
2844
2845 class wxPyPopupTransientWindow : public wxPopupWindow
2846 {
2847 public:
2848 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2849 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2850 };
2851
2852
2853 #include <wx/tipwin.h>
2854
2855 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2856 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2857 }
2858
2859 #include <wx/tipwin.h>
2860
2861
2862 #include <wx/vscroll.h>
2863
2864
2865 class wxPyVScrolledWindow : public wxVScrolledWindow
2866 {
2867 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2868 public:
2869 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2870
2871 wxPyVScrolledWindow(wxWindow *parent,
2872 wxWindowID id = wxID_ANY,
2873 const wxPoint& pos = wxDefaultPosition,
2874 const wxSize& size = wxDefaultSize,
2875 long style = 0,
2876 const wxString& name = wxPyPanelNameStr)
2877 : wxVScrolledWindow(parent, id, pos, size, style, name)
2878 {}
2879
2880 // Overridable virtuals
2881
2882 // this function must be overridden in the derived class and it should
2883 // return the height of the given line in pixels
2884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2885
2886
2887 // this function doesn't have to be overridden but it may be useful to do
2888 // it if calculating the lines heights is a relatively expensive operation
2889 // as it gives the user code a possibility to calculate several of them at
2890 // once
2891 //
2892 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2893 // shouldn't rely on the latter being called for all lines in the interval
2894 // specified here. It is also possible that OnGetLineHeight() will be
2895 // called for the lines outside of this interval, so this is really just a
2896 // hint, not a promise.
2897 //
2898 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2899 // usual
2900 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2901
2902
2903 // when the number of lines changes, we try to estimate the total height
2904 // of all lines which is a rather expensive operation in terms of lines
2905 // access, so if the user code may estimate the average height
2906 // better/faster than we do, it should override this function to implement
2907 // its own logic
2908 //
2909 // this function should return the best guess for the total height it may
2910 // make
2911 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2912
2913
2914 // Also expose some other interesting protected methods
2915
2916
2917 // find the index of the line we need to show at the top of the window such
2918 // that the last (fully or partially) visible line is the given one
2919 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2920 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2921
2922 // get the total height of the lines between lineMin (inclusive) and
2923 // lineMax (exclusive)
2924 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2925 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2926
2927 // update the thumb size shown by the scrollbar
2928 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2929
2930 // remove the scrollbar completely because we don't need it
2931 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2932
2933 PYPRIVATE;
2934 };
2935
2936 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2937
2938 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2939 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2940 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2941
2942
2943 SWIGINTERN int
2944 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2945 {
2946 long v = 0;
2947 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2948 return SWIG_TypeError;
2949 }
2950 else if (val)
2951 *val = (unsigned long)v;
2952 return SWIG_OK;
2953 }
2954
2955
2956 SWIGINTERNINLINE int
2957 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2958 {
2959 unsigned long v;
2960 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2961 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2962 return res;
2963 }
2964
2965
2966 SWIGINTERNINLINE PyObject*
2967 SWIG_From_unsigned_SS_long (unsigned long value)
2968 {
2969 return (value > LONG_MAX) ?
2970 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2971 }
2972
2973
2974 SWIGINTERNINLINE PyObject *
2975 SWIG_From_size_t (size_t value)
2976 {
2977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2978 }
2979
2980
2981 #include <wx/vlbox.h>
2982
2983 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2984
2985 class wxPyVListBox : public wxVListBox
2986 {
2987 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2988 public:
2989 wxPyVListBox() : wxVListBox() {}
2990
2991 wxPyVListBox(wxWindow *parent,
2992 wxWindowID id = wxID_ANY,
2993 const wxPoint& pos = wxDefaultPosition,
2994 const wxSize& size = wxDefaultSize,
2995 long style = 0,
2996 const wxString& name = wxPyVListBoxNameStr)
2997 : wxVListBox(parent, id, pos, size, style, name)
2998 {}
2999
3000 // Overridable virtuals
3001
3002 // the derived class must implement this function to actually draw the item
3003 // with the given index on the provided DC
3004 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3005 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3006
3007
3008 // the derived class must implement this method to return the height of the
3009 // specified item
3010 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3011 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3012
3013
3014 // this method may be used to draw separators between the lines; note that
3015 // the rectangle may be modified, typically to deflate it a bit before
3016 // passing to OnDrawItem()
3017 //
3018 // the base class version doesn't do anything
3019 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3020 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3021
3022
3023 // this method is used to draw the items background and, maybe, a border
3024 // around it
3025 //
3026 // the base class version implements a reasonable default behaviour which
3027 // consists in drawing the selected item with the standard background
3028 // colour and drawing a border around the item if it is either selected or
3029 // current
3030 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3031 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3032
3033
3034 PYPRIVATE;
3035 };
3036
3037 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3038
3039 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3040 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3041 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3042 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3043
3044
3045 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3046 unsigned long cookie = 0;
3047 int selected = self->GetFirstSelected(cookie);
3048 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3049 PyObject* tup = PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3051 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3052 wxPyEndBlockThreads(blocked);
3053 return tup;
3054 }
3055 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3056 int selected = self->GetNextSelected(cookie);
3057 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3058 PyObject* tup = PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3060 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3061 wxPyEndBlockThreads(blocked);
3062 return tup;
3063 }
3064
3065 #include <wx/htmllbox.h>
3066
3067
3068 class wxPyHtmlListBox : public wxHtmlListBox
3069 {
3070 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3071 public:
3072 wxPyHtmlListBox() : wxHtmlListBox() {}
3073
3074 wxPyHtmlListBox(wxWindow *parent,
3075 wxWindowID id = wxID_ANY,
3076 const wxPoint& pos = wxDefaultPosition,
3077 const wxSize& size = wxDefaultSize,
3078 long style = 0,
3079 const wxString& name = wxPyVListBoxNameStr)
3080 : wxHtmlListBox(parent, id, pos, size, style, name)
3081 {}
3082
3083 // Overridable virtuals
3084
3085 // this method must be implemented in the derived class and should return
3086 // the body (i.e. without <html>) of the HTML for the given item
3087 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3088
3089 // this function may be overridden to decorate HTML returned by OnGetItem()
3090 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3091
3092 // These are from wxVListBox
3093 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3094 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3095
3096 // TODO:
3097 // // this method allows to customize the selection appearance: it may be used
3098 // // to specify the colour of the text which normally has the given colour
3099 // // colFg when it is inside the selection
3100 // //
3101 // // by default, the original colour is not used at all and all text has the
3102 // // same (default for this system) colour inside selection
3103 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3104
3105 // // this is the same as GetSelectedTextColour() but allows to customize the
3106 // // background colour -- this is even more rarely used as you can change it
3107 // // globally using SetSelectionBackground()
3108 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3109
3110
3111 // This method may be overriden to handle clicking on a link in
3112 // the listbox. By default, clicking links is ignored.
3113 virtual void OnLinkClicked(size_t n,
3114 const wxHtmlLinkInfo& link);
3115
3116 PYPRIVATE;
3117 };
3118
3119
3120 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3121
3122 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3123 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3124 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3125 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3126
3127
3128 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3129 const wxHtmlLinkInfo& link) {
3130 bool found;
3131 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3132 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3133 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3134 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3135 Py_DECREF(obj);
3136 }
3137 wxPyEndBlockThreads(blocked);
3138 if (! found)
3139 wxPyHtmlListBox::OnLinkClicked(n, link);
3140 }
3141
3142
3143
3144
3145
3146 #ifndef wxHAS_TASK_BAR_ICON
3147 // implement dummy classes for platforms that don't have it
3148
3149 class wxTaskBarIcon : public wxEvtHandler
3150 {
3151 public:
3152 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3153 };
3154
3155
3156 class wxTaskBarIconEvent : public wxEvent
3157 {
3158 public:
3159 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3160 { wxPyRaiseNotImplemented(); }
3161 virtual wxEvent* Clone() const { return NULL; }
3162 bool IsOk() const { return false; }
3163 bool IsIconInstalled() const { return false; }
3164 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3165 bool RemoveIcon() { return false; }
3166 bool PopupMenu(wxMenu *menu) { return false; }
3167 };
3168
3169 enum {
3170 wxEVT_TASKBAR_MOVE = 0,
3171 wxEVT_TASKBAR_LEFT_DOWN = 0,
3172 wxEVT_TASKBAR_LEFT_UP = 0,
3173 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3174 wxEVT_TASKBAR_RIGHT_UP = 0,
3175 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3176 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3177 };
3178
3179
3180 #else
3181 // Otherwise make a class that can virtualize CreatePopupMenu
3182 class wxPyTaskBarIcon : public wxTaskBarIcon
3183 {
3184 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3185 public:
3186 wxPyTaskBarIcon() : wxTaskBarIcon()
3187 {}
3188
3189 wxMenu* CreatePopupMenu() {
3190 wxMenu *rval = NULL;
3191 bool found;
3192 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3193 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3194 PyObject* ro;
3195 wxMenu* ptr;
3196 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3197 if (ro) {
3198 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3199 rval = ptr;
3200 Py_DECREF(ro);
3201 }
3202 }
3203 wxPyEndBlockThreads(blocked);
3204 if (! found)
3205 rval = wxTaskBarIcon::CreatePopupMenu();
3206 return rval;
3207 }
3208
3209 PYPRIVATE;
3210 };
3211
3212 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3213
3214 #endif
3215
3216 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3217 self->RemoveIcon();
3218 delete self;
3219 }
3220 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3221 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3222 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3223 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3224 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3225 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3226 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3227 wxArrayString arr;
3228 self->GetFilenames(arr);
3229 return wxArrayString2PyList_helper(arr);
3230 }
3231 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3232 wxArrayString arr;
3233 self->GetPaths(arr);
3234 return wxArrayString2PyList_helper(arr);
3235 }
3236 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3237 return wxArrayInt2PyList_helper(self->GetSelections());
3238 }
3239 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){
3240 return new wxSingleChoiceDialog(parent, message, caption,
3241 choices, choices_array, NULL, style, pos);
3242 }
3243 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3244
3245 SWIGINTERNINLINE PyObject*
3246 SWIG_From_bool (bool value)
3247 {
3248 return PyBool_FromLong(value ? 1 : 0);
3249 }
3250
3251
3252 #include <wx/mdi.h>
3253
3254 // C++ version of Python aware wxWindow
3255 class wxPyWindow : public wxWindow
3256 {
3257 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3258 public:
3259 wxPyWindow() : wxWindow() {}
3260 wxPyWindow(wxWindow* parent, const wxWindowID id,
3261 const wxPoint& pos = wxDefaultPosition,
3262 const wxSize& size = wxDefaultSize,
3263 long style = 0,
3264 const wxString& name = wxPyPanelNameStr)
3265 : wxWindow(parent, id, pos, size, style, name) {}
3266
3267 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3268
3269 bool DoEraseBackground(wxDC* dc) {
3270 #ifdef __WXMSW__
3271 return wxWindow::DoEraseBackground(dc->GetHDC());
3272 #else
3273 dc->SetBackground(wxBrush(GetBackgroundColour()));
3274 dc->Clear();
3275 return true;
3276 #endif
3277 }
3278
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3283
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3287
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3290
3291 DEC_PYCALLBACK__(InitDialog);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3294 DEC_PYCALLBACK_BOOL_(Validate);
3295
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3299
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3302
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3305
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3307
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3309
3310 PYPRIVATE;
3311 };
3312
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3314
3315 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3319
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3323
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3325 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3326
3327 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3330 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3331
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3333 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3335
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3338
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3341
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3343
3344 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3345
3346 // C++ version of Python aware wxPanel
3347 class wxPyPanel : public wxPanel
3348 {
3349 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3350 public:
3351 wxPyPanel() : wxPanel() {}
3352 wxPyPanel(wxWindow* parent, const wxWindowID id,
3353 const wxPoint& pos = wxDefaultPosition,
3354 const wxSize& size = wxDefaultSize,
3355 long style = 0,
3356 const wxString& name = wxPyPanelNameStr)
3357 : wxPanel(parent, id, pos, size, style, name) {}
3358
3359 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3360 bool DoEraseBackground(wxDC* dc) {
3361 #ifdef __WXMSW__
3362 return wxWindow::DoEraseBackground(dc->GetHDC());
3363 #else
3364 dc->SetBackground(wxBrush(GetBackgroundColour()));
3365 dc->Clear();
3366 return true;
3367 #endif
3368 }
3369
3370
3371 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3372 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3374 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3375
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3379
3380 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3381 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3382
3383 DEC_PYCALLBACK__(InitDialog);
3384 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3385 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3386 DEC_PYCALLBACK_BOOL_(Validate);
3387
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3389 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3390 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3391
3392 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3393 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3394
3395 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3396 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3397
3398 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3399
3400 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3401
3402 PYPRIVATE;
3403 };
3404
3405 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3406
3407 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3408 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3410 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3411
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3415
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3417 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3418
3419 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3422 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3423
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3425 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3427
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3429 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3430
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3432 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3433
3434 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3435
3436 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3437
3438 // C++ version of Python aware wxScrolledWindow
3439 class wxPyScrolledWindow : public wxScrolledWindow
3440 {
3441 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3442 public:
3443 wxPyScrolledWindow() : wxScrolledWindow() {}
3444 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3445 const wxPoint& pos = wxDefaultPosition,
3446 const wxSize& size = wxDefaultSize,
3447 long style = 0,
3448 const wxString& name = wxPyPanelNameStr)
3449 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3450
3451 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3452 bool DoEraseBackground(wxDC* dc) {
3453 #ifdef __WXMSW__
3454 return wxWindow::DoEraseBackground(dc->GetHDC());
3455 #else
3456 dc->SetBackground(wxBrush(GetBackgroundColour()));
3457 dc->Clear();
3458 return true;
3459 #endif
3460 }
3461
3462 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3463 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3465 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3466
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3470
3471 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3472 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3473
3474 DEC_PYCALLBACK__(InitDialog);
3475 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3476 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3477 DEC_PYCALLBACK_BOOL_(Validate);
3478
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3480 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3481 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3482
3483 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3484 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3485
3486 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3487 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3488
3489 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3490
3491 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3492
3493 PYPRIVATE;
3494 };
3495
3496 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3497
3498 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3499 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3501 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3502
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3506
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3508 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3509
3510 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3514
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3516 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3518
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3520 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3521
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3523 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3524
3525 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3526
3527 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3528
3529
3530 #include "wx/wxPython/printfw.h"
3531
3532
3533 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3534 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3535 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3536 PyObject* data;
3537 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3538 data = PyString_FromStringAndSize(self->GetPrivData(),
3539 self->GetPrivDataLen());
3540 wxPyEndBlockThreads(blocked);
3541 return data;
3542 }
3543 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3544 if (! PyString_Check(data)) {
3545 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3546 "Expected string object"));
3547 return /* NULL */ ;
3548 }
3549
3550 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3551 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3552 wxPyEndBlockThreads(blocked);
3553 }
3554
3555
3556 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3557
3558 // Since this one would be tough and ugly to do with the Macros...
3559 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3560 bool hadErr = false;
3561 bool found;
3562
3563 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3564 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3565 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3566 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3567 PyObject* val;
3568
3569 val = PyTuple_GetItem(result, 0);
3570 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3571 else hadErr = true;
3572
3573 val = PyTuple_GetItem(result, 1);
3574 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3575 else hadErr = true;
3576
3577 val = PyTuple_GetItem(result, 2);
3578 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3579 else hadErr = true;
3580
3581 val = PyTuple_GetItem(result, 3);
3582 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3583 else hadErr = true;
3584 }
3585 else
3586 hadErr = true;
3587
3588 if (hadErr) {
3589 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3590 PyErr_Print();
3591 }
3592 Py_DECREF(result);
3593 }
3594 wxPyEndBlockThreads(blocked);
3595 if (! found)
3596 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3597 }
3598
3599
3600
3601 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3602 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3603 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3604 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3605 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3606 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3607 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3608
3609
3610
3611
3612
3613 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3614 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3615
3616
3617 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3618 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3619 bool rval=false; \
3620 bool found; \
3621 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3622 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3623 PyObject* win = wxPyMake_wxObject(a,false); \
3624 PyObject* dc = wxPyMake_wxObject(&b,false); \
3625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3626 Py_DECREF(win); \
3627 Py_DECREF(dc); \
3628 } \
3629 wxPyEndBlockThreads(blocked); \
3630 if (! found) \
3631 rval = PCLASS::CBNAME(a, b); \
3632 return rval; \
3633 }
3634
3635
3636
3637
3638 class wxPyPrintPreview : public wxPrintPreview
3639 {
3640 DECLARE_CLASS(wxPyPrintPreview)
3641 public:
3642 wxPyPrintPreview(wxPyPrintout* printout,
3643 wxPyPrintout* printoutForPrinting,
3644 wxPrintDialogData* data=NULL)
3645 : wxPrintPreview(printout, printoutForPrinting, data)
3646 {}
3647 wxPyPrintPreview(wxPyPrintout* printout,
3648 wxPyPrintout* printoutForPrinting,
3649 wxPrintData* data)
3650 : wxPrintPreview(printout, printoutForPrinting, data)
3651 {}
3652
3653 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3655 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3656 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3657 DEC_PYCALLBACK_VOID_INT(SetZoom);
3658 DEC_PYCALLBACK_BOOL_BOOL(Print);
3659 DEC_PYCALLBACK_VOID_(DetermineScaling);
3660
3661 PYPRIVATE;
3662 };
3663
3664 // Stupid renamed classes... Fix this in 2.5...
3665 #if defined(__WXMSW__)
3666 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3667 #elif defined(__WXMAC__)
3668 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3669 #else
3670 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3671 #endif
3672
3673 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3675 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3677 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3678 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3679 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3680
3681
3682 class wxPyPreviewFrame : public wxPreviewFrame
3683 {
3684 DECLARE_CLASS(wxPyPreviewFrame)
3685 public:
3686 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3687 const wxString& title,
3688 const wxPoint& pos = wxDefaultPosition,
3689 const wxSize& size = wxDefaultSize,
3690 long style = wxDEFAULT_FRAME_STYLE,
3691 const wxString& name = wxPyFrameNameStr)
3692 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3693 {}
3694
3695 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3696 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3697
3698 DEC_PYCALLBACK_VOID_(Initialize);
3699 DEC_PYCALLBACK_VOID_(CreateCanvas);
3700 DEC_PYCALLBACK_VOID_(CreateControlBar);
3701
3702 PYPRIVATE;
3703 };
3704
3705 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3706
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3710
3711
3712 class wxPyPreviewControlBar : public wxPreviewControlBar
3713 {
3714 DECLARE_CLASS(wxPyPreviewControlBar)
3715 public:
3716 wxPyPreviewControlBar(wxPrintPreview *preview,
3717 long buttons,
3718 wxWindow *parent,
3719 const wxPoint& pos = wxDefaultPosition,
3720 const wxSize& size = wxDefaultSize,
3721 long style = 0,
3722 const wxString& name = wxPyPanelNameStr)
3723 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3724 {}
3725
3726 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3727
3728 DEC_PYCALLBACK_VOID_(CreateButtons);
3729 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3730
3731 PYPRIVATE;
3732 };
3733
3734 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3736 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3737
3738 #ifdef __cplusplus
3739 extern "C" {
3740 #endif
3741 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj = 0;
3743 wxWindow *arg1 = (wxWindow *) 0 ;
3744 int arg2 = (int) (int)-1 ;
3745 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3746 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3747 wxSize const &arg4_defvalue = wxDefaultSize ;
3748 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3749 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3750 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3751 wxString *arg6 = (wxString *) &arg6_defvalue ;
3752 wxPanel *result = 0 ;
3753 void *argp1 = 0 ;
3754 int res1 = 0 ;
3755 int val2 ;
3756 int ecode2 = 0 ;
3757 wxPoint temp3 ;
3758 wxSize temp4 ;
3759 long val5 ;
3760 int ecode5 = 0 ;
3761 bool temp6 = false ;
3762 PyObject * obj0 = 0 ;
3763 PyObject * obj1 = 0 ;
3764 PyObject * obj2 = 0 ;
3765 PyObject * obj3 = 0 ;
3766 PyObject * obj4 = 0 ;
3767 PyObject * obj5 = 0 ;
3768 char * kwnames[] = {
3769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3770 };
3771
3772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3774 if (!SWIG_IsOK(res1)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3776 }
3777 arg1 = reinterpret_cast< wxWindow * >(argp1);
3778 if (obj1) {
3779 ecode2 = SWIG_AsVal_int(obj1, &val2);
3780 if (!SWIG_IsOK(ecode2)) {
3781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3782 }
3783 arg2 = static_cast< int >(val2);
3784 }
3785 if (obj2) {
3786 {
3787 arg3 = &temp3;
3788 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3789 }
3790 }
3791 if (obj3) {
3792 {
3793 arg4 = &temp4;
3794 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3795 }
3796 }
3797 if (obj4) {
3798 ecode5 = SWIG_AsVal_long(obj4, &val5);
3799 if (!SWIG_IsOK(ecode5)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3801 }
3802 arg5 = static_cast< long >(val5);
3803 }
3804 if (obj5) {
3805 {
3806 arg6 = wxString_in_helper(obj5);
3807 if (arg6 == NULL) SWIG_fail;
3808 temp6 = true;
3809 }
3810 }
3811 {
3812 if (!wxPyCheckForApp()) SWIG_fail;
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3819 {
3820 if (temp6)
3821 delete arg6;
3822 }
3823 return resultobj;
3824 fail:
3825 {
3826 if (temp6)
3827 delete arg6;
3828 }
3829 return NULL;
3830 }
3831
3832
3833 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3834 PyObject *resultobj = 0;
3835 wxPanel *result = 0 ;
3836
3837 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3838 {
3839 if (!wxPyCheckForApp()) SWIG_fail;
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (wxPanel *)new wxPanel();
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj = 0;
3854 wxPanel *arg1 = (wxPanel *) 0 ;
3855 wxWindow *arg2 = (wxWindow *) 0 ;
3856 int arg3 = (int) (int)-1 ;
3857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3859 wxSize const &arg5_defvalue = wxDefaultSize ;
3860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3861 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3862 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3863 wxString *arg7 = (wxString *) &arg7_defvalue ;
3864 bool result;
3865 void *argp1 = 0 ;
3866 int res1 = 0 ;
3867 void *argp2 = 0 ;
3868 int res2 = 0 ;
3869 int val3 ;
3870 int ecode3 = 0 ;
3871 wxPoint temp4 ;
3872 wxSize temp5 ;
3873 long val6 ;
3874 int ecode6 = 0 ;
3875 bool temp7 = false ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj2 = 0 ;
3879 PyObject * obj3 = 0 ;
3880 PyObject * obj4 = 0 ;
3881 PyObject * obj5 = 0 ;
3882 PyObject * obj6 = 0 ;
3883 char * kwnames[] = {
3884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3885 };
3886
3887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3889 if (!SWIG_IsOK(res1)) {
3890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3891 }
3892 arg1 = reinterpret_cast< wxPanel * >(argp1);
3893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3894 if (!SWIG_IsOK(res2)) {
3895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3896 }
3897 arg2 = reinterpret_cast< wxWindow * >(argp2);
3898 if (obj2) {
3899 ecode3 = SWIG_AsVal_int(obj2, &val3);
3900 if (!SWIG_IsOK(ecode3)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3902 }
3903 arg3 = static_cast< int >(val3);
3904 }
3905 if (obj3) {
3906 {
3907 arg4 = &temp4;
3908 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3909 }
3910 }
3911 if (obj4) {
3912 {
3913 arg5 = &temp5;
3914 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3915 }
3916 }
3917 if (obj5) {
3918 ecode6 = SWIG_AsVal_long(obj5, &val6);
3919 if (!SWIG_IsOK(ecode6)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3921 }
3922 arg6 = static_cast< long >(val6);
3923 }
3924 if (obj6) {
3925 {
3926 arg7 = wxString_in_helper(obj6);
3927 if (arg7 == NULL) SWIG_fail;
3928 temp7 = true;
3929 }
3930 }
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 {
3938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3939 }
3940 {
3941 if (temp7)
3942 delete arg7;
3943 }
3944 return resultobj;
3945 fail:
3946 {
3947 if (temp7)
3948 delete arg7;
3949 }
3950 return NULL;
3951 }
3952
3953
3954 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3955 PyObject *resultobj = 0;
3956 wxPanel *arg1 = (wxPanel *) 0 ;
3957 void *argp1 = 0 ;
3958 int res1 = 0 ;
3959 PyObject *swig_obj[1] ;
3960
3961 if (!args) SWIG_fail;
3962 swig_obj[0] = args;
3963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3964 if (!SWIG_IsOK(res1)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3966 }
3967 arg1 = reinterpret_cast< wxPanel * >(argp1);
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 (arg1)->SetFocusIgnoringChildren();
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = SWIG_Py_Void();
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj = 0;
3983 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3984 SwigValueWrapper<wxVisualAttributes > result;
3985 int val1 ;
3986 int ecode1 = 0 ;
3987 PyObject * obj0 = 0 ;
3988 char * kwnames[] = {
3989 (char *) "variant", NULL
3990 };
3991
3992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3993 if (obj0) {
3994 ecode1 = SWIG_AsVal_int(obj0, &val1);
3995 if (!SWIG_IsOK(ecode1)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3997 }
3998 arg1 = static_cast< wxWindowVariant >(val1);
3999 }
4000 {
4001 if (!wxPyCheckForApp()) SWIG_fail;
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 result = wxPanel::GetClassDefaultAttributes(arg1);
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4015 PyObject *obj;
4016 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4017 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4018 return SWIG_Py_Void();
4019 }
4020
4021 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 return SWIG_Python_InitShadowInstance(args);
4023 }
4024
4025 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj = 0;
4027 wxWindow *arg1 = (wxWindow *) 0 ;
4028 int arg2 = (int) (int)-1 ;
4029 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4030 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4031 wxSize const &arg4_defvalue = wxDefaultSize ;
4032 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4033 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4034 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4035 wxString *arg6 = (wxString *) &arg6_defvalue ;
4036 wxScrolledWindow *result = 0 ;
4037 void *argp1 = 0 ;
4038 int res1 = 0 ;
4039 int val2 ;
4040 int ecode2 = 0 ;
4041 wxPoint temp3 ;
4042 wxSize temp4 ;
4043 long val5 ;
4044 int ecode5 = 0 ;
4045 bool temp6 = false ;
4046 PyObject * obj0 = 0 ;
4047 PyObject * obj1 = 0 ;
4048 PyObject * obj2 = 0 ;
4049 PyObject * obj3 = 0 ;
4050 PyObject * obj4 = 0 ;
4051 PyObject * obj5 = 0 ;
4052 char * kwnames[] = {
4053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4054 };
4055
4056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4058 if (!SWIG_IsOK(res1)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4060 }
4061 arg1 = reinterpret_cast< wxWindow * >(argp1);
4062 if (obj1) {
4063 ecode2 = SWIG_AsVal_int(obj1, &val2);
4064 if (!SWIG_IsOK(ecode2)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4066 }
4067 arg2 = static_cast< int >(val2);
4068 }
4069 if (obj2) {
4070 {
4071 arg3 = &temp3;
4072 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4073 }
4074 }
4075 if (obj3) {
4076 {
4077 arg4 = &temp4;
4078 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4079 }
4080 }
4081 if (obj4) {
4082 ecode5 = SWIG_AsVal_long(obj4, &val5);
4083 if (!SWIG_IsOK(ecode5)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4085 }
4086 arg5 = static_cast< long >(val5);
4087 }
4088 if (obj5) {
4089 {
4090 arg6 = wxString_in_helper(obj5);
4091 if (arg6 == NULL) SWIG_fail;
4092 temp6 = true;
4093 }
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4103 {
4104 if (temp6)
4105 delete arg6;
4106 }
4107 return resultobj;
4108 fail:
4109 {
4110 if (temp6)
4111 delete arg6;
4112 }
4113 return NULL;
4114 }
4115
4116
4117 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4118 PyObject *resultobj = 0;
4119 wxScrolledWindow *result = 0 ;
4120
4121 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4122 {
4123 if (!wxPyCheckForApp()) SWIG_fail;
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (wxScrolledWindow *)new wxScrolledWindow();
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj = 0;
4138 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4139 wxWindow *arg2 = (wxWindow *) 0 ;
4140 int arg3 = (int) (int)-1 ;
4141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4143 wxSize const &arg5_defvalue = wxDefaultSize ;
4144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4145 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4146 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4147 wxString *arg7 = (wxString *) &arg7_defvalue ;
4148 bool result;
4149 void *argp1 = 0 ;
4150 int res1 = 0 ;
4151 void *argp2 = 0 ;
4152 int res2 = 0 ;
4153 int val3 ;
4154 int ecode3 = 0 ;
4155 wxPoint temp4 ;
4156 wxSize temp5 ;
4157 long val6 ;
4158 int ecode6 = 0 ;
4159 bool temp7 = false ;
4160 PyObject * obj0 = 0 ;
4161 PyObject * obj1 = 0 ;
4162 PyObject * obj2 = 0 ;
4163 PyObject * obj3 = 0 ;
4164 PyObject * obj4 = 0 ;
4165 PyObject * obj5 = 0 ;
4166 PyObject * obj6 = 0 ;
4167 char * kwnames[] = {
4168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4169 };
4170
4171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4173 if (!SWIG_IsOK(res1)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4175 }
4176 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4177 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4178 if (!SWIG_IsOK(res2)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4180 }
4181 arg2 = reinterpret_cast< wxWindow * >(argp2);
4182 if (obj2) {
4183 ecode3 = SWIG_AsVal_int(obj2, &val3);
4184 if (!SWIG_IsOK(ecode3)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4186 }
4187 arg3 = static_cast< int >(val3);
4188 }
4189 if (obj3) {
4190 {
4191 arg4 = &temp4;
4192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4193 }
4194 }
4195 if (obj4) {
4196 {
4197 arg5 = &temp5;
4198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4199 }
4200 }
4201 if (obj5) {
4202 ecode6 = SWIG_AsVal_long(obj5, &val6);
4203 if (!SWIG_IsOK(ecode6)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4205 }
4206 arg6 = static_cast< long >(val6);
4207 }
4208 if (obj6) {
4209 {
4210 arg7 = wxString_in_helper(obj6);
4211 if (arg7 == NULL) SWIG_fail;
4212 temp7 = true;
4213 }
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 {
4222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4223 }
4224 {
4225 if (temp7)
4226 delete arg7;
4227 }
4228 return resultobj;
4229 fail:
4230 {
4231 if (temp7)
4232 delete arg7;
4233 }
4234 return NULL;
4235 }
4236
4237
4238 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = 0;
4240 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4241 int arg2 ;
4242 int arg3 ;
4243 int arg4 ;
4244 int arg5 ;
4245 int arg6 = (int) 0 ;
4246 int arg7 = (int) 0 ;
4247 bool arg8 = (bool) false ;
4248 void *argp1 = 0 ;
4249 int res1 = 0 ;
4250 int val2 ;
4251 int ecode2 = 0 ;
4252 int val3 ;
4253 int ecode3 = 0 ;
4254 int val4 ;
4255 int ecode4 = 0 ;
4256 int val5 ;
4257 int ecode5 = 0 ;
4258 int val6 ;
4259 int ecode6 = 0 ;
4260 int val7 ;
4261 int ecode7 = 0 ;
4262 bool val8 ;
4263 int ecode8 = 0 ;
4264 PyObject * obj0 = 0 ;
4265 PyObject * obj1 = 0 ;
4266 PyObject * obj2 = 0 ;
4267 PyObject * obj3 = 0 ;
4268 PyObject * obj4 = 0 ;
4269 PyObject * obj5 = 0 ;
4270 PyObject * obj6 = 0 ;
4271 PyObject * obj7 = 0 ;
4272 char * kwnames[] = {
4273 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4274 };
4275
4276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4278 if (!SWIG_IsOK(res1)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4280 }
4281 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4282 ecode2 = SWIG_AsVal_int(obj1, &val2);
4283 if (!SWIG_IsOK(ecode2)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4285 }
4286 arg2 = static_cast< int >(val2);
4287 ecode3 = SWIG_AsVal_int(obj2, &val3);
4288 if (!SWIG_IsOK(ecode3)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4290 }
4291 arg3 = static_cast< int >(val3);
4292 ecode4 = SWIG_AsVal_int(obj3, &val4);
4293 if (!SWIG_IsOK(ecode4)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4295 }
4296 arg4 = static_cast< int >(val4);
4297 ecode5 = SWIG_AsVal_int(obj4, &val5);
4298 if (!SWIG_IsOK(ecode5)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4300 }
4301 arg5 = static_cast< int >(val5);
4302 if (obj5) {
4303 ecode6 = SWIG_AsVal_int(obj5, &val6);
4304 if (!SWIG_IsOK(ecode6)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4306 }
4307 arg6 = static_cast< int >(val6);
4308 }
4309 if (obj6) {
4310 ecode7 = SWIG_AsVal_int(obj6, &val7);
4311 if (!SWIG_IsOK(ecode7)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4313 }
4314 arg7 = static_cast< int >(val7);
4315 }
4316 if (obj7) {
4317 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4318 if (!SWIG_IsOK(ecode8)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4320 }
4321 arg8 = static_cast< bool >(val8);
4322 }
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 resultobj = SWIG_Py_Void();
4330 return resultobj;
4331 fail:
4332 return NULL;
4333 }
4334
4335
4336 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4337 PyObject *resultobj = 0;
4338 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4339 int arg2 ;
4340 int arg3 ;
4341 void *argp1 = 0 ;
4342 int res1 = 0 ;
4343 int val2 ;
4344 int ecode2 = 0 ;
4345 int val3 ;
4346 int ecode3 = 0 ;
4347 PyObject * obj0 = 0 ;
4348 PyObject * obj1 = 0 ;
4349 PyObject * obj2 = 0 ;
4350 char * kwnames[] = {
4351 (char *) "self",(char *) "x",(char *) "y", NULL
4352 };
4353
4354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4356 if (!SWIG_IsOK(res1)) {
4357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4358 }
4359 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4360 ecode2 = SWIG_AsVal_int(obj1, &val2);
4361 if (!SWIG_IsOK(ecode2)) {
4362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4363 }
4364 arg2 = static_cast< int >(val2);
4365 ecode3 = SWIG_AsVal_int(obj2, &val3);
4366 if (!SWIG_IsOK(ecode3)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4368 }
4369 arg3 = static_cast< int >(val3);
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 (arg1)->Scroll(arg2,arg3);
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 resultobj = SWIG_Py_Void();
4377 return resultobj;
4378 fail:
4379 return NULL;
4380 }
4381
4382
4383 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj = 0;
4385 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4386 int arg2 ;
4387 int result;
4388 void *argp1 = 0 ;
4389 int res1 = 0 ;
4390 int val2 ;
4391 int ecode2 = 0 ;
4392 PyObject * obj0 = 0 ;
4393 PyObject * obj1 = 0 ;
4394 char * kwnames[] = {
4395 (char *) "self",(char *) "orient", NULL
4396 };
4397
4398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4400 if (!SWIG_IsOK(res1)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4402 }
4403 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4404 ecode2 = SWIG_AsVal_int(obj1, &val2);
4405 if (!SWIG_IsOK(ecode2)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4407 }
4408 arg2 = static_cast< int >(val2);
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 resultobj = SWIG_From_int(static_cast< int >(result));
4416 return resultobj;
4417 fail:
4418 return NULL;
4419 }
4420
4421
4422 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj = 0;
4424 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4425 int arg2 ;
4426 int arg3 ;
4427 void *argp1 = 0 ;
4428 int res1 = 0 ;
4429 int val2 ;
4430 int ecode2 = 0 ;
4431 int val3 ;
4432 int ecode3 = 0 ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj1 = 0 ;
4435 PyObject * obj2 = 0 ;
4436 char * kwnames[] = {
4437 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4438 };
4439
4440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4442 if (!SWIG_IsOK(res1)) {
4443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4444 }
4445 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4446 ecode2 = SWIG_AsVal_int(obj1, &val2);
4447 if (!SWIG_IsOK(ecode2)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4449 }
4450 arg2 = static_cast< int >(val2);
4451 ecode3 = SWIG_AsVal_int(obj2, &val3);
4452 if (!SWIG_IsOK(ecode3)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4454 }
4455 arg3 = static_cast< int >(val3);
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 (arg1)->SetScrollPageSize(arg2,arg3);
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 resultobj = SWIG_Py_Void();
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj = 0;
4471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4472 int arg2 ;
4473 int arg3 ;
4474 void *argp1 = 0 ;
4475 int res1 = 0 ;
4476 int val2 ;
4477 int ecode2 = 0 ;
4478 int val3 ;
4479 int ecode3 = 0 ;
4480 PyObject * obj0 = 0 ;
4481 PyObject * obj1 = 0 ;
4482 PyObject * obj2 = 0 ;
4483 char * kwnames[] = {
4484 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4485 };
4486
4487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4489 if (!SWIG_IsOK(res1)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4491 }
4492 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4493 ecode2 = SWIG_AsVal_int(obj1, &val2);
4494 if (!SWIG_IsOK(ecode2)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4496 }
4497 arg2 = static_cast< int >(val2);
4498 ecode3 = SWIG_AsVal_int(obj2, &val3);
4499 if (!SWIG_IsOK(ecode3)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4501 }
4502 arg3 = static_cast< int >(val3);
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 (arg1)->SetScrollRate(arg2,arg3);
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 resultobj = SWIG_Py_Void();
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4517 PyObject *resultobj = 0;
4518 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4519 int *arg2 = (int *) 0 ;
4520 int *arg3 = (int *) 0 ;
4521 void *argp1 = 0 ;
4522 int res1 = 0 ;
4523 int temp2 ;
4524 int res2 = SWIG_TMPOBJ ;
4525 int temp3 ;
4526 int res3 = SWIG_TMPOBJ ;
4527 PyObject *swig_obj[1] ;
4528
4529 arg2 = &temp2;
4530 arg3 = &temp3;
4531 if (!args) SWIG_fail;
4532 swig_obj[0] = args;
4533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4534 if (!SWIG_IsOK(res1)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4536 }
4537 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = SWIG_Py_Void();
4545 if (SWIG_IsTmpObj(res2)) {
4546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4547 } else {
4548 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4550 }
4551 if (SWIG_IsTmpObj(res3)) {
4552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4553 } else {
4554 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4556 }
4557 return resultobj;
4558 fail:
4559 return NULL;
4560 }
4561
4562
4563 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4564 PyObject *resultobj = 0;
4565 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4566 bool arg2 ;
4567 bool arg3 ;
4568 void *argp1 = 0 ;
4569 int res1 = 0 ;
4570 bool val2 ;
4571 int ecode2 = 0 ;
4572 bool val3 ;
4573 int ecode3 = 0 ;
4574 PyObject * obj0 = 0 ;
4575 PyObject * obj1 = 0 ;
4576 PyObject * obj2 = 0 ;
4577 char * kwnames[] = {
4578 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4579 };
4580
4581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4583 if (!SWIG_IsOK(res1)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4585 }
4586 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4587 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4588 if (!SWIG_IsOK(ecode2)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4590 }
4591 arg2 = static_cast< bool >(val2);
4592 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4593 if (!SWIG_IsOK(ecode3)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4595 }
4596 arg3 = static_cast< bool >(val3);
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 (arg1)->EnableScrolling(arg2,arg3);
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 resultobj = SWIG_Py_Void();
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4611 PyObject *resultobj = 0;
4612 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4613 int *arg2 = (int *) 0 ;
4614 int *arg3 = (int *) 0 ;
4615 void *argp1 = 0 ;
4616 int res1 = 0 ;
4617 int temp2 ;
4618 int res2 = SWIG_TMPOBJ ;
4619 int temp3 ;
4620 int res3 = SWIG_TMPOBJ ;
4621 PyObject *swig_obj[1] ;
4622
4623 arg2 = &temp2;
4624 arg3 = &temp3;
4625 if (!args) SWIG_fail;
4626 swig_obj[0] = args;
4627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4628 if (!SWIG_IsOK(res1)) {
4629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4630 }
4631 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 resultobj = SWIG_Py_Void();
4639 if (SWIG_IsTmpObj(res2)) {
4640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4641 } else {
4642 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4644 }
4645 if (SWIG_IsTmpObj(res3)) {
4646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4647 } else {
4648 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4650 }
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj = 0;
4659 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4660 double arg2 ;
4661 double arg3 ;
4662 void *argp1 = 0 ;
4663 int res1 = 0 ;
4664 double val2 ;
4665 int ecode2 = 0 ;
4666 double val3 ;
4667 int ecode3 = 0 ;
4668 PyObject * obj0 = 0 ;
4669 PyObject * obj1 = 0 ;
4670 PyObject * obj2 = 0 ;
4671 char * kwnames[] = {
4672 (char *) "self",(char *) "xs",(char *) "ys", NULL
4673 };
4674
4675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4677 if (!SWIG_IsOK(res1)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4679 }
4680 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4681 ecode2 = SWIG_AsVal_double(obj1, &val2);
4682 if (!SWIG_IsOK(ecode2)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4684 }
4685 arg2 = static_cast< double >(val2);
4686 ecode3 = SWIG_AsVal_double(obj2, &val3);
4687 if (!SWIG_IsOK(ecode3)) {
4688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4689 }
4690 arg3 = static_cast< double >(val3);
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 (arg1)->SetScale(arg2,arg3);
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 resultobj = SWIG_Py_Void();
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4705 PyObject *resultobj = 0;
4706 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4707 double result;
4708 void *argp1 = 0 ;
4709 int res1 = 0 ;
4710 PyObject *swig_obj[1] ;
4711
4712 if (!args) SWIG_fail;
4713 swig_obj[0] = args;
4714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4715 if (!SWIG_IsOK(res1)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4717 }
4718 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 resultobj = SWIG_From_double(static_cast< double >(result));
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4733 PyObject *resultobj = 0;
4734 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4735 double result;
4736 void *argp1 = 0 ;
4737 int res1 = 0 ;
4738 PyObject *swig_obj[1] ;
4739
4740 if (!args) SWIG_fail;
4741 swig_obj[0] = args;
4742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4743 if (!SWIG_IsOK(res1)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4745 }
4746 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = SWIG_From_double(static_cast< double >(result));
4754 return resultobj;
4755 fail:
4756 return NULL;
4757 }
4758
4759
4760 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4761 PyObject *resultobj = 0;
4762 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4763 wxPoint *arg2 = 0 ;
4764 wxPoint result;
4765 void *argp1 = 0 ;
4766 int res1 = 0 ;
4767 wxPoint temp2 ;
4768
4769 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4771 if (!SWIG_IsOK(res1)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4773 }
4774 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4775 {
4776 arg2 = &temp2;
4777 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4778 }
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4786 return resultobj;
4787 fail:
4788 return NULL;
4789 }
4790
4791
4792 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4793 PyObject *resultobj = 0;
4794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4795 int arg2 ;
4796 int arg3 ;
4797 int *arg4 = (int *) 0 ;
4798 int *arg5 = (int *) 0 ;
4799 void *argp1 = 0 ;
4800 int res1 = 0 ;
4801 int val2 ;
4802 int ecode2 = 0 ;
4803 int val3 ;
4804 int ecode3 = 0 ;
4805 int temp4 ;
4806 int res4 = SWIG_TMPOBJ ;
4807 int temp5 ;
4808 int res5 = SWIG_TMPOBJ ;
4809
4810 arg4 = &temp4;
4811 arg5 = &temp5;
4812 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4814 if (!SWIG_IsOK(res1)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4816 }
4817 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4818 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4819 if (!SWIG_IsOK(ecode2)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4821 }
4822 arg2 = static_cast< int >(val2);
4823 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4824 if (!SWIG_IsOK(ecode3)) {
4825 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4826 }
4827 arg3 = static_cast< int >(val3);
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_Py_Void();
4835 if (SWIG_IsTmpObj(res4)) {
4836 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4837 } else {
4838 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4839 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4840 }
4841 if (SWIG_IsTmpObj(res5)) {
4842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4843 } else {
4844 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4846 }
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4854 int argc;
4855 PyObject *argv[4];
4856
4857 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4858 --argc;
4859 if (argc == 2) {
4860 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4861 }
4862 if (argc == 3) {
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4864 }
4865
4866 fail:
4867 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4868 return NULL;
4869 }
4870
4871
4872 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4873 PyObject *resultobj = 0;
4874 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4875 wxPoint *arg2 = 0 ;
4876 wxPoint result;
4877 void *argp1 = 0 ;
4878 int res1 = 0 ;
4879 wxPoint temp2 ;
4880
4881 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4883 if (!SWIG_IsOK(res1)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4885 }
4886 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4887 {
4888 arg2 = &temp2;
4889 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4890 }
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4905 PyObject *resultobj = 0;
4906 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4907 int arg2 ;
4908 int arg3 ;
4909 int *arg4 = (int *) 0 ;
4910 int *arg5 = (int *) 0 ;
4911 void *argp1 = 0 ;
4912 int res1 = 0 ;
4913 int val2 ;
4914 int ecode2 = 0 ;
4915 int val3 ;
4916 int ecode3 = 0 ;
4917 int temp4 ;
4918 int res4 = SWIG_TMPOBJ ;
4919 int temp5 ;
4920 int res5 = SWIG_TMPOBJ ;
4921
4922 arg4 = &temp4;
4923 arg5 = &temp5;
4924 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4926 if (!SWIG_IsOK(res1)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4928 }
4929 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4930 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4931 if (!SWIG_IsOK(ecode2)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4933 }
4934 arg2 = static_cast< int >(val2);
4935 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4936 if (!SWIG_IsOK(ecode3)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4938 }
4939 arg3 = static_cast< int >(val3);
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_Py_Void();
4947 if (SWIG_IsTmpObj(res4)) {
4948 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4949 } else {
4950 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4952 }
4953 if (SWIG_IsTmpObj(res5)) {
4954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4955 } else {
4956 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4966 int argc;
4967 PyObject *argv[4];
4968
4969 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4970 --argc;
4971 if (argc == 2) {
4972 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4973 }
4974 if (argc == 3) {
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4976 }
4977
4978 fail:
4979 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4980 return NULL;
4981 }
4982
4983
4984 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4985 PyObject *resultobj = 0;
4986 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4987 void *argp1 = 0 ;
4988 int res1 = 0 ;
4989 PyObject *swig_obj[1] ;
4990
4991 if (!args) SWIG_fail;
4992 swig_obj[0] = args;
4993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4994 if (!SWIG_IsOK(res1)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4996 }
4997 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->AdjustScrollbars();
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 resultobj = SWIG_Py_Void();
5005 return resultobj;
5006 fail:
5007 return NULL;
5008 }
5009
5010
5011 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5012 PyObject *resultobj = 0;
5013 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5014 wxScrollWinEvent *arg2 = 0 ;
5015 int result;
5016 void *argp1 = 0 ;
5017 int res1 = 0 ;
5018 void *argp2 = 0 ;
5019 int res2 = 0 ;
5020 PyObject * obj0 = 0 ;
5021 PyObject * obj1 = 0 ;
5022 char * kwnames[] = {
5023 (char *) "self",(char *) "event", NULL
5024 };
5025
5026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5028 if (!SWIG_IsOK(res1)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 }
5031 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5032 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5033 if (!SWIG_IsOK(res2)) {
5034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5035 }
5036 if (!argp2) {
5037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5038 }
5039 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 result = (int)(arg1)->CalcScrollInc(*arg2);
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 resultobj = SWIG_From_int(static_cast< int >(result));
5047 return resultobj;
5048 fail:
5049 return NULL;
5050 }
5051
5052
5053 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj = 0;
5055 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5056 wxWindow *arg2 = (wxWindow *) 0 ;
5057 void *argp1 = 0 ;
5058 int res1 = 0 ;
5059 void *argp2 = 0 ;
5060 int res2 = 0 ;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char * kwnames[] = {
5064 (char *) "self",(char *) "target", NULL
5065 };
5066
5067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5069 if (!SWIG_IsOK(res1)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5071 }
5072 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5074 if (!SWIG_IsOK(res2)) {
5075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5076 }
5077 arg2 = reinterpret_cast< wxWindow * >(argp2);
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->SetTargetWindow(arg2);
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 resultobj = SWIG_Py_Void();
5085 return resultobj;
5086 fail:
5087 return NULL;
5088 }
5089
5090
5091 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5092 PyObject *resultobj = 0;
5093 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5094 wxWindow *result = 0 ;
5095 void *argp1 = 0 ;
5096 int res1 = 0 ;
5097 PyObject *swig_obj[1] ;
5098
5099 if (!args) SWIG_fail;
5100 swig_obj[0] = args;
5101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5102 if (!SWIG_IsOK(res1)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5104 }
5105 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 {
5113 resultobj = wxPyMake_wxObject(result, 0);
5114 }
5115 return resultobj;
5116 fail:
5117 return NULL;
5118 }
5119
5120
5121 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj = 0;
5123 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5124 wxRect *arg2 = 0 ;
5125 void *argp1 = 0 ;
5126 int res1 = 0 ;
5127 wxRect temp2 ;
5128 PyObject * obj0 = 0 ;
5129 PyObject * obj1 = 0 ;
5130 char * kwnames[] = {
5131 (char *) "self",(char *) "rect", NULL
5132 };
5133
5134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5136 if (!SWIG_IsOK(res1)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5138 }
5139 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5140 {
5141 arg2 = &temp2;
5142 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->SetTargetRect((wxRect const &)*arg2);
5147 wxPyEndAllowThreads(__tstate);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 resultobj = SWIG_Py_Void();
5151 return resultobj;
5152 fail:
5153 return NULL;
5154 }
5155
5156
5157 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5158 PyObject *resultobj = 0;
5159 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5160 wxRect result;
5161 void *argp1 = 0 ;
5162 int res1 = 0 ;
5163 PyObject *swig_obj[1] ;
5164
5165 if (!args) SWIG_fail;
5166 swig_obj[0] = args;
5167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5168 if (!SWIG_IsOK(res1)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5170 }
5171 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj = 0;
5187 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5188 wxDC *arg2 = 0 ;
5189 void *argp1 = 0 ;
5190 int res1 = 0 ;
5191 void *argp2 = 0 ;
5192 int res2 = 0 ;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 char * kwnames[] = {
5196 (char *) "self",(char *) "dc", NULL
5197 };
5198
5199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5201 if (!SWIG_IsOK(res1)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5203 }
5204 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5205 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5206 if (!SWIG_IsOK(res2)) {
5207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5208 }
5209 if (!argp2) {
5210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5211 }
5212 arg2 = reinterpret_cast< wxDC * >(argp2);
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 (arg1)->DoPrepareDC(*arg2);
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = SWIG_Py_Void();
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj = 0;
5228 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5229 SwigValueWrapper<wxVisualAttributes > result;
5230 int val1 ;
5231 int ecode1 = 0 ;
5232 PyObject * obj0 = 0 ;
5233 char * kwnames[] = {
5234 (char *) "variant", NULL
5235 };
5236
5237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5238 if (obj0) {
5239 ecode1 = SWIG_AsVal_int(obj0, &val1);
5240 if (!SWIG_IsOK(ecode1)) {
5241 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5242 }
5243 arg1 = static_cast< wxWindowVariant >(val1);
5244 }
5245 {
5246 if (!wxPyCheckForApp()) SWIG_fail;
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5253 return resultobj;
5254 fail:
5255 return NULL;
5256 }
5257
5258
5259 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5260 PyObject *obj;
5261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5262 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5263 return SWIG_Py_Void();
5264 }
5265
5266 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5267 return SWIG_Python_InitShadowInstance(args);
5268 }
5269
5270 SWIGINTERN int FrameNameStr_set(PyObject *) {
5271 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5272 return 1;
5273 }
5274
5275
5276 SWIGINTERN PyObject *FrameNameStr_get(void) {
5277 PyObject *pyobj = 0;
5278
5279 {
5280 #if wxUSE_UNICODE
5281 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5282 #else
5283 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5284 #endif
5285 }
5286 return pyobj;
5287 }
5288
5289
5290 SWIGINTERN int DialogNameStr_set(PyObject *) {
5291 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5292 return 1;
5293 }
5294
5295
5296 SWIGINTERN PyObject *DialogNameStr_get(void) {
5297 PyObject *pyobj = 0;
5298
5299 {
5300 #if wxUSE_UNICODE
5301 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5302 #else
5303 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5304 #endif
5305 }
5306 return pyobj;
5307 }
5308
5309
5310 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5311 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5312 return 1;
5313 }
5314
5315
5316 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5317 PyObject *pyobj = 0;
5318
5319 {
5320 #if wxUSE_UNICODE
5321 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5322 #else
5323 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5324 #endif
5325 }
5326 return pyobj;
5327 }
5328
5329
5330 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5331 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5332 return 1;
5333 }
5334
5335
5336 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5337 PyObject *pyobj = 0;
5338
5339 {
5340 #if wxUSE_UNICODE
5341 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5342 #else
5343 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5344 #endif
5345 }
5346 return pyobj;
5347 }
5348
5349
5350 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj = 0;
5352 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5353 bool arg2 = (bool) true ;
5354 void *argp1 = 0 ;
5355 int res1 = 0 ;
5356 bool val2 ;
5357 int ecode2 = 0 ;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 char * kwnames[] = {
5361 (char *) "self",(char *) "maximize", NULL
5362 };
5363
5364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5366 if (!SWIG_IsOK(res1)) {
5367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5368 }
5369 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5370 if (obj1) {
5371 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5372 if (!SWIG_IsOK(ecode2)) {
5373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5374 }
5375 arg2 = static_cast< bool >(val2);
5376 }
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 (arg1)->Maximize(arg2);
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = SWIG_Py_Void();
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5393 void *argp1 = 0 ;
5394 int res1 = 0 ;
5395 PyObject *swig_obj[1] ;
5396
5397 if (!args) SWIG_fail;
5398 swig_obj[0] = args;
5399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5400 if (!SWIG_IsOK(res1)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5402 }
5403 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->Restore();
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_Py_Void();
5411 return resultobj;
5412 fail:
5413 return NULL;
5414 }
5415
5416
5417 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj = 0;
5419 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5420 bool arg2 = (bool) true ;
5421 void *argp1 = 0 ;
5422 int res1 = 0 ;
5423 bool val2 ;
5424 int ecode2 = 0 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 char * kwnames[] = {
5428 (char *) "self",(char *) "iconize", NULL
5429 };
5430
5431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5433 if (!SWIG_IsOK(res1)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5435 }
5436 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5437 if (obj1) {
5438 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5439 if (!SWIG_IsOK(ecode2)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5441 }
5442 arg2 = static_cast< bool >(val2);
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->Iconize(arg2);
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_Py_Void();
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458 PyObject *resultobj = 0;
5459 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5460 bool result;
5461 void *argp1 = 0 ;
5462 int res1 = 0 ;
5463 PyObject *swig_obj[1] ;
5464
5465 if (!args) SWIG_fail;
5466 swig_obj[0] = args;
5467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5468 if (!SWIG_IsOK(res1)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5470 }
5471 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 {
5479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5480 }
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5488 PyObject *resultobj = 0;
5489 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5490 bool result;
5491 void *argp1 = 0 ;
5492 int res1 = 0 ;
5493 PyObject *swig_obj[1] ;
5494
5495 if (!args) SWIG_fail;
5496 swig_obj[0] = args;
5497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5498 if (!SWIG_IsOK(res1)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5500 }
5501 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 {
5509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5510 }
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5518 PyObject *resultobj = 0;
5519 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5520 bool result;
5521 void *argp1 = 0 ;
5522 int res1 = 0 ;
5523 PyObject *swig_obj[1] ;
5524
5525 if (!args) SWIG_fail;
5526 swig_obj[0] = args;
5527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5530 }
5531 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 {
5539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5540 }
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5548 PyObject *resultobj = 0;
5549 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5550 wxIcon result;
5551 void *argp1 = 0 ;
5552 int res1 = 0 ;
5553 PyObject *swig_obj[1] ;
5554
5555 if (!args) SWIG_fail;
5556 swig_obj[0] = args;
5557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5558 if (!SWIG_IsOK(res1)) {
5559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5560 }
5561 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj = 0;
5577 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5578 wxIcon *arg2 = 0 ;
5579 void *argp1 = 0 ;
5580 int res1 = 0 ;
5581 void *argp2 = 0 ;
5582 int res2 = 0 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char * kwnames[] = {
5586 (char *) "self",(char *) "icon", NULL
5587 };
5588
5589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5591 if (!SWIG_IsOK(res1)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5593 }
5594 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5595 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5596 if (!SWIG_IsOK(res2)) {
5597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5598 }
5599 if (!argp2) {
5600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5601 }
5602 arg2 = reinterpret_cast< wxIcon * >(argp2);
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 (arg1)->SetIcon((wxIcon const &)*arg2);
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = SWIG_Py_Void();
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj = 0;
5618 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5619 wxIconBundle *arg2 = 0 ;
5620 void *argp1 = 0 ;
5621 int res1 = 0 ;
5622 void *argp2 = 0 ;
5623 int res2 = 0 ;
5624 PyObject * obj0 = 0 ;
5625 PyObject * obj1 = 0 ;
5626 char * kwnames[] = {
5627 (char *) "self",(char *) "icons", NULL
5628 };
5629
5630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5632 if (!SWIG_IsOK(res1)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 }
5635 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5636 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5637 if (!SWIG_IsOK(res2)) {
5638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5639 }
5640 if (!argp2) {
5641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5642 }
5643 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = SWIG_Py_Void();
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj = 0;
5659 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5660 bool arg2 ;
5661 long arg3 = (long) wxFULLSCREEN_ALL ;
5662 bool result;
5663 void *argp1 = 0 ;
5664 int res1 = 0 ;
5665 bool val2 ;
5666 int ecode2 = 0 ;
5667 long val3 ;
5668 int ecode3 = 0 ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 PyObject * obj2 = 0 ;
5672 char * kwnames[] = {
5673 (char *) "self",(char *) "show",(char *) "style", NULL
5674 };
5675
5676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5678 if (!SWIG_IsOK(res1)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5680 }
5681 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5683 if (!SWIG_IsOK(ecode2)) {
5684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5685 }
5686 arg2 = static_cast< bool >(val2);
5687 if (obj2) {
5688 ecode3 = SWIG_AsVal_long(obj2, &val3);
5689 if (!SWIG_IsOK(ecode3)) {
5690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5691 }
5692 arg3 = static_cast< long >(val3);
5693 }
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 {
5701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5702 }
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5710 PyObject *resultobj = 0;
5711 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5712 bool result;
5713 void *argp1 = 0 ;
5714 int res1 = 0 ;
5715 PyObject *swig_obj[1] ;
5716
5717 if (!args) SWIG_fail;
5718 swig_obj[0] = args;
5719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5720 if (!SWIG_IsOK(res1)) {
5721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5722 }
5723 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 {
5731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5732 }
5733 return resultobj;
5734 fail:
5735 return NULL;
5736 }
5737
5738
5739 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj = 0;
5741 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5742 wxString *arg2 = 0 ;
5743 void *argp1 = 0 ;
5744 int res1 = 0 ;
5745 bool temp2 = false ;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char * kwnames[] = {
5749 (char *) "self",(char *) "title", NULL
5750 };
5751
5752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5754 if (!SWIG_IsOK(res1)) {
5755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5756 }
5757 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5758 {
5759 arg2 = wxString_in_helper(obj1);
5760 if (arg2 == NULL) SWIG_fail;
5761 temp2 = true;
5762 }
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->SetTitle((wxString const &)*arg2);
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = SWIG_Py_Void();
5770 {
5771 if (temp2)
5772 delete arg2;
5773 }
5774 return resultobj;
5775 fail:
5776 {
5777 if (temp2)
5778 delete arg2;
5779 }
5780 return NULL;
5781 }
5782
5783
5784 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5785 PyObject *resultobj = 0;
5786 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5787 wxString result;
5788 void *argp1 = 0 ;
5789 int res1 = 0 ;
5790 PyObject *swig_obj[1] ;
5791
5792 if (!args) SWIG_fail;
5793 swig_obj[0] = args;
5794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5795 if (!SWIG_IsOK(res1)) {
5796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5797 }
5798 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 {
5806 #if wxUSE_UNICODE
5807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5808 #else
5809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5810 #endif
5811 }
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj = 0;
5820 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5821 wxRegion *arg2 = 0 ;
5822 bool result;
5823 void *argp1 = 0 ;
5824 int res1 = 0 ;
5825 void *argp2 = 0 ;
5826 int res2 = 0 ;
5827 PyObject * obj0 = 0 ;
5828 PyObject * obj1 = 0 ;
5829 char * kwnames[] = {
5830 (char *) "self",(char *) "region", NULL
5831 };
5832
5833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5835 if (!SWIG_IsOK(res1)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5837 }
5838 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5839 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5840 if (!SWIG_IsOK(res2)) {
5841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5842 }
5843 if (!argp2) {
5844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5845 }
5846 arg2 = reinterpret_cast< wxRegion * >(argp2);
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 {
5854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5855 }
5856 return resultobj;
5857 fail:
5858 return NULL;
5859 }
5860
5861
5862 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj = 0;
5864 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5865 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5866 void *argp1 = 0 ;
5867 int res1 = 0 ;
5868 int val2 ;
5869 int ecode2 = 0 ;
5870 PyObject * obj0 = 0 ;
5871 PyObject * obj1 = 0 ;
5872 char * kwnames[] = {
5873 (char *) "self",(char *) "flags", NULL
5874 };
5875
5876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5878 if (!SWIG_IsOK(res1)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5880 }
5881 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5882 if (obj1) {
5883 ecode2 = SWIG_AsVal_int(obj1, &val2);
5884 if (!SWIG_IsOK(ecode2)) {
5885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5886 }
5887 arg2 = static_cast< int >(val2);
5888 }
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 (arg1)->RequestUserAttention(arg2);
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 resultobj = SWIG_Py_Void();
5896 return resultobj;
5897 fail:
5898 return NULL;
5899 }
5900
5901
5902 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5903 PyObject *resultobj = 0;
5904 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5905 bool result;
5906 void *argp1 = 0 ;
5907 int res1 = 0 ;
5908 PyObject *swig_obj[1] ;
5909
5910 if (!args) SWIG_fail;
5911 swig_obj[0] = args;
5912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5913 if (!SWIG_IsOK(res1)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5915 }
5916 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (bool)(arg1)->IsActive();
5920 wxPyEndAllowThreads(__tstate);
5921 if (PyErr_Occurred()) SWIG_fail;
5922 }
5923 {
5924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5925 }
5926 return resultobj;
5927 fail:
5928 return NULL;
5929 }
5930
5931
5932 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5933 PyObject *resultobj = 0;
5934 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5935 bool arg2 ;
5936 void *argp1 = 0 ;
5937 int res1 = 0 ;
5938 bool val2 ;
5939 int ecode2 = 0 ;
5940 PyObject * obj0 = 0 ;
5941 PyObject * obj1 = 0 ;
5942 char * kwnames[] = {
5943 (char *) "self",(char *) "on", NULL
5944 };
5945
5946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5948 if (!SWIG_IsOK(res1)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5950 }
5951 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5952 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5953 if (!SWIG_IsOK(ecode2)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5955 }
5956 arg2 = static_cast< bool >(val2);
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 resultobj = SWIG_Py_Void();
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5971 PyObject *resultobj = 0;
5972 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5973 bool result;
5974 void *argp1 = 0 ;
5975 int res1 = 0 ;
5976 PyObject *swig_obj[1] ;
5977
5978 if (!args) SWIG_fail;
5979 swig_obj[0] = args;
5980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5981 if (!SWIG_IsOK(res1)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5983 }
5984 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5985 {
5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
5987 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 {
5992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5993 }
5994 return resultobj;
5995 fail:
5996 return NULL;
5997 }
5998
5999
6000 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj = 0;
6002 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6003 int arg2 = (int) wxBOTH ;
6004 void *argp1 = 0 ;
6005 int res1 = 0 ;
6006 int val2 ;
6007 int ecode2 = 0 ;
6008 PyObject * obj0 = 0 ;
6009 PyObject * obj1 = 0 ;
6010 char * kwnames[] = {
6011 (char *) "self",(char *) "dir", NULL
6012 };
6013
6014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6016 if (!SWIG_IsOK(res1)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6018 }
6019 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6020 if (obj1) {
6021 ecode2 = SWIG_AsVal_int(obj1, &val2);
6022 if (!SWIG_IsOK(ecode2)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6024 }
6025 arg2 = static_cast< int >(val2);
6026 }
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 (arg1)->CenterOnScreen(arg2);
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = SWIG_Py_Void();
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6041 PyObject *obj;
6042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6043 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6044 return SWIG_Py_Void();
6045 }
6046
6047 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6048 PyObject *resultobj = 0;
6049 wxWindow *arg1 = (wxWindow *) 0 ;
6050 int arg2 = (int) (int)-1 ;
6051 wxString const &arg3_defvalue = wxPyEmptyString ;
6052 wxString *arg3 = (wxString *) &arg3_defvalue ;
6053 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6054 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6055 wxSize const &arg5_defvalue = wxDefaultSize ;
6056 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6057 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6058 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6059 wxString *arg7 = (wxString *) &arg7_defvalue ;
6060 wxFrame *result = 0 ;
6061 void *argp1 = 0 ;
6062 int res1 = 0 ;
6063 int val2 ;
6064 int ecode2 = 0 ;
6065 bool temp3 = false ;
6066 wxPoint temp4 ;
6067 wxSize temp5 ;
6068 long val6 ;
6069 int ecode6 = 0 ;
6070 bool temp7 = false ;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 PyObject * obj2 = 0 ;
6074 PyObject * obj3 = 0 ;
6075 PyObject * obj4 = 0 ;
6076 PyObject * obj5 = 0 ;
6077 PyObject * obj6 = 0 ;
6078 char * kwnames[] = {
6079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6080 };
6081
6082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6086 }
6087 arg1 = reinterpret_cast< wxWindow * >(argp1);
6088 if (obj1) {
6089 ecode2 = SWIG_AsVal_int(obj1, &val2);
6090 if (!SWIG_IsOK(ecode2)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6092 }
6093 arg2 = static_cast< int >(val2);
6094 }
6095 if (obj2) {
6096 {
6097 arg3 = wxString_in_helper(obj2);
6098 if (arg3 == NULL) SWIG_fail;
6099 temp3 = true;
6100 }
6101 }
6102 if (obj3) {
6103 {
6104 arg4 = &temp4;
6105 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6106 }
6107 }
6108 if (obj4) {
6109 {
6110 arg5 = &temp5;
6111 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6112 }
6113 }
6114 if (obj5) {
6115 ecode6 = SWIG_AsVal_long(obj5, &val6);
6116 if (!SWIG_IsOK(ecode6)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6118 }
6119 arg6 = static_cast< long >(val6);
6120 }
6121 if (obj6) {
6122 {
6123 arg7 = wxString_in_helper(obj6);
6124 if (arg7 == NULL) SWIG_fail;
6125 temp7 = true;
6126 }
6127 }
6128 {
6129 if (!wxPyCheckForApp()) SWIG_fail;
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6132 wxPyEndAllowThreads(__tstate);
6133 if (PyErr_Occurred()) SWIG_fail;
6134 }
6135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6136 {
6137 if (temp3)
6138 delete arg3;
6139 }
6140 {
6141 if (temp7)
6142 delete arg7;
6143 }
6144 return resultobj;
6145 fail:
6146 {
6147 if (temp3)
6148 delete arg3;
6149 }
6150 {
6151 if (temp7)
6152 delete arg7;
6153 }
6154 return NULL;
6155 }
6156
6157
6158 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6159 PyObject *resultobj = 0;
6160 wxFrame *result = 0 ;
6161
6162 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6163 {
6164 if (!wxPyCheckForApp()) SWIG_fail;
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 result = (wxFrame *)new wxFrame();
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj = 0;
6179 wxFrame *arg1 = (wxFrame *) 0 ;
6180 wxWindow *arg2 = (wxWindow *) 0 ;
6181 int arg3 = (int) (int)-1 ;
6182 wxString const &arg4_defvalue = wxPyEmptyString ;
6183 wxString *arg4 = (wxString *) &arg4_defvalue ;
6184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6186 wxSize const &arg6_defvalue = wxDefaultSize ;
6187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6188 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6189 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6190 wxString *arg8 = (wxString *) &arg8_defvalue ;
6191 bool result;
6192 void *argp1 = 0 ;
6193 int res1 = 0 ;
6194 void *argp2 = 0 ;
6195 int res2 = 0 ;
6196 int val3 ;
6197 int ecode3 = 0 ;
6198 bool temp4 = false ;
6199 wxPoint temp5 ;
6200 wxSize temp6 ;
6201 long val7 ;
6202 int ecode7 = 0 ;
6203 bool temp8 = false ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 PyObject * obj3 = 0 ;
6208 PyObject * obj4 = 0 ;
6209 PyObject * obj5 = 0 ;
6210 PyObject * obj6 = 0 ;
6211 PyObject * obj7 = 0 ;
6212 char * kwnames[] = {
6213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6214 };
6215
6216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6220 }
6221 arg1 = reinterpret_cast< wxFrame * >(argp1);
6222 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6223 if (!SWIG_IsOK(res2)) {
6224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6225 }
6226 arg2 = reinterpret_cast< wxWindow * >(argp2);
6227 if (obj2) {
6228 ecode3 = SWIG_AsVal_int(obj2, &val3);
6229 if (!SWIG_IsOK(ecode3)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6231 }
6232 arg3 = static_cast< int >(val3);
6233 }
6234 if (obj3) {
6235 {
6236 arg4 = wxString_in_helper(obj3);
6237 if (arg4 == NULL) SWIG_fail;
6238 temp4 = true;
6239 }
6240 }
6241 if (obj4) {
6242 {
6243 arg5 = &temp5;
6244 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6245 }
6246 }
6247 if (obj5) {
6248 {
6249 arg6 = &temp6;
6250 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6251 }
6252 }
6253 if (obj6) {
6254 ecode7 = SWIG_AsVal_long(obj6, &val7);
6255 if (!SWIG_IsOK(ecode7)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6257 }
6258 arg7 = static_cast< long >(val7);
6259 }
6260 if (obj7) {
6261 {
6262 arg8 = wxString_in_helper(obj7);
6263 if (arg8 == NULL) SWIG_fail;
6264 temp8 = true;
6265 }
6266 }
6267 {
6268 PyThreadState* __tstate = wxPyBeginAllowThreads();
6269 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 {
6274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6275 }
6276 {
6277 if (temp4)
6278 delete arg4;
6279 }
6280 {
6281 if (temp8)
6282 delete arg8;
6283 }
6284 return resultobj;
6285 fail:
6286 {
6287 if (temp4)
6288 delete arg4;
6289 }
6290 {
6291 if (temp8)
6292 delete arg8;
6293 }
6294 return NULL;
6295 }
6296
6297
6298 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6299 PyObject *resultobj = 0;
6300 wxFrame *arg1 = (wxFrame *) 0 ;
6301 void *argp1 = 0 ;
6302 int res1 = 0 ;
6303 PyObject *swig_obj[1] ;
6304
6305 if (!args) SWIG_fail;
6306 swig_obj[0] = args;
6307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6308 if (!SWIG_IsOK(res1)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6310 }
6311 arg1 = reinterpret_cast< wxFrame * >(argp1);
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SendSizeEvent();
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 resultobj = SWIG_Py_Void();
6319 return resultobj;
6320 fail:
6321 return NULL;
6322 }
6323
6324
6325 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj = 0;
6327 wxFrame *arg1 = (wxFrame *) 0 ;
6328 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6329 void *argp1 = 0 ;
6330 int res1 = 0 ;
6331 void *argp2 = 0 ;
6332 int res2 = 0 ;
6333 PyObject * obj0 = 0 ;
6334 PyObject * obj1 = 0 ;
6335 char * kwnames[] = {
6336 (char *) "self",(char *) "menubar", NULL
6337 };
6338
6339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6341 if (!SWIG_IsOK(res1)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6343 }
6344 arg1 = reinterpret_cast< wxFrame * >(argp1);
6345 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6346 if (!SWIG_IsOK(res2)) {
6347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6348 }
6349 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 (arg1)->SetMenuBar(arg2);
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 resultobj = SWIG_Py_Void();
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6364 PyObject *resultobj = 0;
6365 wxFrame *arg1 = (wxFrame *) 0 ;
6366 wxMenuBar *result = 0 ;
6367 void *argp1 = 0 ;
6368 int res1 = 0 ;
6369 PyObject *swig_obj[1] ;
6370
6371 if (!args) SWIG_fail;
6372 swig_obj[0] = args;
6373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6374 if (!SWIG_IsOK(res1)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6376 }
6377 arg1 = reinterpret_cast< wxFrame * >(argp1);
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6381 wxPyEndAllowThreads(__tstate);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 {
6385 resultobj = wxPyMake_wxObject(result, 0);
6386 }
6387 return resultobj;
6388 fail:
6389 return NULL;
6390 }
6391
6392
6393 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6394 PyObject *resultobj = 0;
6395 wxFrame *arg1 = (wxFrame *) 0 ;
6396 int arg2 ;
6397 bool result;
6398 void *argp1 = 0 ;
6399 int res1 = 0 ;
6400 int val2 ;
6401 int ecode2 = 0 ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 char * kwnames[] = {
6405 (char *) "self",(char *) "winid", NULL
6406 };
6407
6408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6412 }
6413 arg1 = reinterpret_cast< wxFrame * >(argp1);
6414 ecode2 = SWIG_AsVal_int(obj1, &val2);
6415 if (!SWIG_IsOK(ecode2)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6417 }
6418 arg2 = static_cast< int >(val2);
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (bool)(arg1)->ProcessCommand(arg2);
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 {
6426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6427 }
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj = 0;
6436 wxFrame *arg1 = (wxFrame *) 0 ;
6437 int arg2 = (int) 1 ;
6438 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6439 int arg4 = (int) 0 ;
6440 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6441 wxString *arg5 = (wxString *) &arg5_defvalue ;
6442 wxStatusBar *result = 0 ;
6443 void *argp1 = 0 ;
6444 int res1 = 0 ;
6445 int val2 ;
6446 int ecode2 = 0 ;
6447 long val3 ;
6448 int ecode3 = 0 ;
6449 int val4 ;
6450 int ecode4 = 0 ;
6451 bool temp5 = false ;
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 PyObject * obj3 = 0 ;
6456 PyObject * obj4 = 0 ;
6457 char * kwnames[] = {
6458 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6459 };
6460
6461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6465 }
6466 arg1 = reinterpret_cast< wxFrame * >(argp1);
6467 if (obj1) {
6468 ecode2 = SWIG_AsVal_int(obj1, &val2);
6469 if (!SWIG_IsOK(ecode2)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6471 }
6472 arg2 = static_cast< int >(val2);
6473 }
6474 if (obj2) {
6475 ecode3 = SWIG_AsVal_long(obj2, &val3);
6476 if (!SWIG_IsOK(ecode3)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6478 }
6479 arg3 = static_cast< long >(val3);
6480 }
6481 if (obj3) {
6482 ecode4 = SWIG_AsVal_int(obj3, &val4);
6483 if (!SWIG_IsOK(ecode4)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6485 }
6486 arg4 = static_cast< int >(val4);
6487 }
6488 if (obj4) {
6489 {
6490 arg5 = wxString_in_helper(obj4);
6491 if (arg5 == NULL) SWIG_fail;
6492 temp5 = true;
6493 }
6494 }
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 {
6502 resultobj = wxPyMake_wxObject(result, (bool)0);
6503 }
6504 {
6505 if (temp5)
6506 delete arg5;
6507 }
6508 return resultobj;
6509 fail:
6510 {
6511 if (temp5)
6512 delete arg5;
6513 }
6514 return NULL;
6515 }
6516
6517
6518 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6519 PyObject *resultobj = 0;
6520 wxFrame *arg1 = (wxFrame *) 0 ;
6521 wxStatusBar *result = 0 ;
6522 void *argp1 = 0 ;
6523 int res1 = 0 ;
6524 PyObject *swig_obj[1] ;
6525
6526 if (!args) SWIG_fail;
6527 swig_obj[0] = args;
6528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6529 if (!SWIG_IsOK(res1)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6531 }
6532 arg1 = reinterpret_cast< wxFrame * >(argp1);
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 {
6540 resultobj = wxPyMake_wxObject(result, (bool)0);
6541 }
6542 return resultobj;
6543 fail:
6544 return NULL;
6545 }
6546
6547
6548 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj = 0;
6550 wxFrame *arg1 = (wxFrame *) 0 ;
6551 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6552 void *argp1 = 0 ;
6553 int res1 = 0 ;
6554 void *argp2 = 0 ;
6555 int res2 = 0 ;
6556 PyObject * obj0 = 0 ;
6557 PyObject * obj1 = 0 ;
6558 char * kwnames[] = {
6559 (char *) "self",(char *) "statBar", NULL
6560 };
6561
6562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6564 if (!SWIG_IsOK(res1)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6566 }
6567 arg1 = reinterpret_cast< wxFrame * >(argp1);
6568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6569 if (!SWIG_IsOK(res2)) {
6570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6571 }
6572 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 (arg1)->SetStatusBar(arg2);
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 resultobj = SWIG_Py_Void();
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj = 0;
6588 wxFrame *arg1 = (wxFrame *) 0 ;
6589 wxString *arg2 = 0 ;
6590 int arg3 = (int) 0 ;
6591 void *argp1 = 0 ;
6592 int res1 = 0 ;
6593 bool temp2 = false ;
6594 int val3 ;
6595 int ecode3 = 0 ;
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 PyObject * obj2 = 0 ;
6599 char * kwnames[] = {
6600 (char *) "self",(char *) "text",(char *) "number", NULL
6601 };
6602
6603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6605 if (!SWIG_IsOK(res1)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6607 }
6608 arg1 = reinterpret_cast< wxFrame * >(argp1);
6609 {
6610 arg2 = wxString_in_helper(obj1);
6611 if (arg2 == NULL) SWIG_fail;
6612 temp2 = true;
6613 }
6614 if (obj2) {
6615 ecode3 = SWIG_AsVal_int(obj2, &val3);
6616 if (!SWIG_IsOK(ecode3)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6618 }
6619 arg3 = static_cast< int >(val3);
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 resultobj = SWIG_Py_Void();
6628 {
6629 if (temp2)
6630 delete arg2;
6631 }
6632 return resultobj;
6633 fail:
6634 {
6635 if (temp2)
6636 delete arg2;
6637 }
6638 return NULL;
6639 }
6640
6641
6642 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj = 0;
6644 wxFrame *arg1 = (wxFrame *) 0 ;
6645 int arg2 ;
6646 int *arg3 = (int *) 0 ;
6647 void *argp1 = 0 ;
6648 int res1 = 0 ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 char * kwnames[] = {
6652 (char *) "self",(char *) "widths", NULL
6653 };
6654
6655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6657 if (!SWIG_IsOK(res1)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6659 }
6660 arg1 = reinterpret_cast< wxFrame * >(argp1);
6661 {
6662 arg2 = PyList_Size(obj1);
6663 arg3 = int_LIST_helper(obj1);
6664 if (arg3 == NULL) SWIG_fail;
6665 }
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = SWIG_Py_Void();
6673 {
6674 if (arg3) delete [] arg3;
6675 }
6676 return resultobj;
6677 fail:
6678 {
6679 if (arg3) delete [] arg3;
6680 }
6681 return NULL;
6682 }
6683
6684
6685 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj = 0;
6687 wxFrame *arg1 = (wxFrame *) 0 ;
6688 wxString *arg2 = 0 ;
6689 int arg3 = (int) 0 ;
6690 void *argp1 = 0 ;
6691 int res1 = 0 ;
6692 bool temp2 = false ;
6693 int val3 ;
6694 int ecode3 = 0 ;
6695 PyObject * obj0 = 0 ;
6696 PyObject * obj1 = 0 ;
6697 PyObject * obj2 = 0 ;
6698 char * kwnames[] = {
6699 (char *) "self",(char *) "text",(char *) "number", NULL
6700 };
6701
6702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6704 if (!SWIG_IsOK(res1)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6706 }
6707 arg1 = reinterpret_cast< wxFrame * >(argp1);
6708 {
6709 arg2 = wxString_in_helper(obj1);
6710 if (arg2 == NULL) SWIG_fail;
6711 temp2 = true;
6712 }
6713 if (obj2) {
6714 ecode3 = SWIG_AsVal_int(obj2, &val3);
6715 if (!SWIG_IsOK(ecode3)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6717 }
6718 arg3 = static_cast< int >(val3);
6719 }
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = SWIG_Py_Void();
6727 {
6728 if (temp2)
6729 delete arg2;
6730 }
6731 return resultobj;
6732 fail:
6733 {
6734 if (temp2)
6735 delete arg2;
6736 }
6737 return NULL;
6738 }
6739
6740
6741 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6742 PyObject *resultobj = 0;
6743 wxFrame *arg1 = (wxFrame *) 0 ;
6744 int arg2 = (int) 0 ;
6745 void *argp1 = 0 ;
6746 int res1 = 0 ;
6747 int val2 ;
6748 int ecode2 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 char * kwnames[] = {
6752 (char *) "self",(char *) "number", NULL
6753 };
6754
6755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6757 if (!SWIG_IsOK(res1)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6759 }
6760 arg1 = reinterpret_cast< wxFrame * >(argp1);
6761 if (obj1) {
6762 ecode2 = SWIG_AsVal_int(obj1, &val2);
6763 if (!SWIG_IsOK(ecode2)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6765 }
6766 arg2 = static_cast< int >(val2);
6767 }
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 (arg1)->PopStatusText(arg2);
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = SWIG_Py_Void();
6775 return resultobj;
6776 fail:
6777 return NULL;
6778 }
6779
6780
6781 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj = 0;
6783 wxFrame *arg1 = (wxFrame *) 0 ;
6784 int arg2 ;
6785 void *argp1 = 0 ;
6786 int res1 = 0 ;
6787 int val2 ;
6788 int ecode2 = 0 ;
6789 PyObject * obj0 = 0 ;
6790 PyObject * obj1 = 0 ;
6791 char * kwnames[] = {
6792 (char *) "self",(char *) "n", NULL
6793 };
6794
6795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6797 if (!SWIG_IsOK(res1)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6799 }
6800 arg1 = reinterpret_cast< wxFrame * >(argp1);
6801 ecode2 = SWIG_AsVal_int(obj1, &val2);
6802 if (!SWIG_IsOK(ecode2)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6804 }
6805 arg2 = static_cast< int >(val2);
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->SetStatusBarPane(arg2);
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 resultobj = SWIG_Py_Void();
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6820 PyObject *resultobj = 0;
6821 wxFrame *arg1 = (wxFrame *) 0 ;
6822 int result;
6823 void *argp1 = 0 ;
6824 int res1 = 0 ;
6825 PyObject *swig_obj[1] ;
6826
6827 if (!args) SWIG_fail;
6828 swig_obj[0] = args;
6829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6832 }
6833 arg1 = reinterpret_cast< wxFrame * >(argp1);
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 resultobj = SWIG_From_int(static_cast< int >(result));
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj = 0;
6849 wxFrame *arg1 = (wxFrame *) 0 ;
6850 long arg2 = (long) -1 ;
6851 int arg3 = (int) -1 ;
6852 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6853 wxString *arg4 = (wxString *) &arg4_defvalue ;
6854 wxToolBar *result = 0 ;
6855 void *argp1 = 0 ;
6856 int res1 = 0 ;
6857 long val2 ;
6858 int ecode2 = 0 ;
6859 int val3 ;
6860 int ecode3 = 0 ;
6861 bool temp4 = false ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 PyObject * obj3 = 0 ;
6866 char * kwnames[] = {
6867 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6868 };
6869
6870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6872 if (!SWIG_IsOK(res1)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6874 }
6875 arg1 = reinterpret_cast< wxFrame * >(argp1);
6876 if (obj1) {
6877 ecode2 = SWIG_AsVal_long(obj1, &val2);
6878 if (!SWIG_IsOK(ecode2)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6880 }
6881 arg2 = static_cast< long >(val2);
6882 }
6883 if (obj2) {
6884 ecode3 = SWIG_AsVal_int(obj2, &val3);
6885 if (!SWIG_IsOK(ecode3)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6887 }
6888 arg3 = static_cast< int >(val3);
6889 }
6890 if (obj3) {
6891 {
6892 arg4 = wxString_in_helper(obj3);
6893 if (arg4 == NULL) SWIG_fail;
6894 temp4 = true;
6895 }
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 {
6904 resultobj = wxPyMake_wxObject(result, (bool)0);
6905 }
6906 {
6907 if (temp4)
6908 delete arg4;
6909 }
6910 return resultobj;
6911 fail:
6912 {
6913 if (temp4)
6914 delete arg4;
6915 }
6916 return NULL;
6917 }
6918
6919
6920 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6921 PyObject *resultobj = 0;
6922 wxFrame *arg1 = (wxFrame *) 0 ;
6923 wxToolBar *result = 0 ;
6924 void *argp1 = 0 ;
6925 int res1 = 0 ;
6926 PyObject *swig_obj[1] ;
6927
6928 if (!args) SWIG_fail;
6929 swig_obj[0] = args;
6930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6931 if (!SWIG_IsOK(res1)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6933 }
6934 arg1 = reinterpret_cast< wxFrame * >(argp1);
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 }
6941 {
6942 resultobj = wxPyMake_wxObject(result, (bool)0);
6943 }
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj = 0;
6952 wxFrame *arg1 = (wxFrame *) 0 ;
6953 wxToolBar *arg2 = (wxToolBar *) 0 ;
6954 void *argp1 = 0 ;
6955 int res1 = 0 ;
6956 void *argp2 = 0 ;
6957 int res2 = 0 ;
6958 PyObject * obj0 = 0 ;
6959 PyObject * obj1 = 0 ;
6960 char * kwnames[] = {
6961 (char *) "self",(char *) "toolbar", NULL
6962 };
6963
6964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6966 if (!SWIG_IsOK(res1)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6968 }
6969 arg1 = reinterpret_cast< wxFrame * >(argp1);
6970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6971 if (!SWIG_IsOK(res2)) {
6972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6973 }
6974 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 (arg1)->SetToolBar(arg2);
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_Py_Void();
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj = 0;
6990 wxFrame *arg1 = (wxFrame *) 0 ;
6991 wxString *arg2 = 0 ;
6992 bool arg3 ;
6993 void *argp1 = 0 ;
6994 int res1 = 0 ;
6995 bool temp2 = false ;
6996 bool val3 ;
6997 int ecode3 = 0 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 PyObject * obj2 = 0 ;
7001 char * kwnames[] = {
7002 (char *) "self",(char *) "text",(char *) "show", NULL
7003 };
7004
7005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7007 if (!SWIG_IsOK(res1)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7009 }
7010 arg1 = reinterpret_cast< wxFrame * >(argp1);
7011 {
7012 arg2 = wxString_in_helper(obj1);
7013 if (arg2 == NULL) SWIG_fail;
7014 temp2 = true;
7015 }
7016 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7017 if (!SWIG_IsOK(ecode3)) {
7018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7019 }
7020 arg3 = static_cast< bool >(val3);
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 resultobj = SWIG_Py_Void();
7028 {
7029 if (temp2)
7030 delete arg2;
7031 }
7032 return resultobj;
7033 fail:
7034 {
7035 if (temp2)
7036 delete arg2;
7037 }
7038 return NULL;
7039 }
7040
7041
7042 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj = 0;
7044 wxFrame *arg1 = (wxFrame *) 0 ;
7045 wxMenu *arg2 = (wxMenu *) NULL ;
7046 void *argp1 = 0 ;
7047 int res1 = 0 ;
7048 void *argp2 = 0 ;
7049 int res2 = 0 ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 char * kwnames[] = {
7053 (char *) "self",(char *) "menu", NULL
7054 };
7055
7056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7058 if (!SWIG_IsOK(res1)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7060 }
7061 arg1 = reinterpret_cast< wxFrame * >(argp1);
7062 if (obj1) {
7063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7064 if (!SWIG_IsOK(res2)) {
7065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7066 }
7067 arg2 = reinterpret_cast< wxMenu * >(argp2);
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 (arg1)->DoMenuUpdates(arg2);
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = SWIG_Py_Void();
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj = 0;
7084 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7085 SwigValueWrapper<wxVisualAttributes > result;
7086 int val1 ;
7087 int ecode1 = 0 ;
7088 PyObject * obj0 = 0 ;
7089 char * kwnames[] = {
7090 (char *) "variant", NULL
7091 };
7092
7093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7094 if (obj0) {
7095 ecode1 = SWIG_AsVal_int(obj0, &val1);
7096 if (!SWIG_IsOK(ecode1)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7098 }
7099 arg1 = static_cast< wxWindowVariant >(val1);
7100 }
7101 {
7102 if (!wxPyCheckForApp()) SWIG_fail;
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = wxFrame::GetClassDefaultAttributes(arg1);
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7116 PyObject *obj;
7117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7118 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7119 return SWIG_Py_Void();
7120 }
7121
7122 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7123 return SWIG_Python_InitShadowInstance(args);
7124 }
7125
7126 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxWindow *arg1 = (wxWindow *) 0 ;
7129 int arg2 = (int) (int)-1 ;
7130 wxString const &arg3_defvalue = wxPyEmptyString ;
7131 wxString *arg3 = (wxString *) &arg3_defvalue ;
7132 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7133 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7134 wxSize const &arg5_defvalue = wxDefaultSize ;
7135 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7136 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7137 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7138 wxString *arg7 = (wxString *) &arg7_defvalue ;
7139 wxDialog *result = 0 ;
7140 void *argp1 = 0 ;
7141 int res1 = 0 ;
7142 int val2 ;
7143 int ecode2 = 0 ;
7144 bool temp3 = false ;
7145 wxPoint temp4 ;
7146 wxSize temp5 ;
7147 long val6 ;
7148 int ecode6 = 0 ;
7149 bool temp7 = false ;
7150 PyObject * obj0 = 0 ;
7151 PyObject * obj1 = 0 ;
7152 PyObject * obj2 = 0 ;
7153 PyObject * obj3 = 0 ;
7154 PyObject * obj4 = 0 ;
7155 PyObject * obj5 = 0 ;
7156 PyObject * obj6 = 0 ;
7157 char * kwnames[] = {
7158 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7159 };
7160
7161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7165 }
7166 arg1 = reinterpret_cast< wxWindow * >(argp1);
7167 if (obj1) {
7168 ecode2 = SWIG_AsVal_int(obj1, &val2);
7169 if (!SWIG_IsOK(ecode2)) {
7170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7171 }
7172 arg2 = static_cast< int >(val2);
7173 }
7174 if (obj2) {
7175 {
7176 arg3 = wxString_in_helper(obj2);
7177 if (arg3 == NULL) SWIG_fail;
7178 temp3 = true;
7179 }
7180 }
7181 if (obj3) {
7182 {
7183 arg4 = &temp4;
7184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7185 }
7186 }
7187 if (obj4) {
7188 {
7189 arg5 = &temp5;
7190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7191 }
7192 }
7193 if (obj5) {
7194 ecode6 = SWIG_AsVal_long(obj5, &val6);
7195 if (!SWIG_IsOK(ecode6)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7197 }
7198 arg6 = static_cast< long >(val6);
7199 }
7200 if (obj6) {
7201 {
7202 arg7 = wxString_in_helper(obj6);
7203 if (arg7 == NULL) SWIG_fail;
7204 temp7 = true;
7205 }
7206 }
7207 {
7208 if (!wxPyCheckForApp()) SWIG_fail;
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 }
7214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7215 {
7216 if (temp3)
7217 delete arg3;
7218 }
7219 {
7220 if (temp7)
7221 delete arg7;
7222 }
7223 return resultobj;
7224 fail:
7225 {
7226 if (temp3)
7227 delete arg3;
7228 }
7229 {
7230 if (temp7)
7231 delete arg7;
7232 }
7233 return NULL;
7234 }
7235
7236
7237 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7238 PyObject *resultobj = 0;
7239 wxDialog *result = 0 ;
7240
7241 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7242 {
7243 if (!wxPyCheckForApp()) SWIG_fail;
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (wxDialog *)new wxDialog();
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj = 0;
7258 wxDialog *arg1 = (wxDialog *) 0 ;
7259 wxWindow *arg2 = (wxWindow *) 0 ;
7260 int arg3 = (int) (int)-1 ;
7261 wxString const &arg4_defvalue = wxPyEmptyString ;
7262 wxString *arg4 = (wxString *) &arg4_defvalue ;
7263 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7264 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7265 wxSize const &arg6_defvalue = wxDefaultSize ;
7266 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7267 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7268 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7269 wxString *arg8 = (wxString *) &arg8_defvalue ;
7270 bool result;
7271 void *argp1 = 0 ;
7272 int res1 = 0 ;
7273 void *argp2 = 0 ;
7274 int res2 = 0 ;
7275 int val3 ;
7276 int ecode3 = 0 ;
7277 bool temp4 = false ;
7278 wxPoint temp5 ;
7279 wxSize temp6 ;
7280 long val7 ;
7281 int ecode7 = 0 ;
7282 bool temp8 = false ;
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 PyObject * obj2 = 0 ;
7286 PyObject * obj3 = 0 ;
7287 PyObject * obj4 = 0 ;
7288 PyObject * obj5 = 0 ;
7289 PyObject * obj6 = 0 ;
7290 PyObject * obj7 = 0 ;
7291 char * kwnames[] = {
7292 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7293 };
7294
7295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7297 if (!SWIG_IsOK(res1)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7299 }
7300 arg1 = reinterpret_cast< wxDialog * >(argp1);
7301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7302 if (!SWIG_IsOK(res2)) {
7303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7304 }
7305 arg2 = reinterpret_cast< wxWindow * >(argp2);
7306 if (obj2) {
7307 ecode3 = SWIG_AsVal_int(obj2, &val3);
7308 if (!SWIG_IsOK(ecode3)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7310 }
7311 arg3 = static_cast< int >(val3);
7312 }
7313 if (obj3) {
7314 {
7315 arg4 = wxString_in_helper(obj3);
7316 if (arg4 == NULL) SWIG_fail;
7317 temp4 = true;
7318 }
7319 }
7320 if (obj4) {
7321 {
7322 arg5 = &temp5;
7323 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7324 }
7325 }
7326 if (obj5) {
7327 {
7328 arg6 = &temp6;
7329 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7330 }
7331 }
7332 if (obj6) {
7333 ecode7 = SWIG_AsVal_long(obj6, &val7);
7334 if (!SWIG_IsOK(ecode7)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7336 }
7337 arg7 = static_cast< long >(val7);
7338 }
7339 if (obj7) {
7340 {
7341 arg8 = wxString_in_helper(obj7);
7342 if (arg8 == NULL) SWIG_fail;
7343 temp8 = true;
7344 }
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 {
7353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7354 }
7355 {
7356 if (temp4)
7357 delete arg4;
7358 }
7359 {
7360 if (temp8)
7361 delete arg8;
7362 }
7363 return resultobj;
7364 fail:
7365 {
7366 if (temp4)
7367 delete arg4;
7368 }
7369 {
7370 if (temp8)
7371 delete arg8;
7372 }
7373 return NULL;
7374 }
7375
7376
7377 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj = 0;
7379 wxDialog *arg1 = (wxDialog *) 0 ;
7380 int arg2 ;
7381 void *argp1 = 0 ;
7382 int res1 = 0 ;
7383 int val2 ;
7384 int ecode2 = 0 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char * kwnames[] = {
7388 (char *) "self",(char *) "returnCode", NULL
7389 };
7390
7391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7393 if (!SWIG_IsOK(res1)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7395 }
7396 arg1 = reinterpret_cast< wxDialog * >(argp1);
7397 ecode2 = SWIG_AsVal_int(obj1, &val2);
7398 if (!SWIG_IsOK(ecode2)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7400 }
7401 arg2 = static_cast< int >(val2);
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetReturnCode(arg2);
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 resultobj = SWIG_Py_Void();
7409 return resultobj;
7410 fail:
7411 return NULL;
7412 }
7413
7414
7415 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7416 PyObject *resultobj = 0;
7417 wxDialog *arg1 = (wxDialog *) 0 ;
7418 int result;
7419 void *argp1 = 0 ;
7420 int res1 = 0 ;
7421 PyObject *swig_obj[1] ;
7422
7423 if (!args) SWIG_fail;
7424 swig_obj[0] = args;
7425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7426 if (!SWIG_IsOK(res1)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7428 }
7429 arg1 = reinterpret_cast< wxDialog * >(argp1);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_From_int(static_cast< int >(result));
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxDialog *arg1 = (wxDialog *) 0 ;
7446 int arg2 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 int val2 ;
7450 int ecode2 = 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char * kwnames[] = {
7454 (char *) "self",(char *) "affirmativeId", NULL
7455 };
7456
7457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7459 if (!SWIG_IsOK(res1)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7461 }
7462 arg1 = reinterpret_cast< wxDialog * >(argp1);
7463 ecode2 = SWIG_AsVal_int(obj1, &val2);
7464 if (!SWIG_IsOK(ecode2)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7466 }
7467 arg2 = static_cast< int >(val2);
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->SetAffirmativeId(arg2);
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 resultobj = SWIG_Py_Void();
7475 return resultobj;
7476 fail:
7477 return NULL;
7478 }
7479
7480
7481 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7482 PyObject *resultobj = 0;
7483 wxDialog *arg1 = (wxDialog *) 0 ;
7484 int result;
7485 void *argp1 = 0 ;
7486 int res1 = 0 ;
7487 PyObject *swig_obj[1] ;
7488
7489 if (!args) SWIG_fail;
7490 swig_obj[0] = args;
7491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7492 if (!SWIG_IsOK(res1)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7494 }
7495 arg1 = reinterpret_cast< wxDialog * >(argp1);
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = SWIG_From_int(static_cast< int >(result));
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj = 0;
7511 wxDialog *arg1 = (wxDialog *) 0 ;
7512 int arg2 ;
7513 void *argp1 = 0 ;
7514 int res1 = 0 ;
7515 int val2 ;
7516 int ecode2 = 0 ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char * kwnames[] = {
7520 (char *) "self",(char *) "escapeId", NULL
7521 };
7522
7523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7525 if (!SWIG_IsOK(res1)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7527 }
7528 arg1 = reinterpret_cast< wxDialog * >(argp1);
7529 ecode2 = SWIG_AsVal_int(obj1, &val2);
7530 if (!SWIG_IsOK(ecode2)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7532 }
7533 arg2 = static_cast< int >(val2);
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 (arg1)->SetEscapeId(arg2);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 resultobj = SWIG_Py_Void();
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7548 PyObject *resultobj = 0;
7549 wxDialog *arg1 = (wxDialog *) 0 ;
7550 int result;
7551 void *argp1 = 0 ;
7552 int res1 = 0 ;
7553 PyObject *swig_obj[1] ;
7554
7555 if (!args) SWIG_fail;
7556 swig_obj[0] = args;
7557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7558 if (!SWIG_IsOK(res1)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7560 }
7561 arg1 = reinterpret_cast< wxDialog * >(argp1);
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 resultobj = SWIG_From_int(static_cast< int >(result));
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj = 0;
7577 wxDialog *arg1 = (wxDialog *) 0 ;
7578 wxString *arg2 = 0 ;
7579 wxSizer *result = 0 ;
7580 void *argp1 = 0 ;
7581 int res1 = 0 ;
7582 bool temp2 = false ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char * kwnames[] = {
7586 (char *) "self",(char *) "message", NULL
7587 };
7588
7589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7591 if (!SWIG_IsOK(res1)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 }
7594 arg1 = reinterpret_cast< wxDialog * >(argp1);
7595 {
7596 arg2 = wxString_in_helper(obj1);
7597 if (arg2 == NULL) SWIG_fail;
7598 temp2 = true;
7599 }
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 {
7607 resultobj = wxPyMake_wxObject(result, (bool)0);
7608 }
7609 {
7610 if (temp2)
7611 delete arg2;
7612 }
7613 return resultobj;
7614 fail:
7615 {
7616 if (temp2)
7617 delete arg2;
7618 }
7619 return NULL;
7620 }
7621
7622
7623 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj = 0;
7625 wxDialog *arg1 = (wxDialog *) 0 ;
7626 long arg2 ;
7627 bool arg3 = (bool) false ;
7628 int arg4 = (int) 0 ;
7629 wxSizer *result = 0 ;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 long val2 ;
7633 int ecode2 = 0 ;
7634 bool val3 ;
7635 int ecode3 = 0 ;
7636 int val4 ;
7637 int ecode4 = 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 PyObject * obj2 = 0 ;
7641 PyObject * obj3 = 0 ;
7642 char * kwnames[] = {
7643 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7644 };
7645
7646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7648 if (!SWIG_IsOK(res1)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 }
7651 arg1 = reinterpret_cast< wxDialog * >(argp1);
7652 ecode2 = SWIG_AsVal_long(obj1, &val2);
7653 if (!SWIG_IsOK(ecode2)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7655 }
7656 arg2 = static_cast< long >(val2);
7657 if (obj2) {
7658 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7659 if (!SWIG_IsOK(ecode3)) {
7660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7661 }
7662 arg3 = static_cast< bool >(val3);
7663 }
7664 if (obj3) {
7665 ecode4 = SWIG_AsVal_int(obj3, &val4);
7666 if (!SWIG_IsOK(ecode4)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7668 }
7669 arg4 = static_cast< int >(val4);
7670 }
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 {
7678 resultobj = wxPyMake_wxObject(result, (bool)0);
7679 }
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj = 0;
7688 wxDialog *arg1 = (wxDialog *) 0 ;
7689 long arg2 ;
7690 wxStdDialogButtonSizer *result = 0 ;
7691 void *argp1 = 0 ;
7692 int res1 = 0 ;
7693 long val2 ;
7694 int ecode2 = 0 ;
7695 PyObject * obj0 = 0 ;
7696 PyObject * obj1 = 0 ;
7697 char * kwnames[] = {
7698 (char *) "self",(char *) "flags", NULL
7699 };
7700
7701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7703 if (!SWIG_IsOK(res1)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7705 }
7706 arg1 = reinterpret_cast< wxDialog * >(argp1);
7707 ecode2 = SWIG_AsVal_long(obj1, &val2);
7708 if (!SWIG_IsOK(ecode2)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7710 }
7711 arg2 = static_cast< long >(val2);
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7726 PyObject *resultobj = 0;
7727 wxDialog *arg1 = (wxDialog *) 0 ;
7728 bool result;
7729 void *argp1 = 0 ;
7730 int res1 = 0 ;
7731 PyObject *swig_obj[1] ;
7732
7733 if (!args) SWIG_fail;
7734 swig_obj[0] = args;
7735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7736 if (!SWIG_IsOK(res1)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7738 }
7739 arg1 = reinterpret_cast< wxDialog * >(argp1);
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = (bool)((wxDialog const *)arg1)->IsModal();
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 {
7747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7748 }
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7756 PyObject *resultobj = 0;
7757 wxDialog *arg1 = (wxDialog *) 0 ;
7758 int result;
7759 void *argp1 = 0 ;
7760 int res1 = 0 ;
7761 PyObject *swig_obj[1] ;
7762
7763 if (!args) SWIG_fail;
7764 swig_obj[0] = args;
7765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7766 if (!SWIG_IsOK(res1)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7768 }
7769 arg1 = reinterpret_cast< wxDialog * >(argp1);
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 result = (int)(arg1)->ShowModal();
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = SWIG_From_int(static_cast< int >(result));
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj = 0;
7785 wxDialog *arg1 = (wxDialog *) 0 ;
7786 int arg2 ;
7787 void *argp1 = 0 ;
7788 int res1 = 0 ;
7789 int val2 ;
7790 int ecode2 = 0 ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj1 = 0 ;
7793 char * kwnames[] = {
7794 (char *) "self",(char *) "retCode", NULL
7795 };
7796
7797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7799 if (!SWIG_IsOK(res1)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7801 }
7802 arg1 = reinterpret_cast< wxDialog * >(argp1);
7803 ecode2 = SWIG_AsVal_int(obj1, &val2);
7804 if (!SWIG_IsOK(ecode2)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7806 }
7807 arg2 = static_cast< int >(val2);
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 (arg1)->EndModal(arg2);
7811 wxPyEndAllowThreads(__tstate);
7812 if (PyErr_Occurred()) SWIG_fail;
7813 }
7814 resultobj = SWIG_Py_Void();
7815 return resultobj;
7816 fail:
7817 return NULL;
7818 }
7819
7820
7821 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj = 0;
7823 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7824 SwigValueWrapper<wxVisualAttributes > result;
7825 int val1 ;
7826 int ecode1 = 0 ;
7827 PyObject * obj0 = 0 ;
7828 char * kwnames[] = {
7829 (char *) "variant", NULL
7830 };
7831
7832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7833 if (obj0) {
7834 ecode1 = SWIG_AsVal_int(obj0, &val1);
7835 if (!SWIG_IsOK(ecode1)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7837 }
7838 arg1 = static_cast< wxWindowVariant >(val1);
7839 }
7840 {
7841 if (!wxPyCheckForApp()) SWIG_fail;
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = wxDialog::GetClassDefaultAttributes(arg1);
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7848 return resultobj;
7849 fail:
7850 return NULL;
7851 }
7852
7853
7854 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7855 PyObject *obj;
7856 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7857 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7858 return SWIG_Py_Void();
7859 }
7860
7861 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7862 return SWIG_Python_InitShadowInstance(args);
7863 }
7864
7865 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj = 0;
7867 wxWindow *arg1 = (wxWindow *) 0 ;
7868 int arg2 = (int) (int)-1 ;
7869 wxString const &arg3_defvalue = wxPyEmptyString ;
7870 wxString *arg3 = (wxString *) &arg3_defvalue ;
7871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7873 wxSize const &arg5_defvalue = wxDefaultSize ;
7874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7875 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7876 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7877 wxString *arg7 = (wxString *) &arg7_defvalue ;
7878 wxMiniFrame *result = 0 ;
7879 void *argp1 = 0 ;
7880 int res1 = 0 ;
7881 int val2 ;
7882 int ecode2 = 0 ;
7883 bool temp3 = false ;
7884 wxPoint temp4 ;
7885 wxSize temp5 ;
7886 long val6 ;
7887 int ecode6 = 0 ;
7888 bool temp7 = false ;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 PyObject * obj2 = 0 ;
7892 PyObject * obj3 = 0 ;
7893 PyObject * obj4 = 0 ;
7894 PyObject * obj5 = 0 ;
7895 PyObject * obj6 = 0 ;
7896 char * kwnames[] = {
7897 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7898 };
7899
7900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7902 if (!SWIG_IsOK(res1)) {
7903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7904 }
7905 arg1 = reinterpret_cast< wxWindow * >(argp1);
7906 if (obj1) {
7907 ecode2 = SWIG_AsVal_int(obj1, &val2);
7908 if (!SWIG_IsOK(ecode2)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7910 }
7911 arg2 = static_cast< int >(val2);
7912 }
7913 if (obj2) {
7914 {
7915 arg3 = wxString_in_helper(obj2);
7916 if (arg3 == NULL) SWIG_fail;
7917 temp3 = true;
7918 }
7919 }
7920 if (obj3) {
7921 {
7922 arg4 = &temp4;
7923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7924 }
7925 }
7926 if (obj4) {
7927 {
7928 arg5 = &temp5;
7929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7930 }
7931 }
7932 if (obj5) {
7933 ecode6 = SWIG_AsVal_long(obj5, &val6);
7934 if (!SWIG_IsOK(ecode6)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7936 }
7937 arg6 = static_cast< long >(val6);
7938 }
7939 if (obj6) {
7940 {
7941 arg7 = wxString_in_helper(obj6);
7942 if (arg7 == NULL) SWIG_fail;
7943 temp7 = true;
7944 }
7945 }
7946 {
7947 if (!wxPyCheckForApp()) SWIG_fail;
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7954 {
7955 if (temp3)
7956 delete arg3;
7957 }
7958 {
7959 if (temp7)
7960 delete arg7;
7961 }
7962 return resultobj;
7963 fail:
7964 {
7965 if (temp3)
7966 delete arg3;
7967 }
7968 {
7969 if (temp7)
7970 delete arg7;
7971 }
7972 return NULL;
7973 }
7974
7975
7976 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7977 PyObject *resultobj = 0;
7978 wxMiniFrame *result = 0 ;
7979
7980 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7981 {
7982 if (!wxPyCheckForApp()) SWIG_fail;
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (wxMiniFrame *)new wxMiniFrame();
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7989 return resultobj;
7990 fail:
7991 return NULL;
7992 }
7993
7994
7995 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj = 0;
7997 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7998 wxWindow *arg2 = (wxWindow *) 0 ;
7999 int arg3 = (int) (int)-1 ;
8000 wxString const &arg4_defvalue = wxPyEmptyString ;
8001 wxString *arg4 = (wxString *) &arg4_defvalue ;
8002 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8003 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8004 wxSize const &arg6_defvalue = wxDefaultSize ;
8005 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8006 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8007 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8008 wxString *arg8 = (wxString *) &arg8_defvalue ;
8009 bool result;
8010 void *argp1 = 0 ;
8011 int res1 = 0 ;
8012 void *argp2 = 0 ;
8013 int res2 = 0 ;
8014 int val3 ;
8015 int ecode3 = 0 ;
8016 bool temp4 = false ;
8017 wxPoint temp5 ;
8018 wxSize temp6 ;
8019 long val7 ;
8020 int ecode7 = 0 ;
8021 bool temp8 = false ;
8022 PyObject * obj0 = 0 ;
8023 PyObject * obj1 = 0 ;
8024 PyObject * obj2 = 0 ;
8025 PyObject * obj3 = 0 ;
8026 PyObject * obj4 = 0 ;
8027 PyObject * obj5 = 0 ;
8028 PyObject * obj6 = 0 ;
8029 PyObject * obj7 = 0 ;
8030 char * kwnames[] = {
8031 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8032 };
8033
8034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8036 if (!SWIG_IsOK(res1)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8038 }
8039 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8040 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8041 if (!SWIG_IsOK(res2)) {
8042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8043 }
8044 arg2 = reinterpret_cast< wxWindow * >(argp2);
8045 if (obj2) {
8046 ecode3 = SWIG_AsVal_int(obj2, &val3);
8047 if (!SWIG_IsOK(ecode3)) {
8048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8049 }
8050 arg3 = static_cast< int >(val3);
8051 }
8052 if (obj3) {
8053 {
8054 arg4 = wxString_in_helper(obj3);
8055 if (arg4 == NULL) SWIG_fail;
8056 temp4 = true;
8057 }
8058 }
8059 if (obj4) {
8060 {
8061 arg5 = &temp5;
8062 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8063 }
8064 }
8065 if (obj5) {
8066 {
8067 arg6 = &temp6;
8068 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8069 }
8070 }
8071 if (obj6) {
8072 ecode7 = SWIG_AsVal_long(obj6, &val7);
8073 if (!SWIG_IsOK(ecode7)) {
8074 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8075 }
8076 arg7 = static_cast< long >(val7);
8077 }
8078 if (obj7) {
8079 {
8080 arg8 = wxString_in_helper(obj7);
8081 if (arg8 == NULL) SWIG_fail;
8082 temp8 = true;
8083 }
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 {
8092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8093 }
8094 {
8095 if (temp4)
8096 delete arg4;
8097 }
8098 {
8099 if (temp8)
8100 delete arg8;
8101 }
8102 return resultobj;
8103 fail:
8104 {
8105 if (temp4)
8106 delete arg4;
8107 }
8108 {
8109 if (temp8)
8110 delete arg8;
8111 }
8112 return NULL;
8113 }
8114
8115
8116 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8117 PyObject *obj;
8118 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8119 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8120 return SWIG_Py_Void();
8121 }
8122
8123 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8124 return SWIG_Python_InitShadowInstance(args);
8125 }
8126
8127 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj = 0;
8129 wxBitmap *arg1 = 0 ;
8130 wxWindow *arg2 = (wxWindow *) 0 ;
8131 int arg3 ;
8132 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8133 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8134 wxSize const &arg5_defvalue = wxDefaultSize ;
8135 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8136 long arg6 = (long) wxNO_BORDER ;
8137 wxSplashScreenWindow *result = 0 ;
8138 void *argp1 = 0 ;
8139 int res1 = 0 ;
8140 void *argp2 = 0 ;
8141 int res2 = 0 ;
8142 int val3 ;
8143 int ecode3 = 0 ;
8144 wxPoint temp4 ;
8145 wxSize temp5 ;
8146 long val6 ;
8147 int ecode6 = 0 ;
8148 PyObject * obj0 = 0 ;
8149 PyObject * obj1 = 0 ;
8150 PyObject * obj2 = 0 ;
8151 PyObject * obj3 = 0 ;
8152 PyObject * obj4 = 0 ;
8153 PyObject * obj5 = 0 ;
8154 char * kwnames[] = {
8155 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8156 };
8157
8158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8159 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8160 if (!SWIG_IsOK(res1)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8162 }
8163 if (!argp1) {
8164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8165 }
8166 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8168 if (!SWIG_IsOK(res2)) {
8169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8170 }
8171 arg2 = reinterpret_cast< wxWindow * >(argp2);
8172 ecode3 = SWIG_AsVal_int(obj2, &val3);
8173 if (!SWIG_IsOK(ecode3)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8175 }
8176 arg3 = static_cast< int >(val3);
8177 if (obj3) {
8178 {
8179 arg4 = &temp4;
8180 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8181 }
8182 }
8183 if (obj4) {
8184 {
8185 arg5 = &temp5;
8186 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8187 }
8188 }
8189 if (obj5) {
8190 ecode6 = SWIG_AsVal_long(obj5, &val6);
8191 if (!SWIG_IsOK(ecode6)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8193 }
8194 arg6 = static_cast< long >(val6);
8195 }
8196 {
8197 if (!wxPyCheckForApp()) SWIG_fail;
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = 0;
8212 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8213 wxBitmap *arg2 = 0 ;
8214 void *argp1 = 0 ;
8215 int res1 = 0 ;
8216 void *argp2 = 0 ;
8217 int res2 = 0 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char * kwnames[] = {
8221 (char *) "self",(char *) "bitmap", NULL
8222 };
8223
8224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8226 if (!SWIG_IsOK(res1)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8228 }
8229 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8231 if (!SWIG_IsOK(res2)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8233 }
8234 if (!argp2) {
8235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8236 }
8237 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = SWIG_Py_Void();
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8252 PyObject *resultobj = 0;
8253 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8254 wxBitmap *result = 0 ;
8255 void *argp1 = 0 ;
8256 int res1 = 0 ;
8257 PyObject *swig_obj[1] ;
8258
8259 if (!args) SWIG_fail;
8260 swig_obj[0] = args;
8261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8262 if (!SWIG_IsOK(res1)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8264 }
8265 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 {
8269 wxBitmap &_result_ref = (arg1)->GetBitmap();
8270 result = (wxBitmap *) &_result_ref;
8271 }
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 {
8276 wxBitmap* resultptr = new wxBitmap(*result);
8277 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8278 }
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8286 PyObject *obj;
8287 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8288 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8289 return SWIG_Py_Void();
8290 }
8291
8292 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8293 return SWIG_Python_InitShadowInstance(args);
8294 }
8295
8296 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj = 0;
8298 wxBitmap *arg1 = 0 ;
8299 long arg2 ;
8300 int arg3 ;
8301 wxWindow *arg4 = (wxWindow *) 0 ;
8302 int arg5 = (int) -1 ;
8303 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8304 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8305 wxSize const &arg7_defvalue = wxDefaultSize ;
8306 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8307 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8308 wxSplashScreen *result = 0 ;
8309 void *argp1 = 0 ;
8310 int res1 = 0 ;
8311 long val2 ;
8312 int ecode2 = 0 ;
8313 int val3 ;
8314 int ecode3 = 0 ;
8315 void *argp4 = 0 ;
8316 int res4 = 0 ;
8317 int val5 ;
8318 int ecode5 = 0 ;
8319 wxPoint temp6 ;
8320 wxSize temp7 ;
8321 long val8 ;
8322 int ecode8 = 0 ;
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj1 = 0 ;
8325 PyObject * obj2 = 0 ;
8326 PyObject * obj3 = 0 ;
8327 PyObject * obj4 = 0 ;
8328 PyObject * obj5 = 0 ;
8329 PyObject * obj6 = 0 ;
8330 PyObject * obj7 = 0 ;
8331 char * kwnames[] = {
8332 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8333 };
8334
8335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8336 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8337 if (!SWIG_IsOK(res1)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8339 }
8340 if (!argp1) {
8341 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8342 }
8343 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8344 ecode2 = SWIG_AsVal_long(obj1, &val2);
8345 if (!SWIG_IsOK(ecode2)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8347 }
8348 arg2 = static_cast< long >(val2);
8349 ecode3 = SWIG_AsVal_int(obj2, &val3);
8350 if (!SWIG_IsOK(ecode3)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8352 }
8353 arg3 = static_cast< int >(val3);
8354 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8355 if (!SWIG_IsOK(res4)) {
8356 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8357 }
8358 arg4 = reinterpret_cast< wxWindow * >(argp4);
8359 if (obj4) {
8360 ecode5 = SWIG_AsVal_int(obj4, &val5);
8361 if (!SWIG_IsOK(ecode5)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8363 }
8364 arg5 = static_cast< int >(val5);
8365 }
8366 if (obj5) {
8367 {
8368 arg6 = &temp6;
8369 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8370 }
8371 }
8372 if (obj6) {
8373 {
8374 arg7 = &temp7;
8375 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8376 }
8377 }
8378 if (obj7) {
8379 ecode8 = SWIG_AsVal_long(obj7, &val8);
8380 if (!SWIG_IsOK(ecode8)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8382 }
8383 arg8 = static_cast< long >(val8);
8384 }
8385 {
8386 if (!wxPyCheckForApp()) SWIG_fail;
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8400 PyObject *resultobj = 0;
8401 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8402 long result;
8403 void *argp1 = 0 ;
8404 int res1 = 0 ;
8405 PyObject *swig_obj[1] ;
8406
8407 if (!args) SWIG_fail;
8408 swig_obj[0] = args;
8409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8410 if (!SWIG_IsOK(res1)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8412 }
8413 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_From_long(static_cast< long >(result));
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8428 PyObject *resultobj = 0;
8429 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8430 wxSplashScreenWindow *result = 0 ;
8431 void *argp1 = 0 ;
8432 int res1 = 0 ;
8433 PyObject *swig_obj[1] ;
8434
8435 if (!args) SWIG_fail;
8436 swig_obj[0] = args;
8437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8438 if (!SWIG_IsOK(res1)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8440 }
8441 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8456 PyObject *resultobj = 0;
8457 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8458 int result;
8459 void *argp1 = 0 ;
8460 int res1 = 0 ;
8461 PyObject *swig_obj[1] ;
8462
8463 if (!args) SWIG_fail;
8464 swig_obj[0] = args;
8465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8466 if (!SWIG_IsOK(res1)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8468 }
8469 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_From_int(static_cast< int >(result));
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8484 PyObject *obj;
8485 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8486 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8487 return SWIG_Py_Void();
8488 }
8489
8490 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8491 return SWIG_Python_InitShadowInstance(args);
8492 }
8493
8494 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8495 PyObject *resultobj = 0;
8496 wxWindow *arg1 = (wxWindow *) 0 ;
8497 int arg2 = (int) -1 ;
8498 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8499 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8500 wxString *arg4 = (wxString *) &arg4_defvalue ;
8501 wxStatusBar *result = 0 ;
8502 void *argp1 = 0 ;
8503 int res1 = 0 ;
8504 int val2 ;
8505 int ecode2 = 0 ;
8506 long val3 ;
8507 int ecode3 = 0 ;
8508 bool temp4 = false ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 PyObject * obj2 = 0 ;
8512 PyObject * obj3 = 0 ;
8513 char * kwnames[] = {
8514 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8515 };
8516
8517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8519 if (!SWIG_IsOK(res1)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8521 }
8522 arg1 = reinterpret_cast< wxWindow * >(argp1);
8523 if (obj1) {
8524 ecode2 = SWIG_AsVal_int(obj1, &val2);
8525 if (!SWIG_IsOK(ecode2)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8527 }
8528 arg2 = static_cast< int >(val2);
8529 }
8530 if (obj2) {
8531 ecode3 = SWIG_AsVal_long(obj2, &val3);
8532 if (!SWIG_IsOK(ecode3)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8534 }
8535 arg3 = static_cast< long >(val3);
8536 }
8537 if (obj3) {
8538 {
8539 arg4 = wxString_in_helper(obj3);
8540 if (arg4 == NULL) SWIG_fail;
8541 temp4 = true;
8542 }
8543 }
8544 {
8545 if (!wxPyCheckForApp()) SWIG_fail;
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8552 {
8553 if (temp4)
8554 delete arg4;
8555 }
8556 return resultobj;
8557 fail:
8558 {
8559 if (temp4)
8560 delete arg4;
8561 }
8562 return NULL;
8563 }
8564
8565
8566 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8567 PyObject *resultobj = 0;
8568 wxStatusBar *result = 0 ;
8569
8570 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8571 {
8572 if (!wxPyCheckForApp()) SWIG_fail;
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (wxStatusBar *)new wxStatusBar();
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8579 return resultobj;
8580 fail:
8581 return NULL;
8582 }
8583
8584
8585 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8586 PyObject *resultobj = 0;
8587 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8588 wxWindow *arg2 = (wxWindow *) 0 ;
8589 int arg3 = (int) -1 ;
8590 long arg4 = (long) wxST_SIZEGRIP ;
8591 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8592 wxString *arg5 = (wxString *) &arg5_defvalue ;
8593 bool result;
8594 void *argp1 = 0 ;
8595 int res1 = 0 ;
8596 void *argp2 = 0 ;
8597 int res2 = 0 ;
8598 int val3 ;
8599 int ecode3 = 0 ;
8600 long val4 ;
8601 int ecode4 = 0 ;
8602 bool temp5 = false ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 PyObject * obj2 = 0 ;
8606 PyObject * obj3 = 0 ;
8607 PyObject * obj4 = 0 ;
8608 char * kwnames[] = {
8609 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8610 };
8611
8612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8614 if (!SWIG_IsOK(res1)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8616 }
8617 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8619 if (!SWIG_IsOK(res2)) {
8620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8621 }
8622 arg2 = reinterpret_cast< wxWindow * >(argp2);
8623 if (obj2) {
8624 ecode3 = SWIG_AsVal_int(obj2, &val3);
8625 if (!SWIG_IsOK(ecode3)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8627 }
8628 arg3 = static_cast< int >(val3);
8629 }
8630 if (obj3) {
8631 ecode4 = SWIG_AsVal_long(obj3, &val4);
8632 if (!SWIG_IsOK(ecode4)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8634 }
8635 arg4 = static_cast< long >(val4);
8636 }
8637 if (obj4) {
8638 {
8639 arg5 = wxString_in_helper(obj4);
8640 if (arg5 == NULL) SWIG_fail;
8641 temp5 = true;
8642 }
8643 }
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 {
8651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8652 }
8653 {
8654 if (temp5)
8655 delete arg5;
8656 }
8657 return resultobj;
8658 fail:
8659 {
8660 if (temp5)
8661 delete arg5;
8662 }
8663 return NULL;
8664 }
8665
8666
8667 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8668 PyObject *resultobj = 0;
8669 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8670 int arg2 = (int) 1 ;
8671 void *argp1 = 0 ;
8672 int res1 = 0 ;
8673 int val2 ;
8674 int ecode2 = 0 ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 char * kwnames[] = {
8678 (char *) "self",(char *) "number", NULL
8679 };
8680
8681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8685 }
8686 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8687 if (obj1) {
8688 ecode2 = SWIG_AsVal_int(obj1, &val2);
8689 if (!SWIG_IsOK(ecode2)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8691 }
8692 arg2 = static_cast< int >(val2);
8693 }
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->SetFieldsCount(arg2);
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_Py_Void();
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 PyObject *resultobj = 0;
8709 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8710 int result;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 PyObject *swig_obj[1] ;
8714
8715 if (!args) SWIG_fail;
8716 swig_obj[0] = args;
8717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8718 if (!SWIG_IsOK(res1)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8720 }
8721 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 resultobj = SWIG_From_int(static_cast< int >(result));
8729 return resultobj;
8730 fail:
8731 return NULL;
8732 }
8733
8734
8735 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8736 PyObject *resultobj = 0;
8737 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8738 wxString *arg2 = 0 ;
8739 int arg3 = (int) 0 ;
8740 void *argp1 = 0 ;
8741 int res1 = 0 ;
8742 bool temp2 = false ;
8743 int val3 ;
8744 int ecode3 = 0 ;
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
8747 PyObject * obj2 = 0 ;
8748 char * kwnames[] = {
8749 (char *) "self",(char *) "text",(char *) "number", NULL
8750 };
8751
8752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8754 if (!SWIG_IsOK(res1)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8756 }
8757 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8758 {
8759 arg2 = wxString_in_helper(obj1);
8760 if (arg2 == NULL) SWIG_fail;
8761 temp2 = true;
8762 }
8763 if (obj2) {
8764 ecode3 = SWIG_AsVal_int(obj2, &val3);
8765 if (!SWIG_IsOK(ecode3)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8767 }
8768 arg3 = static_cast< int >(val3);
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = SWIG_Py_Void();
8777 {
8778 if (temp2)
8779 delete arg2;
8780 }
8781 return resultobj;
8782 fail:
8783 {
8784 if (temp2)
8785 delete arg2;
8786 }
8787 return NULL;
8788 }
8789
8790
8791 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8792 PyObject *resultobj = 0;
8793 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8794 int arg2 = (int) 0 ;
8795 wxString result;
8796 void *argp1 = 0 ;
8797 int res1 = 0 ;
8798 int val2 ;
8799 int ecode2 = 0 ;
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
8802 char * kwnames[] = {
8803 (char *) "self",(char *) "number", NULL
8804 };
8805
8806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8808 if (!SWIG_IsOK(res1)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8810 }
8811 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8812 if (obj1) {
8813 ecode2 = SWIG_AsVal_int(obj1, &val2);
8814 if (!SWIG_IsOK(ecode2)) {
8815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8816 }
8817 arg2 = static_cast< int >(val2);
8818 }
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 {
8826 #if wxUSE_UNICODE
8827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8828 #else
8829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8830 #endif
8831 }
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj = 0;
8840 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8841 wxString *arg2 = 0 ;
8842 int arg3 = (int) 0 ;
8843 void *argp1 = 0 ;
8844 int res1 = 0 ;
8845 bool temp2 = false ;
8846 int val3 ;
8847 int ecode3 = 0 ;
8848 PyObject * obj0 = 0 ;
8849 PyObject * obj1 = 0 ;
8850 PyObject * obj2 = 0 ;
8851 char * kwnames[] = {
8852 (char *) "self",(char *) "text",(char *) "number", NULL
8853 };
8854
8855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8857 if (!SWIG_IsOK(res1)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8859 }
8860 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8861 {
8862 arg2 = wxString_in_helper(obj1);
8863 if (arg2 == NULL) SWIG_fail;
8864 temp2 = true;
8865 }
8866 if (obj2) {
8867 ecode3 = SWIG_AsVal_int(obj2, &val3);
8868 if (!SWIG_IsOK(ecode3)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8870 }
8871 arg3 = static_cast< int >(val3);
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_Py_Void();
8880 {
8881 if (temp2)
8882 delete arg2;
8883 }
8884 return resultobj;
8885 fail:
8886 {
8887 if (temp2)
8888 delete arg2;
8889 }
8890 return NULL;
8891 }
8892
8893
8894 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj = 0;
8896 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8897 int arg2 = (int) 0 ;
8898 void *argp1 = 0 ;
8899 int res1 = 0 ;
8900 int val2 ;
8901 int ecode2 = 0 ;
8902 PyObject * obj0 = 0 ;
8903 PyObject * obj1 = 0 ;
8904 char * kwnames[] = {
8905 (char *) "self",(char *) "number", NULL
8906 };
8907
8908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8910 if (!SWIG_IsOK(res1)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8912 }
8913 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8914 if (obj1) {
8915 ecode2 = SWIG_AsVal_int(obj1, &val2);
8916 if (!SWIG_IsOK(ecode2)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8918 }
8919 arg2 = static_cast< int >(val2);
8920 }
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 (arg1)->PopStatusText(arg2);
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 resultobj = SWIG_Py_Void();
8928 return resultobj;
8929 fail:
8930 return NULL;
8931 }
8932
8933
8934 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8935 PyObject *resultobj = 0;
8936 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8937 int arg2 ;
8938 int *arg3 = (int *) 0 ;
8939 void *argp1 = 0 ;
8940 int res1 = 0 ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 char * kwnames[] = {
8944 (char *) "self",(char *) "widths", NULL
8945 };
8946
8947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8949 if (!SWIG_IsOK(res1)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8951 }
8952 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8953 {
8954 arg2 = PyList_Size(obj1);
8955 arg3 = int_LIST_helper(obj1);
8956 if (arg3 == NULL) SWIG_fail;
8957 }
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 resultobj = SWIG_Py_Void();
8965 {
8966 if (arg3) delete [] arg3;
8967 }
8968 return resultobj;
8969 fail:
8970 {
8971 if (arg3) delete [] arg3;
8972 }
8973 return NULL;
8974 }
8975
8976
8977 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8978 PyObject *resultobj = 0;
8979 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8980 int arg2 ;
8981 int *arg3 = (int *) 0 ;
8982 void *argp1 = 0 ;
8983 int res1 = 0 ;
8984 PyObject * obj0 = 0 ;
8985 PyObject * obj1 = 0 ;
8986 char * kwnames[] = {
8987 (char *) "self",(char *) "styles", NULL
8988 };
8989
8990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8992 if (!SWIG_IsOK(res1)) {
8993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8994 }
8995 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8996 {
8997 arg2 = PyList_Size(obj1);
8998 arg3 = int_LIST_helper(obj1);
8999 if (arg3 == NULL) SWIG_fail;
9000 }
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = SWIG_Py_Void();
9008 {
9009 if (arg3) delete [] arg3;
9010 }
9011 return resultobj;
9012 fail:
9013 {
9014 if (arg3) delete [] arg3;
9015 }
9016 return NULL;
9017 }
9018
9019
9020 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9021 PyObject *resultobj = 0;
9022 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9023 int arg2 ;
9024 wxRect result;
9025 void *argp1 = 0 ;
9026 int res1 = 0 ;
9027 int val2 ;
9028 int ecode2 = 0 ;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 char * kwnames[] = {
9032 (char *) "self",(char *) "i", NULL
9033 };
9034
9035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9037 if (!SWIG_IsOK(res1)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9039 }
9040 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9041 ecode2 = SWIG_AsVal_int(obj1, &val2);
9042 if (!SWIG_IsOK(ecode2)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9044 }
9045 arg2 = static_cast< int >(val2);
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = wxStatusBar_GetFieldRect(arg1,arg2);
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9053 return resultobj;
9054 fail:
9055 return NULL;
9056 }
9057
9058
9059 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9060 PyObject *resultobj = 0;
9061 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9062 int arg2 ;
9063 void *argp1 = 0 ;
9064 int res1 = 0 ;
9065 int val2 ;
9066 int ecode2 = 0 ;
9067 PyObject * obj0 = 0 ;
9068 PyObject * obj1 = 0 ;
9069 char * kwnames[] = {
9070 (char *) "self",(char *) "height", NULL
9071 };
9072
9073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9075 if (!SWIG_IsOK(res1)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 }
9078 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9079 ecode2 = SWIG_AsVal_int(obj1, &val2);
9080 if (!SWIG_IsOK(ecode2)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9082 }
9083 arg2 = static_cast< int >(val2);
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 (arg1)->SetMinHeight(arg2);
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 resultobj = SWIG_Py_Void();
9091 return resultobj;
9092 fail:
9093 return NULL;
9094 }
9095
9096
9097 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9098 PyObject *resultobj = 0;
9099 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9100 int result;
9101 void *argp1 = 0 ;
9102 int res1 = 0 ;
9103 PyObject *swig_obj[1] ;
9104
9105 if (!args) SWIG_fail;
9106 swig_obj[0] = args;
9107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9108 if (!SWIG_IsOK(res1)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9110 }
9111 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 resultobj = SWIG_From_int(static_cast< int >(result));
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9126 PyObject *resultobj = 0;
9127 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9128 int result;
9129 void *argp1 = 0 ;
9130 int res1 = 0 ;
9131 PyObject *swig_obj[1] ;
9132
9133 if (!args) SWIG_fail;
9134 swig_obj[0] = args;
9135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9136 if (!SWIG_IsOK(res1)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9138 }
9139 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 resultobj = SWIG_From_int(static_cast< int >(result));
9147 return resultobj;
9148 fail:
9149 return NULL;
9150 }
9151
9152
9153 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9154 PyObject *resultobj = 0;
9155 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9156 SwigValueWrapper<wxVisualAttributes > result;
9157 int val1 ;
9158 int ecode1 = 0 ;
9159 PyObject * obj0 = 0 ;
9160 char * kwnames[] = {
9161 (char *) "variant", NULL
9162 };
9163
9164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9165 if (obj0) {
9166 ecode1 = SWIG_AsVal_int(obj0, &val1);
9167 if (!SWIG_IsOK(ecode1)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9169 }
9170 arg1 = static_cast< wxWindowVariant >(val1);
9171 }
9172 {
9173 if (!wxPyCheckForApp()) SWIG_fail;
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9187 PyObject *obj;
9188 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9190 return SWIG_Py_Void();
9191 }
9192
9193 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9194 return SWIG_Python_InitShadowInstance(args);
9195 }
9196
9197 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9198 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9199 return 1;
9200 }
9201
9202
9203 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9204 PyObject *pyobj = 0;
9205
9206 {
9207 #if wxUSE_UNICODE
9208 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9209 #else
9210 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9211 #endif
9212 }
9213 return pyobj;
9214 }
9215
9216
9217 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9218 PyObject *resultobj = 0;
9219 wxWindow *arg1 = (wxWindow *) 0 ;
9220 int arg2 = (int) -1 ;
9221 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9222 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9223 wxSize const &arg4_defvalue = wxDefaultSize ;
9224 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9225 long arg5 = (long) wxSP_3D ;
9226 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9227 wxString *arg6 = (wxString *) &arg6_defvalue ;
9228 wxSplitterWindow *result = 0 ;
9229 void *argp1 = 0 ;
9230 int res1 = 0 ;
9231 int val2 ;
9232 int ecode2 = 0 ;
9233 wxPoint temp3 ;
9234 wxSize temp4 ;
9235 long val5 ;
9236 int ecode5 = 0 ;
9237 bool temp6 = false ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 PyObject * obj2 = 0 ;
9241 PyObject * obj3 = 0 ;
9242 PyObject * obj4 = 0 ;
9243 PyObject * obj5 = 0 ;
9244 char * kwnames[] = {
9245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9246 };
9247
9248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9250 if (!SWIG_IsOK(res1)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9252 }
9253 arg1 = reinterpret_cast< wxWindow * >(argp1);
9254 if (obj1) {
9255 ecode2 = SWIG_AsVal_int(obj1, &val2);
9256 if (!SWIG_IsOK(ecode2)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9258 }
9259 arg2 = static_cast< int >(val2);
9260 }
9261 if (obj2) {
9262 {
9263 arg3 = &temp3;
9264 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9265 }
9266 }
9267 if (obj3) {
9268 {
9269 arg4 = &temp4;
9270 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9271 }
9272 }
9273 if (obj4) {
9274 ecode5 = SWIG_AsVal_long(obj4, &val5);
9275 if (!SWIG_IsOK(ecode5)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9277 }
9278 arg5 = static_cast< long >(val5);
9279 }
9280 if (obj5) {
9281 {
9282 arg6 = wxString_in_helper(obj5);
9283 if (arg6 == NULL) SWIG_fail;
9284 temp6 = true;
9285 }
9286 }
9287 {
9288 if (!wxPyCheckForApp()) SWIG_fail;
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9295 {
9296 if (temp6)
9297 delete arg6;
9298 }
9299 return resultobj;
9300 fail:
9301 {
9302 if (temp6)
9303 delete arg6;
9304 }
9305 return NULL;
9306 }
9307
9308
9309 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9310 PyObject *resultobj = 0;
9311 wxSplitterWindow *result = 0 ;
9312
9313 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9314 {
9315 if (!wxPyCheckForApp()) SWIG_fail;
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (wxSplitterWindow *)new wxSplitterWindow();
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj = 0;
9330 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9331 wxWindow *arg2 = (wxWindow *) 0 ;
9332 int arg3 = (int) -1 ;
9333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9335 wxSize const &arg5_defvalue = wxDefaultSize ;
9336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9337 long arg6 = (long) wxSP_3D ;
9338 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9339 wxString *arg7 = (wxString *) &arg7_defvalue ;
9340 bool result;
9341 void *argp1 = 0 ;
9342 int res1 = 0 ;
9343 void *argp2 = 0 ;
9344 int res2 = 0 ;
9345 int val3 ;
9346 int ecode3 = 0 ;
9347 wxPoint temp4 ;
9348 wxSize temp5 ;
9349 long val6 ;
9350 int ecode6 = 0 ;
9351 bool temp7 = false ;
9352 PyObject * obj0 = 0 ;
9353 PyObject * obj1 = 0 ;
9354 PyObject * obj2 = 0 ;
9355 PyObject * obj3 = 0 ;
9356 PyObject * obj4 = 0 ;
9357 PyObject * obj5 = 0 ;
9358 PyObject * obj6 = 0 ;
9359 char * kwnames[] = {
9360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9361 };
9362
9363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9365 if (!SWIG_IsOK(res1)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9367 }
9368 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9370 if (!SWIG_IsOK(res2)) {
9371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9372 }
9373 arg2 = reinterpret_cast< wxWindow * >(argp2);
9374 if (obj2) {
9375 ecode3 = SWIG_AsVal_int(obj2, &val3);
9376 if (!SWIG_IsOK(ecode3)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9378 }
9379 arg3 = static_cast< int >(val3);
9380 }
9381 if (obj3) {
9382 {
9383 arg4 = &temp4;
9384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9385 }
9386 }
9387 if (obj4) {
9388 {
9389 arg5 = &temp5;
9390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9391 }
9392 }
9393 if (obj5) {
9394 ecode6 = SWIG_AsVal_long(obj5, &val6);
9395 if (!SWIG_IsOK(ecode6)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9397 }
9398 arg6 = static_cast< long >(val6);
9399 }
9400 if (obj6) {
9401 {
9402 arg7 = wxString_in_helper(obj6);
9403 if (arg7 == NULL) SWIG_fail;
9404 temp7 = true;
9405 }
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9415 }
9416 {
9417 if (temp7)
9418 delete arg7;
9419 }
9420 return resultobj;
9421 fail:
9422 {
9423 if (temp7)
9424 delete arg7;
9425 }
9426 return NULL;
9427 }
9428
9429
9430 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9431 PyObject *resultobj = 0;
9432 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9433 wxWindow *result = 0 ;
9434 void *argp1 = 0 ;
9435 int res1 = 0 ;
9436 PyObject *swig_obj[1] ;
9437
9438 if (!args) SWIG_fail;
9439 swig_obj[0] = args;
9440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9441 if (!SWIG_IsOK(res1)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9443 }
9444 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
9451 {
9452 resultobj = wxPyMake_wxObject(result, 0);
9453 }
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9461 PyObject *resultobj = 0;
9462 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9463 wxWindow *result = 0 ;
9464 void *argp1 = 0 ;
9465 int res1 = 0 ;
9466 PyObject *swig_obj[1] ;
9467
9468 if (!args) SWIG_fail;
9469 swig_obj[0] = args;
9470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9471 if (!SWIG_IsOK(res1)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9473 }
9474 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 {
9482 resultobj = wxPyMake_wxObject(result, 0);
9483 }
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9493 int arg2 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 int val2 ;
9497 int ecode2 = 0 ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 char * kwnames[] = {
9501 (char *) "self",(char *) "mode", NULL
9502 };
9503
9504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9506 if (!SWIG_IsOK(res1)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9508 }
9509 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9510 ecode2 = SWIG_AsVal_int(obj1, &val2);
9511 if (!SWIG_IsOK(ecode2)) {
9512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9513 }
9514 arg2 = static_cast< int >(val2);
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->SetSplitMode(arg2);
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 resultobj = SWIG_Py_Void();
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9529 PyObject *resultobj = 0;
9530 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9531 wxSplitMode result;
9532 void *argp1 = 0 ;
9533 int res1 = 0 ;
9534 PyObject *swig_obj[1] ;
9535
9536 if (!args) SWIG_fail;
9537 swig_obj[0] = args;
9538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9539 if (!SWIG_IsOK(res1)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9541 }
9542 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_From_int(static_cast< int >(result));
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9557 PyObject *resultobj = 0;
9558 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9559 wxWindow *arg2 = (wxWindow *) 0 ;
9560 void *argp1 = 0 ;
9561 int res1 = 0 ;
9562 void *argp2 = 0 ;
9563 int res2 = 0 ;
9564 PyObject * obj0 = 0 ;
9565 PyObject * obj1 = 0 ;
9566 char * kwnames[] = {
9567 (char *) "self",(char *) "window", NULL
9568 };
9569
9570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) 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_Initialize" "', 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_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9579 }
9580 arg2 = reinterpret_cast< wxWindow * >(argp2);
9581 {
9582 PyThreadState* __tstate = wxPyBeginAllowThreads();
9583 (arg1)->Initialize(arg2);
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 resultobj = SWIG_Py_Void();
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj = 0;
9596 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9597 wxWindow *arg2 = (wxWindow *) 0 ;
9598 wxWindow *arg3 = (wxWindow *) 0 ;
9599 int arg4 = (int) 0 ;
9600 bool result;
9601 void *argp1 = 0 ;
9602 int res1 = 0 ;
9603 void *argp2 = 0 ;
9604 int res2 = 0 ;
9605 void *argp3 = 0 ;
9606 int res3 = 0 ;
9607 int val4 ;
9608 int ecode4 = 0 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611 PyObject * obj2 = 0 ;
9612 PyObject * obj3 = 0 ;
9613 char * kwnames[] = {
9614 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9615 };
9616
9617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9619 if (!SWIG_IsOK(res1)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9621 }
9622 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res2)) {
9625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9626 }
9627 arg2 = reinterpret_cast< wxWindow * >(argp2);
9628 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9629 if (!SWIG_IsOK(res3)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9631 }
9632 arg3 = reinterpret_cast< wxWindow * >(argp3);
9633 if (obj3) {
9634 ecode4 = SWIG_AsVal_int(obj3, &val4);
9635 if (!SWIG_IsOK(ecode4)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9637 }
9638 arg4 = static_cast< int >(val4);
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 {
9647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9648 }
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj = 0;
9657 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9658 wxWindow *arg2 = (wxWindow *) 0 ;
9659 wxWindow *arg3 = (wxWindow *) 0 ;
9660 int arg4 = (int) 0 ;
9661 bool result;
9662 void *argp1 = 0 ;
9663 int res1 = 0 ;
9664 void *argp2 = 0 ;
9665 int res2 = 0 ;
9666 void *argp3 = 0 ;
9667 int res3 = 0 ;
9668 int val4 ;
9669 int ecode4 = 0 ;
9670 PyObject * obj0 = 0 ;
9671 PyObject * obj1 = 0 ;
9672 PyObject * obj2 = 0 ;
9673 PyObject * obj3 = 0 ;
9674 char * kwnames[] = {
9675 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9676 };
9677
9678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9680 if (!SWIG_IsOK(res1)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9682 }
9683 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9684 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9685 if (!SWIG_IsOK(res2)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9687 }
9688 arg2 = reinterpret_cast< wxWindow * >(argp2);
9689 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9690 if (!SWIG_IsOK(res3)) {
9691 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9692 }
9693 arg3 = reinterpret_cast< wxWindow * >(argp3);
9694 if (obj3) {
9695 ecode4 = SWIG_AsVal_int(obj3, &val4);
9696 if (!SWIG_IsOK(ecode4)) {
9697 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9698 }
9699 arg4 = static_cast< int >(val4);
9700 }
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 {
9708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9709 }
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj = 0;
9718 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9719 wxWindow *arg2 = (wxWindow *) NULL ;
9720 bool result;
9721 void *argp1 = 0 ;
9722 int res1 = 0 ;
9723 void *argp2 = 0 ;
9724 int res2 = 0 ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char * kwnames[] = {
9728 (char *) "self",(char *) "toRemove", NULL
9729 };
9730
9731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9733 if (!SWIG_IsOK(res1)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9735 }
9736 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9737 if (obj1) {
9738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9739 if (!SWIG_IsOK(res2)) {
9740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9741 }
9742 arg2 = reinterpret_cast< wxWindow * >(argp2);
9743 }
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (bool)(arg1)->Unsplit(arg2);
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9752 }
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj = 0;
9761 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9762 wxWindow *arg2 = (wxWindow *) 0 ;
9763 wxWindow *arg3 = (wxWindow *) 0 ;
9764 bool result;
9765 void *argp1 = 0 ;
9766 int res1 = 0 ;
9767 void *argp2 = 0 ;
9768 int res2 = 0 ;
9769 void *argp3 = 0 ;
9770 int res3 = 0 ;
9771 PyObject * obj0 = 0 ;
9772 PyObject * obj1 = 0 ;
9773 PyObject * obj2 = 0 ;
9774 char * kwnames[] = {
9775 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9776 };
9777
9778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9780 if (!SWIG_IsOK(res1)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 }
9783 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9784 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9785 if (!SWIG_IsOK(res2)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9787 }
9788 arg2 = reinterpret_cast< wxWindow * >(argp2);
9789 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9790 if (!SWIG_IsOK(res3)) {
9791 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9792 }
9793 arg3 = reinterpret_cast< wxWindow * >(argp3);
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 {
9801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9802 }
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9810 PyObject *resultobj = 0;
9811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 PyObject *swig_obj[1] ;
9815
9816 if (!args) SWIG_fail;
9817 swig_obj[0] = args;
9818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9819 if (!SWIG_IsOK(res1)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9821 }
9822 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 (arg1)->UpdateSize();
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 resultobj = SWIG_Py_Void();
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9837 PyObject *resultobj = 0;
9838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9839 bool result;
9840 void *argp1 = 0 ;
9841 int res1 = 0 ;
9842 PyObject *swig_obj[1] ;
9843
9844 if (!args) SWIG_fail;
9845 swig_obj[0] = args;
9846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9847 if (!SWIG_IsOK(res1)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9849 }
9850 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 {
9858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9859 }
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj = 0;
9868 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9869 int arg2 ;
9870 void *argp1 = 0 ;
9871 int res1 = 0 ;
9872 int val2 ;
9873 int ecode2 = 0 ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 char * kwnames[] = {
9877 (char *) "self",(char *) "width", NULL
9878 };
9879
9880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9884 }
9885 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9886 ecode2 = SWIG_AsVal_int(obj1, &val2);
9887 if (!SWIG_IsOK(ecode2)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9889 }
9890 arg2 = static_cast< int >(val2);
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 (arg1)->SetSashSize(arg2);
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_Py_Void();
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj = 0;
9906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9907 int arg2 ;
9908 void *argp1 = 0 ;
9909 int res1 = 0 ;
9910 int val2 ;
9911 int ecode2 = 0 ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914 char * kwnames[] = {
9915 (char *) "self",(char *) "width", NULL
9916 };
9917
9918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9920 if (!SWIG_IsOK(res1)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9922 }
9923 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9924 ecode2 = SWIG_AsVal_int(obj1, &val2);
9925 if (!SWIG_IsOK(ecode2)) {
9926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9927 }
9928 arg2 = static_cast< int >(val2);
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 (arg1)->SetBorderSize(arg2);
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_Py_Void();
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9943 PyObject *resultobj = 0;
9944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9945 int result;
9946 void *argp1 = 0 ;
9947 int res1 = 0 ;
9948 PyObject *swig_obj[1] ;
9949
9950 if (!args) SWIG_fail;
9951 swig_obj[0] = args;
9952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9953 if (!SWIG_IsOK(res1)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9955 }
9956 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
9959 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_From_int(static_cast< int >(result));
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9971 PyObject *resultobj = 0;
9972 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9973 int result;
9974 void *argp1 = 0 ;
9975 int res1 = 0 ;
9976 PyObject *swig_obj[1] ;
9977
9978 if (!args) SWIG_fail;
9979 swig_obj[0] = args;
9980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9981 if (!SWIG_IsOK(res1)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9983 }
9984 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 resultobj = SWIG_From_int(static_cast< int >(result));
9992 return resultobj;
9993 fail:
9994 return NULL;
9995 }
9996
9997
9998 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj = 0;
10000 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10001 int arg2 ;
10002 bool arg3 = (bool) true ;
10003 void *argp1 = 0 ;
10004 int res1 = 0 ;
10005 int val2 ;
10006 int ecode2 = 0 ;
10007 bool val3 ;
10008 int ecode3 = 0 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 PyObject * obj2 = 0 ;
10012 char * kwnames[] = {
10013 (char *) "self",(char *) "position",(char *) "redraw", NULL
10014 };
10015
10016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10018 if (!SWIG_IsOK(res1)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10020 }
10021 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10022 ecode2 = SWIG_AsVal_int(obj1, &val2);
10023 if (!SWIG_IsOK(ecode2)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10025 }
10026 arg2 = static_cast< int >(val2);
10027 if (obj2) {
10028 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10029 if (!SWIG_IsOK(ecode3)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10031 }
10032 arg3 = static_cast< bool >(val3);
10033 }
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetSashPosition(arg2,arg3);
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = SWIG_Py_Void();
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10048 PyObject *resultobj = 0;
10049 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10050 int result;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 PyObject *swig_obj[1] ;
10054
10055 if (!args) SWIG_fail;
10056 swig_obj[0] = args;
10057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_From_int(static_cast< int >(result));
10069 return resultobj;
10070 fail:
10071 return NULL;
10072 }
10073
10074
10075 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj = 0;
10077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10078 double arg2 ;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 double val2 ;
10082 int ecode2 = 0 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "self",(char *) "gravity", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 ecode2 = SWIG_AsVal_double(obj1, &val2);
10096 if (!SWIG_IsOK(ecode2)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10098 }
10099 arg2 = static_cast< double >(val2);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetSashGravity(arg2);
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 double result;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 PyObject *swig_obj[1] ;
10120
10121 if (!args) SWIG_fail;
10122 swig_obj[0] = args;
10123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10124 if (!SWIG_IsOK(res1)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 }
10127 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = SWIG_From_double(static_cast< double >(result));
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj = 0;
10143 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10144 int arg2 ;
10145 void *argp1 = 0 ;
10146 int res1 = 0 ;
10147 int val2 ;
10148 int ecode2 = 0 ;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 char * kwnames[] = {
10152 (char *) "self",(char *) "min", NULL
10153 };
10154
10155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10157 if (!SWIG_IsOK(res1)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10159 }
10160 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10161 ecode2 = SWIG_AsVal_int(obj1, &val2);
10162 if (!SWIG_IsOK(ecode2)) {
10163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10164 }
10165 arg2 = static_cast< int >(val2);
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 (arg1)->SetMinimumPaneSize(arg2);
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_Py_Void();
10173 return resultobj;
10174 fail:
10175 return NULL;
10176 }
10177
10178
10179 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10180 PyObject *resultobj = 0;
10181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10182 int result;
10183 void *argp1 = 0 ;
10184 int res1 = 0 ;
10185 PyObject *swig_obj[1] ;
10186
10187 if (!args) SWIG_fail;
10188 swig_obj[0] = args;
10189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10190 if (!SWIG_IsOK(res1)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10192 }
10193 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 resultobj = SWIG_From_int(static_cast< int >(result));
10201 return resultobj;
10202 fail:
10203 return NULL;
10204 }
10205
10206
10207 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj = 0;
10209 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10210 int arg2 ;
10211 int arg3 ;
10212 int arg4 = (int) 5 ;
10213 bool result;
10214 void *argp1 = 0 ;
10215 int res1 = 0 ;
10216 int val2 ;
10217 int ecode2 = 0 ;
10218 int val3 ;
10219 int ecode3 = 0 ;
10220 int val4 ;
10221 int ecode4 = 0 ;
10222 PyObject * obj0 = 0 ;
10223 PyObject * obj1 = 0 ;
10224 PyObject * obj2 = 0 ;
10225 PyObject * obj3 = 0 ;
10226 char * kwnames[] = {
10227 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10228 };
10229
10230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10232 if (!SWIG_IsOK(res1)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10234 }
10235 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10236 ecode2 = SWIG_AsVal_int(obj1, &val2);
10237 if (!SWIG_IsOK(ecode2)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10239 }
10240 arg2 = static_cast< int >(val2);
10241 ecode3 = SWIG_AsVal_int(obj2, &val3);
10242 if (!SWIG_IsOK(ecode3)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10244 }
10245 arg3 = static_cast< int >(val3);
10246 if (obj3) {
10247 ecode4 = SWIG_AsVal_int(obj3, &val4);
10248 if (!SWIG_IsOK(ecode4)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10250 }
10251 arg4 = static_cast< int >(val4);
10252 }
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 {
10260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10261 }
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10269 PyObject *resultobj = 0;
10270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10271 void *argp1 = 0 ;
10272 int res1 = 0 ;
10273 PyObject *swig_obj[1] ;
10274
10275 if (!args) SWIG_fail;
10276 swig_obj[0] = args;
10277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10278 if (!SWIG_IsOK(res1)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10280 }
10281 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->SizeWindows();
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 resultobj = SWIG_Py_Void();
10289 return resultobj;
10290 fail:
10291 return NULL;
10292 }
10293
10294
10295 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj = 0;
10297 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10298 bool arg2 ;
10299 void *argp1 = 0 ;
10300 int res1 = 0 ;
10301 bool val2 ;
10302 int ecode2 = 0 ;
10303 PyObject * obj0 = 0 ;
10304 PyObject * obj1 = 0 ;
10305 char * kwnames[] = {
10306 (char *) "self",(char *) "needUpdating", NULL
10307 };
10308
10309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10311 if (!SWIG_IsOK(res1)) {
10312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10313 }
10314 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10315 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10316 if (!SWIG_IsOK(ecode2)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10318 }
10319 arg2 = static_cast< bool >(val2);
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 (arg1)->SetNeedUpdating(arg2);
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 resultobj = SWIG_Py_Void();
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10334 PyObject *resultobj = 0;
10335 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10336 bool result;
10337 void *argp1 = 0 ;
10338 int res1 = 0 ;
10339 PyObject *swig_obj[1] ;
10340
10341 if (!args) SWIG_fail;
10342 swig_obj[0] = args;
10343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10344 if (!SWIG_IsOK(res1)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10346 }
10347 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 {
10355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10356 }
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj = 0;
10365 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10366 SwigValueWrapper<wxVisualAttributes > result;
10367 int val1 ;
10368 int ecode1 = 0 ;
10369 PyObject * obj0 = 0 ;
10370 char * kwnames[] = {
10371 (char *) "variant", NULL
10372 };
10373
10374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10375 if (obj0) {
10376 ecode1 = SWIG_AsVal_int(obj0, &val1);
10377 if (!SWIG_IsOK(ecode1)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10379 }
10380 arg1 = static_cast< wxWindowVariant >(val1);
10381 }
10382 {
10383 if (!wxPyCheckForApp()) SWIG_fail;
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10390 return resultobj;
10391 fail:
10392 return NULL;
10393 }
10394
10395
10396 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10397 PyObject *obj;
10398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10399 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10400 return SWIG_Py_Void();
10401 }
10402
10403 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10404 return SWIG_Python_InitShadowInstance(args);
10405 }
10406
10407 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj = 0;
10409 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10410 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10411 wxSplitterEvent *result = 0 ;
10412 int val1 ;
10413 int ecode1 = 0 ;
10414 void *argp2 = 0 ;
10415 int res2 = 0 ;
10416 PyObject * obj0 = 0 ;
10417 PyObject * obj1 = 0 ;
10418 char * kwnames[] = {
10419 (char *) "type",(char *) "splitter", NULL
10420 };
10421
10422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10423 if (obj0) {
10424 ecode1 = SWIG_AsVal_int(obj0, &val1);
10425 if (!SWIG_IsOK(ecode1)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10427 }
10428 arg1 = static_cast< wxEventType >(val1);
10429 }
10430 if (obj1) {
10431 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10432 if (!SWIG_IsOK(res2)) {
10433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10434 }
10435 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj = 0;
10452 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10453 int arg2 ;
10454 void *argp1 = 0 ;
10455 int res1 = 0 ;
10456 int val2 ;
10457 int ecode2 = 0 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 char * kwnames[] = {
10461 (char *) "self",(char *) "pos", NULL
10462 };
10463
10464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10466 if (!SWIG_IsOK(res1)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10468 }
10469 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10470 ecode2 = SWIG_AsVal_int(obj1, &val2);
10471 if (!SWIG_IsOK(ecode2)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10473 }
10474 arg2 = static_cast< int >(val2);
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 (arg1)->SetSashPosition(arg2);
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_Py_Void();
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10489 PyObject *resultobj = 0;
10490 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10491 int result;
10492 void *argp1 = 0 ;
10493 int res1 = 0 ;
10494 PyObject *swig_obj[1] ;
10495
10496 if (!args) SWIG_fail;
10497 swig_obj[0] = args;
10498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10499 if (!SWIG_IsOK(res1)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10501 }
10502 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 resultobj = SWIG_From_int(static_cast< int >(result));
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10517 PyObject *resultobj = 0;
10518 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10519 wxWindow *result = 0 ;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 PyObject *swig_obj[1] ;
10523
10524 if (!args) SWIG_fail;
10525 swig_obj[0] = args;
10526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10529 }
10530 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 resultobj = wxPyMake_wxObject(result, 0);
10539 }
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10547 PyObject *resultobj = 0;
10548 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10549 int result;
10550 void *argp1 = 0 ;
10551 int res1 = 0 ;
10552 PyObject *swig_obj[1] ;
10553
10554 if (!args) SWIG_fail;
10555 swig_obj[0] = args;
10556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10557 if (!SWIG_IsOK(res1)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10559 }
10560 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_From_int(static_cast< int >(result));
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10575 PyObject *resultobj = 0;
10576 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10577 int result;
10578 void *argp1 = 0 ;
10579 int res1 = 0 ;
10580 PyObject *swig_obj[1] ;
10581
10582 if (!args) SWIG_fail;
10583 swig_obj[0] = args;
10584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10585 if (!SWIG_IsOK(res1)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10587 }
10588 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_From_int(static_cast< int >(result));
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10603 PyObject *obj;
10604 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10605 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10606 return SWIG_Py_Void();
10607 }
10608
10609 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10610 return SWIG_Python_InitShadowInstance(args);
10611 }
10612
10613 SWIGINTERN int SashNameStr_set(PyObject *) {
10614 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10615 return 1;
10616 }
10617
10618
10619 SWIGINTERN PyObject *SashNameStr_get(void) {
10620 PyObject *pyobj = 0;
10621
10622 {
10623 #if wxUSE_UNICODE
10624 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10625 #else
10626 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10627 #endif
10628 }
10629 return pyobj;
10630 }
10631
10632
10633 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10634 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10635 return 1;
10636 }
10637
10638
10639 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10640 PyObject *pyobj = 0;
10641
10642 {
10643 #if wxUSE_UNICODE
10644 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10645 #else
10646 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10647 #endif
10648 }
10649 return pyobj;
10650 }
10651
10652
10653 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj = 0;
10655 wxWindow *arg1 = (wxWindow *) 0 ;
10656 int arg2 = (int) -1 ;
10657 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10658 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10659 wxSize const &arg4_defvalue = wxDefaultSize ;
10660 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10661 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10662 wxString const &arg6_defvalue = wxPySashNameStr ;
10663 wxString *arg6 = (wxString *) &arg6_defvalue ;
10664 wxSashWindow *result = 0 ;
10665 void *argp1 = 0 ;
10666 int res1 = 0 ;
10667 int val2 ;
10668 int ecode2 = 0 ;
10669 wxPoint temp3 ;
10670 wxSize temp4 ;
10671 long val5 ;
10672 int ecode5 = 0 ;
10673 bool temp6 = false ;
10674 PyObject * obj0 = 0 ;
10675 PyObject * obj1 = 0 ;
10676 PyObject * obj2 = 0 ;
10677 PyObject * obj3 = 0 ;
10678 PyObject * obj4 = 0 ;
10679 PyObject * obj5 = 0 ;
10680 char * kwnames[] = {
10681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10682 };
10683
10684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10686 if (!SWIG_IsOK(res1)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10688 }
10689 arg1 = reinterpret_cast< wxWindow * >(argp1);
10690 if (obj1) {
10691 ecode2 = SWIG_AsVal_int(obj1, &val2);
10692 if (!SWIG_IsOK(ecode2)) {
10693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10694 }
10695 arg2 = static_cast< int >(val2);
10696 }
10697 if (obj2) {
10698 {
10699 arg3 = &temp3;
10700 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10701 }
10702 }
10703 if (obj3) {
10704 {
10705 arg4 = &temp4;
10706 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10707 }
10708 }
10709 if (obj4) {
10710 ecode5 = SWIG_AsVal_long(obj4, &val5);
10711 if (!SWIG_IsOK(ecode5)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10713 }
10714 arg5 = static_cast< long >(val5);
10715 }
10716 if (obj5) {
10717 {
10718 arg6 = wxString_in_helper(obj5);
10719 if (arg6 == NULL) SWIG_fail;
10720 temp6 = true;
10721 }
10722 }
10723 {
10724 if (!wxPyCheckForApp()) SWIG_fail;
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10731 {
10732 if (temp6)
10733 delete arg6;
10734 }
10735 return resultobj;
10736 fail:
10737 {
10738 if (temp6)
10739 delete arg6;
10740 }
10741 return NULL;
10742 }
10743
10744
10745 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10746 PyObject *resultobj = 0;
10747 wxSashWindow *result = 0 ;
10748
10749 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10750 {
10751 if (!wxPyCheckForApp()) SWIG_fail;
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (wxSashWindow *)new wxSashWindow();
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj = 0;
10766 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10767 wxWindow *arg2 = (wxWindow *) 0 ;
10768 int arg3 = (int) -1 ;
10769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10771 wxSize const &arg5_defvalue = wxDefaultSize ;
10772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10773 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10774 wxString const &arg7_defvalue = wxPySashNameStr ;
10775 wxString *arg7 = (wxString *) &arg7_defvalue ;
10776 bool result;
10777 void *argp1 = 0 ;
10778 int res1 = 0 ;
10779 void *argp2 = 0 ;
10780 int res2 = 0 ;
10781 int val3 ;
10782 int ecode3 = 0 ;
10783 wxPoint temp4 ;
10784 wxSize temp5 ;
10785 long val6 ;
10786 int ecode6 = 0 ;
10787 bool temp7 = false ;
10788 PyObject * obj0 = 0 ;
10789 PyObject * obj1 = 0 ;
10790 PyObject * obj2 = 0 ;
10791 PyObject * obj3 = 0 ;
10792 PyObject * obj4 = 0 ;
10793 PyObject * obj5 = 0 ;
10794 PyObject * obj6 = 0 ;
10795 char * kwnames[] = {
10796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10797 };
10798
10799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10801 if (!SWIG_IsOK(res1)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10803 }
10804 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10805 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10806 if (!SWIG_IsOK(res2)) {
10807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10808 }
10809 arg2 = reinterpret_cast< wxWindow * >(argp2);
10810 if (obj2) {
10811 ecode3 = SWIG_AsVal_int(obj2, &val3);
10812 if (!SWIG_IsOK(ecode3)) {
10813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10814 }
10815 arg3 = static_cast< int >(val3);
10816 }
10817 if (obj3) {
10818 {
10819 arg4 = &temp4;
10820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10821 }
10822 }
10823 if (obj4) {
10824 {
10825 arg5 = &temp5;
10826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10827 }
10828 }
10829 if (obj5) {
10830 ecode6 = SWIG_AsVal_long(obj5, &val6);
10831 if (!SWIG_IsOK(ecode6)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10833 }
10834 arg6 = static_cast< long >(val6);
10835 }
10836 if (obj6) {
10837 {
10838 arg7 = wxString_in_helper(obj6);
10839 if (arg7 == NULL) SWIG_fail;
10840 temp7 = true;
10841 }
10842 }
10843 {
10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
10845 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 {
10850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10851 }
10852 {
10853 if (temp7)
10854 delete arg7;
10855 }
10856 return resultobj;
10857 fail:
10858 {
10859 if (temp7)
10860 delete arg7;
10861 }
10862 return NULL;
10863 }
10864
10865
10866 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj = 0;
10868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10869 wxSashEdgePosition arg2 ;
10870 bool arg3 ;
10871 void *argp1 = 0 ;
10872 int res1 = 0 ;
10873 int val2 ;
10874 int ecode2 = 0 ;
10875 bool val3 ;
10876 int ecode3 = 0 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 PyObject * obj2 = 0 ;
10880 char * kwnames[] = {
10881 (char *) "self",(char *) "edge",(char *) "sash", NULL
10882 };
10883
10884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10886 if (!SWIG_IsOK(res1)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10888 }
10889 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10890 ecode2 = SWIG_AsVal_int(obj1, &val2);
10891 if (!SWIG_IsOK(ecode2)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10893 }
10894 arg2 = static_cast< wxSashEdgePosition >(val2);
10895 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10896 if (!SWIG_IsOK(ecode3)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10898 }
10899 arg3 = static_cast< bool >(val3);
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 (arg1)->SetSashVisible(arg2,arg3);
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 resultobj = SWIG_Py_Void();
10907 return resultobj;
10908 fail:
10909 return NULL;
10910 }
10911
10912
10913 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj = 0;
10915 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10916 wxSashEdgePosition arg2 ;
10917 bool result;
10918 void *argp1 = 0 ;
10919 int res1 = 0 ;
10920 int val2 ;
10921 int ecode2 = 0 ;
10922 PyObject * obj0 = 0 ;
10923 PyObject * obj1 = 0 ;
10924 char * kwnames[] = {
10925 (char *) "self",(char *) "edge", NULL
10926 };
10927
10928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10930 if (!SWIG_IsOK(res1)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10932 }
10933 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10934 ecode2 = SWIG_AsVal_int(obj1, &val2);
10935 if (!SWIG_IsOK(ecode2)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10937 }
10938 arg2 = static_cast< wxSashEdgePosition >(val2);
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 {
10946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10947 }
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj = 0;
10956 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10957 wxSashEdgePosition arg2 ;
10958 bool arg3 ;
10959 void *argp1 = 0 ;
10960 int res1 = 0 ;
10961 int val2 ;
10962 int ecode2 = 0 ;
10963 bool val3 ;
10964 int ecode3 = 0 ;
10965 PyObject * obj0 = 0 ;
10966 PyObject * obj1 = 0 ;
10967 PyObject * obj2 = 0 ;
10968 char * kwnames[] = {
10969 (char *) "self",(char *) "edge",(char *) "border", NULL
10970 };
10971
10972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10976 }
10977 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10978 ecode2 = SWIG_AsVal_int(obj1, &val2);
10979 if (!SWIG_IsOK(ecode2)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10981 }
10982 arg2 = static_cast< wxSashEdgePosition >(val2);
10983 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10984 if (!SWIG_IsOK(ecode3)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10986 }
10987 arg3 = static_cast< bool >(val3);
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 (arg1)->SetSashBorder(arg2,arg3);
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_Py_Void();
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj = 0;
11003 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11004 wxSashEdgePosition arg2 ;
11005 bool result;
11006 void *argp1 = 0 ;
11007 int res1 = 0 ;
11008 int val2 ;
11009 int ecode2 = 0 ;
11010 PyObject * obj0 = 0 ;
11011 PyObject * obj1 = 0 ;
11012 char * kwnames[] = {
11013 (char *) "self",(char *) "edge", NULL
11014 };
11015
11016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11018 if (!SWIG_IsOK(res1)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11020 }
11021 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11022 ecode2 = SWIG_AsVal_int(obj1, &val2);
11023 if (!SWIG_IsOK(ecode2)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11025 }
11026 arg2 = static_cast< wxSashEdgePosition >(val2);
11027 {
11028 PyThreadState* __tstate = wxPyBeginAllowThreads();
11029 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 {
11034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11035 }
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11043 PyObject *resultobj = 0;
11044 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11045 wxSashEdgePosition arg2 ;
11046 int result;
11047 void *argp1 = 0 ;
11048 int res1 = 0 ;
11049 int val2 ;
11050 int ecode2 = 0 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char * kwnames[] = {
11054 (char *) "self",(char *) "edge", NULL
11055 };
11056
11057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11059 if (!SWIG_IsOK(res1)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11061 }
11062 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11063 ecode2 = SWIG_AsVal_int(obj1, &val2);
11064 if (!SWIG_IsOK(ecode2)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11066 }
11067 arg2 = static_cast< wxSashEdgePosition >(val2);
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 resultobj = SWIG_From_int(static_cast< int >(result));
11075 return resultobj;
11076 fail:
11077 return NULL;
11078 }
11079
11080
11081 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj = 0;
11083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11084 int arg2 ;
11085 void *argp1 = 0 ;
11086 int res1 = 0 ;
11087 int val2 ;
11088 int ecode2 = 0 ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char * kwnames[] = {
11092 (char *) "self",(char *) "width", NULL
11093 };
11094
11095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11099 }
11100 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11101 ecode2 = SWIG_AsVal_int(obj1, &val2);
11102 if (!SWIG_IsOK(ecode2)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11104 }
11105 arg2 = static_cast< int >(val2);
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetDefaultBorderSize(arg2);
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_Py_Void();
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11120 PyObject *resultobj = 0;
11121 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11122 int result;
11123 void *argp1 = 0 ;
11124 int res1 = 0 ;
11125 PyObject *swig_obj[1] ;
11126
11127 if (!args) SWIG_fail;
11128 swig_obj[0] = args;
11129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11130 if (!SWIG_IsOK(res1)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11132 }
11133 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = SWIG_From_int(static_cast< int >(result));
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 int arg2 ;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "width", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11170 }
11171 arg2 = static_cast< int >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 (arg1)->SetExtraBorderSize(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_Py_Void();
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11186 PyObject *resultobj = 0;
11187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11188 int result;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 PyObject *swig_obj[1] ;
11192
11193 if (!args) SWIG_fail;
11194 swig_obj[0] = args;
11195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11196 if (!SWIG_IsOK(res1)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11198 }
11199 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 resultobj = SWIG_From_int(static_cast< int >(result));
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj = 0;
11215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11216 int arg2 ;
11217 void *argp1 = 0 ;
11218 int res1 = 0 ;
11219 int val2 ;
11220 int ecode2 = 0 ;
11221 PyObject * obj0 = 0 ;
11222 PyObject * obj1 = 0 ;
11223 char * kwnames[] = {
11224 (char *) "self",(char *) "min", NULL
11225 };
11226
11227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11229 if (!SWIG_IsOK(res1)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11231 }
11232 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11233 ecode2 = SWIG_AsVal_int(obj1, &val2);
11234 if (!SWIG_IsOK(ecode2)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11236 }
11237 arg2 = static_cast< int >(val2);
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->SetMinimumSizeX(arg2);
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_Py_Void();
11245 return resultobj;
11246 fail:
11247 return NULL;
11248 }
11249
11250
11251 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 int arg2 ;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 int val2 ;
11258 int ecode2 = 0 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char * kwnames[] = {
11262 (char *) "self",(char *) "min", NULL
11263 };
11264
11265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11269 }
11270 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11271 ecode2 = SWIG_AsVal_int(obj1, &val2);
11272 if (!SWIG_IsOK(ecode2)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11274 }
11275 arg2 = static_cast< int >(val2);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->SetMinimumSizeY(arg2);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_Py_Void();
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11290 PyObject *resultobj = 0;
11291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11292 int result;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 PyObject *swig_obj[1] ;
11296
11297 if (!args) SWIG_fail;
11298 swig_obj[0] = args;
11299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11300 if (!SWIG_IsOK(res1)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11302 }
11303 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = SWIG_From_int(static_cast< int >(result));
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11318 PyObject *resultobj = 0;
11319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11320 int result;
11321 void *argp1 = 0 ;
11322 int res1 = 0 ;
11323 PyObject *swig_obj[1] ;
11324
11325 if (!args) SWIG_fail;
11326 swig_obj[0] = args;
11327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11328 if (!SWIG_IsOK(res1)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11330 }
11331 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11332 {
11333 PyThreadState* __tstate = wxPyBeginAllowThreads();
11334 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11335 wxPyEndAllowThreads(__tstate);
11336 if (PyErr_Occurred()) SWIG_fail;
11337 }
11338 resultobj = SWIG_From_int(static_cast< int >(result));
11339 return resultobj;
11340 fail:
11341 return NULL;
11342 }
11343
11344
11345 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj = 0;
11347 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11348 int arg2 ;
11349 void *argp1 = 0 ;
11350 int res1 = 0 ;
11351 int val2 ;
11352 int ecode2 = 0 ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 char * kwnames[] = {
11356 (char *) "self",(char *) "max", NULL
11357 };
11358
11359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11361 if (!SWIG_IsOK(res1)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11363 }
11364 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11365 ecode2 = SWIG_AsVal_int(obj1, &val2);
11366 if (!SWIG_IsOK(ecode2)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11368 }
11369 arg2 = static_cast< int >(val2);
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 (arg1)->SetMaximumSizeX(arg2);
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 resultobj = SWIG_Py_Void();
11377 return resultobj;
11378 fail:
11379 return NULL;
11380 }
11381
11382
11383 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11384 PyObject *resultobj = 0;
11385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11386 int arg2 ;
11387 void *argp1 = 0 ;
11388 int res1 = 0 ;
11389 int val2 ;
11390 int ecode2 = 0 ;
11391 PyObject * obj0 = 0 ;
11392 PyObject * obj1 = 0 ;
11393 char * kwnames[] = {
11394 (char *) "self",(char *) "max", NULL
11395 };
11396
11397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11399 if (!SWIG_IsOK(res1)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11401 }
11402 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11403 ecode2 = SWIG_AsVal_int(obj1, &val2);
11404 if (!SWIG_IsOK(ecode2)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11406 }
11407 arg2 = static_cast< int >(val2);
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 (arg1)->SetMaximumSizeY(arg2);
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_Py_Void();
11415 return resultobj;
11416 fail:
11417 return NULL;
11418 }
11419
11420
11421 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11422 PyObject *resultobj = 0;
11423 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11424 int result;
11425 void *argp1 = 0 ;
11426 int res1 = 0 ;
11427 PyObject *swig_obj[1] ;
11428
11429 if (!args) SWIG_fail;
11430 swig_obj[0] = args;
11431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11432 if (!SWIG_IsOK(res1)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11434 }
11435 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
11442 resultobj = SWIG_From_int(static_cast< int >(result));
11443 return resultobj;
11444 fail:
11445 return NULL;
11446 }
11447
11448
11449 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11450 PyObject *resultobj = 0;
11451 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11452 int result;
11453 void *argp1 = 0 ;
11454 int res1 = 0 ;
11455 PyObject *swig_obj[1] ;
11456
11457 if (!args) SWIG_fail;
11458 swig_obj[0] = args;
11459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11460 if (!SWIG_IsOK(res1)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11462 }
11463 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 resultobj = SWIG_From_int(static_cast< int >(result));
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11478 PyObject *resultobj = 0;
11479 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11480 int arg2 ;
11481 int arg3 ;
11482 int arg4 = (int) 2 ;
11483 wxSashEdgePosition result;
11484 void *argp1 = 0 ;
11485 int res1 = 0 ;
11486 int val2 ;
11487 int ecode2 = 0 ;
11488 int val3 ;
11489 int ecode3 = 0 ;
11490 int val4 ;
11491 int ecode4 = 0 ;
11492 PyObject * obj0 = 0 ;
11493 PyObject * obj1 = 0 ;
11494 PyObject * obj2 = 0 ;
11495 PyObject * obj3 = 0 ;
11496 char * kwnames[] = {
11497 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11498 };
11499
11500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11502 if (!SWIG_IsOK(res1)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11504 }
11505 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11506 ecode2 = SWIG_AsVal_int(obj1, &val2);
11507 if (!SWIG_IsOK(ecode2)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11509 }
11510 arg2 = static_cast< int >(val2);
11511 ecode3 = SWIG_AsVal_int(obj2, &val3);
11512 if (!SWIG_IsOK(ecode3)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11514 }
11515 arg3 = static_cast< int >(val3);
11516 if (obj3) {
11517 ecode4 = SWIG_AsVal_int(obj3, &val4);
11518 if (!SWIG_IsOK(ecode4)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11520 }
11521 arg4 = static_cast< int >(val4);
11522 }
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 resultobj = SWIG_From_int(static_cast< int >(result));
11530 return resultobj;
11531 fail:
11532 return NULL;
11533 }
11534
11535
11536 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11537 PyObject *resultobj = 0;
11538 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11539 void *argp1 = 0 ;
11540 int res1 = 0 ;
11541 PyObject *swig_obj[1] ;
11542
11543 if (!args) SWIG_fail;
11544 swig_obj[0] = args;
11545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11548 }
11549 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 (arg1)->SizeWindows();
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 resultobj = SWIG_Py_Void();
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11564 PyObject *obj;
11565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11567 return SWIG_Py_Void();
11568 }
11569
11570 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11571 return SWIG_Python_InitShadowInstance(args);
11572 }
11573
11574 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj = 0;
11576 int arg1 = (int) 0 ;
11577 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11578 wxSashEvent *result = 0 ;
11579 int val1 ;
11580 int ecode1 = 0 ;
11581 int val2 ;
11582 int ecode2 = 0 ;
11583 PyObject * obj0 = 0 ;
11584 PyObject * obj1 = 0 ;
11585 char * kwnames[] = {
11586 (char *) "id",(char *) "edge", NULL
11587 };
11588
11589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11590 if (obj0) {
11591 ecode1 = SWIG_AsVal_int(obj0, &val1);
11592 if (!SWIG_IsOK(ecode1)) {
11593 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11594 }
11595 arg1 = static_cast< int >(val1);
11596 }
11597 if (obj1) {
11598 ecode2 = SWIG_AsVal_int(obj1, &val2);
11599 if (!SWIG_IsOK(ecode2)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11601 }
11602 arg2 = static_cast< wxSashEdgePosition >(val2);
11603 }
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj = 0;
11619 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11620 wxSashEdgePosition arg2 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 int val2 ;
11624 int ecode2 = 0 ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 char * kwnames[] = {
11628 (char *) "self",(char *) "edge", NULL
11629 };
11630
11631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11633 if (!SWIG_IsOK(res1)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11635 }
11636 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11637 ecode2 = SWIG_AsVal_int(obj1, &val2);
11638 if (!SWIG_IsOK(ecode2)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11640 }
11641 arg2 = static_cast< wxSashEdgePosition >(val2);
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 (arg1)->SetEdge(arg2);
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 resultobj = SWIG_Py_Void();
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11656 PyObject *resultobj = 0;
11657 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11658 wxSashEdgePosition result;
11659 void *argp1 = 0 ;
11660 int res1 = 0 ;
11661 PyObject *swig_obj[1] ;
11662
11663 if (!args) SWIG_fail;
11664 swig_obj[0] = args;
11665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11666 if (!SWIG_IsOK(res1)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11668 }
11669 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_From_int(static_cast< int >(result));
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj = 0;
11685 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11686 wxRect *arg2 = 0 ;
11687 void *argp1 = 0 ;
11688 int res1 = 0 ;
11689 wxRect temp2 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char * kwnames[] = {
11693 (char *) "self",(char *) "rect", NULL
11694 };
11695
11696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 }
11701 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11702 {
11703 arg2 = &temp2;
11704 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11705 }
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 (arg1)->SetDragRect((wxRect const &)*arg2);
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 resultobj = SWIG_Py_Void();
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11720 PyObject *resultobj = 0;
11721 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11722 wxRect result;
11723 void *argp1 = 0 ;
11724 int res1 = 0 ;
11725 PyObject *swig_obj[1] ;
11726
11727 if (!args) SWIG_fail;
11728 swig_obj[0] = args;
11729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11730 if (!SWIG_IsOK(res1)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11732 }
11733 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = ((wxSashEvent const *)arg1)->GetDragRect();
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj = 0;
11749 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11750 wxSashDragStatus arg2 ;
11751 void *argp1 = 0 ;
11752 int res1 = 0 ;
11753 int val2 ;
11754 int ecode2 = 0 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char * kwnames[] = {
11758 (char *) "self",(char *) "status", NULL
11759 };
11760
11761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11765 }
11766 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11767 ecode2 = SWIG_AsVal_int(obj1, &val2);
11768 if (!SWIG_IsOK(ecode2)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11770 }
11771 arg2 = static_cast< wxSashDragStatus >(val2);
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 (arg1)->SetDragStatus(arg2);
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 resultobj = SWIG_Py_Void();
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11788 wxSashDragStatus result;
11789 void *argp1 = 0 ;
11790 int res1 = 0 ;
11791 PyObject *swig_obj[1] ;
11792
11793 if (!args) SWIG_fail;
11794 swig_obj[0] = args;
11795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11798 }
11799 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 resultobj = SWIG_From_int(static_cast< int >(result));
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11814 PyObject *obj;
11815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11817 return SWIG_Py_Void();
11818 }
11819
11820 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11821 return SWIG_Python_InitShadowInstance(args);
11822 }
11823
11824 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj = 0;
11826 int arg1 = (int) 0 ;
11827 wxQueryLayoutInfoEvent *result = 0 ;
11828 int val1 ;
11829 int ecode1 = 0 ;
11830 PyObject * obj0 = 0 ;
11831 char * kwnames[] = {
11832 (char *) "id", NULL
11833 };
11834
11835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11836 if (obj0) {
11837 ecode1 = SWIG_AsVal_int(obj0, &val1);
11838 if (!SWIG_IsOK(ecode1)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11840 }
11841 arg1 = static_cast< int >(val1);
11842 }
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11850 return resultobj;
11851 fail:
11852 return NULL;
11853 }
11854
11855
11856 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11857 PyObject *resultobj = 0;
11858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11859 int arg2 ;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 int val2 ;
11863 int ecode2 = 0 ;
11864 PyObject * obj0 = 0 ;
11865 PyObject * obj1 = 0 ;
11866 char * kwnames[] = {
11867 (char *) "self",(char *) "length", NULL
11868 };
11869
11870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11874 }
11875 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11876 ecode2 = SWIG_AsVal_int(obj1, &val2);
11877 if (!SWIG_IsOK(ecode2)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11879 }
11880 arg2 = static_cast< int >(val2);
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetRequestedLength(arg2);
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_Py_Void();
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11895 PyObject *resultobj = 0;
11896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11897 int result;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 PyObject *swig_obj[1] ;
11901
11902 if (!args) SWIG_fail;
11903 swig_obj[0] = args;
11904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11907 }
11908 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = SWIG_From_int(static_cast< int >(result));
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj = 0;
11924 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11925 int arg2 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 int val2 ;
11929 int ecode2 = 0 ;
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj1 = 0 ;
11932 char * kwnames[] = {
11933 (char *) "self",(char *) "flags", NULL
11934 };
11935
11936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11938 if (!SWIG_IsOK(res1)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11940 }
11941 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11942 ecode2 = SWIG_AsVal_int(obj1, &val2);
11943 if (!SWIG_IsOK(ecode2)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11945 }
11946 arg2 = static_cast< int >(val2);
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 (arg1)->SetFlags(arg2);
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = SWIG_Py_Void();
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11961 PyObject *resultobj = 0;
11962 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11963 int result;
11964 void *argp1 = 0 ;
11965 int res1 = 0 ;
11966 PyObject *swig_obj[1] ;
11967
11968 if (!args) SWIG_fail;
11969 swig_obj[0] = args;
11970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11971 if (!SWIG_IsOK(res1)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11973 }
11974 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = SWIG_From_int(static_cast< int >(result));
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj = 0;
11990 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11991 wxSize *arg2 = 0 ;
11992 void *argp1 = 0 ;
11993 int res1 = 0 ;
11994 wxSize temp2 ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 char * kwnames[] = {
11998 (char *) "self",(char *) "size", NULL
11999 };
12000
12001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 }
12006 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12007 {
12008 arg2 = &temp2;
12009 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12010 }
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetSize((wxSize const &)*arg2);
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_Py_Void();
12018 return resultobj;
12019 fail:
12020 return NULL;
12021 }
12022
12023
12024 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12025 PyObject *resultobj = 0;
12026 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12027 wxSize result;
12028 void *argp1 = 0 ;
12029 int res1 = 0 ;
12030 PyObject *swig_obj[1] ;
12031
12032 if (!args) SWIG_fail;
12033 swig_obj[0] = args;
12034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12035 if (!SWIG_IsOK(res1)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 }
12038 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj = 0;
12054 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12055 wxLayoutOrientation arg2 ;
12056 void *argp1 = 0 ;
12057 int res1 = 0 ;
12058 int val2 ;
12059 int ecode2 = 0 ;
12060 PyObject * obj0 = 0 ;
12061 PyObject * obj1 = 0 ;
12062 char * kwnames[] = {
12063 (char *) "self",(char *) "orient", NULL
12064 };
12065
12066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12072 ecode2 = SWIG_AsVal_int(obj1, &val2);
12073 if (!SWIG_IsOK(ecode2)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12075 }
12076 arg2 = static_cast< wxLayoutOrientation >(val2);
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->SetOrientation(arg2);
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_Py_Void();
12084 return resultobj;
12085 fail:
12086 return NULL;
12087 }
12088
12089
12090 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *resultobj = 0;
12092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12093 wxLayoutOrientation result;
12094 void *argp1 = 0 ;
12095 int res1 = 0 ;
12096 PyObject *swig_obj[1] ;
12097
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12101 if (!SWIG_IsOK(res1)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 }
12104 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_From_int(static_cast< int >(result));
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj = 0;
12120 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12121 wxLayoutAlignment arg2 ;
12122 void *argp1 = 0 ;
12123 int res1 = 0 ;
12124 int val2 ;
12125 int ecode2 = 0 ;
12126 PyObject * obj0 = 0 ;
12127 PyObject * obj1 = 0 ;
12128 char * kwnames[] = {
12129 (char *) "self",(char *) "align", NULL
12130 };
12131
12132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12134 if (!SWIG_IsOK(res1)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12136 }
12137 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12138 ecode2 = SWIG_AsVal_int(obj1, &val2);
12139 if (!SWIG_IsOK(ecode2)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12141 }
12142 arg2 = static_cast< wxLayoutAlignment >(val2);
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 (arg1)->SetAlignment(arg2);
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_Py_Void();
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12157 PyObject *resultobj = 0;
12158 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12159 wxLayoutAlignment result;
12160 void *argp1 = 0 ;
12161 int res1 = 0 ;
12162 PyObject *swig_obj[1] ;
12163
12164 if (!args) SWIG_fail;
12165 swig_obj[0] = args;
12166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12167 if (!SWIG_IsOK(res1)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12169 }
12170 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 resultobj = SWIG_From_int(static_cast< int >(result));
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12185 PyObject *obj;
12186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12187 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12188 return SWIG_Py_Void();
12189 }
12190
12191 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12192 return SWIG_Python_InitShadowInstance(args);
12193 }
12194
12195 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj = 0;
12197 int arg1 = (int) 0 ;
12198 wxCalculateLayoutEvent *result = 0 ;
12199 int val1 ;
12200 int ecode1 = 0 ;
12201 PyObject * obj0 = 0 ;
12202 char * kwnames[] = {
12203 (char *) "id", NULL
12204 };
12205
12206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12207 if (obj0) {
12208 ecode1 = SWIG_AsVal_int(obj0, &val1);
12209 if (!SWIG_IsOK(ecode1)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12211 }
12212 arg1 = static_cast< int >(val1);
12213 }
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12221 return resultobj;
12222 fail:
12223 return NULL;
12224 }
12225
12226
12227 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = 0;
12229 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12230 int arg2 ;
12231 void *argp1 = 0 ;
12232 int res1 = 0 ;
12233 int val2 ;
12234 int ecode2 = 0 ;
12235 PyObject * obj0 = 0 ;
12236 PyObject * obj1 = 0 ;
12237 char * kwnames[] = {
12238 (char *) "self",(char *) "flags", NULL
12239 };
12240
12241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12245 }
12246 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12247 ecode2 = SWIG_AsVal_int(obj1, &val2);
12248 if (!SWIG_IsOK(ecode2)) {
12249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12250 }
12251 arg2 = static_cast< int >(val2);
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 (arg1)->SetFlags(arg2);
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_Py_Void();
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12266 PyObject *resultobj = 0;
12267 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12268 int result;
12269 void *argp1 = 0 ;
12270 int res1 = 0 ;
12271 PyObject *swig_obj[1] ;
12272
12273 if (!args) SWIG_fail;
12274 swig_obj[0] = args;
12275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12276 if (!SWIG_IsOK(res1)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12278 }
12279 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = SWIG_From_int(static_cast< int >(result));
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj = 0;
12295 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12296 wxRect *arg2 = 0 ;
12297 void *argp1 = 0 ;
12298 int res1 = 0 ;
12299 wxRect temp2 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 char * kwnames[] = {
12303 (char *) "self",(char *) "rect", NULL
12304 };
12305
12306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12308 if (!SWIG_IsOK(res1)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12310 }
12311 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12312 {
12313 arg2 = &temp2;
12314 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12315 }
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 (arg1)->SetRect((wxRect const &)*arg2);
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 resultobj = SWIG_Py_Void();
12323 return resultobj;
12324 fail:
12325 return NULL;
12326 }
12327
12328
12329 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12330 PyObject *resultobj = 0;
12331 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12332 wxRect result;
12333 void *argp1 = 0 ;
12334 int res1 = 0 ;
12335 PyObject *swig_obj[1] ;
12336
12337 if (!args) SWIG_fail;
12338 swig_obj[0] = args;
12339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12340 if (!SWIG_IsOK(res1)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12342 }
12343 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12358 PyObject *obj;
12359 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12360 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12361 return SWIG_Py_Void();
12362 }
12363
12364 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12365 return SWIG_Python_InitShadowInstance(args);
12366 }
12367
12368 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj = 0;
12370 wxWindow *arg1 = (wxWindow *) 0 ;
12371 int arg2 = (int) -1 ;
12372 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12373 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12374 wxSize const &arg4_defvalue = wxDefaultSize ;
12375 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12376 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12377 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12378 wxString *arg6 = (wxString *) &arg6_defvalue ;
12379 wxSashLayoutWindow *result = 0 ;
12380 void *argp1 = 0 ;
12381 int res1 = 0 ;
12382 int val2 ;
12383 int ecode2 = 0 ;
12384 wxPoint temp3 ;
12385 wxSize temp4 ;
12386 long val5 ;
12387 int ecode5 = 0 ;
12388 bool temp6 = false ;
12389 PyObject * obj0 = 0 ;
12390 PyObject * obj1 = 0 ;
12391 PyObject * obj2 = 0 ;
12392 PyObject * obj3 = 0 ;
12393 PyObject * obj4 = 0 ;
12394 PyObject * obj5 = 0 ;
12395 char * kwnames[] = {
12396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12397 };
12398
12399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12401 if (!SWIG_IsOK(res1)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12403 }
12404 arg1 = reinterpret_cast< wxWindow * >(argp1);
12405 if (obj1) {
12406 ecode2 = SWIG_AsVal_int(obj1, &val2);
12407 if (!SWIG_IsOK(ecode2)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12409 }
12410 arg2 = static_cast< int >(val2);
12411 }
12412 if (obj2) {
12413 {
12414 arg3 = &temp3;
12415 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12416 }
12417 }
12418 if (obj3) {
12419 {
12420 arg4 = &temp4;
12421 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12422 }
12423 }
12424 if (obj4) {
12425 ecode5 = SWIG_AsVal_long(obj4, &val5);
12426 if (!SWIG_IsOK(ecode5)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12428 }
12429 arg5 = static_cast< long >(val5);
12430 }
12431 if (obj5) {
12432 {
12433 arg6 = wxString_in_helper(obj5);
12434 if (arg6 == NULL) SWIG_fail;
12435 temp6 = true;
12436 }
12437 }
12438 {
12439 if (!wxPyCheckForApp()) SWIG_fail;
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12446 {
12447 if (temp6)
12448 delete arg6;
12449 }
12450 return resultobj;
12451 fail:
12452 {
12453 if (temp6)
12454 delete arg6;
12455 }
12456 return NULL;
12457 }
12458
12459
12460 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12461 PyObject *resultobj = 0;
12462 wxSashLayoutWindow *result = 0 ;
12463
12464 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12465 {
12466 if (!wxPyCheckForApp()) SWIG_fail;
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12473 return resultobj;
12474 fail:
12475 return NULL;
12476 }
12477
12478
12479 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12480 PyObject *resultobj = 0;
12481 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12482 wxWindow *arg2 = (wxWindow *) 0 ;
12483 int arg3 = (int) -1 ;
12484 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12485 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12486 wxSize const &arg5_defvalue = wxDefaultSize ;
12487 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12488 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12489 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12490 wxString *arg7 = (wxString *) &arg7_defvalue ;
12491 bool result;
12492 void *argp1 = 0 ;
12493 int res1 = 0 ;
12494 void *argp2 = 0 ;
12495 int res2 = 0 ;
12496 int val3 ;
12497 int ecode3 = 0 ;
12498 wxPoint temp4 ;
12499 wxSize temp5 ;
12500 long val6 ;
12501 int ecode6 = 0 ;
12502 bool temp7 = false ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 PyObject * obj2 = 0 ;
12506 PyObject * obj3 = 0 ;
12507 PyObject * obj4 = 0 ;
12508 PyObject * obj5 = 0 ;
12509 PyObject * obj6 = 0 ;
12510 char * kwnames[] = {
12511 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12512 };
12513
12514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12516 if (!SWIG_IsOK(res1)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12518 }
12519 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12521 if (!SWIG_IsOK(res2)) {
12522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12523 }
12524 arg2 = reinterpret_cast< wxWindow * >(argp2);
12525 if (obj2) {
12526 ecode3 = SWIG_AsVal_int(obj2, &val3);
12527 if (!SWIG_IsOK(ecode3)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12529 }
12530 arg3 = static_cast< int >(val3);
12531 }
12532 if (obj3) {
12533 {
12534 arg4 = &temp4;
12535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12536 }
12537 }
12538 if (obj4) {
12539 {
12540 arg5 = &temp5;
12541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12542 }
12543 }
12544 if (obj5) {
12545 ecode6 = SWIG_AsVal_long(obj5, &val6);
12546 if (!SWIG_IsOK(ecode6)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12548 }
12549 arg6 = static_cast< long >(val6);
12550 }
12551 if (obj6) {
12552 {
12553 arg7 = wxString_in_helper(obj6);
12554 if (arg7 == NULL) SWIG_fail;
12555 temp7 = true;
12556 }
12557 }
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 {
12565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12566 }
12567 {
12568 if (temp7)
12569 delete arg7;
12570 }
12571 return resultobj;
12572 fail:
12573 {
12574 if (temp7)
12575 delete arg7;
12576 }
12577 return NULL;
12578 }
12579
12580
12581 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12582 PyObject *resultobj = 0;
12583 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12584 wxLayoutAlignment result;
12585 void *argp1 = 0 ;
12586 int res1 = 0 ;
12587 PyObject *swig_obj[1] ;
12588
12589 if (!args) SWIG_fail;
12590 swig_obj[0] = args;
12591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12592 if (!SWIG_IsOK(res1)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12594 }
12595 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_From_int(static_cast< int >(result));
12603 return resultobj;
12604 fail:
12605 return NULL;
12606 }
12607
12608
12609 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12610 PyObject *resultobj = 0;
12611 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12612 wxLayoutOrientation result;
12613 void *argp1 = 0 ;
12614 int res1 = 0 ;
12615 PyObject *swig_obj[1] ;
12616
12617 if (!args) SWIG_fail;
12618 swig_obj[0] = args;
12619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12620 if (!SWIG_IsOK(res1)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12622 }
12623 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = SWIG_From_int(static_cast< int >(result));
12631 return resultobj;
12632 fail:
12633 return NULL;
12634 }
12635
12636
12637 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj = 0;
12639 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12640 wxLayoutAlignment arg2 ;
12641 void *argp1 = 0 ;
12642 int res1 = 0 ;
12643 int val2 ;
12644 int ecode2 = 0 ;
12645 PyObject * obj0 = 0 ;
12646 PyObject * obj1 = 0 ;
12647 char * kwnames[] = {
12648 (char *) "self",(char *) "alignment", NULL
12649 };
12650
12651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12653 if (!SWIG_IsOK(res1)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12655 }
12656 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12657 ecode2 = SWIG_AsVal_int(obj1, &val2);
12658 if (!SWIG_IsOK(ecode2)) {
12659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12660 }
12661 arg2 = static_cast< wxLayoutAlignment >(val2);
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 (arg1)->SetAlignment(arg2);
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 resultobj = SWIG_Py_Void();
12669 return resultobj;
12670 fail:
12671 return NULL;
12672 }
12673
12674
12675 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj = 0;
12677 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12678 wxSize *arg2 = 0 ;
12679 void *argp1 = 0 ;
12680 int res1 = 0 ;
12681 wxSize temp2 ;
12682 PyObject * obj0 = 0 ;
12683 PyObject * obj1 = 0 ;
12684 char * kwnames[] = {
12685 (char *) "self",(char *) "size", NULL
12686 };
12687
12688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12690 if (!SWIG_IsOK(res1)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12692 }
12693 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12694 {
12695 arg2 = &temp2;
12696 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 resultobj = SWIG_Py_Void();
12705 return resultobj;
12706 fail:
12707 return NULL;
12708 }
12709
12710
12711 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj = 0;
12713 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12714 wxLayoutOrientation arg2 ;
12715 void *argp1 = 0 ;
12716 int res1 = 0 ;
12717 int val2 ;
12718 int ecode2 = 0 ;
12719 PyObject * obj0 = 0 ;
12720 PyObject * obj1 = 0 ;
12721 char * kwnames[] = {
12722 (char *) "self",(char *) "orientation", NULL
12723 };
12724
12725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12727 if (!SWIG_IsOK(res1)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12729 }
12730 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12731 ecode2 = SWIG_AsVal_int(obj1, &val2);
12732 if (!SWIG_IsOK(ecode2)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12734 }
12735 arg2 = static_cast< wxLayoutOrientation >(val2);
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 (arg1)->SetOrientation(arg2);
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 resultobj = SWIG_Py_Void();
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12750 PyObject *obj;
12751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12753 return SWIG_Py_Void();
12754 }
12755
12756 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12757 return SWIG_Python_InitShadowInstance(args);
12758 }
12759
12760 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12761 PyObject *resultobj = 0;
12762 wxLayoutAlgorithm *result = 0 ;
12763
12764 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12765 {
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12768 wxPyEndAllowThreads(__tstate);
12769 if (PyErr_Occurred()) SWIG_fail;
12770 }
12771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12772 return resultobj;
12773 fail:
12774 return NULL;
12775 }
12776
12777
12778 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12779 PyObject *resultobj = 0;
12780 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12781 void *argp1 = 0 ;
12782 int res1 = 0 ;
12783 PyObject *swig_obj[1] ;
12784
12785 if (!args) SWIG_fail;
12786 swig_obj[0] = args;
12787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12788 if (!SWIG_IsOK(res1)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12790 }
12791 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 delete arg1;
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 resultobj = SWIG_Py_Void();
12800 return resultobj;
12801 fail:
12802 return NULL;
12803 }
12804
12805
12806 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj = 0;
12808 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12809 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12810 wxRect *arg3 = (wxRect *) NULL ;
12811 bool result;
12812 void *argp1 = 0 ;
12813 int res1 = 0 ;
12814 void *argp2 = 0 ;
12815 int res2 = 0 ;
12816 void *argp3 = 0 ;
12817 int res3 = 0 ;
12818 PyObject * obj0 = 0 ;
12819 PyObject * obj1 = 0 ;
12820 PyObject * obj2 = 0 ;
12821 char * kwnames[] = {
12822 (char *) "self",(char *) "frame",(char *) "rect", NULL
12823 };
12824
12825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12827 if (!SWIG_IsOK(res1)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12829 }
12830 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12831 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12832 if (!SWIG_IsOK(res2)) {
12833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12834 }
12835 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12836 if (obj2) {
12837 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12838 if (!SWIG_IsOK(res3)) {
12839 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12840 }
12841 arg3 = reinterpret_cast< wxRect * >(argp3);
12842 }
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12851 }
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12861 wxFrame *arg2 = (wxFrame *) 0 ;
12862 wxWindow *arg3 = (wxWindow *) NULL ;
12863 bool result;
12864 void *argp1 = 0 ;
12865 int res1 = 0 ;
12866 void *argp2 = 0 ;
12867 int res2 = 0 ;
12868 void *argp3 = 0 ;
12869 int res3 = 0 ;
12870 PyObject * obj0 = 0 ;
12871 PyObject * obj1 = 0 ;
12872 PyObject * obj2 = 0 ;
12873 char * kwnames[] = {
12874 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12875 };
12876
12877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12879 if (!SWIG_IsOK(res1)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12881 }
12882 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12884 if (!SWIG_IsOK(res2)) {
12885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12886 }
12887 arg2 = reinterpret_cast< wxFrame * >(argp2);
12888 if (obj2) {
12889 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12890 if (!SWIG_IsOK(res3)) {
12891 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12892 }
12893 arg3 = reinterpret_cast< wxWindow * >(argp3);
12894 }
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 {
12902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12903 }
12904 return resultobj;
12905 fail:
12906 return NULL;
12907 }
12908
12909
12910 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12911 PyObject *resultobj = 0;
12912 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12913 wxWindow *arg2 = (wxWindow *) 0 ;
12914 wxWindow *arg3 = (wxWindow *) NULL ;
12915 bool result;
12916 void *argp1 = 0 ;
12917 int res1 = 0 ;
12918 void *argp2 = 0 ;
12919 int res2 = 0 ;
12920 void *argp3 = 0 ;
12921 int res3 = 0 ;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 PyObject * obj2 = 0 ;
12925 char * kwnames[] = {
12926 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12927 };
12928
12929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12931 if (!SWIG_IsOK(res1)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12933 }
12934 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12935 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12936 if (!SWIG_IsOK(res2)) {
12937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12938 }
12939 arg2 = reinterpret_cast< wxWindow * >(argp2);
12940 if (obj2) {
12941 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12942 if (!SWIG_IsOK(res3)) {
12943 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12944 }
12945 arg3 = reinterpret_cast< wxWindow * >(argp3);
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 {
12954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12955 }
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12963 PyObject *obj;
12964 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12965 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12966 return SWIG_Py_Void();
12967 }
12968
12969 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12970 return SWIG_Python_InitShadowInstance(args);
12971 }
12972
12973 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj = 0;
12975 wxWindow *arg1 = (wxWindow *) 0 ;
12976 int arg2 = (int) wxBORDER_NONE ;
12977 wxPopupWindow *result = 0 ;
12978 void *argp1 = 0 ;
12979 int res1 = 0 ;
12980 int val2 ;
12981 int ecode2 = 0 ;
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 char * kwnames[] = {
12985 (char *) "parent",(char *) "flags", NULL
12986 };
12987
12988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12990 if (!SWIG_IsOK(res1)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12992 }
12993 arg1 = reinterpret_cast< wxWindow * >(argp1);
12994 if (obj1) {
12995 ecode2 = SWIG_AsVal_int(obj1, &val2);
12996 if (!SWIG_IsOK(ecode2)) {
12997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12998 }
12999 arg2 = static_cast< int >(val2);
13000 }
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13015 PyObject *resultobj = 0;
13016 wxPopupWindow *result = 0 ;
13017
13018 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13019 {
13020 PyThreadState* __tstate = wxPyBeginAllowThreads();
13021 result = (wxPopupWindow *)new wxPopupWindow();
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13026 return resultobj;
13027 fail:
13028 return NULL;
13029 }
13030
13031
13032 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13033 PyObject *obj;
13034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13036 return SWIG_Py_Void();
13037 }
13038
13039 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13040 return SWIG_Python_InitShadowInstance(args);
13041 }
13042
13043 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj = 0;
13045 wxWindow *arg1 = (wxWindow *) 0 ;
13046 int arg2 = (int) wxBORDER_NONE ;
13047 wxPyPopupTransientWindow *result = 0 ;
13048 void *argp1 = 0 ;
13049 int res1 = 0 ;
13050 int val2 ;
13051 int ecode2 = 0 ;
13052 PyObject * obj0 = 0 ;
13053 PyObject * obj1 = 0 ;
13054 char * kwnames[] = {
13055 (char *) "parent",(char *) "style", NULL
13056 };
13057
13058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13060 if (!SWIG_IsOK(res1)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13062 }
13063 arg1 = reinterpret_cast< wxWindow * >(argp1);
13064 if (obj1) {
13065 ecode2 = SWIG_AsVal_int(obj1, &val2);
13066 if (!SWIG_IsOK(ecode2)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13068 }
13069 arg2 = static_cast< int >(val2);
13070 }
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13078 return resultobj;
13079 fail:
13080 return NULL;
13081 }
13082
13083
13084 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13085 PyObject *resultobj = 0;
13086 wxPyPopupTransientWindow *result = 0 ;
13087
13088 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13103 PyObject *obj;
13104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13106 return SWIG_Py_Void();
13107 }
13108
13109 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13110 return SWIG_Python_InitShadowInstance(args);
13111 }
13112
13113 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj = 0;
13115 wxWindow *arg1 = (wxWindow *) 0 ;
13116 wxString *arg2 = 0 ;
13117 int arg3 = (int) 100 ;
13118 wxRect *arg4 = (wxRect *) NULL ;
13119 wxTipWindow *result = 0 ;
13120 void *argp1 = 0 ;
13121 int res1 = 0 ;
13122 bool temp2 = false ;
13123 int val3 ;
13124 int ecode3 = 0 ;
13125 void *argp4 = 0 ;
13126 int res4 = 0 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 PyObject * obj2 = 0 ;
13130 PyObject * obj3 = 0 ;
13131 char * kwnames[] = {
13132 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13133 };
13134
13135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13137 if (!SWIG_IsOK(res1)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13139 }
13140 arg1 = reinterpret_cast< wxWindow * >(argp1);
13141 {
13142 arg2 = wxString_in_helper(obj1);
13143 if (arg2 == NULL) SWIG_fail;
13144 temp2 = true;
13145 }
13146 if (obj2) {
13147 ecode3 = SWIG_AsVal_int(obj2, &val3);
13148 if (!SWIG_IsOK(ecode3)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13150 }
13151 arg3 = static_cast< int >(val3);
13152 }
13153 if (obj3) {
13154 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13155 if (!SWIG_IsOK(res4)) {
13156 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13157 }
13158 arg4 = reinterpret_cast< wxRect * >(argp4);
13159 }
13160 {
13161 if (!wxPyCheckForApp()) SWIG_fail;
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13168 {
13169 if (temp2)
13170 delete arg2;
13171 }
13172 return resultobj;
13173 fail:
13174 {
13175 if (temp2)
13176 delete arg2;
13177 }
13178 return NULL;
13179 }
13180
13181
13182 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj = 0;
13184 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13185 wxRect *arg2 = 0 ;
13186 void *argp1 = 0 ;
13187 int res1 = 0 ;
13188 wxRect temp2 ;
13189 PyObject * obj0 = 0 ;
13190 PyObject * obj1 = 0 ;
13191 char * kwnames[] = {
13192 (char *) "self",(char *) "rectBound", NULL
13193 };
13194
13195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13197 if (!SWIG_IsOK(res1)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13199 }
13200 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13201 {
13202 arg2 = &temp2;
13203 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13204 }
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 resultobj = SWIG_Py_Void();
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13219 PyObject *resultobj = 0;
13220 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13221 void *argp1 = 0 ;
13222 int res1 = 0 ;
13223 PyObject *swig_obj[1] ;
13224
13225 if (!args) SWIG_fail;
13226 swig_obj[0] = args;
13227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13228 if (!SWIG_IsOK(res1)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13230 }
13231 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 (arg1)->Close();
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 resultobj = SWIG_Py_Void();
13239 return resultobj;
13240 fail:
13241 return NULL;
13242 }
13243
13244
13245 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13246 PyObject *obj;
13247 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13248 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13249 return SWIG_Py_Void();
13250 }
13251
13252 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13253 return SWIG_Python_InitShadowInstance(args);
13254 }
13255
13256 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj = 0;
13258 wxWindow *arg1 = (wxWindow *) 0 ;
13259 int arg2 = (int) wxID_ANY ;
13260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13262 wxSize const &arg4_defvalue = wxDefaultSize ;
13263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13264 long arg5 = (long) 0 ;
13265 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13266 wxString *arg6 = (wxString *) &arg6_defvalue ;
13267 wxPyVScrolledWindow *result = 0 ;
13268 void *argp1 = 0 ;
13269 int res1 = 0 ;
13270 int val2 ;
13271 int ecode2 = 0 ;
13272 wxPoint temp3 ;
13273 wxSize temp4 ;
13274 long val5 ;
13275 int ecode5 = 0 ;
13276 bool temp6 = false ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 PyObject * obj2 = 0 ;
13280 PyObject * obj3 = 0 ;
13281 PyObject * obj4 = 0 ;
13282 PyObject * obj5 = 0 ;
13283 char * kwnames[] = {
13284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13285 };
13286
13287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13289 if (!SWIG_IsOK(res1)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13291 }
13292 arg1 = reinterpret_cast< wxWindow * >(argp1);
13293 if (obj1) {
13294 ecode2 = SWIG_AsVal_int(obj1, &val2);
13295 if (!SWIG_IsOK(ecode2)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13297 }
13298 arg2 = static_cast< int >(val2);
13299 }
13300 if (obj2) {
13301 {
13302 arg3 = &temp3;
13303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13304 }
13305 }
13306 if (obj3) {
13307 {
13308 arg4 = &temp4;
13309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13310 }
13311 }
13312 if (obj4) {
13313 ecode5 = SWIG_AsVal_long(obj4, &val5);
13314 if (!SWIG_IsOK(ecode5)) {
13315 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13316 }
13317 arg5 = static_cast< long >(val5);
13318 }
13319 if (obj5) {
13320 {
13321 arg6 = wxString_in_helper(obj5);
13322 if (arg6 == NULL) SWIG_fail;
13323 temp6 = true;
13324 }
13325 }
13326 {
13327 if (!wxPyCheckForApp()) SWIG_fail;
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13334 {
13335 if (temp6)
13336 delete arg6;
13337 }
13338 return resultobj;
13339 fail:
13340 {
13341 if (temp6)
13342 delete arg6;
13343 }
13344 return NULL;
13345 }
13346
13347
13348 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13349 PyObject *resultobj = 0;
13350 wxPyVScrolledWindow *result = 0 ;
13351
13352 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13353 {
13354 if (!wxPyCheckForApp()) SWIG_fail;
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj = 0;
13369 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13370 PyObject *arg2 = (PyObject *) 0 ;
13371 PyObject *arg3 = (PyObject *) 0 ;
13372 void *argp1 = 0 ;
13373 int res1 = 0 ;
13374 PyObject * obj0 = 0 ;
13375 PyObject * obj1 = 0 ;
13376 PyObject * obj2 = 0 ;
13377 char * kwnames[] = {
13378 (char *) "self",(char *) "self",(char *) "_class", NULL
13379 };
13380
13381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13383 if (!SWIG_IsOK(res1)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13385 }
13386 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13387 arg2 = obj1;
13388 arg3 = obj2;
13389 {
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 (arg1)->_setCallbackInfo(arg2,arg3);
13392 wxPyEndAllowThreads(__tstate);
13393 if (PyErr_Occurred()) SWIG_fail;
13394 }
13395 resultobj = SWIG_Py_Void();
13396 return resultobj;
13397 fail:
13398 return NULL;
13399 }
13400
13401
13402 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13403 PyObject *resultobj = 0;
13404 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13405 wxWindow *arg2 = (wxWindow *) 0 ;
13406 int arg3 = (int) wxID_ANY ;
13407 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13408 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13409 wxSize const &arg5_defvalue = wxDefaultSize ;
13410 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13411 long arg6 = (long) 0 ;
13412 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13413 wxString *arg7 = (wxString *) &arg7_defvalue ;
13414 bool result;
13415 void *argp1 = 0 ;
13416 int res1 = 0 ;
13417 void *argp2 = 0 ;
13418 int res2 = 0 ;
13419 int val3 ;
13420 int ecode3 = 0 ;
13421 wxPoint temp4 ;
13422 wxSize temp5 ;
13423 long val6 ;
13424 int ecode6 = 0 ;
13425 bool temp7 = false ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 PyObject * obj3 = 0 ;
13430 PyObject * obj4 = 0 ;
13431 PyObject * obj5 = 0 ;
13432 PyObject * obj6 = 0 ;
13433 char * kwnames[] = {
13434 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13435 };
13436
13437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13439 if (!SWIG_IsOK(res1)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13441 }
13442 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13444 if (!SWIG_IsOK(res2)) {
13445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13446 }
13447 arg2 = reinterpret_cast< wxWindow * >(argp2);
13448 if (obj2) {
13449 ecode3 = SWIG_AsVal_int(obj2, &val3);
13450 if (!SWIG_IsOK(ecode3)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13452 }
13453 arg3 = static_cast< int >(val3);
13454 }
13455 if (obj3) {
13456 {
13457 arg4 = &temp4;
13458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13459 }
13460 }
13461 if (obj4) {
13462 {
13463 arg5 = &temp5;
13464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13465 }
13466 }
13467 if (obj5) {
13468 ecode6 = SWIG_AsVal_long(obj5, &val6);
13469 if (!SWIG_IsOK(ecode6)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13471 }
13472 arg6 = static_cast< long >(val6);
13473 }
13474 if (obj6) {
13475 {
13476 arg7 = wxString_in_helper(obj6);
13477 if (arg7 == NULL) SWIG_fail;
13478 temp7 = true;
13479 }
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 {
13488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13489 }
13490 {
13491 if (temp7)
13492 delete arg7;
13493 }
13494 return resultobj;
13495 fail:
13496 {
13497 if (temp7)
13498 delete arg7;
13499 }
13500 return NULL;
13501 }
13502
13503
13504 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj = 0;
13506 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13507 size_t arg2 ;
13508 void *argp1 = 0 ;
13509 int res1 = 0 ;
13510 size_t val2 ;
13511 int ecode2 = 0 ;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char * kwnames[] = {
13515 (char *) "self",(char *) "count", NULL
13516 };
13517
13518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13522 }
13523 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13524 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13525 if (!SWIG_IsOK(ecode2)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13527 }
13528 arg2 = static_cast< size_t >(val2);
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->SetLineCount(arg2);
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_Py_Void();
13536 return resultobj;
13537 fail:
13538 return NULL;
13539 }
13540
13541
13542 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj = 0;
13544 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13545 size_t arg2 ;
13546 bool result;
13547 void *argp1 = 0 ;
13548 int res1 = 0 ;
13549 size_t val2 ;
13550 int ecode2 = 0 ;
13551 PyObject * obj0 = 0 ;
13552 PyObject * obj1 = 0 ;
13553 char * kwnames[] = {
13554 (char *) "self",(char *) "line", NULL
13555 };
13556
13557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13559 if (!SWIG_IsOK(res1)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13561 }
13562 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13563 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13564 if (!SWIG_IsOK(ecode2)) {
13565 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13566 }
13567 arg2 = static_cast< size_t >(val2);
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)(arg1)->ScrollToLine(arg2);
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 {
13575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13576 }
13577 return resultobj;
13578 fail:
13579 return NULL;
13580 }
13581
13582
13583 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj = 0;
13585 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13586 size_t arg2 ;
13587 void *argp1 = 0 ;
13588 int res1 = 0 ;
13589 size_t val2 ;
13590 int ecode2 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 char * kwnames[] = {
13594 (char *) "self",(char *) "line", NULL
13595 };
13596
13597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13599 if (!SWIG_IsOK(res1)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13601 }
13602 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13603 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13604 if (!SWIG_IsOK(ecode2)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13606 }
13607 arg2 = static_cast< size_t >(val2);
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->RefreshLine(arg2);
13611 wxPyEndAllowThreads(__tstate);
13612 if (PyErr_Occurred()) SWIG_fail;
13613 }
13614 resultobj = SWIG_Py_Void();
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj = 0;
13623 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13624 size_t arg2 ;
13625 size_t arg3 ;
13626 void *argp1 = 0 ;
13627 int res1 = 0 ;
13628 size_t val2 ;
13629 int ecode2 = 0 ;
13630 size_t val3 ;
13631 int ecode3 = 0 ;
13632 PyObject * obj0 = 0 ;
13633 PyObject * obj1 = 0 ;
13634 PyObject * obj2 = 0 ;
13635 char * kwnames[] = {
13636 (char *) "self",(char *) "from",(char *) "to", NULL
13637 };
13638
13639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13641 if (!SWIG_IsOK(res1)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13643 }
13644 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13645 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13646 if (!SWIG_IsOK(ecode2)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13648 }
13649 arg2 = static_cast< size_t >(val2);
13650 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13651 if (!SWIG_IsOK(ecode3)) {
13652 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13653 }
13654 arg3 = static_cast< size_t >(val3);
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 (arg1)->RefreshLines(arg2,arg3);
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 resultobj = SWIG_Py_Void();
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj = 0;
13670 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13671 int arg2 ;
13672 int arg3 ;
13673 int result;
13674 void *argp1 = 0 ;
13675 int res1 = 0 ;
13676 int val2 ;
13677 int ecode2 = 0 ;
13678 int val3 ;
13679 int ecode3 = 0 ;
13680 PyObject * obj0 = 0 ;
13681 PyObject * obj1 = 0 ;
13682 PyObject * obj2 = 0 ;
13683 char * kwnames[] = {
13684 (char *) "self",(char *) "x",(char *) "y", NULL
13685 };
13686
13687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13689 if (!SWIG_IsOK(res1)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13691 }
13692 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13693 ecode2 = SWIG_AsVal_int(obj1, &val2);
13694 if (!SWIG_IsOK(ecode2)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13696 }
13697 arg2 = static_cast< int >(val2);
13698 ecode3 = SWIG_AsVal_int(obj2, &val3);
13699 if (!SWIG_IsOK(ecode3)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13701 }
13702 arg3 = static_cast< int >(val3);
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 resultobj = SWIG_From_int(static_cast< int >(result));
13710 return resultobj;
13711 fail:
13712 return NULL;
13713 }
13714
13715
13716 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj = 0;
13718 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13719 wxPoint *arg2 = 0 ;
13720 int result;
13721 void *argp1 = 0 ;
13722 int res1 = 0 ;
13723 wxPoint temp2 ;
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 char * kwnames[] = {
13727 (char *) "self",(char *) "pt", NULL
13728 };
13729
13730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13732 if (!SWIG_IsOK(res1)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13734 }
13735 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13736 {
13737 arg2 = &temp2;
13738 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13739 }
13740 {
13741 PyThreadState* __tstate = wxPyBeginAllowThreads();
13742 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 resultobj = SWIG_From_int(static_cast< int >(result));
13747 return resultobj;
13748 fail:
13749 return NULL;
13750 }
13751
13752
13753 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13754 PyObject *resultobj = 0;
13755 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13756 void *argp1 = 0 ;
13757 int res1 = 0 ;
13758 PyObject *swig_obj[1] ;
13759
13760 if (!args) SWIG_fail;
13761 swig_obj[0] = args;
13762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13763 if (!SWIG_IsOK(res1)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13765 }
13766 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 (arg1)->RefreshAll();
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 resultobj = SWIG_Py_Void();
13774 return resultobj;
13775 fail:
13776 return NULL;
13777 }
13778
13779
13780 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13781 PyObject *resultobj = 0;
13782 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13783 size_t result;
13784 void *argp1 = 0 ;
13785 int res1 = 0 ;
13786 PyObject *swig_obj[1] ;
13787
13788 if (!args) SWIG_fail;
13789 swig_obj[0] = args;
13790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13791 if (!SWIG_IsOK(res1)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13793 }
13794 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13809 PyObject *resultobj = 0;
13810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13811 size_t result;
13812 void *argp1 = 0 ;
13813 int res1 = 0 ;
13814 PyObject *swig_obj[1] ;
13815
13816 if (!args) SWIG_fail;
13817 swig_obj[0] = args;
13818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13819 if (!SWIG_IsOK(res1)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13821 }
13822 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13823 {
13824 PyThreadState* __tstate = wxPyBeginAllowThreads();
13825 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13830 return resultobj;
13831 fail:
13832 return NULL;
13833 }
13834
13835
13836 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13837 PyObject *resultobj = 0;
13838 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13839 size_t result;
13840 void *argp1 = 0 ;
13841 int res1 = 0 ;
13842 PyObject *swig_obj[1] ;
13843
13844 if (!args) SWIG_fail;
13845 swig_obj[0] = args;
13846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13847 if (!SWIG_IsOK(res1)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13849 }
13850 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13858 return resultobj;
13859 fail:
13860 return NULL;
13861 }
13862
13863
13864 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13865 PyObject *resultobj = 0;
13866 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13867 size_t arg2 ;
13868 bool result;
13869 void *argp1 = 0 ;
13870 int res1 = 0 ;
13871 size_t val2 ;
13872 int ecode2 = 0 ;
13873 PyObject * obj0 = 0 ;
13874 PyObject * obj1 = 0 ;
13875 char * kwnames[] = {
13876 (char *) "self",(char *) "line", NULL
13877 };
13878
13879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13881 if (!SWIG_IsOK(res1)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13883 }
13884 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13885 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13886 if (!SWIG_IsOK(ecode2)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13888 }
13889 arg2 = static_cast< size_t >(val2);
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13898 }
13899 return resultobj;
13900 fail:
13901 return NULL;
13902 }
13903
13904
13905 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13906 PyObject *resultobj = 0;
13907 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13908 size_t result;
13909 void *argp1 = 0 ;
13910 int res1 = 0 ;
13911 PyObject *swig_obj[1] ;
13912
13913 if (!args) SWIG_fail;
13914 swig_obj[0] = args;
13915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13916 if (!SWIG_IsOK(res1)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13918 }
13919 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13927 return resultobj;
13928 fail:
13929 return NULL;
13930 }
13931
13932
13933 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13934 PyObject *resultobj = 0;
13935 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13936 size_t result;
13937 void *argp1 = 0 ;
13938 int res1 = 0 ;
13939 PyObject *swig_obj[1] ;
13940
13941 if (!args) SWIG_fail;
13942 swig_obj[0] = args;
13943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13944 if (!SWIG_IsOK(res1)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13946 }
13947 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13955 return resultobj;
13956 fail:
13957 return NULL;
13958 }
13959
13960
13961 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj = 0;
13963 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13964 size_t arg2 ;
13965 bool arg3 = (bool) false ;
13966 size_t result;
13967 void *argp1 = 0 ;
13968 int res1 = 0 ;
13969 size_t val2 ;
13970 int ecode2 = 0 ;
13971 bool val3 ;
13972 int ecode3 = 0 ;
13973 PyObject * obj0 = 0 ;
13974 PyObject * obj1 = 0 ;
13975 PyObject * obj2 = 0 ;
13976 char * kwnames[] = {
13977 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13978 };
13979
13980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13982 if (!SWIG_IsOK(res1)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13984 }
13985 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13986 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13987 if (!SWIG_IsOK(ecode2)) {
13988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13989 }
13990 arg2 = static_cast< size_t >(val2);
13991 if (obj2) {
13992 ecode3 = SWIG_AsVal_bool(obj2, &val3);
13993 if (!SWIG_IsOK(ecode3)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13995 }
13996 arg3 = static_cast< bool >(val3);
13997 }
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj = 0;
14013 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14014 size_t arg2 ;
14015 size_t arg3 ;
14016 int result;
14017 void *argp1 = 0 ;
14018 int res1 = 0 ;
14019 size_t val2 ;
14020 int ecode2 = 0 ;
14021 size_t val3 ;
14022 int ecode3 = 0 ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 char * kwnames[] = {
14027 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14028 };
14029
14030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14032 if (!SWIG_IsOK(res1)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14034 }
14035 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14036 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14037 if (!SWIG_IsOK(ecode2)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14039 }
14040 arg2 = static_cast< size_t >(val2);
14041 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14042 if (!SWIG_IsOK(ecode3)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14044 }
14045 arg3 = static_cast< size_t >(val3);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 resultobj = SWIG_From_int(static_cast< int >(result));
14053 return resultobj;
14054 fail:
14055 return NULL;
14056 }
14057
14058
14059 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14060 PyObject *obj;
14061 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14062 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14063 return SWIG_Py_Void();
14064 }
14065
14066 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14067 return SWIG_Python_InitShadowInstance(args);
14068 }
14069
14070 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14071 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14072 return 1;
14073 }
14074
14075
14076 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14077 PyObject *pyobj = 0;
14078
14079 {
14080 #if wxUSE_UNICODE
14081 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14082 #else
14083 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14084 #endif
14085 }
14086 return pyobj;
14087 }
14088
14089
14090 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14091 PyObject *resultobj = 0;
14092 wxWindow *arg1 = (wxWindow *) 0 ;
14093 int arg2 = (int) wxID_ANY ;
14094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14096 wxSize const &arg4_defvalue = wxDefaultSize ;
14097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14098 long arg5 = (long) 0 ;
14099 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14100 wxString *arg6 = (wxString *) &arg6_defvalue ;
14101 wxPyVListBox *result = 0 ;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 int val2 ;
14105 int ecode2 = 0 ;
14106 wxPoint temp3 ;
14107 wxSize temp4 ;
14108 long val5 ;
14109 int ecode5 = 0 ;
14110 bool temp6 = false ;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 PyObject * obj2 = 0 ;
14114 PyObject * obj3 = 0 ;
14115 PyObject * obj4 = 0 ;
14116 PyObject * obj5 = 0 ;
14117 char * kwnames[] = {
14118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14119 };
14120
14121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14123 if (!SWIG_IsOK(res1)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14125 }
14126 arg1 = reinterpret_cast< wxWindow * >(argp1);
14127 if (obj1) {
14128 ecode2 = SWIG_AsVal_int(obj1, &val2);
14129 if (!SWIG_IsOK(ecode2)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14131 }
14132 arg2 = static_cast< int >(val2);
14133 }
14134 if (obj2) {
14135 {
14136 arg3 = &temp3;
14137 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14138 }
14139 }
14140 if (obj3) {
14141 {
14142 arg4 = &temp4;
14143 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14144 }
14145 }
14146 if (obj4) {
14147 ecode5 = SWIG_AsVal_long(obj4, &val5);
14148 if (!SWIG_IsOK(ecode5)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14150 }
14151 arg5 = static_cast< long >(val5);
14152 }
14153 if (obj5) {
14154 {
14155 arg6 = wxString_in_helper(obj5);
14156 if (arg6 == NULL) SWIG_fail;
14157 temp6 = true;
14158 }
14159 }
14160 {
14161 if (!wxPyCheckForApp()) SWIG_fail;
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14168 {
14169 if (temp6)
14170 delete arg6;
14171 }
14172 return resultobj;
14173 fail:
14174 {
14175 if (temp6)
14176 delete arg6;
14177 }
14178 return NULL;
14179 }
14180
14181
14182 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14183 PyObject *resultobj = 0;
14184 wxPyVListBox *result = 0 ;
14185
14186 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14187 {
14188 if (!wxPyCheckForApp()) SWIG_fail;
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (wxPyVListBox *)new wxPyVListBox();
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj = 0;
14203 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14204 PyObject *arg2 = (PyObject *) 0 ;
14205 PyObject *arg3 = (PyObject *) 0 ;
14206 void *argp1 = 0 ;
14207 int res1 = 0 ;
14208 PyObject * obj0 = 0 ;
14209 PyObject * obj1 = 0 ;
14210 PyObject * obj2 = 0 ;
14211 char * kwnames[] = {
14212 (char *) "self",(char *) "self",(char *) "_class", NULL
14213 };
14214
14215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14217 if (!SWIG_IsOK(res1)) {
14218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14219 }
14220 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14221 arg2 = obj1;
14222 arg3 = obj2;
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 (arg1)->_setCallbackInfo(arg2,arg3);
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 resultobj = SWIG_Py_Void();
14230 return resultobj;
14231 fail:
14232 return NULL;
14233 }
14234
14235
14236 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj = 0;
14238 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14239 wxWindow *arg2 = (wxWindow *) 0 ;
14240 int arg3 = (int) wxID_ANY ;
14241 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14242 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14243 wxSize const &arg5_defvalue = wxDefaultSize ;
14244 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14245 long arg6 = (long) 0 ;
14246 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14247 wxString *arg7 = (wxString *) &arg7_defvalue ;
14248 bool result;
14249 void *argp1 = 0 ;
14250 int res1 = 0 ;
14251 void *argp2 = 0 ;
14252 int res2 = 0 ;
14253 int val3 ;
14254 int ecode3 = 0 ;
14255 wxPoint temp4 ;
14256 wxSize temp5 ;
14257 long val6 ;
14258 int ecode6 = 0 ;
14259 bool temp7 = false ;
14260 PyObject * obj0 = 0 ;
14261 PyObject * obj1 = 0 ;
14262 PyObject * obj2 = 0 ;
14263 PyObject * obj3 = 0 ;
14264 PyObject * obj4 = 0 ;
14265 PyObject * obj5 = 0 ;
14266 PyObject * obj6 = 0 ;
14267 char * kwnames[] = {
14268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14269 };
14270
14271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14273 if (!SWIG_IsOK(res1)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14275 }
14276 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14278 if (!SWIG_IsOK(res2)) {
14279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14280 }
14281 arg2 = reinterpret_cast< wxWindow * >(argp2);
14282 if (obj2) {
14283 ecode3 = SWIG_AsVal_int(obj2, &val3);
14284 if (!SWIG_IsOK(ecode3)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14286 }
14287 arg3 = static_cast< int >(val3);
14288 }
14289 if (obj3) {
14290 {
14291 arg4 = &temp4;
14292 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14293 }
14294 }
14295 if (obj4) {
14296 {
14297 arg5 = &temp5;
14298 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14299 }
14300 }
14301 if (obj5) {
14302 ecode6 = SWIG_AsVal_long(obj5, &val6);
14303 if (!SWIG_IsOK(ecode6)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14305 }
14306 arg6 = static_cast< long >(val6);
14307 }
14308 if (obj6) {
14309 {
14310 arg7 = wxString_in_helper(obj6);
14311 if (arg7 == NULL) SWIG_fail;
14312 temp7 = true;
14313 }
14314 }
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 {
14322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14323 }
14324 {
14325 if (temp7)
14326 delete arg7;
14327 }
14328 return resultobj;
14329 fail:
14330 {
14331 if (temp7)
14332 delete arg7;
14333 }
14334 return NULL;
14335 }
14336
14337
14338 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14339 PyObject *resultobj = 0;
14340 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14341 size_t result;
14342 void *argp1 = 0 ;
14343 int res1 = 0 ;
14344 PyObject *swig_obj[1] ;
14345
14346 if (!args) SWIG_fail;
14347 swig_obj[0] = args;
14348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14349 if (!SWIG_IsOK(res1)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14351 }
14352 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14367 PyObject *resultobj = 0;
14368 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14369 bool result;
14370 void *argp1 = 0 ;
14371 int res1 = 0 ;
14372 PyObject *swig_obj[1] ;
14373
14374 if (!args) SWIG_fail;
14375 swig_obj[0] = args;
14376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14377 if (!SWIG_IsOK(res1)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14379 }
14380 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 {
14388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14389 }
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14397 PyObject *resultobj = 0;
14398 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14399 int result;
14400 void *argp1 = 0 ;
14401 int res1 = 0 ;
14402 PyObject *swig_obj[1] ;
14403
14404 if (!args) SWIG_fail;
14405 swig_obj[0] = args;
14406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14407 if (!SWIG_IsOK(res1)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14409 }
14410 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = SWIG_From_int(static_cast< int >(result));
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj = 0;
14426 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14427 size_t arg2 ;
14428 bool result;
14429 void *argp1 = 0 ;
14430 int res1 = 0 ;
14431 size_t val2 ;
14432 int ecode2 = 0 ;
14433 PyObject * obj0 = 0 ;
14434 PyObject * obj1 = 0 ;
14435 char * kwnames[] = {
14436 (char *) "self",(char *) "item", NULL
14437 };
14438
14439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14441 if (!SWIG_IsOK(res1)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14443 }
14444 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14445 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14446 if (!SWIG_IsOK(ecode2)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14448 }
14449 arg2 = static_cast< size_t >(val2);
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14458 }
14459 return resultobj;
14460 fail:
14461 return NULL;
14462 }
14463
14464
14465 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14466 PyObject *resultobj = 0;
14467 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14468 size_t arg2 ;
14469 bool result;
14470 void *argp1 = 0 ;
14471 int res1 = 0 ;
14472 size_t val2 ;
14473 int ecode2 = 0 ;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 char * kwnames[] = {
14477 (char *) "self",(char *) "item", NULL
14478 };
14479
14480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14482 if (!SWIG_IsOK(res1)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14484 }
14485 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14486 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14487 if (!SWIG_IsOK(ecode2)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14489 }
14490 arg2 = static_cast< size_t >(val2);
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14499 }
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14507 PyObject *resultobj = 0;
14508 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14509 size_t result;
14510 void *argp1 = 0 ;
14511 int res1 = 0 ;
14512 PyObject *swig_obj[1] ;
14513
14514 if (!args) SWIG_fail;
14515 swig_obj[0] = args;
14516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14517 if (!SWIG_IsOK(res1)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14519 }
14520 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14535 PyObject *resultobj = 0;
14536 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14537 PyObject *result = 0 ;
14538 void *argp1 = 0 ;
14539 int res1 = 0 ;
14540 PyObject *swig_obj[1] ;
14541
14542 if (!args) SWIG_fail;
14543 swig_obj[0] = args;
14544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14545 if (!SWIG_IsOK(res1)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14547 }
14548 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14552 wxPyEndAllowThreads(__tstate);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 resultobj = result;
14556 return resultobj;
14557 fail:
14558 return NULL;
14559 }
14560
14561
14562 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14563 PyObject *resultobj = 0;
14564 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14565 unsigned long arg2 ;
14566 PyObject *result = 0 ;
14567 void *argp1 = 0 ;
14568 int res1 = 0 ;
14569 unsigned long val2 ;
14570 int ecode2 = 0 ;
14571 PyObject * obj0 = 0 ;
14572 PyObject * obj1 = 0 ;
14573 char * kwnames[] = {
14574 (char *) "self",(char *) "cookie", NULL
14575 };
14576
14577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14579 if (!SWIG_IsOK(res1)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14581 }
14582 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14583 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14584 if (!SWIG_IsOK(ecode2)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14586 }
14587 arg2 = static_cast< unsigned long >(val2);
14588 {
14589 PyThreadState* __tstate = wxPyBeginAllowThreads();
14590 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = result;
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14602 PyObject *resultobj = 0;
14603 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14604 wxPoint result;
14605 void *argp1 = 0 ;
14606 int res1 = 0 ;
14607 PyObject *swig_obj[1] ;
14608
14609 if (!args) SWIG_fail;
14610 swig_obj[0] = args;
14611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14612 if (!SWIG_IsOK(res1)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14614 }
14615 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = ((wxPyVListBox const *)arg1)->GetMargins();
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14630 PyObject *resultobj = 0;
14631 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14632 wxColour *result = 0 ;
14633 void *argp1 = 0 ;
14634 int res1 = 0 ;
14635 PyObject *swig_obj[1] ;
14636
14637 if (!args) SWIG_fail;
14638 swig_obj[0] = args;
14639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14640 if (!SWIG_IsOK(res1)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14642 }
14643 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 {
14647 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14648 result = (wxColour *) &_result_ref;
14649 }
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14654 return resultobj;
14655 fail:
14656 return NULL;
14657 }
14658
14659
14660 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14661 PyObject *resultobj = 0;
14662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14663 size_t arg2 ;
14664 void *argp1 = 0 ;
14665 int res1 = 0 ;
14666 size_t val2 ;
14667 int ecode2 = 0 ;
14668 PyObject * obj0 = 0 ;
14669 PyObject * obj1 = 0 ;
14670 char * kwnames[] = {
14671 (char *) "self",(char *) "count", NULL
14672 };
14673
14674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14676 if (!SWIG_IsOK(res1)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14678 }
14679 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14680 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14681 if (!SWIG_IsOK(ecode2)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14683 }
14684 arg2 = static_cast< size_t >(val2);
14685 {
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 (arg1)->SetItemCount(arg2);
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 resultobj = SWIG_Py_Void();
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14699 PyObject *resultobj = 0;
14700 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14701 void *argp1 = 0 ;
14702 int res1 = 0 ;
14703 PyObject *swig_obj[1] ;
14704
14705 if (!args) SWIG_fail;
14706 swig_obj[0] = args;
14707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14708 if (!SWIG_IsOK(res1)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14710 }
14711 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 (arg1)->Clear();
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 resultobj = SWIG_Py_Void();
14719 return resultobj;
14720 fail:
14721 return NULL;
14722 }
14723
14724
14725 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14726 PyObject *resultobj = 0;
14727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14728 int arg2 ;
14729 void *argp1 = 0 ;
14730 int res1 = 0 ;
14731 int val2 ;
14732 int ecode2 = 0 ;
14733 PyObject * obj0 = 0 ;
14734 PyObject * obj1 = 0 ;
14735 char * kwnames[] = {
14736 (char *) "self",(char *) "selection", NULL
14737 };
14738
14739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14741 if (!SWIG_IsOK(res1)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14743 }
14744 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14745 ecode2 = SWIG_AsVal_int(obj1, &val2);
14746 if (!SWIG_IsOK(ecode2)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14748 }
14749 arg2 = static_cast< int >(val2);
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 (arg1)->SetSelection(arg2);
14753 wxPyEndAllowThreads(__tstate);
14754 if (PyErr_Occurred()) SWIG_fail;
14755 }
14756 resultobj = SWIG_Py_Void();
14757 return resultobj;
14758 fail:
14759 return NULL;
14760 }
14761
14762
14763 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj = 0;
14765 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14766 size_t arg2 ;
14767 bool arg3 = (bool) true ;
14768 bool result;
14769 void *argp1 = 0 ;
14770 int res1 = 0 ;
14771 size_t val2 ;
14772 int ecode2 = 0 ;
14773 bool val3 ;
14774 int ecode3 = 0 ;
14775 PyObject * obj0 = 0 ;
14776 PyObject * obj1 = 0 ;
14777 PyObject * obj2 = 0 ;
14778 char * kwnames[] = {
14779 (char *) "self",(char *) "item",(char *) "select", NULL
14780 };
14781
14782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14784 if (!SWIG_IsOK(res1)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14786 }
14787 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14788 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14789 if (!SWIG_IsOK(ecode2)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14791 }
14792 arg2 = static_cast< size_t >(val2);
14793 if (obj2) {
14794 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14795 if (!SWIG_IsOK(ecode3)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14797 }
14798 arg3 = static_cast< bool >(val3);
14799 }
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (bool)(arg1)->Select(arg2,arg3);
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 {
14807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14808 }
14809 return resultobj;
14810 fail:
14811 return NULL;
14812 }
14813
14814
14815 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14816 PyObject *resultobj = 0;
14817 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14818 size_t arg2 ;
14819 size_t arg3 ;
14820 bool result;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 size_t val2 ;
14824 int ecode2 = 0 ;
14825 size_t val3 ;
14826 int ecode3 = 0 ;
14827 PyObject * obj0 = 0 ;
14828 PyObject * obj1 = 0 ;
14829 PyObject * obj2 = 0 ;
14830 char * kwnames[] = {
14831 (char *) "self",(char *) "from",(char *) "to", NULL
14832 };
14833
14834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14836 if (!SWIG_IsOK(res1)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14838 }
14839 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14840 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14841 if (!SWIG_IsOK(ecode2)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14843 }
14844 arg2 = static_cast< size_t >(val2);
14845 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14846 if (!SWIG_IsOK(ecode3)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14848 }
14849 arg3 = static_cast< size_t >(val3);
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 result = (bool)(arg1)->SelectRange(arg2,arg3);
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 {
14857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14858 }
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj = 0;
14867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14868 size_t arg2 ;
14869 void *argp1 = 0 ;
14870 int res1 = 0 ;
14871 size_t val2 ;
14872 int ecode2 = 0 ;
14873 PyObject * obj0 = 0 ;
14874 PyObject * obj1 = 0 ;
14875 char * kwnames[] = {
14876 (char *) "self",(char *) "item", NULL
14877 };
14878
14879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14881 if (!SWIG_IsOK(res1)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14883 }
14884 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14885 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14886 if (!SWIG_IsOK(ecode2)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14888 }
14889 arg2 = static_cast< size_t >(val2);
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 (arg1)->Toggle(arg2);
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 resultobj = SWIG_Py_Void();
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14904 PyObject *resultobj = 0;
14905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14906 bool result;
14907 void *argp1 = 0 ;
14908 int res1 = 0 ;
14909 PyObject *swig_obj[1] ;
14910
14911 if (!args) SWIG_fail;
14912 swig_obj[0] = args;
14913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14914 if (!SWIG_IsOK(res1)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14916 }
14917 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (bool)(arg1)->SelectAll();
14921 wxPyEndAllowThreads(__tstate);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 {
14925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14926 }
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14934 PyObject *resultobj = 0;
14935 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14936 bool result;
14937 void *argp1 = 0 ;
14938 int res1 = 0 ;
14939 PyObject *swig_obj[1] ;
14940
14941 if (!args) SWIG_fail;
14942 swig_obj[0] = args;
14943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14944 if (!SWIG_IsOK(res1)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14946 }
14947 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = (bool)(arg1)->DeselectAll();
14951 wxPyEndAllowThreads(__tstate);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 {
14955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14956 }
14957 return resultobj;
14958 fail:
14959 return NULL;
14960 }
14961
14962
14963 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14964 PyObject *resultobj = 0;
14965 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14966 wxPoint *arg2 = 0 ;
14967 void *argp1 = 0 ;
14968 int res1 = 0 ;
14969 wxPoint temp2 ;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 char * kwnames[] = {
14973 (char *) "self",(char *) "pt", NULL
14974 };
14975
14976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
14977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14978 if (!SWIG_IsOK(res1)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14980 }
14981 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14982 {
14983 arg2 = &temp2;
14984 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14985 }
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 (arg1)->SetMargins((wxPoint const &)*arg2);
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 resultobj = SWIG_Py_Void();
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj = 0;
15001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15002 int arg2 ;
15003 int arg3 ;
15004 void *argp1 = 0 ;
15005 int res1 = 0 ;
15006 int val2 ;
15007 int ecode2 = 0 ;
15008 int val3 ;
15009 int ecode3 = 0 ;
15010 PyObject * obj0 = 0 ;
15011 PyObject * obj1 = 0 ;
15012 PyObject * obj2 = 0 ;
15013 char * kwnames[] = {
15014 (char *) "self",(char *) "x",(char *) "y", NULL
15015 };
15016
15017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15019 if (!SWIG_IsOK(res1)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15021 }
15022 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15023 ecode2 = SWIG_AsVal_int(obj1, &val2);
15024 if (!SWIG_IsOK(ecode2)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15026 }
15027 arg2 = static_cast< int >(val2);
15028 ecode3 = SWIG_AsVal_int(obj2, &val3);
15029 if (!SWIG_IsOK(ecode3)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15031 }
15032 arg3 = static_cast< int >(val3);
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->SetMargins(arg2,arg3);
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_Py_Void();
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj = 0;
15048 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15049 wxColour *arg2 = 0 ;
15050 void *argp1 = 0 ;
15051 int res1 = 0 ;
15052 wxColour temp2 ;
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 char * kwnames[] = {
15056 (char *) "self",(char *) "col", NULL
15057 };
15058
15059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15061 if (!SWIG_IsOK(res1)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15063 }
15064 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15065 {
15066 arg2 = &temp2;
15067 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15068 }
15069 {
15070 PyThreadState* __tstate = wxPyBeginAllowThreads();
15071 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15072 wxPyEndAllowThreads(__tstate);
15073 if (PyErr_Occurred()) SWIG_fail;
15074 }
15075 resultobj = SWIG_Py_Void();
15076 return resultobj;
15077 fail:
15078 return NULL;
15079 }
15080
15081
15082 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj = 0;
15084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15085 wxDC *arg2 = 0 ;
15086 wxRect *arg3 = 0 ;
15087 size_t arg4 ;
15088 void *argp1 = 0 ;
15089 int res1 = 0 ;
15090 void *argp2 = 0 ;
15091 int res2 = 0 ;
15092 wxRect temp3 ;
15093 size_t val4 ;
15094 int ecode4 = 0 ;
15095 PyObject * obj0 = 0 ;
15096 PyObject * obj1 = 0 ;
15097 PyObject * obj2 = 0 ;
15098 PyObject * obj3 = 0 ;
15099 char * kwnames[] = {
15100 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15101 };
15102
15103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15105 if (!SWIG_IsOK(res1)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15107 }
15108 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15109 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15110 if (!SWIG_IsOK(res2)) {
15111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15112 }
15113 if (!argp2) {
15114 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15115 }
15116 arg2 = reinterpret_cast< wxDC * >(argp2);
15117 {
15118 arg3 = &temp3;
15119 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15120 }
15121 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15122 if (!SWIG_IsOK(ecode4)) {
15123 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15124 }
15125 arg4 = static_cast< size_t >(val4);
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_Py_Void();
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15142 wxDC *arg2 = 0 ;
15143 wxRect *arg3 = 0 ;
15144 size_t arg4 ;
15145 void *argp1 = 0 ;
15146 int res1 = 0 ;
15147 void *argp2 = 0 ;
15148 int res2 = 0 ;
15149 wxRect temp3 ;
15150 size_t val4 ;
15151 int ecode4 = 0 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 PyObject * obj2 = 0 ;
15155 PyObject * obj3 = 0 ;
15156 char * kwnames[] = {
15157 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15158 };
15159
15160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15162 if (!SWIG_IsOK(res1)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15164 }
15165 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15167 if (!SWIG_IsOK(res2)) {
15168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15169 }
15170 if (!argp2) {
15171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15172 }
15173 arg2 = reinterpret_cast< wxDC * >(argp2);
15174 {
15175 arg3 = &temp3;
15176 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15177 }
15178 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15179 if (!SWIG_IsOK(ecode4)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15181 }
15182 arg4 = static_cast< size_t >(val4);
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 resultobj = SWIG_Py_Void();
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15197 PyObject *obj;
15198 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15200 return SWIG_Py_Void();
15201 }
15202
15203 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15204 return SWIG_Python_InitShadowInstance(args);
15205 }
15206
15207 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj = 0;
15209 wxWindow *arg1 = (wxWindow *) 0 ;
15210 int arg2 = (int) wxID_ANY ;
15211 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15212 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15213 wxSize const &arg4_defvalue = wxDefaultSize ;
15214 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15215 long arg5 = (long) 0 ;
15216 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15217 wxString *arg6 = (wxString *) &arg6_defvalue ;
15218 wxPyHtmlListBox *result = 0 ;
15219 void *argp1 = 0 ;
15220 int res1 = 0 ;
15221 int val2 ;
15222 int ecode2 = 0 ;
15223 wxPoint temp3 ;
15224 wxSize temp4 ;
15225 long val5 ;
15226 int ecode5 = 0 ;
15227 bool temp6 = false ;
15228 PyObject * obj0 = 0 ;
15229 PyObject * obj1 = 0 ;
15230 PyObject * obj2 = 0 ;
15231 PyObject * obj3 = 0 ;
15232 PyObject * obj4 = 0 ;
15233 PyObject * obj5 = 0 ;
15234 char * kwnames[] = {
15235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15236 };
15237
15238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15240 if (!SWIG_IsOK(res1)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15242 }
15243 arg1 = reinterpret_cast< wxWindow * >(argp1);
15244 if (obj1) {
15245 ecode2 = SWIG_AsVal_int(obj1, &val2);
15246 if (!SWIG_IsOK(ecode2)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15248 }
15249 arg2 = static_cast< int >(val2);
15250 }
15251 if (obj2) {
15252 {
15253 arg3 = &temp3;
15254 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15255 }
15256 }
15257 if (obj3) {
15258 {
15259 arg4 = &temp4;
15260 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15261 }
15262 }
15263 if (obj4) {
15264 ecode5 = SWIG_AsVal_long(obj4, &val5);
15265 if (!SWIG_IsOK(ecode5)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15267 }
15268 arg5 = static_cast< long >(val5);
15269 }
15270 if (obj5) {
15271 {
15272 arg6 = wxString_in_helper(obj5);
15273 if (arg6 == NULL) SWIG_fail;
15274 temp6 = true;
15275 }
15276 }
15277 {
15278 if (!wxPyCheckForApp()) SWIG_fail;
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15285 {
15286 if (temp6)
15287 delete arg6;
15288 }
15289 return resultobj;
15290 fail:
15291 {
15292 if (temp6)
15293 delete arg6;
15294 }
15295 return NULL;
15296 }
15297
15298
15299 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15300 PyObject *resultobj = 0;
15301 wxPyHtmlListBox *result = 0 ;
15302
15303 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15304 {
15305 if (!wxPyCheckForApp()) SWIG_fail;
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15312 return resultobj;
15313 fail:
15314 return NULL;
15315 }
15316
15317
15318 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj = 0;
15320 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15321 PyObject *arg2 = (PyObject *) 0 ;
15322 PyObject *arg3 = (PyObject *) 0 ;
15323 void *argp1 = 0 ;
15324 int res1 = 0 ;
15325 PyObject * obj0 = 0 ;
15326 PyObject * obj1 = 0 ;
15327 PyObject * obj2 = 0 ;
15328 char * kwnames[] = {
15329 (char *) "self",(char *) "self",(char *) "_class", NULL
15330 };
15331
15332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15334 if (!SWIG_IsOK(res1)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15336 }
15337 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15338 arg2 = obj1;
15339 arg3 = obj2;
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 (arg1)->_setCallbackInfo(arg2,arg3);
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 resultobj = SWIG_Py_Void();
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj = 0;
15355 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15356 wxWindow *arg2 = (wxWindow *) 0 ;
15357 int arg3 = (int) wxID_ANY ;
15358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15360 wxSize const &arg5_defvalue = wxDefaultSize ;
15361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15362 long arg6 = (long) 0 ;
15363 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15364 wxString *arg7 = (wxString *) &arg7_defvalue ;
15365 bool result;
15366 void *argp1 = 0 ;
15367 int res1 = 0 ;
15368 void *argp2 = 0 ;
15369 int res2 = 0 ;
15370 int val3 ;
15371 int ecode3 = 0 ;
15372 wxPoint temp4 ;
15373 wxSize temp5 ;
15374 long val6 ;
15375 int ecode6 = 0 ;
15376 bool temp7 = false ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 PyObject * obj2 = 0 ;
15380 PyObject * obj3 = 0 ;
15381 PyObject * obj4 = 0 ;
15382 PyObject * obj5 = 0 ;
15383 PyObject * obj6 = 0 ;
15384 char * kwnames[] = {
15385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15386 };
15387
15388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15390 if (!SWIG_IsOK(res1)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15392 }
15393 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15395 if (!SWIG_IsOK(res2)) {
15396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15397 }
15398 arg2 = reinterpret_cast< wxWindow * >(argp2);
15399 if (obj2) {
15400 ecode3 = SWIG_AsVal_int(obj2, &val3);
15401 if (!SWIG_IsOK(ecode3)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15403 }
15404 arg3 = static_cast< int >(val3);
15405 }
15406 if (obj3) {
15407 {
15408 arg4 = &temp4;
15409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15410 }
15411 }
15412 if (obj4) {
15413 {
15414 arg5 = &temp5;
15415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15416 }
15417 }
15418 if (obj5) {
15419 ecode6 = SWIG_AsVal_long(obj5, &val6);
15420 if (!SWIG_IsOK(ecode6)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15422 }
15423 arg6 = static_cast< long >(val6);
15424 }
15425 if (obj6) {
15426 {
15427 arg7 = wxString_in_helper(obj6);
15428 if (arg7 == NULL) SWIG_fail;
15429 temp7 = true;
15430 }
15431 }
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 {
15439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15440 }
15441 {
15442 if (temp7)
15443 delete arg7;
15444 }
15445 return resultobj;
15446 fail:
15447 {
15448 if (temp7)
15449 delete arg7;
15450 }
15451 return NULL;
15452 }
15453
15454
15455 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj = 0;
15457 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15458 size_t arg2 ;
15459 void *argp1 = 0 ;
15460 int res1 = 0 ;
15461 size_t val2 ;
15462 int ecode2 = 0 ;
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 char * kwnames[] = {
15466 (char *) "self",(char *) "count", NULL
15467 };
15468
15469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15471 if (!SWIG_IsOK(res1)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15473 }
15474 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15475 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15476 if (!SWIG_IsOK(ecode2)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15478 }
15479 arg2 = static_cast< size_t >(val2);
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->SetItemCount(arg2);
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_Py_Void();
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15494 PyObject *resultobj = 0;
15495 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15496 wxFileSystem *result = 0 ;
15497 void *argp1 = 0 ;
15498 int res1 = 0 ;
15499 PyObject *swig_obj[1] ;
15500
15501 if (!args) SWIG_fail;
15502 swig_obj[0] = args;
15503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15504 if (!SWIG_IsOK(res1)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15506 }
15507 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 {
15511 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15512 result = (wxFileSystem *) &_result_ref;
15513 }
15514 wxPyEndAllowThreads(__tstate);
15515 if (PyErr_Occurred()) SWIG_fail;
15516 }
15517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15518 return resultobj;
15519 fail:
15520 return NULL;
15521 }
15522
15523
15524 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj = 0;
15526 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15527 size_t arg2 ;
15528 wxHtmlLinkInfo *arg3 = 0 ;
15529 void *argp1 = 0 ;
15530 int res1 = 0 ;
15531 size_t val2 ;
15532 int ecode2 = 0 ;
15533 void *argp3 = 0 ;
15534 int res3 = 0 ;
15535 PyObject * obj0 = 0 ;
15536 PyObject * obj1 = 0 ;
15537 PyObject * obj2 = 0 ;
15538 char * kwnames[] = {
15539 (char *) "self",(char *) "n",(char *) "link", NULL
15540 };
15541
15542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15544 if (!SWIG_IsOK(res1)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15546 }
15547 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15548 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15549 if (!SWIG_IsOK(ecode2)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15551 }
15552 arg2 = static_cast< size_t >(val2);
15553 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15554 if (!SWIG_IsOK(res3)) {
15555 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15556 }
15557 if (!argp3) {
15558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15559 }
15560 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 resultobj = SWIG_Py_Void();
15568 return resultobj;
15569 fail:
15570 return NULL;
15571 }
15572
15573
15574 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15575 PyObject *obj;
15576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15577 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15578 return SWIG_Py_Void();
15579 }
15580
15581 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15582 return SWIG_Python_InitShadowInstance(args);
15583 }
15584
15585 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15586 PyObject *resultobj = 0;
15587 wxPyTaskBarIcon *result = 0 ;
15588
15589 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15590 {
15591 if (!wxPyCheckForApp()) SWIG_fail;
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15598 return resultobj;
15599 fail:
15600 return NULL;
15601 }
15602
15603
15604 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15605 PyObject *resultobj = 0;
15606 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15607 void *argp1 = 0 ;
15608 int res1 = 0 ;
15609 PyObject *swig_obj[1] ;
15610
15611 if (!args) SWIG_fail;
15612 swig_obj[0] = args;
15613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15614 if (!SWIG_IsOK(res1)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15616 }
15617 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 delete arg1;
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 resultobj = SWIG_Py_Void();
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj = 0;
15634 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15635 PyObject *arg2 = (PyObject *) 0 ;
15636 PyObject *arg3 = (PyObject *) 0 ;
15637 int arg4 ;
15638 void *argp1 = 0 ;
15639 int res1 = 0 ;
15640 int val4 ;
15641 int ecode4 = 0 ;
15642 PyObject * obj0 = 0 ;
15643 PyObject * obj1 = 0 ;
15644 PyObject * obj2 = 0 ;
15645 PyObject * obj3 = 0 ;
15646 char * kwnames[] = {
15647 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15648 };
15649
15650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15652 if (!SWIG_IsOK(res1)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15654 }
15655 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15656 arg2 = obj1;
15657 arg3 = obj2;
15658 ecode4 = SWIG_AsVal_int(obj3, &val4);
15659 if (!SWIG_IsOK(ecode4)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15661 }
15662 arg4 = static_cast< int >(val4);
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 resultobj = SWIG_Py_Void();
15670 return resultobj;
15671 fail:
15672 return NULL;
15673 }
15674
15675
15676 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15677 PyObject *resultobj = 0;
15678 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15679 void *argp1 = 0 ;
15680 int res1 = 0 ;
15681 PyObject *swig_obj[1] ;
15682
15683 if (!args) SWIG_fail;
15684 swig_obj[0] = args;
15685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15686 if (!SWIG_IsOK(res1)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15688 }
15689 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 wxPyTaskBarIcon_Destroy(arg1);
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = SWIG_Py_Void();
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15704 PyObject *resultobj = 0;
15705 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15706 bool result;
15707 void *argp1 = 0 ;
15708 int res1 = 0 ;
15709 PyObject *swig_obj[1] ;
15710
15711 if (!args) SWIG_fail;
15712 swig_obj[0] = args;
15713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15714 if (!SWIG_IsOK(res1)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15716 }
15717 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15726 }
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15734 PyObject *resultobj = 0;
15735 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15736 bool result;
15737 void *argp1 = 0 ;
15738 int res1 = 0 ;
15739 PyObject *swig_obj[1] ;
15740
15741 if (!args) SWIG_fail;
15742 swig_obj[0] = args;
15743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15746 }
15747 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 {
15755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15756 }
15757 return resultobj;
15758 fail:
15759 return NULL;
15760 }
15761
15762
15763 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15764 PyObject *resultobj = 0;
15765 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15766 wxIcon *arg2 = 0 ;
15767 wxString const &arg3_defvalue = wxPyEmptyString ;
15768 wxString *arg3 = (wxString *) &arg3_defvalue ;
15769 bool result;
15770 void *argp1 = 0 ;
15771 int res1 = 0 ;
15772 void *argp2 = 0 ;
15773 int res2 = 0 ;
15774 bool temp3 = false ;
15775 PyObject * obj0 = 0 ;
15776 PyObject * obj1 = 0 ;
15777 PyObject * obj2 = 0 ;
15778 char * kwnames[] = {
15779 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15780 };
15781
15782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15784 if (!SWIG_IsOK(res1)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15786 }
15787 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15788 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15789 if (!SWIG_IsOK(res2)) {
15790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15791 }
15792 if (!argp2) {
15793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15794 }
15795 arg2 = reinterpret_cast< wxIcon * >(argp2);
15796 if (obj2) {
15797 {
15798 arg3 = wxString_in_helper(obj2);
15799 if (arg3 == NULL) SWIG_fail;
15800 temp3 = true;
15801 }
15802 }
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15806 wxPyEndAllowThreads(__tstate);
15807 if (PyErr_Occurred()) SWIG_fail;
15808 }
15809 {
15810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15811 }
15812 {
15813 if (temp3)
15814 delete arg3;
15815 }
15816 return resultobj;
15817 fail:
15818 {
15819 if (temp3)
15820 delete arg3;
15821 }
15822 return NULL;
15823 }
15824
15825
15826 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15827 PyObject *resultobj = 0;
15828 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15829 bool result;
15830 void *argp1 = 0 ;
15831 int res1 = 0 ;
15832 PyObject *swig_obj[1] ;
15833
15834 if (!args) SWIG_fail;
15835 swig_obj[0] = args;
15836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15837 if (!SWIG_IsOK(res1)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15839 }
15840 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (bool)(arg1)->RemoveIcon();
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15849 }
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15857 PyObject *resultobj = 0;
15858 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15859 wxMenu *arg2 = (wxMenu *) 0 ;
15860 bool result;
15861 void *argp1 = 0 ;
15862 int res1 = 0 ;
15863 void *argp2 = 0 ;
15864 int res2 = 0 ;
15865 PyObject * obj0 = 0 ;
15866 PyObject * obj1 = 0 ;
15867 char * kwnames[] = {
15868 (char *) "self",(char *) "menu", NULL
15869 };
15870
15871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15873 if (!SWIG_IsOK(res1)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15875 }
15876 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15877 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15878 if (!SWIG_IsOK(res2)) {
15879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15880 }
15881 arg2 = reinterpret_cast< wxMenu * >(argp2);
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 result = (bool)(arg1)->PopupMenu(arg2);
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 {
15889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15890 }
15891 return resultobj;
15892 fail:
15893 return NULL;
15894 }
15895
15896
15897 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15898 PyObject *obj;
15899 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15901 return SWIG_Py_Void();
15902 }
15903
15904 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15905 return SWIG_Python_InitShadowInstance(args);
15906 }
15907
15908 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj = 0;
15910 wxEventType arg1 ;
15911 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15912 wxTaskBarIconEvent *result = 0 ;
15913 int val1 ;
15914 int ecode1 = 0 ;
15915 void *argp2 = 0 ;
15916 int res2 = 0 ;
15917 PyObject * obj0 = 0 ;
15918 PyObject * obj1 = 0 ;
15919 char * kwnames[] = {
15920 (char *) "evtType",(char *) "tbIcon", NULL
15921 };
15922
15923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15924 ecode1 = SWIG_AsVal_int(obj0, &val1);
15925 if (!SWIG_IsOK(ecode1)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15927 }
15928 arg1 = static_cast< wxEventType >(val1);
15929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15930 if (!SWIG_IsOK(res2)) {
15931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15932 }
15933 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15934 {
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15948 PyObject *obj;
15949 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15950 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15951 return SWIG_Py_Void();
15952 }
15953
15954 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15955 return SWIG_Python_InitShadowInstance(args);
15956 }
15957
15958 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15959 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15960 return 1;
15961 }
15962
15963
15964 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15965 PyObject *pyobj = 0;
15966
15967 {
15968 #if wxUSE_UNICODE
15969 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15970 #else
15971 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15972 #endif
15973 }
15974 return pyobj;
15975 }
15976
15977
15978 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15979 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15980 return 1;
15981 }
15982
15983
15984 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15985 PyObject *pyobj = 0;
15986
15987 {
15988 #if wxUSE_UNICODE
15989 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15990 #else
15991 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15992 #endif
15993 }
15994 return pyobj;
15995 }
15996
15997
15998 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
15999 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16000 return 1;
16001 }
16002
16003
16004 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16005 PyObject *pyobj = 0;
16006
16007 {
16008 #if wxUSE_UNICODE
16009 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16010 #else
16011 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16012 #endif
16013 }
16014 return pyobj;
16015 }
16016
16017
16018 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16019 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16020 return 1;
16021 }
16022
16023
16024 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16025 PyObject *pyobj = 0;
16026
16027 {
16028 #if wxUSE_UNICODE
16029 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16030 #else
16031 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16032 #endif
16033 }
16034 return pyobj;
16035 }
16036
16037
16038 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16039 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16040 return 1;
16041 }
16042
16043
16044 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16045 PyObject *pyobj = 0;
16046
16047 {
16048 #if wxUSE_UNICODE
16049 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16050 #else
16051 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16052 #endif
16053 }
16054 return pyobj;
16055 }
16056
16057
16058 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16059 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16060 return 1;
16061 }
16062
16063
16064 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16065 PyObject *pyobj = 0;
16066
16067 {
16068 #if wxUSE_UNICODE
16069 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16070 #else
16071 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16072 #endif
16073 }
16074 return pyobj;
16075 }
16076
16077
16078 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16079 PyObject *resultobj = 0;
16080 wxColourData *result = 0 ;
16081
16082 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (wxColourData *)new wxColourData();
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16097 PyObject *resultobj = 0;
16098 wxColourData *arg1 = (wxColourData *) 0 ;
16099 void *argp1 = 0 ;
16100 int res1 = 0 ;
16101 PyObject *swig_obj[1] ;
16102
16103 if (!args) SWIG_fail;
16104 swig_obj[0] = args;
16105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16106 if (!SWIG_IsOK(res1)) {
16107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16108 }
16109 arg1 = reinterpret_cast< wxColourData * >(argp1);
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 delete arg1;
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_Py_Void();
16118 return resultobj;
16119 fail:
16120 return NULL;
16121 }
16122
16123
16124 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16125 PyObject *resultobj = 0;
16126 wxColourData *arg1 = (wxColourData *) 0 ;
16127 bool result;
16128 void *argp1 = 0 ;
16129 int res1 = 0 ;
16130 PyObject *swig_obj[1] ;
16131
16132 if (!args) SWIG_fail;
16133 swig_obj[0] = args;
16134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16135 if (!SWIG_IsOK(res1)) {
16136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16137 }
16138 arg1 = reinterpret_cast< wxColourData * >(argp1);
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)(arg1)->GetChooseFull();
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16155 PyObject *resultobj = 0;
16156 wxColourData *arg1 = (wxColourData *) 0 ;
16157 wxColour result;
16158 void *argp1 = 0 ;
16159 int res1 = 0 ;
16160 PyObject *swig_obj[1] ;
16161
16162 if (!args) SWIG_fail;
16163 swig_obj[0] = args;
16164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16167 }
16168 arg1 = reinterpret_cast< wxColourData * >(argp1);
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 result = (arg1)->GetColour();
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj = 0;
16184 wxColourData *arg1 = (wxColourData *) 0 ;
16185 int arg2 ;
16186 wxColour result;
16187 void *argp1 = 0 ;
16188 int res1 = 0 ;
16189 int val2 ;
16190 int ecode2 = 0 ;
16191 PyObject * obj0 = 0 ;
16192 PyObject * obj1 = 0 ;
16193 char * kwnames[] = {
16194 (char *) "self",(char *) "i", NULL
16195 };
16196
16197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16199 if (!SWIG_IsOK(res1)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16201 }
16202 arg1 = reinterpret_cast< wxColourData * >(argp1);
16203 ecode2 = SWIG_AsVal_int(obj1, &val2);
16204 if (!SWIG_IsOK(ecode2)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16206 }
16207 arg2 = static_cast< int >(val2);
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = (arg1)->GetCustomColour(arg2);
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16215 return resultobj;
16216 fail:
16217 return NULL;
16218 }
16219
16220
16221 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16222 PyObject *resultobj = 0;
16223 wxColourData *arg1 = (wxColourData *) 0 ;
16224 int arg2 ;
16225 void *argp1 = 0 ;
16226 int res1 = 0 ;
16227 int val2 ;
16228 int ecode2 = 0 ;
16229 PyObject * obj0 = 0 ;
16230 PyObject * obj1 = 0 ;
16231 char * kwnames[] = {
16232 (char *) "self",(char *) "flag", NULL
16233 };
16234
16235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16237 if (!SWIG_IsOK(res1)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16239 }
16240 arg1 = reinterpret_cast< wxColourData * >(argp1);
16241 ecode2 = SWIG_AsVal_int(obj1, &val2);
16242 if (!SWIG_IsOK(ecode2)) {
16243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16244 }
16245 arg2 = static_cast< int >(val2);
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 (arg1)->SetChooseFull(arg2);
16249 wxPyEndAllowThreads(__tstate);
16250 if (PyErr_Occurred()) SWIG_fail;
16251 }
16252 resultobj = SWIG_Py_Void();
16253 return resultobj;
16254 fail:
16255 return NULL;
16256 }
16257
16258
16259 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16260 PyObject *resultobj = 0;
16261 wxColourData *arg1 = (wxColourData *) 0 ;
16262 wxColour *arg2 = 0 ;
16263 void *argp1 = 0 ;
16264 int res1 = 0 ;
16265 wxColour temp2 ;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 char * kwnames[] = {
16269 (char *) "self",(char *) "colour", NULL
16270 };
16271
16272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16274 if (!SWIG_IsOK(res1)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16276 }
16277 arg1 = reinterpret_cast< wxColourData * >(argp1);
16278 {
16279 arg2 = &temp2;
16280 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16281 }
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 (arg1)->SetColour((wxColour const &)*arg2);
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 resultobj = SWIG_Py_Void();
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj = 0;
16297 wxColourData *arg1 = (wxColourData *) 0 ;
16298 int arg2 ;
16299 wxColour *arg3 = 0 ;
16300 void *argp1 = 0 ;
16301 int res1 = 0 ;
16302 int val2 ;
16303 int ecode2 = 0 ;
16304 wxColour temp3 ;
16305 PyObject * obj0 = 0 ;
16306 PyObject * obj1 = 0 ;
16307 PyObject * obj2 = 0 ;
16308 char * kwnames[] = {
16309 (char *) "self",(char *) "i",(char *) "colour", NULL
16310 };
16311
16312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16314 if (!SWIG_IsOK(res1)) {
16315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16316 }
16317 arg1 = reinterpret_cast< wxColourData * >(argp1);
16318 ecode2 = SWIG_AsVal_int(obj1, &val2);
16319 if (!SWIG_IsOK(ecode2)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16321 }
16322 arg2 = static_cast< int >(val2);
16323 {
16324 arg3 = &temp3;
16325 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16326 }
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16330 wxPyEndAllowThreads(__tstate);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 resultobj = SWIG_Py_Void();
16334 return resultobj;
16335 fail:
16336 return NULL;
16337 }
16338
16339
16340 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16341 PyObject *obj;
16342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16343 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16344 return SWIG_Py_Void();
16345 }
16346
16347 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16348 return SWIG_Python_InitShadowInstance(args);
16349 }
16350
16351 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj = 0;
16353 wxWindow *arg1 = (wxWindow *) 0 ;
16354 wxColourData *arg2 = (wxColourData *) NULL ;
16355 wxColourDialog *result = 0 ;
16356 void *argp1 = 0 ;
16357 int res1 = 0 ;
16358 void *argp2 = 0 ;
16359 int res2 = 0 ;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 char * kwnames[] = {
16363 (char *) "parent",(char *) "data", NULL
16364 };
16365
16366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16368 if (!SWIG_IsOK(res1)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16370 }
16371 arg1 = reinterpret_cast< wxWindow * >(argp1);
16372 if (obj1) {
16373 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16374 if (!SWIG_IsOK(res2)) {
16375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16376 }
16377 arg2 = reinterpret_cast< wxColourData * >(argp2);
16378 }
16379 {
16380 if (!wxPyCheckForApp()) SWIG_fail;
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16387 return resultobj;
16388 fail:
16389 return NULL;
16390 }
16391
16392
16393 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16394 PyObject *resultobj = 0;
16395 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16396 wxColourData *result = 0 ;
16397 void *argp1 = 0 ;
16398 int res1 = 0 ;
16399 PyObject *swig_obj[1] ;
16400
16401 if (!args) SWIG_fail;
16402 swig_obj[0] = args;
16403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16404 if (!SWIG_IsOK(res1)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16406 }
16407 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 {
16411 wxColourData &_result_ref = (arg1)->GetColourData();
16412 result = (wxColourData *) &_result_ref;
16413 }
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16425 PyObject *obj;
16426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16427 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16428 return SWIG_Py_Void();
16429 }
16430
16431 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16432 return SWIG_Python_InitShadowInstance(args);
16433 }
16434
16435 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj = 0;
16437 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16438 wxColour const &arg2_defvalue = wxNullColour ;
16439 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16440 wxString const &arg3_defvalue = wxPyEmptyString ;
16441 wxString *arg3 = (wxString *) &arg3_defvalue ;
16442 wxColour result;
16443 void *argp1 = 0 ;
16444 int res1 = 0 ;
16445 wxColour temp2 ;
16446 bool temp3 = false ;
16447 PyObject * obj0 = 0 ;
16448 PyObject * obj1 = 0 ;
16449 PyObject * obj2 = 0 ;
16450 char * kwnames[] = {
16451 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16452 };
16453
16454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16455 if (obj0) {
16456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16457 if (!SWIG_IsOK(res1)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16459 }
16460 arg1 = reinterpret_cast< wxWindow * >(argp1);
16461 }
16462 if (obj1) {
16463 {
16464 arg2 = &temp2;
16465 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16466 }
16467 }
16468 if (obj2) {
16469 {
16470 arg3 = wxString_in_helper(obj2);
16471 if (arg3 == NULL) SWIG_fail;
16472 temp3 = true;
16473 }
16474 }
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16482 {
16483 if (temp3)
16484 delete arg3;
16485 }
16486 return resultobj;
16487 fail:
16488 {
16489 if (temp3)
16490 delete arg3;
16491 }
16492 return NULL;
16493 }
16494
16495
16496 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj = 0;
16498 wxWindow *arg1 = (wxWindow *) 0 ;
16499 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16500 wxString *arg2 = (wxString *) &arg2_defvalue ;
16501 wxString const &arg3_defvalue = wxPyEmptyString ;
16502 wxString *arg3 = (wxString *) &arg3_defvalue ;
16503 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16504 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16505 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16506 wxSize const &arg6_defvalue = wxDefaultSize ;
16507 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16508 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16509 wxString *arg7 = (wxString *) &arg7_defvalue ;
16510 wxDirDialog *result = 0 ;
16511 void *argp1 = 0 ;
16512 int res1 = 0 ;
16513 bool temp2 = false ;
16514 bool temp3 = false ;
16515 long val4 ;
16516 int ecode4 = 0 ;
16517 wxPoint temp5 ;
16518 wxSize temp6 ;
16519 bool temp7 = false ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 PyObject * obj2 = 0 ;
16523 PyObject * obj3 = 0 ;
16524 PyObject * obj4 = 0 ;
16525 PyObject * obj5 = 0 ;
16526 PyObject * obj6 = 0 ;
16527 char * kwnames[] = {
16528 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16529 };
16530
16531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16533 if (!SWIG_IsOK(res1)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16535 }
16536 arg1 = reinterpret_cast< wxWindow * >(argp1);
16537 if (obj1) {
16538 {
16539 arg2 = wxString_in_helper(obj1);
16540 if (arg2 == NULL) SWIG_fail;
16541 temp2 = true;
16542 }
16543 }
16544 if (obj2) {
16545 {
16546 arg3 = wxString_in_helper(obj2);
16547 if (arg3 == NULL) SWIG_fail;
16548 temp3 = true;
16549 }
16550 }
16551 if (obj3) {
16552 ecode4 = SWIG_AsVal_long(obj3, &val4);
16553 if (!SWIG_IsOK(ecode4)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16555 }
16556 arg4 = static_cast< long >(val4);
16557 }
16558 if (obj4) {
16559 {
16560 arg5 = &temp5;
16561 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16562 }
16563 }
16564 if (obj5) {
16565 {
16566 arg6 = &temp6;
16567 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16568 }
16569 }
16570 if (obj6) {
16571 {
16572 arg7 = wxString_in_helper(obj6);
16573 if (arg7 == NULL) SWIG_fail;
16574 temp7 = true;
16575 }
16576 }
16577 {
16578 if (!wxPyCheckForApp()) SWIG_fail;
16579 PyThreadState* __tstate = wxPyBeginAllowThreads();
16580 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16585 {
16586 if (temp2)
16587 delete arg2;
16588 }
16589 {
16590 if (temp3)
16591 delete arg3;
16592 }
16593 {
16594 if (temp7)
16595 delete arg7;
16596 }
16597 return resultobj;
16598 fail:
16599 {
16600 if (temp2)
16601 delete arg2;
16602 }
16603 {
16604 if (temp3)
16605 delete arg3;
16606 }
16607 {
16608 if (temp7)
16609 delete arg7;
16610 }
16611 return NULL;
16612 }
16613
16614
16615 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16616 PyObject *resultobj = 0;
16617 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16618 wxString result;
16619 void *argp1 = 0 ;
16620 int res1 = 0 ;
16621 PyObject *swig_obj[1] ;
16622
16623 if (!args) SWIG_fail;
16624 swig_obj[0] = args;
16625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16626 if (!SWIG_IsOK(res1)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16628 }
16629 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 result = (arg1)->GetPath();
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 #if wxUSE_UNICODE
16638 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16639 #else
16640 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16641 #endif
16642 }
16643 return resultobj;
16644 fail:
16645 return NULL;
16646 }
16647
16648
16649 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16650 PyObject *resultobj = 0;
16651 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16652 wxString result;
16653 void *argp1 = 0 ;
16654 int res1 = 0 ;
16655 PyObject *swig_obj[1] ;
16656
16657 if (!args) SWIG_fail;
16658 swig_obj[0] = args;
16659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16660 if (!SWIG_IsOK(res1)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16662 }
16663 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (arg1)->GetMessage();
16667 wxPyEndAllowThreads(__tstate);
16668 if (PyErr_Occurred()) SWIG_fail;
16669 }
16670 {
16671 #if wxUSE_UNICODE
16672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16673 #else
16674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16675 #endif
16676 }
16677 return resultobj;
16678 fail:
16679 return NULL;
16680 }
16681
16682
16683 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16684 PyObject *resultobj = 0;
16685 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16686 wxString *arg2 = 0 ;
16687 void *argp1 = 0 ;
16688 int res1 = 0 ;
16689 bool temp2 = false ;
16690 PyObject * obj0 = 0 ;
16691 PyObject * obj1 = 0 ;
16692 char * kwnames[] = {
16693 (char *) "self",(char *) "message", NULL
16694 };
16695
16696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16698 if (!SWIG_IsOK(res1)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16700 }
16701 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16702 {
16703 arg2 = wxString_in_helper(obj1);
16704 if (arg2 == NULL) SWIG_fail;
16705 temp2 = true;
16706 }
16707 {
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 (arg1)->SetMessage((wxString const &)*arg2);
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 resultobj = SWIG_Py_Void();
16714 {
16715 if (temp2)
16716 delete arg2;
16717 }
16718 return resultobj;
16719 fail:
16720 {
16721 if (temp2)
16722 delete arg2;
16723 }
16724 return NULL;
16725 }
16726
16727
16728 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj = 0;
16730 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16731 wxString *arg2 = 0 ;
16732 void *argp1 = 0 ;
16733 int res1 = 0 ;
16734 bool temp2 = false ;
16735 PyObject * obj0 = 0 ;
16736 PyObject * obj1 = 0 ;
16737 char * kwnames[] = {
16738 (char *) "self",(char *) "path", NULL
16739 };
16740
16741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16743 if (!SWIG_IsOK(res1)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16745 }
16746 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16747 {
16748 arg2 = wxString_in_helper(obj1);
16749 if (arg2 == NULL) SWIG_fail;
16750 temp2 = true;
16751 }
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 (arg1)->SetPath((wxString const &)*arg2);
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 resultobj = SWIG_Py_Void();
16759 {
16760 if (temp2)
16761 delete arg2;
16762 }
16763 return resultobj;
16764 fail:
16765 {
16766 if (temp2)
16767 delete arg2;
16768 }
16769 return NULL;
16770 }
16771
16772
16773 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16774 PyObject *obj;
16775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16776 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16777 return SWIG_Py_Void();
16778 }
16779
16780 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16781 return SWIG_Python_InitShadowInstance(args);
16782 }
16783
16784 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj = 0;
16786 wxWindow *arg1 = (wxWindow *) 0 ;
16787 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16788 wxString *arg2 = (wxString *) &arg2_defvalue ;
16789 wxString const &arg3_defvalue = wxPyEmptyString ;
16790 wxString *arg3 = (wxString *) &arg3_defvalue ;
16791 wxString const &arg4_defvalue = wxPyEmptyString ;
16792 wxString *arg4 = (wxString *) &arg4_defvalue ;
16793 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16794 wxString *arg5 = (wxString *) &arg5_defvalue ;
16795 long arg6 = (long) wxFD_DEFAULT_STYLE ;
16796 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16797 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16798 wxFileDialog *result = 0 ;
16799 void *argp1 = 0 ;
16800 int res1 = 0 ;
16801 bool temp2 = false ;
16802 bool temp3 = false ;
16803 bool temp4 = false ;
16804 bool temp5 = false ;
16805 long val6 ;
16806 int ecode6 = 0 ;
16807 wxPoint temp7 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 PyObject * obj2 = 0 ;
16811 PyObject * obj3 = 0 ;
16812 PyObject * obj4 = 0 ;
16813 PyObject * obj5 = 0 ;
16814 PyObject * obj6 = 0 ;
16815 char * kwnames[] = {
16816 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16817 };
16818
16819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16821 if (!SWIG_IsOK(res1)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16823 }
16824 arg1 = reinterpret_cast< wxWindow * >(argp1);
16825 if (obj1) {
16826 {
16827 arg2 = wxString_in_helper(obj1);
16828 if (arg2 == NULL) SWIG_fail;
16829 temp2 = true;
16830 }
16831 }
16832 if (obj2) {
16833 {
16834 arg3 = wxString_in_helper(obj2);
16835 if (arg3 == NULL) SWIG_fail;
16836 temp3 = true;
16837 }
16838 }
16839 if (obj3) {
16840 {
16841 arg4 = wxString_in_helper(obj3);
16842 if (arg4 == NULL) SWIG_fail;
16843 temp4 = true;
16844 }
16845 }
16846 if (obj4) {
16847 {
16848 arg5 = wxString_in_helper(obj4);
16849 if (arg5 == NULL) SWIG_fail;
16850 temp5 = true;
16851 }
16852 }
16853 if (obj5) {
16854 ecode6 = SWIG_AsVal_long(obj5, &val6);
16855 if (!SWIG_IsOK(ecode6)) {
16856 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16857 }
16858 arg6 = static_cast< long >(val6);
16859 }
16860 if (obj6) {
16861 {
16862 arg7 = &temp7;
16863 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16864 }
16865 }
16866 {
16867 if (!wxPyCheckForApp()) SWIG_fail;
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16874 {
16875 if (temp2)
16876 delete arg2;
16877 }
16878 {
16879 if (temp3)
16880 delete arg3;
16881 }
16882 {
16883 if (temp4)
16884 delete arg4;
16885 }
16886 {
16887 if (temp5)
16888 delete arg5;
16889 }
16890 return resultobj;
16891 fail:
16892 {
16893 if (temp2)
16894 delete arg2;
16895 }
16896 {
16897 if (temp3)
16898 delete arg3;
16899 }
16900 {
16901 if (temp4)
16902 delete arg4;
16903 }
16904 {
16905 if (temp5)
16906 delete arg5;
16907 }
16908 return NULL;
16909 }
16910
16911
16912 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj = 0;
16914 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16915 wxString *arg2 = 0 ;
16916 void *argp1 = 0 ;
16917 int res1 = 0 ;
16918 bool temp2 = false ;
16919 PyObject * obj0 = 0 ;
16920 PyObject * obj1 = 0 ;
16921 char * kwnames[] = {
16922 (char *) "self",(char *) "message", NULL
16923 };
16924
16925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16927 if (!SWIG_IsOK(res1)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16929 }
16930 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16931 {
16932 arg2 = wxString_in_helper(obj1);
16933 if (arg2 == NULL) SWIG_fail;
16934 temp2 = true;
16935 }
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 (arg1)->SetMessage((wxString const &)*arg2);
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 resultobj = SWIG_Py_Void();
16943 {
16944 if (temp2)
16945 delete arg2;
16946 }
16947 return resultobj;
16948 fail:
16949 {
16950 if (temp2)
16951 delete arg2;
16952 }
16953 return NULL;
16954 }
16955
16956
16957 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj = 0;
16959 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16960 wxString *arg2 = 0 ;
16961 void *argp1 = 0 ;
16962 int res1 = 0 ;
16963 bool temp2 = false ;
16964 PyObject * obj0 = 0 ;
16965 PyObject * obj1 = 0 ;
16966 char * kwnames[] = {
16967 (char *) "self",(char *) "path", NULL
16968 };
16969
16970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16972 if (!SWIG_IsOK(res1)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16974 }
16975 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16976 {
16977 arg2 = wxString_in_helper(obj1);
16978 if (arg2 == NULL) SWIG_fail;
16979 temp2 = true;
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetPath((wxString const &)*arg2);
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 resultobj = SWIG_Py_Void();
16988 {
16989 if (temp2)
16990 delete arg2;
16991 }
16992 return resultobj;
16993 fail:
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 return NULL;
16999 }
17000
17001
17002 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj = 0;
17004 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17005 wxString *arg2 = 0 ;
17006 void *argp1 = 0 ;
17007 int res1 = 0 ;
17008 bool temp2 = false ;
17009 PyObject * obj0 = 0 ;
17010 PyObject * obj1 = 0 ;
17011 char * kwnames[] = {
17012 (char *) "self",(char *) "dir", NULL
17013 };
17014
17015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17017 if (!SWIG_IsOK(res1)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17019 }
17020 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17021 {
17022 arg2 = wxString_in_helper(obj1);
17023 if (arg2 == NULL) SWIG_fail;
17024 temp2 = true;
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 (arg1)->SetDirectory((wxString const &)*arg2);
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 resultobj = SWIG_Py_Void();
17033 {
17034 if (temp2)
17035 delete arg2;
17036 }
17037 return resultobj;
17038 fail:
17039 {
17040 if (temp2)
17041 delete arg2;
17042 }
17043 return NULL;
17044 }
17045
17046
17047 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj = 0;
17049 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17050 wxString *arg2 = 0 ;
17051 void *argp1 = 0 ;
17052 int res1 = 0 ;
17053 bool temp2 = false ;
17054 PyObject * obj0 = 0 ;
17055 PyObject * obj1 = 0 ;
17056 char * kwnames[] = {
17057 (char *) "self",(char *) "name", NULL
17058 };
17059
17060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17062 if (!SWIG_IsOK(res1)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17064 }
17065 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17066 {
17067 arg2 = wxString_in_helper(obj1);
17068 if (arg2 == NULL) SWIG_fail;
17069 temp2 = true;
17070 }
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 (arg1)->SetFilename((wxString const &)*arg2);
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 resultobj = SWIG_Py_Void();
17078 {
17079 if (temp2)
17080 delete arg2;
17081 }
17082 return resultobj;
17083 fail:
17084 {
17085 if (temp2)
17086 delete arg2;
17087 }
17088 return NULL;
17089 }
17090
17091
17092 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj = 0;
17094 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17095 wxString *arg2 = 0 ;
17096 void *argp1 = 0 ;
17097 int res1 = 0 ;
17098 bool temp2 = false ;
17099 PyObject * obj0 = 0 ;
17100 PyObject * obj1 = 0 ;
17101 char * kwnames[] = {
17102 (char *) "self",(char *) "wildCard", NULL
17103 };
17104
17105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17107 if (!SWIG_IsOK(res1)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17109 }
17110 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17111 {
17112 arg2 = wxString_in_helper(obj1);
17113 if (arg2 == NULL) SWIG_fail;
17114 temp2 = true;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 (arg1)->SetWildcard((wxString const &)*arg2);
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 resultobj = SWIG_Py_Void();
17123 {
17124 if (temp2)
17125 delete arg2;
17126 }
17127 return resultobj;
17128 fail:
17129 {
17130 if (temp2)
17131 delete arg2;
17132 }
17133 return NULL;
17134 }
17135
17136
17137 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj = 0;
17139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17140 int arg2 ;
17141 void *argp1 = 0 ;
17142 int res1 = 0 ;
17143 int val2 ;
17144 int ecode2 = 0 ;
17145 PyObject * obj0 = 0 ;
17146 PyObject * obj1 = 0 ;
17147 char * kwnames[] = {
17148 (char *) "self",(char *) "filterIndex", NULL
17149 };
17150
17151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17153 if (!SWIG_IsOK(res1)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17155 }
17156 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17157 ecode2 = SWIG_AsVal_int(obj1, &val2);
17158 if (!SWIG_IsOK(ecode2)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17160 }
17161 arg2 = static_cast< int >(val2);
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 (arg1)->SetFilterIndex(arg2);
17165 wxPyEndAllowThreads(__tstate);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 resultobj = SWIG_Py_Void();
17169 return resultobj;
17170 fail:
17171 return NULL;
17172 }
17173
17174
17175 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17176 PyObject *resultobj = 0;
17177 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17178 wxString result;
17179 void *argp1 = 0 ;
17180 int res1 = 0 ;
17181 PyObject *swig_obj[1] ;
17182
17183 if (!args) SWIG_fail;
17184 swig_obj[0] = args;
17185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17186 if (!SWIG_IsOK(res1)) {
17187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17188 }
17189 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 result = ((wxFileDialog const *)arg1)->GetMessage();
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 {
17197 #if wxUSE_UNICODE
17198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17199 #else
17200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17201 #endif
17202 }
17203 return resultobj;
17204 fail:
17205 return NULL;
17206 }
17207
17208
17209 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17210 PyObject *resultobj = 0;
17211 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17212 wxString result;
17213 void *argp1 = 0 ;
17214 int res1 = 0 ;
17215 PyObject *swig_obj[1] ;
17216
17217 if (!args) SWIG_fail;
17218 swig_obj[0] = args;
17219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17220 if (!SWIG_IsOK(res1)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17222 }
17223 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = ((wxFileDialog const *)arg1)->GetPath();
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 {
17231 #if wxUSE_UNICODE
17232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17233 #else
17234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17235 #endif
17236 }
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17244 PyObject *resultobj = 0;
17245 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17246 wxString result;
17247 void *argp1 = 0 ;
17248 int res1 = 0 ;
17249 PyObject *swig_obj[1] ;
17250
17251 if (!args) SWIG_fail;
17252 swig_obj[0] = args;
17253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17254 if (!SWIG_IsOK(res1)) {
17255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17256 }
17257 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 result = ((wxFileDialog const *)arg1)->GetDirectory();
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 {
17265 #if wxUSE_UNICODE
17266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17267 #else
17268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17269 #endif
17270 }
17271 return resultobj;
17272 fail:
17273 return NULL;
17274 }
17275
17276
17277 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17278 PyObject *resultobj = 0;
17279 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17280 wxString result;
17281 void *argp1 = 0 ;
17282 int res1 = 0 ;
17283 PyObject *swig_obj[1] ;
17284
17285 if (!args) SWIG_fail;
17286 swig_obj[0] = args;
17287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17288 if (!SWIG_IsOK(res1)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17290 }
17291 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17292 {
17293 PyThreadState* __tstate = wxPyBeginAllowThreads();
17294 result = ((wxFileDialog const *)arg1)->GetFilename();
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 {
17299 #if wxUSE_UNICODE
17300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17301 #else
17302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17303 #endif
17304 }
17305 return resultobj;
17306 fail:
17307 return NULL;
17308 }
17309
17310
17311 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17312 PyObject *resultobj = 0;
17313 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17314 wxString result;
17315 void *argp1 = 0 ;
17316 int res1 = 0 ;
17317 PyObject *swig_obj[1] ;
17318
17319 if (!args) SWIG_fail;
17320 swig_obj[0] = args;
17321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17322 if (!SWIG_IsOK(res1)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17324 }
17325 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = ((wxFileDialog const *)arg1)->GetWildcard();
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 {
17333 #if wxUSE_UNICODE
17334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17335 #else
17336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17337 #endif
17338 }
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17346 PyObject *resultobj = 0;
17347 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17348 int result;
17349 void *argp1 = 0 ;
17350 int res1 = 0 ;
17351 PyObject *swig_obj[1] ;
17352
17353 if (!args) SWIG_fail;
17354 swig_obj[0] = args;
17355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17356 if (!SWIG_IsOK(res1)) {
17357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17358 }
17359 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17360 {
17361 PyThreadState* __tstate = wxPyBeginAllowThreads();
17362 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 resultobj = SWIG_From_int(static_cast< int >(result));
17367 return resultobj;
17368 fail:
17369 return NULL;
17370 }
17371
17372
17373 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17374 PyObject *resultobj = 0;
17375 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17376 PyObject *result = 0 ;
17377 void *argp1 = 0 ;
17378 int res1 = 0 ;
17379 PyObject *swig_obj[1] ;
17380
17381 if (!args) SWIG_fail;
17382 swig_obj[0] = args;
17383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17384 if (!SWIG_IsOK(res1)) {
17385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17386 }
17387 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 resultobj = result;
17395 return resultobj;
17396 fail:
17397 return NULL;
17398 }
17399
17400
17401 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17402 PyObject *resultobj = 0;
17403 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17404 PyObject *result = 0 ;
17405 void *argp1 = 0 ;
17406 int res1 = 0 ;
17407 PyObject *swig_obj[1] ;
17408
17409 if (!args) SWIG_fail;
17410 swig_obj[0] = args;
17411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17412 if (!SWIG_IsOK(res1)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17414 }
17415 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 resultobj = result;
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17430 PyObject *obj;
17431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17432 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17433 return SWIG_Py_Void();
17434 }
17435
17436 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17437 return SWIG_Python_InitShadowInstance(args);
17438 }
17439
17440 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17441 PyObject *resultobj = 0;
17442 wxWindow *arg1 = (wxWindow *) 0 ;
17443 wxString *arg2 = 0 ;
17444 wxString *arg3 = 0 ;
17445 int arg4 = (int) 0 ;
17446 wxString *arg5 = (wxString *) NULL ;
17447 long arg6 = (long) wxCHOICEDLG_STYLE ;
17448 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17449 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17450 wxMultiChoiceDialog *result = 0 ;
17451 void *argp1 = 0 ;
17452 int res1 = 0 ;
17453 bool temp2 = false ;
17454 bool temp3 = false ;
17455 long val6 ;
17456 int ecode6 = 0 ;
17457 wxPoint temp7 ;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj1 = 0 ;
17460 PyObject * obj2 = 0 ;
17461 PyObject * obj3 = 0 ;
17462 PyObject * obj4 = 0 ;
17463 PyObject * obj5 = 0 ;
17464 char * kwnames[] = {
17465 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17466 };
17467
17468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17470 if (!SWIG_IsOK(res1)) {
17471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17472 }
17473 arg1 = reinterpret_cast< wxWindow * >(argp1);
17474 {
17475 arg2 = wxString_in_helper(obj1);
17476 if (arg2 == NULL) SWIG_fail;
17477 temp2 = true;
17478 }
17479 {
17480 arg3 = wxString_in_helper(obj2);
17481 if (arg3 == NULL) SWIG_fail;
17482 temp3 = true;
17483 }
17484 if (obj3) {
17485 {
17486 arg4 = PyList_Size(obj3);
17487 arg5 = wxString_LIST_helper(obj3);
17488 if (arg5 == NULL) SWIG_fail;
17489 }
17490 }
17491 if (obj4) {
17492 ecode6 = SWIG_AsVal_long(obj4, &val6);
17493 if (!SWIG_IsOK(ecode6)) {
17494 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17495 }
17496 arg6 = static_cast< long >(val6);
17497 }
17498 if (obj5) {
17499 {
17500 arg7 = &temp7;
17501 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17502 }
17503 }
17504 {
17505 if (!wxPyCheckForApp()) SWIG_fail;
17506 PyThreadState* __tstate = wxPyBeginAllowThreads();
17507 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17508 wxPyEndAllowThreads(__tstate);
17509 if (PyErr_Occurred()) SWIG_fail;
17510 }
17511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17512 {
17513 if (temp2)
17514 delete arg2;
17515 }
17516 {
17517 if (temp3)
17518 delete arg3;
17519 }
17520 {
17521 if (arg5) delete [] arg5;
17522 }
17523 return resultobj;
17524 fail:
17525 {
17526 if (temp2)
17527 delete arg2;
17528 }
17529 {
17530 if (temp3)
17531 delete arg3;
17532 }
17533 {
17534 if (arg5) delete [] arg5;
17535 }
17536 return NULL;
17537 }
17538
17539
17540 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj = 0;
17542 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17543 wxArrayInt *arg2 = 0 ;
17544 void *argp1 = 0 ;
17545 int res1 = 0 ;
17546 bool temp2 = false ;
17547 PyObject * obj0 = 0 ;
17548 PyObject * obj1 = 0 ;
17549 char * kwnames[] = {
17550 (char *) "self",(char *) "selections", NULL
17551 };
17552
17553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17555 if (!SWIG_IsOK(res1)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17557 }
17558 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17559 {
17560 if (! PySequence_Check(obj1)) {
17561 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17562 SWIG_fail;
17563 }
17564 arg2 = new wxArrayInt;
17565 temp2 = true;
17566 int i, len=PySequence_Length(obj1);
17567 for (i=0; i<len; i++) {
17568 PyObject* item = PySequence_GetItem(obj1, i);
17569 PyObject* number = PyNumber_Int(item);
17570 arg2->Add(PyInt_AS_LONG(number));
17571 Py_DECREF(item);
17572 Py_DECREF(number);
17573 }
17574 }
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 resultobj = SWIG_Py_Void();
17582 {
17583 if (temp2) delete arg2;
17584 }
17585 return resultobj;
17586 fail:
17587 {
17588 if (temp2) delete arg2;
17589 }
17590 return NULL;
17591 }
17592
17593
17594 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17595 PyObject *resultobj = 0;
17596 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17597 PyObject *result = 0 ;
17598 void *argp1 = 0 ;
17599 int res1 = 0 ;
17600 PyObject *swig_obj[1] ;
17601
17602 if (!args) SWIG_fail;
17603 swig_obj[0] = args;
17604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17605 if (!SWIG_IsOK(res1)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17607 }
17608 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17609 {
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = result;
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 PyObject *obj;
17624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17626 return SWIG_Py_Void();
17627 }
17628
17629 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17630 return SWIG_Python_InitShadowInstance(args);
17631 }
17632
17633 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj = 0;
17635 wxWindow *arg1 = (wxWindow *) 0 ;
17636 wxString *arg2 = 0 ;
17637 wxString *arg3 = 0 ;
17638 int arg4 ;
17639 wxString *arg5 = (wxString *) 0 ;
17640 long arg6 = (long) wxCHOICEDLG_STYLE ;
17641 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17642 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17643 wxSingleChoiceDialog *result = 0 ;
17644 void *argp1 = 0 ;
17645 int res1 = 0 ;
17646 bool temp2 = false ;
17647 bool temp3 = false ;
17648 long val6 ;
17649 int ecode6 = 0 ;
17650 wxPoint temp7 ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 PyObject * obj2 = 0 ;
17654 PyObject * obj3 = 0 ;
17655 PyObject * obj4 = 0 ;
17656 PyObject * obj5 = 0 ;
17657 char * kwnames[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17659 };
17660
17661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17665 }
17666 arg1 = reinterpret_cast< wxWindow * >(argp1);
17667 {
17668 arg2 = wxString_in_helper(obj1);
17669 if (arg2 == NULL) SWIG_fail;
17670 temp2 = true;
17671 }
17672 {
17673 arg3 = wxString_in_helper(obj2);
17674 if (arg3 == NULL) SWIG_fail;
17675 temp3 = true;
17676 }
17677 {
17678 arg4 = PyList_Size(obj3);
17679 arg5 = wxString_LIST_helper(obj3);
17680 if (arg5 == NULL) SWIG_fail;
17681 }
17682 if (obj4) {
17683 ecode6 = SWIG_AsVal_long(obj4, &val6);
17684 if (!SWIG_IsOK(ecode6)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17686 }
17687 arg6 = static_cast< long >(val6);
17688 }
17689 if (obj5) {
17690 {
17691 arg7 = &temp7;
17692 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17693 }
17694 }
17695 {
17696 if (!wxPyCheckForApp()) SWIG_fail;
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17703 {
17704 if (temp2)
17705 delete arg2;
17706 }
17707 {
17708 if (temp3)
17709 delete arg3;
17710 }
17711 {
17712 if (arg5) delete [] arg5;
17713 }
17714 return resultobj;
17715 fail:
17716 {
17717 if (temp2)
17718 delete arg2;
17719 }
17720 {
17721 if (temp3)
17722 delete arg3;
17723 }
17724 {
17725 if (arg5) delete [] arg5;
17726 }
17727 return NULL;
17728 }
17729
17730
17731 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17732 PyObject *resultobj = 0;
17733 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17734 int result;
17735 void *argp1 = 0 ;
17736 int res1 = 0 ;
17737 PyObject *swig_obj[1] ;
17738
17739 if (!args) SWIG_fail;
17740 swig_obj[0] = args;
17741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17742 if (!SWIG_IsOK(res1)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17744 }
17745 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17746 {
17747 PyThreadState* __tstate = wxPyBeginAllowThreads();
17748 result = (int)(arg1)->GetSelection();
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 resultobj = SWIG_From_int(static_cast< int >(result));
17753 return resultobj;
17754 fail:
17755 return NULL;
17756 }
17757
17758
17759 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17760 PyObject *resultobj = 0;
17761 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17762 wxString result;
17763 void *argp1 = 0 ;
17764 int res1 = 0 ;
17765 PyObject *swig_obj[1] ;
17766
17767 if (!args) SWIG_fail;
17768 swig_obj[0] = args;
17769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17770 if (!SWIG_IsOK(res1)) {
17771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17772 }
17773 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (arg1)->GetStringSelection();
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 {
17781 #if wxUSE_UNICODE
17782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17783 #else
17784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17785 #endif
17786 }
17787 return resultobj;
17788 fail:
17789 return NULL;
17790 }
17791
17792
17793 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj = 0;
17795 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17796 int arg2 ;
17797 void *argp1 = 0 ;
17798 int res1 = 0 ;
17799 int val2 ;
17800 int ecode2 = 0 ;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 char * kwnames[] = {
17804 (char *) "self",(char *) "sel", NULL
17805 };
17806
17807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17809 if (!SWIG_IsOK(res1)) {
17810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17811 }
17812 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17813 ecode2 = SWIG_AsVal_int(obj1, &val2);
17814 if (!SWIG_IsOK(ecode2)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17816 }
17817 arg2 = static_cast< int >(val2);
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 (arg1)->SetSelection(arg2);
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 resultobj = SWIG_Py_Void();
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17832 PyObject *obj;
17833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17834 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17835 return SWIG_Py_Void();
17836 }
17837
17838 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17839 return SWIG_Python_InitShadowInstance(args);
17840 }
17841
17842 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj = 0;
17844 wxWindow *arg1 = (wxWindow *) 0 ;
17845 wxString *arg2 = 0 ;
17846 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17847 wxString *arg3 = (wxString *) &arg3_defvalue ;
17848 wxString const &arg4_defvalue = wxPyEmptyString ;
17849 wxString *arg4 = (wxString *) &arg4_defvalue ;
17850 long arg5 = (long) wxTextEntryDialogStyle ;
17851 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17852 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17853 wxTextEntryDialog *result = 0 ;
17854 void *argp1 = 0 ;
17855 int res1 = 0 ;
17856 bool temp2 = false ;
17857 bool temp3 = false ;
17858 bool temp4 = false ;
17859 long val5 ;
17860 int ecode5 = 0 ;
17861 wxPoint temp6 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 PyObject * obj2 = 0 ;
17865 PyObject * obj3 = 0 ;
17866 PyObject * obj4 = 0 ;
17867 PyObject * obj5 = 0 ;
17868 char * kwnames[] = {
17869 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17870 };
17871
17872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17874 if (!SWIG_IsOK(res1)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17876 }
17877 arg1 = reinterpret_cast< wxWindow * >(argp1);
17878 {
17879 arg2 = wxString_in_helper(obj1);
17880 if (arg2 == NULL) SWIG_fail;
17881 temp2 = true;
17882 }
17883 if (obj2) {
17884 {
17885 arg3 = wxString_in_helper(obj2);
17886 if (arg3 == NULL) SWIG_fail;
17887 temp3 = true;
17888 }
17889 }
17890 if (obj3) {
17891 {
17892 arg4 = wxString_in_helper(obj3);
17893 if (arg4 == NULL) SWIG_fail;
17894 temp4 = true;
17895 }
17896 }
17897 if (obj4) {
17898 ecode5 = SWIG_AsVal_long(obj4, &val5);
17899 if (!SWIG_IsOK(ecode5)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17901 }
17902 arg5 = static_cast< long >(val5);
17903 }
17904 if (obj5) {
17905 {
17906 arg6 = &temp6;
17907 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17908 }
17909 }
17910 {
17911 if (!wxPyCheckForApp()) SWIG_fail;
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17918 {
17919 if (temp2)
17920 delete arg2;
17921 }
17922 {
17923 if (temp3)
17924 delete arg3;
17925 }
17926 {
17927 if (temp4)
17928 delete arg4;
17929 }
17930 return resultobj;
17931 fail:
17932 {
17933 if (temp2)
17934 delete arg2;
17935 }
17936 {
17937 if (temp3)
17938 delete arg3;
17939 }
17940 {
17941 if (temp4)
17942 delete arg4;
17943 }
17944 return NULL;
17945 }
17946
17947
17948 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17949 PyObject *resultobj = 0;
17950 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17951 wxString result;
17952 void *argp1 = 0 ;
17953 int res1 = 0 ;
17954 PyObject *swig_obj[1] ;
17955
17956 if (!args) SWIG_fail;
17957 swig_obj[0] = args;
17958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17959 if (!SWIG_IsOK(res1)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17961 }
17962 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (arg1)->GetValue();
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 {
17970 #if wxUSE_UNICODE
17971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17972 #else
17973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17974 #endif
17975 }
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj = 0;
17984 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17985 wxString *arg2 = 0 ;
17986 void *argp1 = 0 ;
17987 int res1 = 0 ;
17988 bool temp2 = false ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 char * kwnames[] = {
17992 (char *) "self",(char *) "value", NULL
17993 };
17994
17995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17997 if (!SWIG_IsOK(res1)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17999 }
18000 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18001 {
18002 arg2 = wxString_in_helper(obj1);
18003 if (arg2 == NULL) SWIG_fail;
18004 temp2 = true;
18005 }
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 (arg1)->SetValue((wxString const &)*arg2);
18009 wxPyEndAllowThreads(__tstate);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 }
18012 resultobj = SWIG_Py_Void();
18013 {
18014 if (temp2)
18015 delete arg2;
18016 }
18017 return resultobj;
18018 fail:
18019 {
18020 if (temp2)
18021 delete arg2;
18022 }
18023 return NULL;
18024 }
18025
18026
18027 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18028 PyObject *obj;
18029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18030 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18031 return SWIG_Py_Void();
18032 }
18033
18034 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18035 return SWIG_Python_InitShadowInstance(args);
18036 }
18037
18038 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18039 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18040 return 1;
18041 }
18042
18043
18044 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18045 PyObject *pyobj = 0;
18046
18047 {
18048 #if wxUSE_UNICODE
18049 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18050 #else
18051 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18052 #endif
18053 }
18054 return pyobj;
18055 }
18056
18057
18058 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj = 0;
18060 wxWindow *arg1 = (wxWindow *) 0 ;
18061 wxString *arg2 = 0 ;
18062 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18063 wxString *arg3 = (wxString *) &arg3_defvalue ;
18064 wxString const &arg4_defvalue = wxPyEmptyString ;
18065 wxString *arg4 = (wxString *) &arg4_defvalue ;
18066 long arg5 = (long) wxTextEntryDialogStyle ;
18067 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18068 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18069 wxPasswordEntryDialog *result = 0 ;
18070 void *argp1 = 0 ;
18071 int res1 = 0 ;
18072 bool temp2 = false ;
18073 bool temp3 = false ;
18074 bool temp4 = false ;
18075 long val5 ;
18076 int ecode5 = 0 ;
18077 wxPoint temp6 ;
18078 PyObject * obj0 = 0 ;
18079 PyObject * obj1 = 0 ;
18080 PyObject * obj2 = 0 ;
18081 PyObject * obj3 = 0 ;
18082 PyObject * obj4 = 0 ;
18083 PyObject * obj5 = 0 ;
18084 char * kwnames[] = {
18085 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18086 };
18087
18088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18090 if (!SWIG_IsOK(res1)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18092 }
18093 arg1 = reinterpret_cast< wxWindow * >(argp1);
18094 {
18095 arg2 = wxString_in_helper(obj1);
18096 if (arg2 == NULL) SWIG_fail;
18097 temp2 = true;
18098 }
18099 if (obj2) {
18100 {
18101 arg3 = wxString_in_helper(obj2);
18102 if (arg3 == NULL) SWIG_fail;
18103 temp3 = true;
18104 }
18105 }
18106 if (obj3) {
18107 {
18108 arg4 = wxString_in_helper(obj3);
18109 if (arg4 == NULL) SWIG_fail;
18110 temp4 = true;
18111 }
18112 }
18113 if (obj4) {
18114 ecode5 = SWIG_AsVal_long(obj4, &val5);
18115 if (!SWIG_IsOK(ecode5)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18117 }
18118 arg5 = static_cast< long >(val5);
18119 }
18120 if (obj5) {
18121 {
18122 arg6 = &temp6;
18123 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18124 }
18125 }
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18133 {
18134 if (temp2)
18135 delete arg2;
18136 }
18137 {
18138 if (temp3)
18139 delete arg3;
18140 }
18141 {
18142 if (temp4)
18143 delete arg4;
18144 }
18145 return resultobj;
18146 fail:
18147 {
18148 if (temp2)
18149 delete arg2;
18150 }
18151 {
18152 if (temp3)
18153 delete arg3;
18154 }
18155 {
18156 if (temp4)
18157 delete arg4;
18158 }
18159 return NULL;
18160 }
18161
18162
18163 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18164 PyObject *obj;
18165 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18167 return SWIG_Py_Void();
18168 }
18169
18170 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18171 return SWIG_Python_InitShadowInstance(args);
18172 }
18173
18174 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18175 PyObject *resultobj = 0;
18176 wxFontData *result = 0 ;
18177
18178 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 result = (wxFontData *)new wxFontData();
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18193 PyObject *resultobj = 0;
18194 wxFontData *arg1 = (wxFontData *) 0 ;
18195 void *argp1 = 0 ;
18196 int res1 = 0 ;
18197 PyObject *swig_obj[1] ;
18198
18199 if (!args) SWIG_fail;
18200 swig_obj[0] = args;
18201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18202 if (!SWIG_IsOK(res1)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18204 }
18205 arg1 = reinterpret_cast< wxFontData * >(argp1);
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 delete arg1;
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 resultobj = SWIG_Py_Void();
18214 return resultobj;
18215 fail:
18216 return NULL;
18217 }
18218
18219
18220 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18221 PyObject *resultobj = 0;
18222 wxFontData *arg1 = (wxFontData *) 0 ;
18223 bool arg2 ;
18224 void *argp1 = 0 ;
18225 int res1 = 0 ;
18226 bool val2 ;
18227 int ecode2 = 0 ;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 char * kwnames[] = {
18231 (char *) "self",(char *) "enable", NULL
18232 };
18233
18234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18236 if (!SWIG_IsOK(res1)) {
18237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18238 }
18239 arg1 = reinterpret_cast< wxFontData * >(argp1);
18240 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18241 if (!SWIG_IsOK(ecode2)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18243 }
18244 arg2 = static_cast< bool >(val2);
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 (arg1)->EnableEffects(arg2);
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 resultobj = SWIG_Py_Void();
18252 return resultobj;
18253 fail:
18254 return NULL;
18255 }
18256
18257
18258 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18259 PyObject *resultobj = 0;
18260 wxFontData *arg1 = (wxFontData *) 0 ;
18261 bool result;
18262 void *argp1 = 0 ;
18263 int res1 = 0 ;
18264 PyObject *swig_obj[1] ;
18265
18266 if (!args) SWIG_fail;
18267 swig_obj[0] = args;
18268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18269 if (!SWIG_IsOK(res1)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18271 }
18272 arg1 = reinterpret_cast< wxFontData * >(argp1);
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = (bool)(arg1)->GetAllowSymbols();
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18281 }
18282 return resultobj;
18283 fail:
18284 return NULL;
18285 }
18286
18287
18288 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18289 PyObject *resultobj = 0;
18290 wxFontData *arg1 = (wxFontData *) 0 ;
18291 wxColour result;
18292 void *argp1 = 0 ;
18293 int res1 = 0 ;
18294 PyObject *swig_obj[1] ;
18295
18296 if (!args) SWIG_fail;
18297 swig_obj[0] = args;
18298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18299 if (!SWIG_IsOK(res1)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18301 }
18302 arg1 = reinterpret_cast< wxFontData * >(argp1);
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 result = (arg1)->GetColour();
18306 wxPyEndAllowThreads(__tstate);
18307 if (PyErr_Occurred()) SWIG_fail;
18308 }
18309 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18317 PyObject *resultobj = 0;
18318 wxFontData *arg1 = (wxFontData *) 0 ;
18319 wxFont result;
18320 void *argp1 = 0 ;
18321 int res1 = 0 ;
18322 PyObject *swig_obj[1] ;
18323
18324 if (!args) SWIG_fail;
18325 swig_obj[0] = args;
18326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18327 if (!SWIG_IsOK(res1)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18329 }
18330 arg1 = reinterpret_cast< wxFontData * >(argp1);
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (arg1)->GetChosenFont();
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18338 return resultobj;
18339 fail:
18340 return NULL;
18341 }
18342
18343
18344 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18345 PyObject *resultobj = 0;
18346 wxFontData *arg1 = (wxFontData *) 0 ;
18347 bool result;
18348 void *argp1 = 0 ;
18349 int res1 = 0 ;
18350 PyObject *swig_obj[1] ;
18351
18352 if (!args) SWIG_fail;
18353 swig_obj[0] = args;
18354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18355 if (!SWIG_IsOK(res1)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18357 }
18358 arg1 = reinterpret_cast< wxFontData * >(argp1);
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (bool)(arg1)->GetEnableEffects();
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 {
18366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18367 }
18368 return resultobj;
18369 fail:
18370 return NULL;
18371 }
18372
18373
18374 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18375 PyObject *resultobj = 0;
18376 wxFontData *arg1 = (wxFontData *) 0 ;
18377 wxFont result;
18378 void *argp1 = 0 ;
18379 int res1 = 0 ;
18380 PyObject *swig_obj[1] ;
18381
18382 if (!args) SWIG_fail;
18383 swig_obj[0] = args;
18384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18385 if (!SWIG_IsOK(res1)) {
18386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18387 }
18388 arg1 = reinterpret_cast< wxFontData * >(argp1);
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (arg1)->GetInitialFont();
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18396 return resultobj;
18397 fail:
18398 return NULL;
18399 }
18400
18401
18402 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18403 PyObject *resultobj = 0;
18404 wxFontData *arg1 = (wxFontData *) 0 ;
18405 bool result;
18406 void *argp1 = 0 ;
18407 int res1 = 0 ;
18408 PyObject *swig_obj[1] ;
18409
18410 if (!args) SWIG_fail;
18411 swig_obj[0] = args;
18412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18413 if (!SWIG_IsOK(res1)) {
18414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18415 }
18416 arg1 = reinterpret_cast< wxFontData * >(argp1);
18417 {
18418 PyThreadState* __tstate = wxPyBeginAllowThreads();
18419 result = (bool)(arg1)->GetShowHelp();
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 {
18424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18425 }
18426 return resultobj;
18427 fail:
18428 return NULL;
18429 }
18430
18431
18432 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj = 0;
18434 wxFontData *arg1 = (wxFontData *) 0 ;
18435 bool arg2 ;
18436 void *argp1 = 0 ;
18437 int res1 = 0 ;
18438 bool val2 ;
18439 int ecode2 = 0 ;
18440 PyObject * obj0 = 0 ;
18441 PyObject * obj1 = 0 ;
18442 char * kwnames[] = {
18443 (char *) "self",(char *) "allowSymbols", NULL
18444 };
18445
18446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18448 if (!SWIG_IsOK(res1)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18450 }
18451 arg1 = reinterpret_cast< wxFontData * >(argp1);
18452 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18453 if (!SWIG_IsOK(ecode2)) {
18454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18455 }
18456 arg2 = static_cast< bool >(val2);
18457 {
18458 PyThreadState* __tstate = wxPyBeginAllowThreads();
18459 (arg1)->SetAllowSymbols(arg2);
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 resultobj = SWIG_Py_Void();
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj = 0;
18472 wxFontData *arg1 = (wxFontData *) 0 ;
18473 wxFont *arg2 = 0 ;
18474 void *argp1 = 0 ;
18475 int res1 = 0 ;
18476 void *argp2 = 0 ;
18477 int res2 = 0 ;
18478 PyObject * obj0 = 0 ;
18479 PyObject * obj1 = 0 ;
18480 char * kwnames[] = {
18481 (char *) "self",(char *) "font", NULL
18482 };
18483
18484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18486 if (!SWIG_IsOK(res1)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18488 }
18489 arg1 = reinterpret_cast< wxFontData * >(argp1);
18490 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18491 if (!SWIG_IsOK(res2)) {
18492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18493 }
18494 if (!argp2) {
18495 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18496 }
18497 arg2 = reinterpret_cast< wxFont * >(argp2);
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 (arg1)->SetChosenFont((wxFont const &)*arg2);
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 resultobj = SWIG_Py_Void();
18505 return resultobj;
18506 fail:
18507 return NULL;
18508 }
18509
18510
18511 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj = 0;
18513 wxFontData *arg1 = (wxFontData *) 0 ;
18514 wxColour *arg2 = 0 ;
18515 void *argp1 = 0 ;
18516 int res1 = 0 ;
18517 wxColour temp2 ;
18518 PyObject * obj0 = 0 ;
18519 PyObject * obj1 = 0 ;
18520 char * kwnames[] = {
18521 (char *) "self",(char *) "colour", NULL
18522 };
18523
18524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18526 if (!SWIG_IsOK(res1)) {
18527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18528 }
18529 arg1 = reinterpret_cast< wxFontData * >(argp1);
18530 {
18531 arg2 = &temp2;
18532 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18533 }
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 (arg1)->SetColour((wxColour const &)*arg2);
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = SWIG_Py_Void();
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj = 0;
18549 wxFontData *arg1 = (wxFontData *) 0 ;
18550 wxFont *arg2 = 0 ;
18551 void *argp1 = 0 ;
18552 int res1 = 0 ;
18553 void *argp2 = 0 ;
18554 int res2 = 0 ;
18555 PyObject * obj0 = 0 ;
18556 PyObject * obj1 = 0 ;
18557 char * kwnames[] = {
18558 (char *) "self",(char *) "font", NULL
18559 };
18560
18561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18563 if (!SWIG_IsOK(res1)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18565 }
18566 arg1 = reinterpret_cast< wxFontData * >(argp1);
18567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18568 if (!SWIG_IsOK(res2)) {
18569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18570 }
18571 if (!argp2) {
18572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18573 }
18574 arg2 = reinterpret_cast< wxFont * >(argp2);
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 (arg1)->SetInitialFont((wxFont const &)*arg2);
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_Py_Void();
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj = 0;
18590 wxFontData *arg1 = (wxFontData *) 0 ;
18591 int arg2 ;
18592 int arg3 ;
18593 void *argp1 = 0 ;
18594 int res1 = 0 ;
18595 int val2 ;
18596 int ecode2 = 0 ;
18597 int val3 ;
18598 int ecode3 = 0 ;
18599 PyObject * obj0 = 0 ;
18600 PyObject * obj1 = 0 ;
18601 PyObject * obj2 = 0 ;
18602 char * kwnames[] = {
18603 (char *) "self",(char *) "min",(char *) "max", NULL
18604 };
18605
18606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18608 if (!SWIG_IsOK(res1)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18610 }
18611 arg1 = reinterpret_cast< wxFontData * >(argp1);
18612 ecode2 = SWIG_AsVal_int(obj1, &val2);
18613 if (!SWIG_IsOK(ecode2)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18615 }
18616 arg2 = static_cast< int >(val2);
18617 ecode3 = SWIG_AsVal_int(obj2, &val3);
18618 if (!SWIG_IsOK(ecode3)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18620 }
18621 arg3 = static_cast< int >(val3);
18622 {
18623 PyThreadState* __tstate = wxPyBeginAllowThreads();
18624 (arg1)->SetRange(arg2,arg3);
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 resultobj = SWIG_Py_Void();
18629 return resultobj;
18630 fail:
18631 return NULL;
18632 }
18633
18634
18635 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj = 0;
18637 wxFontData *arg1 = (wxFontData *) 0 ;
18638 bool arg2 ;
18639 void *argp1 = 0 ;
18640 int res1 = 0 ;
18641 bool val2 ;
18642 int ecode2 = 0 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char * kwnames[] = {
18646 (char *) "self",(char *) "showHelp", NULL
18647 };
18648
18649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18651 if (!SWIG_IsOK(res1)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18653 }
18654 arg1 = reinterpret_cast< wxFontData * >(argp1);
18655 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18656 if (!SWIG_IsOK(ecode2)) {
18657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18658 }
18659 arg2 = static_cast< bool >(val2);
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->SetShowHelp(arg2);
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 resultobj = SWIG_Py_Void();
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18674 PyObject *obj;
18675 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18676 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18677 return SWIG_Py_Void();
18678 }
18679
18680 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18681 return SWIG_Python_InitShadowInstance(args);
18682 }
18683
18684 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj = 0;
18686 wxWindow *arg1 = (wxWindow *) 0 ;
18687 wxFontData *arg2 = 0 ;
18688 wxFontDialog *result = 0 ;
18689 void *argp1 = 0 ;
18690 int res1 = 0 ;
18691 void *argp2 = 0 ;
18692 int res2 = 0 ;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 char * kwnames[] = {
18696 (char *) "parent",(char *) "data", NULL
18697 };
18698
18699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18701 if (!SWIG_IsOK(res1)) {
18702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18703 }
18704 arg1 = reinterpret_cast< wxWindow * >(argp1);
18705 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18706 if (!SWIG_IsOK(res2)) {
18707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18708 }
18709 if (!argp2) {
18710 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18711 }
18712 arg2 = reinterpret_cast< wxFontData * >(argp2);
18713 {
18714 if (!wxPyCheckForApp()) SWIG_fail;
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18728 PyObject *resultobj = 0;
18729 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18730 wxFontData *result = 0 ;
18731 void *argp1 = 0 ;
18732 int res1 = 0 ;
18733 PyObject *swig_obj[1] ;
18734
18735 if (!args) SWIG_fail;
18736 swig_obj[0] = args;
18737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18738 if (!SWIG_IsOK(res1)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18740 }
18741 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18742 {
18743 PyThreadState* __tstate = wxPyBeginAllowThreads();
18744 {
18745 wxFontData &_result_ref = (arg1)->GetFontData();
18746 result = (wxFontData *) &_result_ref;
18747 }
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18759 PyObject *obj;
18760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18761 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18762 return SWIG_Py_Void();
18763 }
18764
18765 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18766 return SWIG_Python_InitShadowInstance(args);
18767 }
18768
18769 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj = 0;
18771 wxWindow *arg1 = (wxWindow *) NULL ;
18772 wxFont const &arg2_defvalue = wxNullFont ;
18773 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18774 wxString const &arg3_defvalue = wxPyEmptyString ;
18775 wxString *arg3 = (wxString *) &arg3_defvalue ;
18776 wxFont result;
18777 void *argp1 = 0 ;
18778 int res1 = 0 ;
18779 void *argp2 = 0 ;
18780 int res2 = 0 ;
18781 bool temp3 = false ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 PyObject * obj2 = 0 ;
18785 char * kwnames[] = {
18786 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18787 };
18788
18789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18790 if (obj0) {
18791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18792 if (!SWIG_IsOK(res1)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18794 }
18795 arg1 = reinterpret_cast< wxWindow * >(argp1);
18796 }
18797 if (obj1) {
18798 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18799 if (!SWIG_IsOK(res2)) {
18800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18801 }
18802 if (!argp2) {
18803 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18804 }
18805 arg2 = reinterpret_cast< wxFont * >(argp2);
18806 }
18807 if (obj2) {
18808 {
18809 arg3 = wxString_in_helper(obj2);
18810 if (arg3 == NULL) SWIG_fail;
18811 temp3 = true;
18812 }
18813 }
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18821 {
18822 if (temp3)
18823 delete arg3;
18824 }
18825 return resultobj;
18826 fail:
18827 {
18828 if (temp3)
18829 delete arg3;
18830 }
18831 return NULL;
18832 }
18833
18834
18835 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj = 0;
18837 wxWindow *arg1 = (wxWindow *) 0 ;
18838 wxString *arg2 = 0 ;
18839 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
18840 wxString *arg3 = (wxString *) &arg3_defvalue ;
18841 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
18842 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18843 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18844 wxMessageDialog *result = 0 ;
18845 void *argp1 = 0 ;
18846 int res1 = 0 ;
18847 bool temp2 = false ;
18848 bool temp3 = false ;
18849 long val4 ;
18850 int ecode4 = 0 ;
18851 wxPoint temp5 ;
18852 PyObject * obj0 = 0 ;
18853 PyObject * obj1 = 0 ;
18854 PyObject * obj2 = 0 ;
18855 PyObject * obj3 = 0 ;
18856 PyObject * obj4 = 0 ;
18857 char * kwnames[] = {
18858 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18859 };
18860
18861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18863 if (!SWIG_IsOK(res1)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18865 }
18866 arg1 = reinterpret_cast< wxWindow * >(argp1);
18867 {
18868 arg2 = wxString_in_helper(obj1);
18869 if (arg2 == NULL) SWIG_fail;
18870 temp2 = true;
18871 }
18872 if (obj2) {
18873 {
18874 arg3 = wxString_in_helper(obj2);
18875 if (arg3 == NULL) SWIG_fail;
18876 temp3 = true;
18877 }
18878 }
18879 if (obj3) {
18880 ecode4 = SWIG_AsVal_long(obj3, &val4);
18881 if (!SWIG_IsOK(ecode4)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18883 }
18884 arg4 = static_cast< long >(val4);
18885 }
18886 if (obj4) {
18887 {
18888 arg5 = &temp5;
18889 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18890 }
18891 }
18892 {
18893 if (!wxPyCheckForApp()) SWIG_fail;
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
18900 {
18901 if (temp2)
18902 delete arg2;
18903 }
18904 {
18905 if (temp3)
18906 delete arg3;
18907 }
18908 return resultobj;
18909 fail:
18910 {
18911 if (temp2)
18912 delete arg2;
18913 }
18914 {
18915 if (temp3)
18916 delete arg3;
18917 }
18918 return NULL;
18919 }
18920
18921
18922 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18923 PyObject *obj;
18924 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18925 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
18926 return SWIG_Py_Void();
18927 }
18928
18929 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18930 return SWIG_Python_InitShadowInstance(args);
18931 }
18932
18933 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj = 0;
18935 wxString *arg1 = 0 ;
18936 wxString *arg2 = 0 ;
18937 int arg3 = (int) 100 ;
18938 wxWindow *arg4 = (wxWindow *) NULL ;
18939 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
18940 wxProgressDialog *result = 0 ;
18941 bool temp1 = false ;
18942 bool temp2 = false ;
18943 int val3 ;
18944 int ecode3 = 0 ;
18945 void *argp4 = 0 ;
18946 int res4 = 0 ;
18947 int val5 ;
18948 int ecode5 = 0 ;
18949 PyObject * obj0 = 0 ;
18950 PyObject * obj1 = 0 ;
18951 PyObject * obj2 = 0 ;
18952 PyObject * obj3 = 0 ;
18953 PyObject * obj4 = 0 ;
18954 char * kwnames[] = {
18955 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18956 };
18957
18958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18959 {
18960 arg1 = wxString_in_helper(obj0);
18961 if (arg1 == NULL) SWIG_fail;
18962 temp1 = true;
18963 }
18964 {
18965 arg2 = wxString_in_helper(obj1);
18966 if (arg2 == NULL) SWIG_fail;
18967 temp2 = true;
18968 }
18969 if (obj2) {
18970 ecode3 = SWIG_AsVal_int(obj2, &val3);
18971 if (!SWIG_IsOK(ecode3)) {
18972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18973 }
18974 arg3 = static_cast< int >(val3);
18975 }
18976 if (obj3) {
18977 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
18978 if (!SWIG_IsOK(res4)) {
18979 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18980 }
18981 arg4 = reinterpret_cast< wxWindow * >(argp4);
18982 }
18983 if (obj4) {
18984 ecode5 = SWIG_AsVal_int(obj4, &val5);
18985 if (!SWIG_IsOK(ecode5)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18987 }
18988 arg5 = static_cast< int >(val5);
18989 }
18990 {
18991 if (!wxPyCheckForApp()) SWIG_fail;
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
18998 {
18999 if (temp1)
19000 delete arg1;
19001 }
19002 {
19003 if (temp2)
19004 delete arg2;
19005 }
19006 return resultobj;
19007 fail:
19008 {
19009 if (temp1)
19010 delete arg1;
19011 }
19012 {
19013 if (temp2)
19014 delete arg2;
19015 }
19016 return NULL;
19017 }
19018
19019
19020 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19021 PyObject *resultobj = 0;
19022 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19023 int arg2 ;
19024 wxString const &arg3_defvalue = wxPyEmptyString ;
19025 wxString *arg3 = (wxString *) &arg3_defvalue ;
19026 bool *arg4 = (bool *) 0 ;
19027 bool result;
19028 void *argp1 = 0 ;
19029 int res1 = 0 ;
19030 int val2 ;
19031 int ecode2 = 0 ;
19032 bool temp3 = false ;
19033 bool temp4 ;
19034 int res4 = SWIG_TMPOBJ ;
19035 PyObject * obj0 = 0 ;
19036 PyObject * obj1 = 0 ;
19037 PyObject * obj2 = 0 ;
19038 char * kwnames[] = {
19039 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19040 };
19041
19042 arg4 = &temp4;
19043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19045 if (!SWIG_IsOK(res1)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19047 }
19048 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19049 ecode2 = SWIG_AsVal_int(obj1, &val2);
19050 if (!SWIG_IsOK(ecode2)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19052 }
19053 arg2 = static_cast< int >(val2);
19054 if (obj2) {
19055 {
19056 arg3 = wxString_in_helper(obj2);
19057 if (arg3 == NULL) SWIG_fail;
19058 temp3 = true;
19059 }
19060 }
19061 {
19062 PyThreadState* __tstate = wxPyBeginAllowThreads();
19063 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 {
19068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19069 }
19070 if (SWIG_IsTmpObj(res4)) {
19071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19072 } else {
19073 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19075 }
19076 {
19077 if (temp3)
19078 delete arg3;
19079 }
19080 return resultobj;
19081 fail:
19082 {
19083 if (temp3)
19084 delete arg3;
19085 }
19086 return NULL;
19087 }
19088
19089
19090 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19091 PyObject *resultobj = 0;
19092 wxProgressDialog *arg1 = (wxProgressDialog *) 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_wxProgressDialog, 0 | 0 );
19100 if (!SWIG_IsOK(res1)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19102 }
19103 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 (arg1)->Resume();
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 resultobj = SWIG_Py_Void();
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19118 PyObject *obj;
19119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19120 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19121 return SWIG_Py_Void();
19122 }
19123
19124 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19125 return SWIG_Python_InitShadowInstance(args);
19126 }
19127
19128 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj = 0;
19130 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19131 int arg2 = (int) 0 ;
19132 wxFindDialogEvent *result = 0 ;
19133 int val1 ;
19134 int ecode1 = 0 ;
19135 int val2 ;
19136 int ecode2 = 0 ;
19137 PyObject * obj0 = 0 ;
19138 PyObject * obj1 = 0 ;
19139 char * kwnames[] = {
19140 (char *) "commandType",(char *) "id", NULL
19141 };
19142
19143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19144 if (obj0) {
19145 ecode1 = SWIG_AsVal_int(obj0, &val1);
19146 if (!SWIG_IsOK(ecode1)) {
19147 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19148 }
19149 arg1 = static_cast< wxEventType >(val1);
19150 }
19151 if (obj1) {
19152 ecode2 = SWIG_AsVal_int(obj1, &val2);
19153 if (!SWIG_IsOK(ecode2)) {
19154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19155 }
19156 arg2 = static_cast< int >(val2);
19157 }
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19161 wxPyEndAllowThreads(__tstate);
19162 if (PyErr_Occurred()) SWIG_fail;
19163 }
19164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19165 return resultobj;
19166 fail:
19167 return NULL;
19168 }
19169
19170
19171 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19172 PyObject *resultobj = 0;
19173 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19174 int result;
19175 void *argp1 = 0 ;
19176 int res1 = 0 ;
19177 PyObject *swig_obj[1] ;
19178
19179 if (!args) SWIG_fail;
19180 swig_obj[0] = args;
19181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19182 if (!SWIG_IsOK(res1)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19184 }
19185 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 result = (int)(arg1)->GetFlags();
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 resultobj = SWIG_From_int(static_cast< int >(result));
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19200 PyObject *resultobj = 0;
19201 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19202 wxString *result = 0 ;
19203 void *argp1 = 0 ;
19204 int res1 = 0 ;
19205 PyObject *swig_obj[1] ;
19206
19207 if (!args) SWIG_fail;
19208 swig_obj[0] = args;
19209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19210 if (!SWIG_IsOK(res1)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19212 }
19213 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19214 {
19215 PyThreadState* __tstate = wxPyBeginAllowThreads();
19216 {
19217 wxString const &_result_ref = (arg1)->GetFindString();
19218 result = (wxString *) &_result_ref;
19219 }
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 {
19224 #if wxUSE_UNICODE
19225 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19226 #else
19227 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19228 #endif
19229 }
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19237 PyObject *resultobj = 0;
19238 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19239 wxString *result = 0 ;
19240 void *argp1 = 0 ;
19241 int res1 = 0 ;
19242 PyObject *swig_obj[1] ;
19243
19244 if (!args) SWIG_fail;
19245 swig_obj[0] = args;
19246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19247 if (!SWIG_IsOK(res1)) {
19248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19249 }
19250 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 {
19254 wxString const &_result_ref = (arg1)->GetReplaceString();
19255 result = (wxString *) &_result_ref;
19256 }
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 {
19261 #if wxUSE_UNICODE
19262 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19263 #else
19264 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19265 #endif
19266 }
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19274 PyObject *resultobj = 0;
19275 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19276 wxFindReplaceDialog *result = 0 ;
19277 void *argp1 = 0 ;
19278 int res1 = 0 ;
19279 PyObject *swig_obj[1] ;
19280
19281 if (!args) SWIG_fail;
19282 swig_obj[0] = args;
19283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19284 if (!SWIG_IsOK(res1)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19286 }
19287 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj = 0;
19303 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19304 int arg2 ;
19305 void *argp1 = 0 ;
19306 int res1 = 0 ;
19307 int val2 ;
19308 int ecode2 = 0 ;
19309 PyObject * obj0 = 0 ;
19310 PyObject * obj1 = 0 ;
19311 char * kwnames[] = {
19312 (char *) "self",(char *) "flags", NULL
19313 };
19314
19315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19317 if (!SWIG_IsOK(res1)) {
19318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19319 }
19320 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19321 ecode2 = SWIG_AsVal_int(obj1, &val2);
19322 if (!SWIG_IsOK(ecode2)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19324 }
19325 arg2 = static_cast< int >(val2);
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->SetFlags(arg2);
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 resultobj = SWIG_Py_Void();
19333 return resultobj;
19334 fail:
19335 return NULL;
19336 }
19337
19338
19339 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19340 PyObject *resultobj = 0;
19341 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19342 wxString *arg2 = 0 ;
19343 void *argp1 = 0 ;
19344 int res1 = 0 ;
19345 bool temp2 = false ;
19346 PyObject * obj0 = 0 ;
19347 PyObject * obj1 = 0 ;
19348 char * kwnames[] = {
19349 (char *) "self",(char *) "str", NULL
19350 };
19351
19352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19354 if (!SWIG_IsOK(res1)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19356 }
19357 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19358 {
19359 arg2 = wxString_in_helper(obj1);
19360 if (arg2 == NULL) SWIG_fail;
19361 temp2 = true;
19362 }
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->SetFindString((wxString const &)*arg2);
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 resultobj = SWIG_Py_Void();
19370 {
19371 if (temp2)
19372 delete arg2;
19373 }
19374 return resultobj;
19375 fail:
19376 {
19377 if (temp2)
19378 delete arg2;
19379 }
19380 return NULL;
19381 }
19382
19383
19384 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj = 0;
19386 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19387 wxString *arg2 = 0 ;
19388 void *argp1 = 0 ;
19389 int res1 = 0 ;
19390 bool temp2 = false ;
19391 PyObject * obj0 = 0 ;
19392 PyObject * obj1 = 0 ;
19393 char * kwnames[] = {
19394 (char *) "self",(char *) "str", NULL
19395 };
19396
19397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19399 if (!SWIG_IsOK(res1)) {
19400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19401 }
19402 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19403 {
19404 arg2 = wxString_in_helper(obj1);
19405 if (arg2 == NULL) SWIG_fail;
19406 temp2 = true;
19407 }
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->SetReplaceString((wxString const &)*arg2);
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = SWIG_Py_Void();
19415 {
19416 if (temp2)
19417 delete arg2;
19418 }
19419 return resultobj;
19420 fail:
19421 {
19422 if (temp2)
19423 delete arg2;
19424 }
19425 return NULL;
19426 }
19427
19428
19429 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19430 PyObject *obj;
19431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19432 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19433 return SWIG_Py_Void();
19434 }
19435
19436 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19437 return SWIG_Python_InitShadowInstance(args);
19438 }
19439
19440 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj = 0;
19442 int arg1 = (int) 0 ;
19443 wxFindReplaceData *result = 0 ;
19444 int val1 ;
19445 int ecode1 = 0 ;
19446 PyObject * obj0 = 0 ;
19447 char * kwnames[] = {
19448 (char *) "flags", NULL
19449 };
19450
19451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19452 if (obj0) {
19453 ecode1 = SWIG_AsVal_int(obj0, &val1);
19454 if (!SWIG_IsOK(ecode1)) {
19455 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19456 }
19457 arg1 = static_cast< int >(val1);
19458 }
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19473 PyObject *resultobj = 0;
19474 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19475 void *argp1 = 0 ;
19476 int res1 = 0 ;
19477 PyObject *swig_obj[1] ;
19478
19479 if (!args) SWIG_fail;
19480 swig_obj[0] = args;
19481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19482 if (!SWIG_IsOK(res1)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19484 }
19485 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 delete arg1;
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 resultobj = SWIG_Py_Void();
19494 return resultobj;
19495 fail:
19496 return NULL;
19497 }
19498
19499
19500 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19501 PyObject *resultobj = 0;
19502 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19503 wxString *result = 0 ;
19504 void *argp1 = 0 ;
19505 int res1 = 0 ;
19506 PyObject *swig_obj[1] ;
19507
19508 if (!args) SWIG_fail;
19509 swig_obj[0] = args;
19510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19511 if (!SWIG_IsOK(res1)) {
19512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19513 }
19514 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 {
19518 wxString const &_result_ref = (arg1)->GetFindString();
19519 result = (wxString *) &_result_ref;
19520 }
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 {
19525 #if wxUSE_UNICODE
19526 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19527 #else
19528 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19529 #endif
19530 }
19531 return resultobj;
19532 fail:
19533 return NULL;
19534 }
19535
19536
19537 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19538 PyObject *resultobj = 0;
19539 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19540 wxString *result = 0 ;
19541 void *argp1 = 0 ;
19542 int res1 = 0 ;
19543 PyObject *swig_obj[1] ;
19544
19545 if (!args) SWIG_fail;
19546 swig_obj[0] = args;
19547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19548 if (!SWIG_IsOK(res1)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19550 }
19551 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 {
19555 wxString const &_result_ref = (arg1)->GetReplaceString();
19556 result = (wxString *) &_result_ref;
19557 }
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 {
19562 #if wxUSE_UNICODE
19563 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19564 #else
19565 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19566 #endif
19567 }
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19575 PyObject *resultobj = 0;
19576 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19577 int result;
19578 void *argp1 = 0 ;
19579 int res1 = 0 ;
19580 PyObject *swig_obj[1] ;
19581
19582 if (!args) SWIG_fail;
19583 swig_obj[0] = args;
19584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19585 if (!SWIG_IsOK(res1)) {
19586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19587 }
19588 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (int)(arg1)->GetFlags();
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = SWIG_From_int(static_cast< int >(result));
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj = 0;
19604 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19605 int arg2 ;
19606 void *argp1 = 0 ;
19607 int res1 = 0 ;
19608 int val2 ;
19609 int ecode2 = 0 ;
19610 PyObject * obj0 = 0 ;
19611 PyObject * obj1 = 0 ;
19612 char * kwnames[] = {
19613 (char *) "self",(char *) "flags", NULL
19614 };
19615
19616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19618 if (!SWIG_IsOK(res1)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19620 }
19621 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19622 ecode2 = SWIG_AsVal_int(obj1, &val2);
19623 if (!SWIG_IsOK(ecode2)) {
19624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19625 }
19626 arg2 = static_cast< int >(val2);
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 (arg1)->SetFlags(arg2);
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = SWIG_Py_Void();
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj = 0;
19642 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19643 wxString *arg2 = 0 ;
19644 void *argp1 = 0 ;
19645 int res1 = 0 ;
19646 bool temp2 = false ;
19647 PyObject * obj0 = 0 ;
19648 PyObject * obj1 = 0 ;
19649 char * kwnames[] = {
19650 (char *) "self",(char *) "str", NULL
19651 };
19652
19653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19655 if (!SWIG_IsOK(res1)) {
19656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19657 }
19658 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19659 {
19660 arg2 = wxString_in_helper(obj1);
19661 if (arg2 == NULL) SWIG_fail;
19662 temp2 = true;
19663 }
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 (arg1)->SetFindString((wxString const &)*arg2);
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 resultobj = SWIG_Py_Void();
19671 {
19672 if (temp2)
19673 delete arg2;
19674 }
19675 return resultobj;
19676 fail:
19677 {
19678 if (temp2)
19679 delete arg2;
19680 }
19681 return NULL;
19682 }
19683
19684
19685 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj = 0;
19687 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19688 wxString *arg2 = 0 ;
19689 void *argp1 = 0 ;
19690 int res1 = 0 ;
19691 bool temp2 = false ;
19692 PyObject * obj0 = 0 ;
19693 PyObject * obj1 = 0 ;
19694 char * kwnames[] = {
19695 (char *) "self",(char *) "str", NULL
19696 };
19697
19698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19700 if (!SWIG_IsOK(res1)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19702 }
19703 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19704 {
19705 arg2 = wxString_in_helper(obj1);
19706 if (arg2 == NULL) SWIG_fail;
19707 temp2 = true;
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 (arg1)->SetReplaceString((wxString const &)*arg2);
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = SWIG_Py_Void();
19716 {
19717 if (temp2)
19718 delete arg2;
19719 }
19720 return resultobj;
19721 fail:
19722 {
19723 if (temp2)
19724 delete arg2;
19725 }
19726 return NULL;
19727 }
19728
19729
19730 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19731 PyObject *obj;
19732 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19733 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19734 return SWIG_Py_Void();
19735 }
19736
19737 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19738 return SWIG_Python_InitShadowInstance(args);
19739 }
19740
19741 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj = 0;
19743 wxWindow *arg1 = (wxWindow *) 0 ;
19744 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19745 wxString *arg3 = 0 ;
19746 int arg4 = (int) 0 ;
19747 wxFindReplaceDialog *result = 0 ;
19748 void *argp1 = 0 ;
19749 int res1 = 0 ;
19750 void *argp2 = 0 ;
19751 int res2 = 0 ;
19752 bool temp3 = false ;
19753 int val4 ;
19754 int ecode4 = 0 ;
19755 PyObject * obj0 = 0 ;
19756 PyObject * obj1 = 0 ;
19757 PyObject * obj2 = 0 ;
19758 PyObject * obj3 = 0 ;
19759 char * kwnames[] = {
19760 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19761 };
19762
19763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19765 if (!SWIG_IsOK(res1)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19767 }
19768 arg1 = reinterpret_cast< wxWindow * >(argp1);
19769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19770 if (!SWIG_IsOK(res2)) {
19771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19772 }
19773 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19774 {
19775 arg3 = wxString_in_helper(obj2);
19776 if (arg3 == NULL) SWIG_fail;
19777 temp3 = true;
19778 }
19779 if (obj3) {
19780 ecode4 = SWIG_AsVal_int(obj3, &val4);
19781 if (!SWIG_IsOK(ecode4)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19783 }
19784 arg4 = static_cast< int >(val4);
19785 }
19786 {
19787 if (!wxPyCheckForApp()) SWIG_fail;
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19794 {
19795 if (temp3)
19796 delete arg3;
19797 }
19798 return resultobj;
19799 fail:
19800 {
19801 if (temp3)
19802 delete arg3;
19803 }
19804 return NULL;
19805 }
19806
19807
19808 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19809 PyObject *resultobj = 0;
19810 wxFindReplaceDialog *result = 0 ;
19811
19812 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19813 {
19814 if (!wxPyCheckForApp()) SWIG_fail;
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj = 0;
19829 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19830 wxWindow *arg2 = (wxWindow *) 0 ;
19831 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19832 wxString *arg4 = 0 ;
19833 int arg5 = (int) 0 ;
19834 bool result;
19835 void *argp1 = 0 ;
19836 int res1 = 0 ;
19837 void *argp2 = 0 ;
19838 int res2 = 0 ;
19839 void *argp3 = 0 ;
19840 int res3 = 0 ;
19841 bool temp4 = false ;
19842 int val5 ;
19843 int ecode5 = 0 ;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 PyObject * obj2 = 0 ;
19847 PyObject * obj3 = 0 ;
19848 PyObject * obj4 = 0 ;
19849 char * kwnames[] = {
19850 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19851 };
19852
19853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19855 if (!SWIG_IsOK(res1)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19857 }
19858 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19859 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19860 if (!SWIG_IsOK(res2)) {
19861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19862 }
19863 arg2 = reinterpret_cast< wxWindow * >(argp2);
19864 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19865 if (!SWIG_IsOK(res3)) {
19866 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19867 }
19868 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
19869 {
19870 arg4 = wxString_in_helper(obj3);
19871 if (arg4 == NULL) SWIG_fail;
19872 temp4 = true;
19873 }
19874 if (obj4) {
19875 ecode5 = SWIG_AsVal_int(obj4, &val5);
19876 if (!SWIG_IsOK(ecode5)) {
19877 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19878 }
19879 arg5 = static_cast< int >(val5);
19880 }
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
19887 {
19888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19889 }
19890 {
19891 if (temp4)
19892 delete arg4;
19893 }
19894 return resultobj;
19895 fail:
19896 {
19897 if (temp4)
19898 delete arg4;
19899 }
19900 return NULL;
19901 }
19902
19903
19904 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19905 PyObject *resultobj = 0;
19906 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19907 wxFindReplaceData *result = 0 ;
19908 void *argp1 = 0 ;
19909 int res1 = 0 ;
19910 PyObject *swig_obj[1] ;
19911
19912 if (!args) SWIG_fail;
19913 swig_obj[0] = args;
19914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19915 if (!SWIG_IsOK(res1)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19917 }
19918 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19919 {
19920 PyThreadState* __tstate = wxPyBeginAllowThreads();
19921 result = (wxFindReplaceData *)(arg1)->GetData();
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj = 0;
19934 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19935 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19936 void *argp1 = 0 ;
19937 int res1 = 0 ;
19938 void *argp2 = 0 ;
19939 int res2 = 0 ;
19940 PyObject * obj0 = 0 ;
19941 PyObject * obj1 = 0 ;
19942 char * kwnames[] = {
19943 (char *) "self",(char *) "data", NULL
19944 };
19945
19946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
19947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19948 if (!SWIG_IsOK(res1)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19950 }
19951 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
19952 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19953 if (!SWIG_IsOK(res2)) {
19954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19955 }
19956 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 (arg1)->SetData(arg2);
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = SWIG_Py_Void();
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19971 PyObject *obj;
19972 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19973 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
19974 return SWIG_Py_Void();
19975 }
19976
19977 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19978 return SWIG_Python_InitShadowInstance(args);
19979 }
19980
19981 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19982 PyObject *resultobj = 0;
19983 wxWindow *arg1 = (wxWindow *) 0 ;
19984 int arg2 = (int) (int)-1 ;
19985 wxString const &arg3_defvalue = wxPyEmptyString ;
19986 wxString *arg3 = (wxString *) &arg3_defvalue ;
19987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19989 wxSize const &arg5_defvalue = wxDefaultSize ;
19990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19991 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
19992 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19993 wxString *arg7 = (wxString *) &arg7_defvalue ;
19994 wxMDIParentFrame *result = 0 ;
19995 void *argp1 = 0 ;
19996 int res1 = 0 ;
19997 int val2 ;
19998 int ecode2 = 0 ;
19999 bool temp3 = false ;
20000 wxPoint temp4 ;
20001 wxSize temp5 ;
20002 long val6 ;
20003 int ecode6 = 0 ;
20004 bool temp7 = false ;
20005 PyObject * obj0 = 0 ;
20006 PyObject * obj1 = 0 ;
20007 PyObject * obj2 = 0 ;
20008 PyObject * obj3 = 0 ;
20009 PyObject * obj4 = 0 ;
20010 PyObject * obj5 = 0 ;
20011 PyObject * obj6 = 0 ;
20012 char * kwnames[] = {
20013 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20014 };
20015
20016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20018 if (!SWIG_IsOK(res1)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20020 }
20021 arg1 = reinterpret_cast< wxWindow * >(argp1);
20022 if (obj1) {
20023 ecode2 = SWIG_AsVal_int(obj1, &val2);
20024 if (!SWIG_IsOK(ecode2)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20026 }
20027 arg2 = static_cast< int >(val2);
20028 }
20029 if (obj2) {
20030 {
20031 arg3 = wxString_in_helper(obj2);
20032 if (arg3 == NULL) SWIG_fail;
20033 temp3 = true;
20034 }
20035 }
20036 if (obj3) {
20037 {
20038 arg4 = &temp4;
20039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20040 }
20041 }
20042 if (obj4) {
20043 {
20044 arg5 = &temp5;
20045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20046 }
20047 }
20048 if (obj5) {
20049 ecode6 = SWIG_AsVal_long(obj5, &val6);
20050 if (!SWIG_IsOK(ecode6)) {
20051 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20052 }
20053 arg6 = static_cast< long >(val6);
20054 }
20055 if (obj6) {
20056 {
20057 arg7 = wxString_in_helper(obj6);
20058 if (arg7 == NULL) SWIG_fail;
20059 temp7 = true;
20060 }
20061 }
20062 {
20063 if (!wxPyCheckForApp()) SWIG_fail;
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20070 {
20071 if (temp3)
20072 delete arg3;
20073 }
20074 {
20075 if (temp7)
20076 delete arg7;
20077 }
20078 return resultobj;
20079 fail:
20080 {
20081 if (temp3)
20082 delete arg3;
20083 }
20084 {
20085 if (temp7)
20086 delete arg7;
20087 }
20088 return NULL;
20089 }
20090
20091
20092 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20093 PyObject *resultobj = 0;
20094 wxMDIParentFrame *result = 0 ;
20095
20096 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20097 {
20098 if (!wxPyCheckForApp()) SWIG_fail;
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20105 return resultobj;
20106 fail:
20107 return NULL;
20108 }
20109
20110
20111 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj = 0;
20113 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20114 wxWindow *arg2 = (wxWindow *) 0 ;
20115 int arg3 = (int) (int)-1 ;
20116 wxString const &arg4_defvalue = wxPyEmptyString ;
20117 wxString *arg4 = (wxString *) &arg4_defvalue ;
20118 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20119 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20120 wxSize const &arg6_defvalue = wxDefaultSize ;
20121 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20122 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20123 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20124 wxString *arg8 = (wxString *) &arg8_defvalue ;
20125 bool result;
20126 void *argp1 = 0 ;
20127 int res1 = 0 ;
20128 void *argp2 = 0 ;
20129 int res2 = 0 ;
20130 int val3 ;
20131 int ecode3 = 0 ;
20132 bool temp4 = false ;
20133 wxPoint temp5 ;
20134 wxSize temp6 ;
20135 long val7 ;
20136 int ecode7 = 0 ;
20137 bool temp8 = false ;
20138 PyObject * obj0 = 0 ;
20139 PyObject * obj1 = 0 ;
20140 PyObject * obj2 = 0 ;
20141 PyObject * obj3 = 0 ;
20142 PyObject * obj4 = 0 ;
20143 PyObject * obj5 = 0 ;
20144 PyObject * obj6 = 0 ;
20145 PyObject * obj7 = 0 ;
20146 char * kwnames[] = {
20147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20148 };
20149
20150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20152 if (!SWIG_IsOK(res1)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20154 }
20155 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20157 if (!SWIG_IsOK(res2)) {
20158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20159 }
20160 arg2 = reinterpret_cast< wxWindow * >(argp2);
20161 if (obj2) {
20162 ecode3 = SWIG_AsVal_int(obj2, &val3);
20163 if (!SWIG_IsOK(ecode3)) {
20164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20165 }
20166 arg3 = static_cast< int >(val3);
20167 }
20168 if (obj3) {
20169 {
20170 arg4 = wxString_in_helper(obj3);
20171 if (arg4 == NULL) SWIG_fail;
20172 temp4 = true;
20173 }
20174 }
20175 if (obj4) {
20176 {
20177 arg5 = &temp5;
20178 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20179 }
20180 }
20181 if (obj5) {
20182 {
20183 arg6 = &temp6;
20184 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20185 }
20186 }
20187 if (obj6) {
20188 ecode7 = SWIG_AsVal_long(obj6, &val7);
20189 if (!SWIG_IsOK(ecode7)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20191 }
20192 arg7 = static_cast< long >(val7);
20193 }
20194 if (obj7) {
20195 {
20196 arg8 = wxString_in_helper(obj7);
20197 if (arg8 == NULL) SWIG_fail;
20198 temp8 = true;
20199 }
20200 }
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20204 wxPyEndAllowThreads(__tstate);
20205 if (PyErr_Occurred()) SWIG_fail;
20206 }
20207 {
20208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20209 }
20210 {
20211 if (temp4)
20212 delete arg4;
20213 }
20214 {
20215 if (temp8)
20216 delete arg8;
20217 }
20218 return resultobj;
20219 fail:
20220 {
20221 if (temp4)
20222 delete arg4;
20223 }
20224 {
20225 if (temp8)
20226 delete arg8;
20227 }
20228 return NULL;
20229 }
20230
20231
20232 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20233 PyObject *resultobj = 0;
20234 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20235 void *argp1 = 0 ;
20236 int res1 = 0 ;
20237 PyObject *swig_obj[1] ;
20238
20239 if (!args) SWIG_fail;
20240 swig_obj[0] = args;
20241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20242 if (!SWIG_IsOK(res1)) {
20243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20244 }
20245 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 (arg1)->ActivateNext();
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 resultobj = SWIG_Py_Void();
20253 return resultobj;
20254 fail:
20255 return NULL;
20256 }
20257
20258
20259 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20260 PyObject *resultobj = 0;
20261 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20262 void *argp1 = 0 ;
20263 int res1 = 0 ;
20264 PyObject *swig_obj[1] ;
20265
20266 if (!args) SWIG_fail;
20267 swig_obj[0] = args;
20268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20269 if (!SWIG_IsOK(res1)) {
20270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20271 }
20272 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 (arg1)->ActivatePrevious();
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = SWIG_Py_Void();
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20287 PyObject *resultobj = 0;
20288 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20289 void *argp1 = 0 ;
20290 int res1 = 0 ;
20291 PyObject *swig_obj[1] ;
20292
20293 if (!args) SWIG_fail;
20294 swig_obj[0] = args;
20295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20296 if (!SWIG_IsOK(res1)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20298 }
20299 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 (arg1)->ArrangeIcons();
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 resultobj = SWIG_Py_Void();
20307 return resultobj;
20308 fail:
20309 return NULL;
20310 }
20311
20312
20313 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20314 PyObject *resultobj = 0;
20315 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20316 void *argp1 = 0 ;
20317 int res1 = 0 ;
20318 PyObject *swig_obj[1] ;
20319
20320 if (!args) SWIG_fail;
20321 swig_obj[0] = args;
20322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20323 if (!SWIG_IsOK(res1)) {
20324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20325 }
20326 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20327 {
20328 PyThreadState* __tstate = wxPyBeginAllowThreads();
20329 (arg1)->Cascade();
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 resultobj = SWIG_Py_Void();
20334 return resultobj;
20335 fail:
20336 return NULL;
20337 }
20338
20339
20340 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20341 PyObject *resultobj = 0;
20342 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20343 wxMDIChildFrame *result = 0 ;
20344 void *argp1 = 0 ;
20345 int res1 = 0 ;
20346 PyObject *swig_obj[1] ;
20347
20348 if (!args) SWIG_fail;
20349 swig_obj[0] = args;
20350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20351 if (!SWIG_IsOK(res1)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20353 }
20354 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20355 {
20356 PyThreadState* __tstate = wxPyBeginAllowThreads();
20357 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 {
20362 resultobj = wxPyMake_wxObject(result, (bool)0);
20363 }
20364 return resultobj;
20365 fail:
20366 return NULL;
20367 }
20368
20369
20370 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20371 PyObject *resultobj = 0;
20372 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20373 wxMDIClientWindow *result = 0 ;
20374 void *argp1 = 0 ;
20375 int res1 = 0 ;
20376 PyObject *swig_obj[1] ;
20377
20378 if (!args) SWIG_fail;
20379 swig_obj[0] = args;
20380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20381 if (!SWIG_IsOK(res1)) {
20382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20383 }
20384 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 {
20392 resultobj = wxPyMake_wxObject(result, (bool)0);
20393 }
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20401 PyObject *resultobj = 0;
20402 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20403 wxWindow *result = 0 ;
20404 void *argp1 = 0 ;
20405 int res1 = 0 ;
20406 PyObject *swig_obj[1] ;
20407
20408 if (!args) SWIG_fail;
20409 swig_obj[0] = args;
20410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20411 if (!SWIG_IsOK(res1)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20413 }
20414 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 result = (wxWindow *)(arg1)->GetToolBar();
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 {
20422 resultobj = wxPyMake_wxObject(result, 0);
20423 }
20424 return resultobj;
20425 fail:
20426 return NULL;
20427 }
20428
20429
20430 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj = 0;
20432 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20433 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20434 void *argp1 = 0 ;
20435 int res1 = 0 ;
20436 int val2 ;
20437 int ecode2 = 0 ;
20438 PyObject * obj0 = 0 ;
20439 PyObject * obj1 = 0 ;
20440 char * kwnames[] = {
20441 (char *) "self",(char *) "orient", NULL
20442 };
20443
20444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20446 if (!SWIG_IsOK(res1)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20448 }
20449 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20450 if (obj1) {
20451 ecode2 = SWIG_AsVal_int(obj1, &val2);
20452 if (!SWIG_IsOK(ecode2)) {
20453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20454 }
20455 arg2 = static_cast< wxOrientation >(val2);
20456 }
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 (arg1)->Tile(arg2);
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 resultobj = SWIG_Py_Void();
20464 return resultobj;
20465 fail:
20466 return NULL;
20467 }
20468
20469
20470 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20471 PyObject *obj;
20472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20473 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20474 return SWIG_Py_Void();
20475 }
20476
20477 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20478 return SWIG_Python_InitShadowInstance(args);
20479 }
20480
20481 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20482 PyObject *resultobj = 0;
20483 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20484 int arg2 = (int) (int)-1 ;
20485 wxString const &arg3_defvalue = wxPyEmptyString ;
20486 wxString *arg3 = (wxString *) &arg3_defvalue ;
20487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20489 wxSize const &arg5_defvalue = wxDefaultSize ;
20490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20491 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20492 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20493 wxString *arg7 = (wxString *) &arg7_defvalue ;
20494 wxMDIChildFrame *result = 0 ;
20495 void *argp1 = 0 ;
20496 int res1 = 0 ;
20497 int val2 ;
20498 int ecode2 = 0 ;
20499 bool temp3 = false ;
20500 wxPoint temp4 ;
20501 wxSize temp5 ;
20502 long val6 ;
20503 int ecode6 = 0 ;
20504 bool temp7 = false ;
20505 PyObject * obj0 = 0 ;
20506 PyObject * obj1 = 0 ;
20507 PyObject * obj2 = 0 ;
20508 PyObject * obj3 = 0 ;
20509 PyObject * obj4 = 0 ;
20510 PyObject * obj5 = 0 ;
20511 PyObject * obj6 = 0 ;
20512 char * kwnames[] = {
20513 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20514 };
20515
20516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20518 if (!SWIG_IsOK(res1)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20520 }
20521 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20522 if (obj1) {
20523 ecode2 = SWIG_AsVal_int(obj1, &val2);
20524 if (!SWIG_IsOK(ecode2)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20526 }
20527 arg2 = static_cast< int >(val2);
20528 }
20529 if (obj2) {
20530 {
20531 arg3 = wxString_in_helper(obj2);
20532 if (arg3 == NULL) SWIG_fail;
20533 temp3 = true;
20534 }
20535 }
20536 if (obj3) {
20537 {
20538 arg4 = &temp4;
20539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20540 }
20541 }
20542 if (obj4) {
20543 {
20544 arg5 = &temp5;
20545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20546 }
20547 }
20548 if (obj5) {
20549 ecode6 = SWIG_AsVal_long(obj5, &val6);
20550 if (!SWIG_IsOK(ecode6)) {
20551 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20552 }
20553 arg6 = static_cast< long >(val6);
20554 }
20555 if (obj6) {
20556 {
20557 arg7 = wxString_in_helper(obj6);
20558 if (arg7 == NULL) SWIG_fail;
20559 temp7 = true;
20560 }
20561 }
20562 {
20563 if (!wxPyCheckForApp()) SWIG_fail;
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20570 {
20571 if (temp3)
20572 delete arg3;
20573 }
20574 {
20575 if (temp7)
20576 delete arg7;
20577 }
20578 return resultobj;
20579 fail:
20580 {
20581 if (temp3)
20582 delete arg3;
20583 }
20584 {
20585 if (temp7)
20586 delete arg7;
20587 }
20588 return NULL;
20589 }
20590
20591
20592 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20593 PyObject *resultobj = 0;
20594 wxMDIChildFrame *result = 0 ;
20595
20596 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20597 {
20598 if (!wxPyCheckForApp()) SWIG_fail;
20599 PyThreadState* __tstate = wxPyBeginAllowThreads();
20600 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20612 PyObject *resultobj = 0;
20613 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20614 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20615 int arg3 = (int) (int)-1 ;
20616 wxString const &arg4_defvalue = wxPyEmptyString ;
20617 wxString *arg4 = (wxString *) &arg4_defvalue ;
20618 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20619 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20620 wxSize const &arg6_defvalue = wxDefaultSize ;
20621 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20622 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20623 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20624 wxString *arg8 = (wxString *) &arg8_defvalue ;
20625 bool result;
20626 void *argp1 = 0 ;
20627 int res1 = 0 ;
20628 void *argp2 = 0 ;
20629 int res2 = 0 ;
20630 int val3 ;
20631 int ecode3 = 0 ;
20632 bool temp4 = false ;
20633 wxPoint temp5 ;
20634 wxSize temp6 ;
20635 long val7 ;
20636 int ecode7 = 0 ;
20637 bool temp8 = false ;
20638 PyObject * obj0 = 0 ;
20639 PyObject * obj1 = 0 ;
20640 PyObject * obj2 = 0 ;
20641 PyObject * obj3 = 0 ;
20642 PyObject * obj4 = 0 ;
20643 PyObject * obj5 = 0 ;
20644 PyObject * obj6 = 0 ;
20645 PyObject * obj7 = 0 ;
20646 char * kwnames[] = {
20647 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20648 };
20649
20650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20652 if (!SWIG_IsOK(res1)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20654 }
20655 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20656 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20657 if (!SWIG_IsOK(res2)) {
20658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20659 }
20660 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20661 if (obj2) {
20662 ecode3 = SWIG_AsVal_int(obj2, &val3);
20663 if (!SWIG_IsOK(ecode3)) {
20664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20665 }
20666 arg3 = static_cast< int >(val3);
20667 }
20668 if (obj3) {
20669 {
20670 arg4 = wxString_in_helper(obj3);
20671 if (arg4 == NULL) SWIG_fail;
20672 temp4 = true;
20673 }
20674 }
20675 if (obj4) {
20676 {
20677 arg5 = &temp5;
20678 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20679 }
20680 }
20681 if (obj5) {
20682 {
20683 arg6 = &temp6;
20684 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20685 }
20686 }
20687 if (obj6) {
20688 ecode7 = SWIG_AsVal_long(obj6, &val7);
20689 if (!SWIG_IsOK(ecode7)) {
20690 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20691 }
20692 arg7 = static_cast< long >(val7);
20693 }
20694 if (obj7) {
20695 {
20696 arg8 = wxString_in_helper(obj7);
20697 if (arg8 == NULL) SWIG_fail;
20698 temp8 = true;
20699 }
20700 }
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 {
20708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20709 }
20710 {
20711 if (temp4)
20712 delete arg4;
20713 }
20714 {
20715 if (temp8)
20716 delete arg8;
20717 }
20718 return resultobj;
20719 fail:
20720 {
20721 if (temp4)
20722 delete arg4;
20723 }
20724 {
20725 if (temp8)
20726 delete arg8;
20727 }
20728 return NULL;
20729 }
20730
20731
20732 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20733 PyObject *resultobj = 0;
20734 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20735 void *argp1 = 0 ;
20736 int res1 = 0 ;
20737 PyObject *swig_obj[1] ;
20738
20739 if (!args) SWIG_fail;
20740 swig_obj[0] = args;
20741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20742 if (!SWIG_IsOK(res1)) {
20743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20744 }
20745 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 (arg1)->Activate();
20749 wxPyEndAllowThreads(__tstate);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 }
20752 resultobj = SWIG_Py_Void();
20753 return resultobj;
20754 fail:
20755 return NULL;
20756 }
20757
20758
20759 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20760 PyObject *obj;
20761 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20762 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20763 return SWIG_Py_Void();
20764 }
20765
20766 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20767 return SWIG_Python_InitShadowInstance(args);
20768 }
20769
20770 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20771 PyObject *resultobj = 0;
20772 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20773 long arg2 = (long) 0 ;
20774 wxMDIClientWindow *result = 0 ;
20775 void *argp1 = 0 ;
20776 int res1 = 0 ;
20777 long val2 ;
20778 int ecode2 = 0 ;
20779 PyObject * obj0 = 0 ;
20780 PyObject * obj1 = 0 ;
20781 char * kwnames[] = {
20782 (char *) "parent",(char *) "style", NULL
20783 };
20784
20785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20787 if (!SWIG_IsOK(res1)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20789 }
20790 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20791 if (obj1) {
20792 ecode2 = SWIG_AsVal_long(obj1, &val2);
20793 if (!SWIG_IsOK(ecode2)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20795 }
20796 arg2 = static_cast< long >(val2);
20797 }
20798 {
20799 if (!wxPyCheckForApp()) SWIG_fail;
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20813 PyObject *resultobj = 0;
20814 wxMDIClientWindow *result = 0 ;
20815
20816 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20817 {
20818 if (!wxPyCheckForApp()) SWIG_fail;
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj = 0;
20833 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20834 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20835 long arg3 = (long) 0 ;
20836 bool result;
20837 void *argp1 = 0 ;
20838 int res1 = 0 ;
20839 void *argp2 = 0 ;
20840 int res2 = 0 ;
20841 long val3 ;
20842 int ecode3 = 0 ;
20843 PyObject * obj0 = 0 ;
20844 PyObject * obj1 = 0 ;
20845 PyObject * obj2 = 0 ;
20846 char * kwnames[] = {
20847 (char *) "self",(char *) "parent",(char *) "style", NULL
20848 };
20849
20850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
20851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
20852 if (!SWIG_IsOK(res1)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20854 }
20855 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
20856 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20857 if (!SWIG_IsOK(res2)) {
20858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20859 }
20860 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20861 if (obj2) {
20862 ecode3 = SWIG_AsVal_long(obj2, &val3);
20863 if (!SWIG_IsOK(ecode3)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20865 }
20866 arg3 = static_cast< long >(val3);
20867 }
20868 {
20869 PyThreadState* __tstate = wxPyBeginAllowThreads();
20870 result = (bool)(arg1)->Create(arg2,arg3);
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 {
20875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20876 }
20877 return resultobj;
20878 fail:
20879 return NULL;
20880 }
20881
20882
20883 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20884 PyObject *obj;
20885 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20886 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
20887 return SWIG_Py_Void();
20888 }
20889
20890 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20891 return SWIG_Python_InitShadowInstance(args);
20892 }
20893
20894 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj = 0;
20896 wxWindow *arg1 = (wxWindow *) 0 ;
20897 int arg2 = (int) (int)-1 ;
20898 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20899 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20900 wxSize const &arg4_defvalue = wxDefaultSize ;
20901 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20902 long arg5 = (long) 0 ;
20903 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20904 wxString *arg6 = (wxString *) &arg6_defvalue ;
20905 wxPyWindow *result = 0 ;
20906 void *argp1 = 0 ;
20907 int res1 = 0 ;
20908 int val2 ;
20909 int ecode2 = 0 ;
20910 wxPoint temp3 ;
20911 wxSize temp4 ;
20912 long val5 ;
20913 int ecode5 = 0 ;
20914 bool temp6 = false ;
20915 PyObject * obj0 = 0 ;
20916 PyObject * obj1 = 0 ;
20917 PyObject * obj2 = 0 ;
20918 PyObject * obj3 = 0 ;
20919 PyObject * obj4 = 0 ;
20920 PyObject * obj5 = 0 ;
20921 char * kwnames[] = {
20922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20923 };
20924
20925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20927 if (!SWIG_IsOK(res1)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20929 }
20930 arg1 = reinterpret_cast< wxWindow * >(argp1);
20931 if (obj1) {
20932 ecode2 = SWIG_AsVal_int(obj1, &val2);
20933 if (!SWIG_IsOK(ecode2)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20935 }
20936 arg2 = static_cast< int >(val2);
20937 }
20938 if (obj2) {
20939 {
20940 arg3 = &temp3;
20941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20942 }
20943 }
20944 if (obj3) {
20945 {
20946 arg4 = &temp4;
20947 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20948 }
20949 }
20950 if (obj4) {
20951 ecode5 = SWIG_AsVal_long(obj4, &val5);
20952 if (!SWIG_IsOK(ecode5)) {
20953 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20954 }
20955 arg5 = static_cast< long >(val5);
20956 }
20957 if (obj5) {
20958 {
20959 arg6 = wxString_in_helper(obj5);
20960 if (arg6 == NULL) SWIG_fail;
20961 temp6 = true;
20962 }
20963 }
20964 {
20965 if (!wxPyCheckForApp()) SWIG_fail;
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
20972 {
20973 if (temp6)
20974 delete arg6;
20975 }
20976 return resultobj;
20977 fail:
20978 {
20979 if (temp6)
20980 delete arg6;
20981 }
20982 return NULL;
20983 }
20984
20985
20986 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20987 PyObject *resultobj = 0;
20988 wxPyWindow *result = 0 ;
20989
20990 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
20991 {
20992 if (!wxPyCheckForApp()) SWIG_fail;
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = (wxPyWindow *)new wxPyWindow();
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
20999 return resultobj;
21000 fail:
21001 return NULL;
21002 }
21003
21004
21005 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj = 0;
21007 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21008 PyObject *arg2 = (PyObject *) 0 ;
21009 PyObject *arg3 = (PyObject *) 0 ;
21010 void *argp1 = 0 ;
21011 int res1 = 0 ;
21012 PyObject * obj0 = 0 ;
21013 PyObject * obj1 = 0 ;
21014 PyObject * obj2 = 0 ;
21015 char * kwnames[] = {
21016 (char *) "self",(char *) "self",(char *) "_class", NULL
21017 };
21018
21019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21021 if (!SWIG_IsOK(res1)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21023 }
21024 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21025 arg2 = obj1;
21026 arg3 = obj2;
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 (arg1)->_setCallbackInfo(arg2,arg3);
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 resultobj = SWIG_Py_Void();
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj = 0;
21042 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21043 wxSize *arg2 = 0 ;
21044 void *argp1 = 0 ;
21045 int res1 = 0 ;
21046 wxSize temp2 ;
21047 PyObject * obj0 = 0 ;
21048 PyObject * obj1 = 0 ;
21049 char * kwnames[] = {
21050 (char *) "self",(char *) "size", NULL
21051 };
21052
21053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21055 if (!SWIG_IsOK(res1)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21057 }
21058 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21059 {
21060 arg2 = &temp2;
21061 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21062 }
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 (arg1)->SetBestSize((wxSize const &)*arg2);
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 resultobj = SWIG_Py_Void();
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj = 0;
21078 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21079 wxDC *arg2 = (wxDC *) 0 ;
21080 bool result;
21081 void *argp1 = 0 ;
21082 int res1 = 0 ;
21083 void *argp2 = 0 ;
21084 int res2 = 0 ;
21085 PyObject * obj0 = 0 ;
21086 PyObject * obj1 = 0 ;
21087 char * kwnames[] = {
21088 (char *) "self",(char *) "dc", NULL
21089 };
21090
21091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21093 if (!SWIG_IsOK(res1)) {
21094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21095 }
21096 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21097 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21098 if (!SWIG_IsOK(res2)) {
21099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21100 }
21101 arg2 = reinterpret_cast< wxDC * >(argp2);
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = (bool)(arg1)->DoEraseBackground(arg2);
21105 wxPyEndAllowThreads(__tstate);
21106 if (PyErr_Occurred()) SWIG_fail;
21107 }
21108 {
21109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21110 }
21111 return resultobj;
21112 fail:
21113 return NULL;
21114 }
21115
21116
21117 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj = 0;
21119 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21120 int arg2 ;
21121 int arg3 ;
21122 int arg4 ;
21123 int arg5 ;
21124 void *argp1 = 0 ;
21125 int res1 = 0 ;
21126 int val2 ;
21127 int ecode2 = 0 ;
21128 int val3 ;
21129 int ecode3 = 0 ;
21130 int val4 ;
21131 int ecode4 = 0 ;
21132 int val5 ;
21133 int ecode5 = 0 ;
21134 PyObject * obj0 = 0 ;
21135 PyObject * obj1 = 0 ;
21136 PyObject * obj2 = 0 ;
21137 PyObject * obj3 = 0 ;
21138 PyObject * obj4 = 0 ;
21139 char * kwnames[] = {
21140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21141 };
21142
21143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21145 if (!SWIG_IsOK(res1)) {
21146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21147 }
21148 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21149 ecode2 = SWIG_AsVal_int(obj1, &val2);
21150 if (!SWIG_IsOK(ecode2)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21152 }
21153 arg2 = static_cast< int >(val2);
21154 ecode3 = SWIG_AsVal_int(obj2, &val3);
21155 if (!SWIG_IsOK(ecode3)) {
21156 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21157 }
21158 arg3 = static_cast< int >(val3);
21159 ecode4 = SWIG_AsVal_int(obj3, &val4);
21160 if (!SWIG_IsOK(ecode4)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21162 }
21163 arg4 = static_cast< int >(val4);
21164 ecode5 = SWIG_AsVal_int(obj4, &val5);
21165 if (!SWIG_IsOK(ecode5)) {
21166 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21167 }
21168 arg5 = static_cast< int >(val5);
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 resultobj = SWIG_Py_Void();
21176 return resultobj;
21177 fail:
21178 return NULL;
21179 }
21180
21181
21182 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj = 0;
21184 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21185 int arg2 ;
21186 int arg3 ;
21187 int arg4 ;
21188 int arg5 ;
21189 int arg6 = (int) wxSIZE_AUTO ;
21190 void *argp1 = 0 ;
21191 int res1 = 0 ;
21192 int val2 ;
21193 int ecode2 = 0 ;
21194 int val3 ;
21195 int ecode3 = 0 ;
21196 int val4 ;
21197 int ecode4 = 0 ;
21198 int val5 ;
21199 int ecode5 = 0 ;
21200 int val6 ;
21201 int ecode6 = 0 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 PyObject * obj2 = 0 ;
21205 PyObject * obj3 = 0 ;
21206 PyObject * obj4 = 0 ;
21207 PyObject * obj5 = 0 ;
21208 char * kwnames[] = {
21209 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21210 };
21211
21212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21214 if (!SWIG_IsOK(res1)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21216 }
21217 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21218 ecode2 = SWIG_AsVal_int(obj1, &val2);
21219 if (!SWIG_IsOK(ecode2)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21221 }
21222 arg2 = static_cast< int >(val2);
21223 ecode3 = SWIG_AsVal_int(obj2, &val3);
21224 if (!SWIG_IsOK(ecode3)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21226 }
21227 arg3 = static_cast< int >(val3);
21228 ecode4 = SWIG_AsVal_int(obj3, &val4);
21229 if (!SWIG_IsOK(ecode4)) {
21230 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21231 }
21232 arg4 = static_cast< int >(val4);
21233 ecode5 = SWIG_AsVal_int(obj4, &val5);
21234 if (!SWIG_IsOK(ecode5)) {
21235 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21236 }
21237 arg5 = static_cast< int >(val5);
21238 if (obj5) {
21239 ecode6 = SWIG_AsVal_int(obj5, &val6);
21240 if (!SWIG_IsOK(ecode6)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21242 }
21243 arg6 = static_cast< int >(val6);
21244 }
21245 {
21246 PyThreadState* __tstate = wxPyBeginAllowThreads();
21247 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 resultobj = SWIG_Py_Void();
21252 return resultobj;
21253 fail:
21254 return NULL;
21255 }
21256
21257
21258 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21259 PyObject *resultobj = 0;
21260 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21261 int arg2 ;
21262 int arg3 ;
21263 void *argp1 = 0 ;
21264 int res1 = 0 ;
21265 int val2 ;
21266 int ecode2 = 0 ;
21267 int val3 ;
21268 int ecode3 = 0 ;
21269 PyObject * obj0 = 0 ;
21270 PyObject * obj1 = 0 ;
21271 PyObject * obj2 = 0 ;
21272 char * kwnames[] = {
21273 (char *) "self",(char *) "width",(char *) "height", NULL
21274 };
21275
21276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21278 if (!SWIG_IsOK(res1)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21280 }
21281 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21282 ecode2 = SWIG_AsVal_int(obj1, &val2);
21283 if (!SWIG_IsOK(ecode2)) {
21284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21285 }
21286 arg2 = static_cast< int >(val2);
21287 ecode3 = SWIG_AsVal_int(obj2, &val3);
21288 if (!SWIG_IsOK(ecode3)) {
21289 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21290 }
21291 arg3 = static_cast< int >(val3);
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 (arg1)->DoSetClientSize(arg2,arg3);
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 resultobj = SWIG_Py_Void();
21299 return resultobj;
21300 fail:
21301 return NULL;
21302 }
21303
21304
21305 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21306 PyObject *resultobj = 0;
21307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21308 int arg2 ;
21309 int arg3 ;
21310 void *argp1 = 0 ;
21311 int res1 = 0 ;
21312 int val2 ;
21313 int ecode2 = 0 ;
21314 int val3 ;
21315 int ecode3 = 0 ;
21316 PyObject * obj0 = 0 ;
21317 PyObject * obj1 = 0 ;
21318 PyObject * obj2 = 0 ;
21319 char * kwnames[] = {
21320 (char *) "self",(char *) "x",(char *) "y", NULL
21321 };
21322
21323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21325 if (!SWIG_IsOK(res1)) {
21326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21327 }
21328 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21329 ecode2 = SWIG_AsVal_int(obj1, &val2);
21330 if (!SWIG_IsOK(ecode2)) {
21331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21332 }
21333 arg2 = static_cast< int >(val2);
21334 ecode3 = SWIG_AsVal_int(obj2, &val3);
21335 if (!SWIG_IsOK(ecode3)) {
21336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21337 }
21338 arg3 = static_cast< int >(val3);
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->DoSetVirtualSize(arg2,arg3);
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_Py_Void();
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21353 PyObject *resultobj = 0;
21354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21355 int *arg2 = (int *) 0 ;
21356 int *arg3 = (int *) 0 ;
21357 void *argp1 = 0 ;
21358 int res1 = 0 ;
21359 int temp2 ;
21360 int res2 = SWIG_TMPOBJ ;
21361 int temp3 ;
21362 int res3 = SWIG_TMPOBJ ;
21363 PyObject *swig_obj[1] ;
21364
21365 arg2 = &temp2;
21366 arg3 = &temp3;
21367 if (!args) SWIG_fail;
21368 swig_obj[0] = args;
21369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21370 if (!SWIG_IsOK(res1)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21372 }
21373 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21374 {
21375 PyThreadState* __tstate = wxPyBeginAllowThreads();
21376 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 resultobj = SWIG_Py_Void();
21381 if (SWIG_IsTmpObj(res2)) {
21382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21383 } else {
21384 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21385 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21386 }
21387 if (SWIG_IsTmpObj(res3)) {
21388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21389 } else {
21390 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21392 }
21393 return resultobj;
21394 fail:
21395 return NULL;
21396 }
21397
21398
21399 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21400 PyObject *resultobj = 0;
21401 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21402 int *arg2 = (int *) 0 ;
21403 int *arg3 = (int *) 0 ;
21404 void *argp1 = 0 ;
21405 int res1 = 0 ;
21406 int temp2 ;
21407 int res2 = SWIG_TMPOBJ ;
21408 int temp3 ;
21409 int res3 = SWIG_TMPOBJ ;
21410 PyObject *swig_obj[1] ;
21411
21412 arg2 = &temp2;
21413 arg3 = &temp3;
21414 if (!args) SWIG_fail;
21415 swig_obj[0] = args;
21416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21417 if (!SWIG_IsOK(res1)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21419 }
21420 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 resultobj = SWIG_Py_Void();
21428 if (SWIG_IsTmpObj(res2)) {
21429 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21430 } else {
21431 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21432 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21433 }
21434 if (SWIG_IsTmpObj(res3)) {
21435 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21436 } else {
21437 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21438 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21439 }
21440 return resultobj;
21441 fail:
21442 return NULL;
21443 }
21444
21445
21446 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21447 PyObject *resultobj = 0;
21448 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21449 int *arg2 = (int *) 0 ;
21450 int *arg3 = (int *) 0 ;
21451 void *argp1 = 0 ;
21452 int res1 = 0 ;
21453 int temp2 ;
21454 int res2 = SWIG_TMPOBJ ;
21455 int temp3 ;
21456 int res3 = SWIG_TMPOBJ ;
21457 PyObject *swig_obj[1] ;
21458
21459 arg2 = &temp2;
21460 arg3 = &temp3;
21461 if (!args) SWIG_fail;
21462 swig_obj[0] = args;
21463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21464 if (!SWIG_IsOK(res1)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21466 }
21467 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 resultobj = SWIG_Py_Void();
21475 if (SWIG_IsTmpObj(res2)) {
21476 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21477 } else {
21478 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21479 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21480 }
21481 if (SWIG_IsTmpObj(res3)) {
21482 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21483 } else {
21484 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21485 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21486 }
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21494 PyObject *resultobj = 0;
21495 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21496 wxSize result;
21497 void *argp1 = 0 ;
21498 int res1 = 0 ;
21499 PyObject *swig_obj[1] ;
21500
21501 if (!args) SWIG_fail;
21502 swig_obj[0] = args;
21503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21504 if (!SWIG_IsOK(res1)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21506 }
21507 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21511 wxPyEndAllowThreads(__tstate);
21512 if (PyErr_Occurred()) SWIG_fail;
21513 }
21514 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21515 return resultobj;
21516 fail:
21517 return NULL;
21518 }
21519
21520
21521 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21522 PyObject *resultobj = 0;
21523 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21524 wxSize result;
21525 void *argp1 = 0 ;
21526 int res1 = 0 ;
21527 PyObject *swig_obj[1] ;
21528
21529 if (!args) SWIG_fail;
21530 swig_obj[0] = args;
21531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21532 if (!SWIG_IsOK(res1)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21534 }
21535 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21550 PyObject *resultobj = 0;
21551 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21552 SwigValueWrapper<wxVisualAttributes > result;
21553 void *argp1 = 0 ;
21554 int res1 = 0 ;
21555 PyObject *swig_obj[1] ;
21556
21557 if (!args) SWIG_fail;
21558 swig_obj[0] = args;
21559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21560 if (!SWIG_IsOK(res1)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21562 }
21563 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 result = (arg1)->GetDefaultAttributes();
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21571 return resultobj;
21572 fail:
21573 return NULL;
21574 }
21575
21576
21577 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21578 PyObject *resultobj = 0;
21579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21580 void *argp1 = 0 ;
21581 int res1 = 0 ;
21582 PyObject *swig_obj[1] ;
21583
21584 if (!args) SWIG_fail;
21585 swig_obj[0] = args;
21586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21587 if (!SWIG_IsOK(res1)) {
21588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21589 }
21590 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 (arg1)->OnInternalIdle();
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 resultobj = SWIG_Py_Void();
21598 return resultobj;
21599 fail:
21600 return NULL;
21601 }
21602
21603
21604 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21605 PyObject *obj;
21606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21607 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21608 return SWIG_Py_Void();
21609 }
21610
21611 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21612 return SWIG_Python_InitShadowInstance(args);
21613 }
21614
21615 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj = 0;
21617 wxWindow *arg1 = (wxWindow *) 0 ;
21618 int arg2 = (int) (int)-1 ;
21619 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21620 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21621 wxSize const &arg4_defvalue = wxDefaultSize ;
21622 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21623 long arg5 = (long) 0 ;
21624 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21625 wxString *arg6 = (wxString *) &arg6_defvalue ;
21626 wxPyPanel *result = 0 ;
21627 void *argp1 = 0 ;
21628 int res1 = 0 ;
21629 int val2 ;
21630 int ecode2 = 0 ;
21631 wxPoint temp3 ;
21632 wxSize temp4 ;
21633 long val5 ;
21634 int ecode5 = 0 ;
21635 bool temp6 = false ;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 PyObject * obj2 = 0 ;
21639 PyObject * obj3 = 0 ;
21640 PyObject * obj4 = 0 ;
21641 PyObject * obj5 = 0 ;
21642 char * kwnames[] = {
21643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21644 };
21645
21646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21648 if (!SWIG_IsOK(res1)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21650 }
21651 arg1 = reinterpret_cast< wxWindow * >(argp1);
21652 if (obj1) {
21653 ecode2 = SWIG_AsVal_int(obj1, &val2);
21654 if (!SWIG_IsOK(ecode2)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21656 }
21657 arg2 = static_cast< int >(val2);
21658 }
21659 if (obj2) {
21660 {
21661 arg3 = &temp3;
21662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21663 }
21664 }
21665 if (obj3) {
21666 {
21667 arg4 = &temp4;
21668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21669 }
21670 }
21671 if (obj4) {
21672 ecode5 = SWIG_AsVal_long(obj4, &val5);
21673 if (!SWIG_IsOK(ecode5)) {
21674 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21675 }
21676 arg5 = static_cast< long >(val5);
21677 }
21678 if (obj5) {
21679 {
21680 arg6 = wxString_in_helper(obj5);
21681 if (arg6 == NULL) SWIG_fail;
21682 temp6 = true;
21683 }
21684 }
21685 {
21686 if (!wxPyCheckForApp()) SWIG_fail;
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21689 wxPyEndAllowThreads(__tstate);
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21693 {
21694 if (temp6)
21695 delete arg6;
21696 }
21697 return resultobj;
21698 fail:
21699 {
21700 if (temp6)
21701 delete arg6;
21702 }
21703 return NULL;
21704 }
21705
21706
21707 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21708 PyObject *resultobj = 0;
21709 wxPyPanel *result = 0 ;
21710
21711 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21712 {
21713 if (!wxPyCheckForApp()) SWIG_fail;
21714 PyThreadState* __tstate = wxPyBeginAllowThreads();
21715 result = (wxPyPanel *)new wxPyPanel();
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj = 0;
21728 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21729 PyObject *arg2 = (PyObject *) 0 ;
21730 PyObject *arg3 = (PyObject *) 0 ;
21731 void *argp1 = 0 ;
21732 int res1 = 0 ;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 PyObject * obj2 = 0 ;
21736 char * kwnames[] = {
21737 (char *) "self",(char *) "self",(char *) "_class", NULL
21738 };
21739
21740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21742 if (!SWIG_IsOK(res1)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21744 }
21745 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21746 arg2 = obj1;
21747 arg3 = obj2;
21748 {
21749 PyThreadState* __tstate = wxPyBeginAllowThreads();
21750 (arg1)->_setCallbackInfo(arg2,arg3);
21751 wxPyEndAllowThreads(__tstate);
21752 if (PyErr_Occurred()) SWIG_fail;
21753 }
21754 resultobj = SWIG_Py_Void();
21755 return resultobj;
21756 fail:
21757 return NULL;
21758 }
21759
21760
21761 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21762 PyObject *resultobj = 0;
21763 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21764 wxSize *arg2 = 0 ;
21765 void *argp1 = 0 ;
21766 int res1 = 0 ;
21767 wxSize temp2 ;
21768 PyObject * obj0 = 0 ;
21769 PyObject * obj1 = 0 ;
21770 char * kwnames[] = {
21771 (char *) "self",(char *) "size", NULL
21772 };
21773
21774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21776 if (!SWIG_IsOK(res1)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21778 }
21779 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21780 {
21781 arg2 = &temp2;
21782 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21783 }
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 (arg1)->SetBestSize((wxSize const &)*arg2);
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
21790 resultobj = SWIG_Py_Void();
21791 return resultobj;
21792 fail:
21793 return NULL;
21794 }
21795
21796
21797 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj = 0;
21799 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21800 wxDC *arg2 = (wxDC *) 0 ;
21801 bool result;
21802 void *argp1 = 0 ;
21803 int res1 = 0 ;
21804 void *argp2 = 0 ;
21805 int res2 = 0 ;
21806 PyObject * obj0 = 0 ;
21807 PyObject * obj1 = 0 ;
21808 char * kwnames[] = {
21809 (char *) "self",(char *) "dc", NULL
21810 };
21811
21812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21814 if (!SWIG_IsOK(res1)) {
21815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21816 }
21817 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21818 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21819 if (!SWIG_IsOK(res2)) {
21820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21821 }
21822 arg2 = reinterpret_cast< wxDC * >(argp2);
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 result = (bool)(arg1)->DoEraseBackground(arg2);
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 {
21830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21831 }
21832 return resultobj;
21833 fail:
21834 return NULL;
21835 }
21836
21837
21838 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21839 PyObject *resultobj = 0;
21840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21841 int arg2 ;
21842 int arg3 ;
21843 int arg4 ;
21844 int arg5 ;
21845 void *argp1 = 0 ;
21846 int res1 = 0 ;
21847 int val2 ;
21848 int ecode2 = 0 ;
21849 int val3 ;
21850 int ecode3 = 0 ;
21851 int val4 ;
21852 int ecode4 = 0 ;
21853 int val5 ;
21854 int ecode5 = 0 ;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 PyObject * obj2 = 0 ;
21858 PyObject * obj3 = 0 ;
21859 PyObject * obj4 = 0 ;
21860 char * kwnames[] = {
21861 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21862 };
21863
21864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21866 if (!SWIG_IsOK(res1)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21868 }
21869 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21870 ecode2 = SWIG_AsVal_int(obj1, &val2);
21871 if (!SWIG_IsOK(ecode2)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21873 }
21874 arg2 = static_cast< int >(val2);
21875 ecode3 = SWIG_AsVal_int(obj2, &val3);
21876 if (!SWIG_IsOK(ecode3)) {
21877 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21878 }
21879 arg3 = static_cast< int >(val3);
21880 ecode4 = SWIG_AsVal_int(obj3, &val4);
21881 if (!SWIG_IsOK(ecode4)) {
21882 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21883 }
21884 arg4 = static_cast< int >(val4);
21885 ecode5 = SWIG_AsVal_int(obj4, &val5);
21886 if (!SWIG_IsOK(ecode5)) {
21887 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21888 }
21889 arg5 = static_cast< int >(val5);
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 resultobj = SWIG_Py_Void();
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj = 0;
21905 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21906 int arg2 ;
21907 int arg3 ;
21908 int arg4 ;
21909 int arg5 ;
21910 int arg6 = (int) wxSIZE_AUTO ;
21911 void *argp1 = 0 ;
21912 int res1 = 0 ;
21913 int val2 ;
21914 int ecode2 = 0 ;
21915 int val3 ;
21916 int ecode3 = 0 ;
21917 int val4 ;
21918 int ecode4 = 0 ;
21919 int val5 ;
21920 int ecode5 = 0 ;
21921 int val6 ;
21922 int ecode6 = 0 ;
21923 PyObject * obj0 = 0 ;
21924 PyObject * obj1 = 0 ;
21925 PyObject * obj2 = 0 ;
21926 PyObject * obj3 = 0 ;
21927 PyObject * obj4 = 0 ;
21928 PyObject * obj5 = 0 ;
21929 char * kwnames[] = {
21930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21931 };
21932
21933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21935 if (!SWIG_IsOK(res1)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21937 }
21938 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21939 ecode2 = SWIG_AsVal_int(obj1, &val2);
21940 if (!SWIG_IsOK(ecode2)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21942 }
21943 arg2 = static_cast< int >(val2);
21944 ecode3 = SWIG_AsVal_int(obj2, &val3);
21945 if (!SWIG_IsOK(ecode3)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21947 }
21948 arg3 = static_cast< int >(val3);
21949 ecode4 = SWIG_AsVal_int(obj3, &val4);
21950 if (!SWIG_IsOK(ecode4)) {
21951 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21952 }
21953 arg4 = static_cast< int >(val4);
21954 ecode5 = SWIG_AsVal_int(obj4, &val5);
21955 if (!SWIG_IsOK(ecode5)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21957 }
21958 arg5 = static_cast< int >(val5);
21959 if (obj5) {
21960 ecode6 = SWIG_AsVal_int(obj5, &val6);
21961 if (!SWIG_IsOK(ecode6)) {
21962 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21963 }
21964 arg6 = static_cast< int >(val6);
21965 }
21966 {
21967 PyThreadState* __tstate = wxPyBeginAllowThreads();
21968 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 resultobj = SWIG_Py_Void();
21973 return resultobj;
21974 fail:
21975 return NULL;
21976 }
21977
21978
21979 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj = 0;
21981 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21982 int arg2 ;
21983 int arg3 ;
21984 void *argp1 = 0 ;
21985 int res1 = 0 ;
21986 int val2 ;
21987 int ecode2 = 0 ;
21988 int val3 ;
21989 int ecode3 = 0 ;
21990 PyObject * obj0 = 0 ;
21991 PyObject * obj1 = 0 ;
21992 PyObject * obj2 = 0 ;
21993 char * kwnames[] = {
21994 (char *) "self",(char *) "width",(char *) "height", NULL
21995 };
21996
21997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21999 if (!SWIG_IsOK(res1)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22001 }
22002 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22003 ecode2 = SWIG_AsVal_int(obj1, &val2);
22004 if (!SWIG_IsOK(ecode2)) {
22005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22006 }
22007 arg2 = static_cast< int >(val2);
22008 ecode3 = SWIG_AsVal_int(obj2, &val3);
22009 if (!SWIG_IsOK(ecode3)) {
22010 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22011 }
22012 arg3 = static_cast< int >(val3);
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 (arg1)->DoSetClientSize(arg2,arg3);
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 resultobj = SWIG_Py_Void();
22020 return resultobj;
22021 fail:
22022 return NULL;
22023 }
22024
22025
22026 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj = 0;
22028 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22029 int arg2 ;
22030 int arg3 ;
22031 void *argp1 = 0 ;
22032 int res1 = 0 ;
22033 int val2 ;
22034 int ecode2 = 0 ;
22035 int val3 ;
22036 int ecode3 = 0 ;
22037 PyObject * obj0 = 0 ;
22038 PyObject * obj1 = 0 ;
22039 PyObject * obj2 = 0 ;
22040 char * kwnames[] = {
22041 (char *) "self",(char *) "x",(char *) "y", NULL
22042 };
22043
22044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22046 if (!SWIG_IsOK(res1)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22048 }
22049 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22050 ecode2 = SWIG_AsVal_int(obj1, &val2);
22051 if (!SWIG_IsOK(ecode2)) {
22052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22053 }
22054 arg2 = static_cast< int >(val2);
22055 ecode3 = SWIG_AsVal_int(obj2, &val3);
22056 if (!SWIG_IsOK(ecode3)) {
22057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22058 }
22059 arg3 = static_cast< int >(val3);
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 (arg1)->DoSetVirtualSize(arg2,arg3);
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_Py_Void();
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22074 PyObject *resultobj = 0;
22075 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22076 int *arg2 = (int *) 0 ;
22077 int *arg3 = (int *) 0 ;
22078 void *argp1 = 0 ;
22079 int res1 = 0 ;
22080 int temp2 ;
22081 int res2 = SWIG_TMPOBJ ;
22082 int temp3 ;
22083 int res3 = SWIG_TMPOBJ ;
22084 PyObject *swig_obj[1] ;
22085
22086 arg2 = &temp2;
22087 arg3 = &temp3;
22088 if (!args) SWIG_fail;
22089 swig_obj[0] = args;
22090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22091 if (!SWIG_IsOK(res1)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22093 }
22094 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22098 wxPyEndAllowThreads(__tstate);
22099 if (PyErr_Occurred()) SWIG_fail;
22100 }
22101 resultobj = SWIG_Py_Void();
22102 if (SWIG_IsTmpObj(res2)) {
22103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22104 } else {
22105 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22106 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22107 }
22108 if (SWIG_IsTmpObj(res3)) {
22109 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22110 } else {
22111 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22112 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22113 }
22114 return resultobj;
22115 fail:
22116 return NULL;
22117 }
22118
22119
22120 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22121 PyObject *resultobj = 0;
22122 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22123 int *arg2 = (int *) 0 ;
22124 int *arg3 = (int *) 0 ;
22125 void *argp1 = 0 ;
22126 int res1 = 0 ;
22127 int temp2 ;
22128 int res2 = SWIG_TMPOBJ ;
22129 int temp3 ;
22130 int res3 = SWIG_TMPOBJ ;
22131 PyObject *swig_obj[1] ;
22132
22133 arg2 = &temp2;
22134 arg3 = &temp3;
22135 if (!args) SWIG_fail;
22136 swig_obj[0] = args;
22137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22138 if (!SWIG_IsOK(res1)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22140 }
22141 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 resultobj = SWIG_Py_Void();
22149 if (SWIG_IsTmpObj(res2)) {
22150 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22151 } else {
22152 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22153 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22154 }
22155 if (SWIG_IsTmpObj(res3)) {
22156 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22157 } else {
22158 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22159 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22160 }
22161 return resultobj;
22162 fail:
22163 return NULL;
22164 }
22165
22166
22167 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22168 PyObject *resultobj = 0;
22169 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22170 int *arg2 = (int *) 0 ;
22171 int *arg3 = (int *) 0 ;
22172 void *argp1 = 0 ;
22173 int res1 = 0 ;
22174 int temp2 ;
22175 int res2 = SWIG_TMPOBJ ;
22176 int temp3 ;
22177 int res3 = SWIG_TMPOBJ ;
22178 PyObject *swig_obj[1] ;
22179
22180 arg2 = &temp2;
22181 arg3 = &temp3;
22182 if (!args) SWIG_fail;
22183 swig_obj[0] = args;
22184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22185 if (!SWIG_IsOK(res1)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22187 }
22188 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 resultobj = SWIG_Py_Void();
22196 if (SWIG_IsTmpObj(res2)) {
22197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22198 } else {
22199 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22201 }
22202 if (SWIG_IsTmpObj(res3)) {
22203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22204 } else {
22205 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22207 }
22208 return resultobj;
22209 fail:
22210 return NULL;
22211 }
22212
22213
22214 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22215 PyObject *resultobj = 0;
22216 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22217 wxSize result;
22218 void *argp1 = 0 ;
22219 int res1 = 0 ;
22220 PyObject *swig_obj[1] ;
22221
22222 if (!args) SWIG_fail;
22223 swig_obj[0] = args;
22224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22225 if (!SWIG_IsOK(res1)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22227 }
22228 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22229 {
22230 PyThreadState* __tstate = wxPyBeginAllowThreads();
22231 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22232 wxPyEndAllowThreads(__tstate);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22236 return resultobj;
22237 fail:
22238 return NULL;
22239 }
22240
22241
22242 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22243 PyObject *resultobj = 0;
22244 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22245 wxSize result;
22246 void *argp1 = 0 ;
22247 int res1 = 0 ;
22248 PyObject *swig_obj[1] ;
22249
22250 if (!args) SWIG_fail;
22251 swig_obj[0] = args;
22252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22253 if (!SWIG_IsOK(res1)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22255 }
22256 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22264 return resultobj;
22265 fail:
22266 return NULL;
22267 }
22268
22269
22270 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22271 PyObject *resultobj = 0;
22272 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22273 SwigValueWrapper<wxVisualAttributes > result;
22274 void *argp1 = 0 ;
22275 int res1 = 0 ;
22276 PyObject *swig_obj[1] ;
22277
22278 if (!args) SWIG_fail;
22279 swig_obj[0] = args;
22280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22281 if (!SWIG_IsOK(res1)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22283 }
22284 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 result = (arg1)->GetDefaultAttributes();
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22292 return resultobj;
22293 fail:
22294 return NULL;
22295 }
22296
22297
22298 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22299 PyObject *resultobj = 0;
22300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22301 void *argp1 = 0 ;
22302 int res1 = 0 ;
22303 PyObject *swig_obj[1] ;
22304
22305 if (!args) SWIG_fail;
22306 swig_obj[0] = args;
22307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22308 if (!SWIG_IsOK(res1)) {
22309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22310 }
22311 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 (arg1)->OnInternalIdle();
22315 wxPyEndAllowThreads(__tstate);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 resultobj = SWIG_Py_Void();
22319 return resultobj;
22320 fail:
22321 return NULL;
22322 }
22323
22324
22325 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22326 PyObject *obj;
22327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22329 return SWIG_Py_Void();
22330 }
22331
22332 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22333 return SWIG_Python_InitShadowInstance(args);
22334 }
22335
22336 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22337 PyObject *resultobj = 0;
22338 wxWindow *arg1 = (wxWindow *) 0 ;
22339 int arg2 = (int) (int)-1 ;
22340 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22341 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22342 wxSize const &arg4_defvalue = wxDefaultSize ;
22343 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22344 long arg5 = (long) 0 ;
22345 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22346 wxString *arg6 = (wxString *) &arg6_defvalue ;
22347 wxPyScrolledWindow *result = 0 ;
22348 void *argp1 = 0 ;
22349 int res1 = 0 ;
22350 int val2 ;
22351 int ecode2 = 0 ;
22352 wxPoint temp3 ;
22353 wxSize temp4 ;
22354 long val5 ;
22355 int ecode5 = 0 ;
22356 bool temp6 = false ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 PyObject * obj2 = 0 ;
22360 PyObject * obj3 = 0 ;
22361 PyObject * obj4 = 0 ;
22362 PyObject * obj5 = 0 ;
22363 char * kwnames[] = {
22364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22365 };
22366
22367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22369 if (!SWIG_IsOK(res1)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22371 }
22372 arg1 = reinterpret_cast< wxWindow * >(argp1);
22373 if (obj1) {
22374 ecode2 = SWIG_AsVal_int(obj1, &val2);
22375 if (!SWIG_IsOK(ecode2)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22377 }
22378 arg2 = static_cast< int >(val2);
22379 }
22380 if (obj2) {
22381 {
22382 arg3 = &temp3;
22383 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22384 }
22385 }
22386 if (obj3) {
22387 {
22388 arg4 = &temp4;
22389 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22390 }
22391 }
22392 if (obj4) {
22393 ecode5 = SWIG_AsVal_long(obj4, &val5);
22394 if (!SWIG_IsOK(ecode5)) {
22395 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22396 }
22397 arg5 = static_cast< long >(val5);
22398 }
22399 if (obj5) {
22400 {
22401 arg6 = wxString_in_helper(obj5);
22402 if (arg6 == NULL) SWIG_fail;
22403 temp6 = true;
22404 }
22405 }
22406 {
22407 if (!wxPyCheckForApp()) SWIG_fail;
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22414 {
22415 if (temp6)
22416 delete arg6;
22417 }
22418 return resultobj;
22419 fail:
22420 {
22421 if (temp6)
22422 delete arg6;
22423 }
22424 return NULL;
22425 }
22426
22427
22428 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22429 PyObject *resultobj = 0;
22430 wxPyScrolledWindow *result = 0 ;
22431
22432 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22433 {
22434 if (!wxPyCheckForApp()) SWIG_fail;
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22441 return resultobj;
22442 fail:
22443 return NULL;
22444 }
22445
22446
22447 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj = 0;
22449 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22450 PyObject *arg2 = (PyObject *) 0 ;
22451 PyObject *arg3 = (PyObject *) 0 ;
22452 void *argp1 = 0 ;
22453 int res1 = 0 ;
22454 PyObject * obj0 = 0 ;
22455 PyObject * obj1 = 0 ;
22456 PyObject * obj2 = 0 ;
22457 char * kwnames[] = {
22458 (char *) "self",(char *) "self",(char *) "_class", NULL
22459 };
22460
22461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22463 if (!SWIG_IsOK(res1)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22465 }
22466 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22467 arg2 = obj1;
22468 arg3 = obj2;
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->_setCallbackInfo(arg2,arg3);
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 resultobj = SWIG_Py_Void();
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj = 0;
22484 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22485 wxSize *arg2 = 0 ;
22486 void *argp1 = 0 ;
22487 int res1 = 0 ;
22488 wxSize temp2 ;
22489 PyObject * obj0 = 0 ;
22490 PyObject * obj1 = 0 ;
22491 char * kwnames[] = {
22492 (char *) "self",(char *) "size", NULL
22493 };
22494
22495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22497 if (!SWIG_IsOK(res1)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22499 }
22500 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22501 {
22502 arg2 = &temp2;
22503 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22504 }
22505 {
22506 PyThreadState* __tstate = wxPyBeginAllowThreads();
22507 (arg1)->SetBestSize((wxSize const &)*arg2);
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 resultobj = SWIG_Py_Void();
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj = 0;
22520 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22521 wxDC *arg2 = (wxDC *) 0 ;
22522 bool result;
22523 void *argp1 = 0 ;
22524 int res1 = 0 ;
22525 void *argp2 = 0 ;
22526 int res2 = 0 ;
22527 PyObject * obj0 = 0 ;
22528 PyObject * obj1 = 0 ;
22529 char * kwnames[] = {
22530 (char *) "self",(char *) "dc", NULL
22531 };
22532
22533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22535 if (!SWIG_IsOK(res1)) {
22536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22537 }
22538 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22539 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22540 if (!SWIG_IsOK(res2)) {
22541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22542 }
22543 arg2 = reinterpret_cast< wxDC * >(argp2);
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = (bool)(arg1)->DoEraseBackground(arg2);
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 {
22551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22552 }
22553 return resultobj;
22554 fail:
22555 return NULL;
22556 }
22557
22558
22559 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22560 PyObject *resultobj = 0;
22561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22562 int arg2 ;
22563 int arg3 ;
22564 int arg4 ;
22565 int arg5 ;
22566 void *argp1 = 0 ;
22567 int res1 = 0 ;
22568 int val2 ;
22569 int ecode2 = 0 ;
22570 int val3 ;
22571 int ecode3 = 0 ;
22572 int val4 ;
22573 int ecode4 = 0 ;
22574 int val5 ;
22575 int ecode5 = 0 ;
22576 PyObject * obj0 = 0 ;
22577 PyObject * obj1 = 0 ;
22578 PyObject * obj2 = 0 ;
22579 PyObject * obj3 = 0 ;
22580 PyObject * obj4 = 0 ;
22581 char * kwnames[] = {
22582 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22583 };
22584
22585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22587 if (!SWIG_IsOK(res1)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22589 }
22590 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22591 ecode2 = SWIG_AsVal_int(obj1, &val2);
22592 if (!SWIG_IsOK(ecode2)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22594 }
22595 arg2 = static_cast< int >(val2);
22596 ecode3 = SWIG_AsVal_int(obj2, &val3);
22597 if (!SWIG_IsOK(ecode3)) {
22598 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22599 }
22600 arg3 = static_cast< int >(val3);
22601 ecode4 = SWIG_AsVal_int(obj3, &val4);
22602 if (!SWIG_IsOK(ecode4)) {
22603 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22604 }
22605 arg4 = static_cast< int >(val4);
22606 ecode5 = SWIG_AsVal_int(obj4, &val5);
22607 if (!SWIG_IsOK(ecode5)) {
22608 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22609 }
22610 arg5 = static_cast< int >(val5);
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 resultobj = SWIG_Py_Void();
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22625 PyObject *resultobj = 0;
22626 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22627 int arg2 ;
22628 int arg3 ;
22629 int arg4 ;
22630 int arg5 ;
22631 int arg6 = (int) wxSIZE_AUTO ;
22632 void *argp1 = 0 ;
22633 int res1 = 0 ;
22634 int val2 ;
22635 int ecode2 = 0 ;
22636 int val3 ;
22637 int ecode3 = 0 ;
22638 int val4 ;
22639 int ecode4 = 0 ;
22640 int val5 ;
22641 int ecode5 = 0 ;
22642 int val6 ;
22643 int ecode6 = 0 ;
22644 PyObject * obj0 = 0 ;
22645 PyObject * obj1 = 0 ;
22646 PyObject * obj2 = 0 ;
22647 PyObject * obj3 = 0 ;
22648 PyObject * obj4 = 0 ;
22649 PyObject * obj5 = 0 ;
22650 char * kwnames[] = {
22651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22652 };
22653
22654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22656 if (!SWIG_IsOK(res1)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22658 }
22659 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22660 ecode2 = SWIG_AsVal_int(obj1, &val2);
22661 if (!SWIG_IsOK(ecode2)) {
22662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22663 }
22664 arg2 = static_cast< int >(val2);
22665 ecode3 = SWIG_AsVal_int(obj2, &val3);
22666 if (!SWIG_IsOK(ecode3)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22668 }
22669 arg3 = static_cast< int >(val3);
22670 ecode4 = SWIG_AsVal_int(obj3, &val4);
22671 if (!SWIG_IsOK(ecode4)) {
22672 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22673 }
22674 arg4 = static_cast< int >(val4);
22675 ecode5 = SWIG_AsVal_int(obj4, &val5);
22676 if (!SWIG_IsOK(ecode5)) {
22677 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22678 }
22679 arg5 = static_cast< int >(val5);
22680 if (obj5) {
22681 ecode6 = SWIG_AsVal_int(obj5, &val6);
22682 if (!SWIG_IsOK(ecode6)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22684 }
22685 arg6 = static_cast< int >(val6);
22686 }
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_Py_Void();
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj = 0;
22702 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22703 int arg2 ;
22704 int arg3 ;
22705 void *argp1 = 0 ;
22706 int res1 = 0 ;
22707 int val2 ;
22708 int ecode2 = 0 ;
22709 int val3 ;
22710 int ecode3 = 0 ;
22711 PyObject * obj0 = 0 ;
22712 PyObject * obj1 = 0 ;
22713 PyObject * obj2 = 0 ;
22714 char * kwnames[] = {
22715 (char *) "self",(char *) "width",(char *) "height", NULL
22716 };
22717
22718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22720 if (!SWIG_IsOK(res1)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22722 }
22723 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22724 ecode2 = SWIG_AsVal_int(obj1, &val2);
22725 if (!SWIG_IsOK(ecode2)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22727 }
22728 arg2 = static_cast< int >(val2);
22729 ecode3 = SWIG_AsVal_int(obj2, &val3);
22730 if (!SWIG_IsOK(ecode3)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22732 }
22733 arg3 = static_cast< int >(val3);
22734 {
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 (arg1)->DoSetClientSize(arg2,arg3);
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 resultobj = SWIG_Py_Void();
22741 return resultobj;
22742 fail:
22743 return NULL;
22744 }
22745
22746
22747 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22748 PyObject *resultobj = 0;
22749 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22750 int arg2 ;
22751 int arg3 ;
22752 void *argp1 = 0 ;
22753 int res1 = 0 ;
22754 int val2 ;
22755 int ecode2 = 0 ;
22756 int val3 ;
22757 int ecode3 = 0 ;
22758 PyObject * obj0 = 0 ;
22759 PyObject * obj1 = 0 ;
22760 PyObject * obj2 = 0 ;
22761 char * kwnames[] = {
22762 (char *) "self",(char *) "x",(char *) "y", NULL
22763 };
22764
22765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22767 if (!SWIG_IsOK(res1)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22769 }
22770 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22771 ecode2 = SWIG_AsVal_int(obj1, &val2);
22772 if (!SWIG_IsOK(ecode2)) {
22773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22774 }
22775 arg2 = static_cast< int >(val2);
22776 ecode3 = SWIG_AsVal_int(obj2, &val3);
22777 if (!SWIG_IsOK(ecode3)) {
22778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22779 }
22780 arg3 = static_cast< int >(val3);
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 (arg1)->DoSetVirtualSize(arg2,arg3);
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = SWIG_Py_Void();
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22795 PyObject *resultobj = 0;
22796 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22797 int *arg2 = (int *) 0 ;
22798 int *arg3 = (int *) 0 ;
22799 void *argp1 = 0 ;
22800 int res1 = 0 ;
22801 int temp2 ;
22802 int res2 = SWIG_TMPOBJ ;
22803 int temp3 ;
22804 int res3 = SWIG_TMPOBJ ;
22805 PyObject *swig_obj[1] ;
22806
22807 arg2 = &temp2;
22808 arg3 = &temp3;
22809 if (!args) SWIG_fail;
22810 swig_obj[0] = args;
22811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22812 if (!SWIG_IsOK(res1)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22814 }
22815 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22819 wxPyEndAllowThreads(__tstate);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 }
22822 resultobj = SWIG_Py_Void();
22823 if (SWIG_IsTmpObj(res2)) {
22824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22825 } else {
22826 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22828 }
22829 if (SWIG_IsTmpObj(res3)) {
22830 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22831 } else {
22832 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22833 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22834 }
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22842 PyObject *resultobj = 0;
22843 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22844 int *arg2 = (int *) 0 ;
22845 int *arg3 = (int *) 0 ;
22846 void *argp1 = 0 ;
22847 int res1 = 0 ;
22848 int temp2 ;
22849 int res2 = SWIG_TMPOBJ ;
22850 int temp3 ;
22851 int res3 = SWIG_TMPOBJ ;
22852 PyObject *swig_obj[1] ;
22853
22854 arg2 = &temp2;
22855 arg3 = &temp3;
22856 if (!args) SWIG_fail;
22857 swig_obj[0] = args;
22858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22859 if (!SWIG_IsOK(res1)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22861 }
22862 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 resultobj = SWIG_Py_Void();
22870 if (SWIG_IsTmpObj(res2)) {
22871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22872 } else {
22873 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22874 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22875 }
22876 if (SWIG_IsTmpObj(res3)) {
22877 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22878 } else {
22879 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22880 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22881 }
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22889 PyObject *resultobj = 0;
22890 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22891 int *arg2 = (int *) 0 ;
22892 int *arg3 = (int *) 0 ;
22893 void *argp1 = 0 ;
22894 int res1 = 0 ;
22895 int temp2 ;
22896 int res2 = SWIG_TMPOBJ ;
22897 int temp3 ;
22898 int res3 = SWIG_TMPOBJ ;
22899 PyObject *swig_obj[1] ;
22900
22901 arg2 = &temp2;
22902 arg3 = &temp3;
22903 if (!args) SWIG_fail;
22904 swig_obj[0] = args;
22905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22906 if (!SWIG_IsOK(res1)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22908 }
22909 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 resultobj = SWIG_Py_Void();
22917 if (SWIG_IsTmpObj(res2)) {
22918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22919 } else {
22920 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22922 }
22923 if (SWIG_IsTmpObj(res3)) {
22924 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22925 } else {
22926 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22927 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22928 }
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22936 PyObject *resultobj = 0;
22937 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22938 wxSize result;
22939 void *argp1 = 0 ;
22940 int res1 = 0 ;
22941 PyObject *swig_obj[1] ;
22942
22943 if (!args) SWIG_fail;
22944 swig_obj[0] = args;
22945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22946 if (!SWIG_IsOK(res1)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22948 }
22949 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22964 PyObject *resultobj = 0;
22965 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22966 wxSize result;
22967 void *argp1 = 0 ;
22968 int res1 = 0 ;
22969 PyObject *swig_obj[1] ;
22970
22971 if (!args) SWIG_fail;
22972 swig_obj[0] = args;
22973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22974 if (!SWIG_IsOK(res1)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22976 }
22977 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22985 return resultobj;
22986 fail:
22987 return NULL;
22988 }
22989
22990
22991 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22992 PyObject *resultobj = 0;
22993 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22994 SwigValueWrapper<wxVisualAttributes > result;
22995 void *argp1 = 0 ;
22996 int res1 = 0 ;
22997 PyObject *swig_obj[1] ;
22998
22999 if (!args) SWIG_fail;
23000 swig_obj[0] = args;
23001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23002 if (!SWIG_IsOK(res1)) {
23003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23004 }
23005 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 result = (arg1)->GetDefaultAttributes();
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23013 return resultobj;
23014 fail:
23015 return NULL;
23016 }
23017
23018
23019 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23020 PyObject *resultobj = 0;
23021 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23022 void *argp1 = 0 ;
23023 int res1 = 0 ;
23024 PyObject *swig_obj[1] ;
23025
23026 if (!args) SWIG_fail;
23027 swig_obj[0] = args;
23028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23029 if (!SWIG_IsOK(res1)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23031 }
23032 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 (arg1)->OnInternalIdle();
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 resultobj = SWIG_Py_Void();
23040 return resultobj;
23041 fail:
23042 return NULL;
23043 }
23044
23045
23046 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23047 PyObject *obj;
23048 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23049 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23050 return SWIG_Py_Void();
23051 }
23052
23053 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23054 return SWIG_Python_InitShadowInstance(args);
23055 }
23056
23057 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23058 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23059 return 1;
23060 }
23061
23062
23063 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23064 PyObject *pyobj = 0;
23065
23066 {
23067 #if wxUSE_UNICODE
23068 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23069 #else
23070 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23071 #endif
23072 }
23073 return pyobj;
23074 }
23075
23076
23077 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23078 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23079 return 1;
23080 }
23081
23082
23083 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23084 PyObject *pyobj = 0;
23085
23086 {
23087 #if wxUSE_UNICODE
23088 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23089 #else
23090 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23091 #endif
23092 }
23093 return pyobj;
23094 }
23095
23096
23097 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23098 PyObject *resultobj = 0;
23099 wxPrintData *result = 0 ;
23100
23101 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23102 {
23103 PyThreadState* __tstate = wxPyBeginAllowThreads();
23104 result = (wxPrintData *)new wxPrintData();
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23109 return resultobj;
23110 fail:
23111 return NULL;
23112 }
23113
23114
23115 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23116 PyObject *resultobj = 0;
23117 wxPrintData *arg1 = 0 ;
23118 wxPrintData *result = 0 ;
23119 void *argp1 = 0 ;
23120 int res1 = 0 ;
23121
23122 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23124 if (!SWIG_IsOK(res1)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23126 }
23127 if (!argp1) {
23128 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23129 }
23130 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23138 return resultobj;
23139 fail:
23140 return NULL;
23141 }
23142
23143
23144 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23145 int argc;
23146 PyObject *argv[2];
23147
23148 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23149 --argc;
23150 if (argc == 0) {
23151 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23152 }
23153 if (argc == 1) {
23154 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23155 }
23156
23157 fail:
23158 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23159 return NULL;
23160 }
23161
23162
23163 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23164 PyObject *resultobj = 0;
23165 wxPrintData *arg1 = (wxPrintData *) 0 ;
23166 void *argp1 = 0 ;
23167 int res1 = 0 ;
23168 PyObject *swig_obj[1] ;
23169
23170 if (!args) SWIG_fail;
23171 swig_obj[0] = args;
23172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23173 if (!SWIG_IsOK(res1)) {
23174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23175 }
23176 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 delete arg1;
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 resultobj = SWIG_Py_Void();
23185 return resultobj;
23186 fail:
23187 return NULL;
23188 }
23189
23190
23191 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23192 PyObject *resultobj = 0;
23193 wxPrintData *arg1 = (wxPrintData *) 0 ;
23194 int result;
23195 void *argp1 = 0 ;
23196 int res1 = 0 ;
23197 PyObject *swig_obj[1] ;
23198
23199 if (!args) SWIG_fail;
23200 swig_obj[0] = args;
23201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23202 if (!SWIG_IsOK(res1)) {
23203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23204 }
23205 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 result = (int)(arg1)->GetNoCopies();
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 resultobj = SWIG_From_int(static_cast< int >(result));
23213 return resultobj;
23214 fail:
23215 return NULL;
23216 }
23217
23218
23219 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23220 PyObject *resultobj = 0;
23221 wxPrintData *arg1 = (wxPrintData *) 0 ;
23222 bool result;
23223 void *argp1 = 0 ;
23224 int res1 = 0 ;
23225 PyObject *swig_obj[1] ;
23226
23227 if (!args) SWIG_fail;
23228 swig_obj[0] = args;
23229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23230 if (!SWIG_IsOK(res1)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23232 }
23233 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 result = (bool)(arg1)->GetCollate();
23237 wxPyEndAllowThreads(__tstate);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 {
23241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23242 }
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23250 PyObject *resultobj = 0;
23251 wxPrintData *arg1 = (wxPrintData *) 0 ;
23252 int result;
23253 void *argp1 = 0 ;
23254 int res1 = 0 ;
23255 PyObject *swig_obj[1] ;
23256
23257 if (!args) SWIG_fail;
23258 swig_obj[0] = args;
23259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23260 if (!SWIG_IsOK(res1)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23262 }
23263 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 result = (int)(arg1)->GetOrientation();
23267 wxPyEndAllowThreads(__tstate);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 resultobj = SWIG_From_int(static_cast< int >(result));
23271 return resultobj;
23272 fail:
23273 return NULL;
23274 }
23275
23276
23277 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23278 PyObject *resultobj = 0;
23279 wxPrintData *arg1 = (wxPrintData *) 0 ;
23280 bool result;
23281 void *argp1 = 0 ;
23282 int res1 = 0 ;
23283 PyObject *swig_obj[1] ;
23284
23285 if (!args) SWIG_fail;
23286 swig_obj[0] = args;
23287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23288 if (!SWIG_IsOK(res1)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23290 }
23291 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 result = (bool)(arg1)->Ok();
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 {
23299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23300 }
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23308 PyObject *resultobj = 0;
23309 wxPrintData *arg1 = (wxPrintData *) 0 ;
23310 wxString *result = 0 ;
23311 void *argp1 = 0 ;
23312 int res1 = 0 ;
23313 PyObject *swig_obj[1] ;
23314
23315 if (!args) SWIG_fail;
23316 swig_obj[0] = args;
23317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23318 if (!SWIG_IsOK(res1)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23320 }
23321 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 {
23325 wxString const &_result_ref = (arg1)->GetPrinterName();
23326 result = (wxString *) &_result_ref;
23327 }
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 {
23332 #if wxUSE_UNICODE
23333 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23334 #else
23335 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23336 #endif
23337 }
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23345 PyObject *resultobj = 0;
23346 wxPrintData *arg1 = (wxPrintData *) 0 ;
23347 bool result;
23348 void *argp1 = 0 ;
23349 int res1 = 0 ;
23350 PyObject *swig_obj[1] ;
23351
23352 if (!args) SWIG_fail;
23353 swig_obj[0] = args;
23354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23355 if (!SWIG_IsOK(res1)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23357 }
23358 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 result = (bool)(arg1)->GetColour();
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 {
23366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23367 }
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23375 PyObject *resultobj = 0;
23376 wxPrintData *arg1 = (wxPrintData *) 0 ;
23377 wxDuplexMode result;
23378 void *argp1 = 0 ;
23379 int res1 = 0 ;
23380 PyObject *swig_obj[1] ;
23381
23382 if (!args) SWIG_fail;
23383 swig_obj[0] = args;
23384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23385 if (!SWIG_IsOK(res1)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23387 }
23388 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 result = (wxDuplexMode)(arg1)->GetDuplex();
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 resultobj = SWIG_From_int(static_cast< int >(result));
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23403 PyObject *resultobj = 0;
23404 wxPrintData *arg1 = (wxPrintData *) 0 ;
23405 wxPaperSize result;
23406 void *argp1 = 0 ;
23407 int res1 = 0 ;
23408 PyObject *swig_obj[1] ;
23409
23410 if (!args) SWIG_fail;
23411 swig_obj[0] = args;
23412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23413 if (!SWIG_IsOK(res1)) {
23414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23415 }
23416 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (wxPaperSize)(arg1)->GetPaperId();
23420 wxPyEndAllowThreads(__tstate);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 }
23423 resultobj = SWIG_From_int(static_cast< int >(result));
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23431 PyObject *resultobj = 0;
23432 wxPrintData *arg1 = (wxPrintData *) 0 ;
23433 wxSize *result = 0 ;
23434 void *argp1 = 0 ;
23435 int res1 = 0 ;
23436 PyObject *swig_obj[1] ;
23437
23438 if (!args) SWIG_fail;
23439 swig_obj[0] = args;
23440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23441 if (!SWIG_IsOK(res1)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23443 }
23444 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 {
23448 wxSize const &_result_ref = (arg1)->GetPaperSize();
23449 result = (wxSize *) &_result_ref;
23450 }
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23462 PyObject *resultobj = 0;
23463 wxPrintData *arg1 = (wxPrintData *) 0 ;
23464 int result;
23465 void *argp1 = 0 ;
23466 int res1 = 0 ;
23467 PyObject *swig_obj[1] ;
23468
23469 if (!args) SWIG_fail;
23470 swig_obj[0] = args;
23471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23472 if (!SWIG_IsOK(res1)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23474 }
23475 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 result = (int)(arg1)->GetQuality();
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 resultobj = SWIG_From_int(static_cast< int >(result));
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23490 PyObject *resultobj = 0;
23491 wxPrintData *arg1 = (wxPrintData *) 0 ;
23492 wxPrintBin result;
23493 void *argp1 = 0 ;
23494 int res1 = 0 ;
23495 PyObject *swig_obj[1] ;
23496
23497 if (!args) SWIG_fail;
23498 swig_obj[0] = args;
23499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23500 if (!SWIG_IsOK(res1)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23502 }
23503 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 result = (wxPrintBin)(arg1)->GetBin();
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 resultobj = SWIG_From_int(static_cast< int >(result));
23511 return resultobj;
23512 fail:
23513 return NULL;
23514 }
23515
23516
23517 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23518 PyObject *resultobj = 0;
23519 wxPrintData *arg1 = (wxPrintData *) 0 ;
23520 wxPrintMode result;
23521 void *argp1 = 0 ;
23522 int res1 = 0 ;
23523 PyObject *swig_obj[1] ;
23524
23525 if (!args) SWIG_fail;
23526 swig_obj[0] = args;
23527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23528 if (!SWIG_IsOK(res1)) {
23529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23530 }
23531 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 resultobj = SWIG_From_int(static_cast< int >(result));
23539 return resultobj;
23540 fail:
23541 return NULL;
23542 }
23543
23544
23545 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj = 0;
23547 wxPrintData *arg1 = (wxPrintData *) 0 ;
23548 int arg2 ;
23549 void *argp1 = 0 ;
23550 int res1 = 0 ;
23551 int val2 ;
23552 int ecode2 = 0 ;
23553 PyObject * obj0 = 0 ;
23554 PyObject * obj1 = 0 ;
23555 char * kwnames[] = {
23556 (char *) "self",(char *) "v", NULL
23557 };
23558
23559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23561 if (!SWIG_IsOK(res1)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23563 }
23564 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23565 ecode2 = SWIG_AsVal_int(obj1, &val2);
23566 if (!SWIG_IsOK(ecode2)) {
23567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23568 }
23569 arg2 = static_cast< int >(val2);
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 (arg1)->SetNoCopies(arg2);
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 resultobj = SWIG_Py_Void();
23577 return resultobj;
23578 fail:
23579 return NULL;
23580 }
23581
23582
23583 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23584 PyObject *resultobj = 0;
23585 wxPrintData *arg1 = (wxPrintData *) 0 ;
23586 bool arg2 ;
23587 void *argp1 = 0 ;
23588 int res1 = 0 ;
23589 bool val2 ;
23590 int ecode2 = 0 ;
23591 PyObject * obj0 = 0 ;
23592 PyObject * obj1 = 0 ;
23593 char * kwnames[] = {
23594 (char *) "self",(char *) "flag", NULL
23595 };
23596
23597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23599 if (!SWIG_IsOK(res1)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23601 }
23602 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23603 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23604 if (!SWIG_IsOK(ecode2)) {
23605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23606 }
23607 arg2 = static_cast< bool >(val2);
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->SetCollate(arg2);
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 resultobj = SWIG_Py_Void();
23615 return resultobj;
23616 fail:
23617 return NULL;
23618 }
23619
23620
23621 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj = 0;
23623 wxPrintData *arg1 = (wxPrintData *) 0 ;
23624 int arg2 ;
23625 void *argp1 = 0 ;
23626 int res1 = 0 ;
23627 int val2 ;
23628 int ecode2 = 0 ;
23629 PyObject * obj0 = 0 ;
23630 PyObject * obj1 = 0 ;
23631 char * kwnames[] = {
23632 (char *) "self",(char *) "orient", NULL
23633 };
23634
23635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23639 }
23640 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23641 ecode2 = SWIG_AsVal_int(obj1, &val2);
23642 if (!SWIG_IsOK(ecode2)) {
23643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23644 }
23645 arg2 = static_cast< int >(val2);
23646 {
23647 PyThreadState* __tstate = wxPyBeginAllowThreads();
23648 (arg1)->SetOrientation(arg2);
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 resultobj = SWIG_Py_Void();
23653 return resultobj;
23654 fail:
23655 return NULL;
23656 }
23657
23658
23659 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj = 0;
23661 wxPrintData *arg1 = (wxPrintData *) 0 ;
23662 wxString *arg2 = 0 ;
23663 void *argp1 = 0 ;
23664 int res1 = 0 ;
23665 bool temp2 = false ;
23666 PyObject * obj0 = 0 ;
23667 PyObject * obj1 = 0 ;
23668 char * kwnames[] = {
23669 (char *) "self",(char *) "name", NULL
23670 };
23671
23672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23674 if (!SWIG_IsOK(res1)) {
23675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23676 }
23677 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23678 {
23679 arg2 = wxString_in_helper(obj1);
23680 if (arg2 == NULL) SWIG_fail;
23681 temp2 = true;
23682 }
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 (arg1)->SetPrinterName((wxString const &)*arg2);
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 resultobj = SWIG_Py_Void();
23690 {
23691 if (temp2)
23692 delete arg2;
23693 }
23694 return resultobj;
23695 fail:
23696 {
23697 if (temp2)
23698 delete arg2;
23699 }
23700 return NULL;
23701 }
23702
23703
23704 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj = 0;
23706 wxPrintData *arg1 = (wxPrintData *) 0 ;
23707 bool arg2 ;
23708 void *argp1 = 0 ;
23709 int res1 = 0 ;
23710 bool val2 ;
23711 int ecode2 = 0 ;
23712 PyObject * obj0 = 0 ;
23713 PyObject * obj1 = 0 ;
23714 char * kwnames[] = {
23715 (char *) "self",(char *) "colour", NULL
23716 };
23717
23718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23720 if (!SWIG_IsOK(res1)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23722 }
23723 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23724 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23725 if (!SWIG_IsOK(ecode2)) {
23726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23727 }
23728 arg2 = static_cast< bool >(val2);
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 (arg1)->SetColour(arg2);
23732 wxPyEndAllowThreads(__tstate);
23733 if (PyErr_Occurred()) SWIG_fail;
23734 }
23735 resultobj = SWIG_Py_Void();
23736 return resultobj;
23737 fail:
23738 return NULL;
23739 }
23740
23741
23742 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23743 PyObject *resultobj = 0;
23744 wxPrintData *arg1 = (wxPrintData *) 0 ;
23745 wxDuplexMode arg2 ;
23746 void *argp1 = 0 ;
23747 int res1 = 0 ;
23748 int val2 ;
23749 int ecode2 = 0 ;
23750 PyObject * obj0 = 0 ;
23751 PyObject * obj1 = 0 ;
23752 char * kwnames[] = {
23753 (char *) "self",(char *) "duplex", NULL
23754 };
23755
23756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23758 if (!SWIG_IsOK(res1)) {
23759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23760 }
23761 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23762 ecode2 = SWIG_AsVal_int(obj1, &val2);
23763 if (!SWIG_IsOK(ecode2)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23765 }
23766 arg2 = static_cast< wxDuplexMode >(val2);
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 (arg1)->SetDuplex(arg2);
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 resultobj = SWIG_Py_Void();
23774 return resultobj;
23775 fail:
23776 return NULL;
23777 }
23778
23779
23780 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj = 0;
23782 wxPrintData *arg1 = (wxPrintData *) 0 ;
23783 wxPaperSize arg2 ;
23784 void *argp1 = 0 ;
23785 int res1 = 0 ;
23786 int val2 ;
23787 int ecode2 = 0 ;
23788 PyObject * obj0 = 0 ;
23789 PyObject * obj1 = 0 ;
23790 char * kwnames[] = {
23791 (char *) "self",(char *) "sizeId", NULL
23792 };
23793
23794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23796 if (!SWIG_IsOK(res1)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23798 }
23799 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23800 ecode2 = SWIG_AsVal_int(obj1, &val2);
23801 if (!SWIG_IsOK(ecode2)) {
23802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23803 }
23804 arg2 = static_cast< wxPaperSize >(val2);
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 (arg1)->SetPaperId(arg2);
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 resultobj = SWIG_Py_Void();
23812 return resultobj;
23813 fail:
23814 return NULL;
23815 }
23816
23817
23818 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23819 PyObject *resultobj = 0;
23820 wxPrintData *arg1 = (wxPrintData *) 0 ;
23821 wxSize *arg2 = 0 ;
23822 void *argp1 = 0 ;
23823 int res1 = 0 ;
23824 wxSize temp2 ;
23825 PyObject * obj0 = 0 ;
23826 PyObject * obj1 = 0 ;
23827 char * kwnames[] = {
23828 (char *) "self",(char *) "sz", NULL
23829 };
23830
23831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23835 }
23836 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23837 {
23838 arg2 = &temp2;
23839 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23840 }
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 (arg1)->SetPaperSize((wxSize const &)*arg2);
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_Py_Void();
23848 return resultobj;
23849 fail:
23850 return NULL;
23851 }
23852
23853
23854 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23855 PyObject *resultobj = 0;
23856 wxPrintData *arg1 = (wxPrintData *) 0 ;
23857 int arg2 ;
23858 void *argp1 = 0 ;
23859 int res1 = 0 ;
23860 int val2 ;
23861 int ecode2 = 0 ;
23862 PyObject * obj0 = 0 ;
23863 PyObject * obj1 = 0 ;
23864 char * kwnames[] = {
23865 (char *) "self",(char *) "quality", NULL
23866 };
23867
23868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
23869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23870 if (!SWIG_IsOK(res1)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23872 }
23873 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23874 ecode2 = SWIG_AsVal_int(obj1, &val2);
23875 if (!SWIG_IsOK(ecode2)) {
23876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23877 }
23878 arg2 = static_cast< int >(val2);
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 (arg1)->SetQuality(arg2);
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 resultobj = SWIG_Py_Void();
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23893 PyObject *resultobj = 0;
23894 wxPrintData *arg1 = (wxPrintData *) 0 ;
23895 wxPrintBin arg2 ;
23896 void *argp1 = 0 ;
23897 int res1 = 0 ;
23898 int val2 ;
23899 int ecode2 = 0 ;
23900 PyObject * obj0 = 0 ;
23901 PyObject * obj1 = 0 ;
23902 char * kwnames[] = {
23903 (char *) "self",(char *) "bin", NULL
23904 };
23905
23906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
23907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23908 if (!SWIG_IsOK(res1)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23910 }
23911 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23912 ecode2 = SWIG_AsVal_int(obj1, &val2);
23913 if (!SWIG_IsOK(ecode2)) {
23914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23915 }
23916 arg2 = static_cast< wxPrintBin >(val2);
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->SetBin(arg2);
23920 wxPyEndAllowThreads(__tstate);
23921 if (PyErr_Occurred()) SWIG_fail;
23922 }
23923 resultobj = SWIG_Py_Void();
23924 return resultobj;
23925 fail:
23926 return NULL;
23927 }
23928
23929
23930 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23931 PyObject *resultobj = 0;
23932 wxPrintData *arg1 = (wxPrintData *) 0 ;
23933 wxPrintMode arg2 ;
23934 void *argp1 = 0 ;
23935 int res1 = 0 ;
23936 int val2 ;
23937 int ecode2 = 0 ;
23938 PyObject * obj0 = 0 ;
23939 PyObject * obj1 = 0 ;
23940 char * kwnames[] = {
23941 (char *) "self",(char *) "printMode", NULL
23942 };
23943
23944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
23945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23946 if (!SWIG_IsOK(res1)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23948 }
23949 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23950 ecode2 = SWIG_AsVal_int(obj1, &val2);
23951 if (!SWIG_IsOK(ecode2)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23953 }
23954 arg2 = static_cast< wxPrintMode >(val2);
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 (arg1)->SetPrintMode(arg2);
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 resultobj = SWIG_Py_Void();
23962 return resultobj;
23963 fail:
23964 return NULL;
23965 }
23966
23967
23968 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23969 PyObject *resultobj = 0;
23970 wxPrintData *arg1 = (wxPrintData *) 0 ;
23971 wxString result;
23972 void *argp1 = 0 ;
23973 int res1 = 0 ;
23974 PyObject *swig_obj[1] ;
23975
23976 if (!args) SWIG_fail;
23977 swig_obj[0] = args;
23978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23979 if (!SWIG_IsOK(res1)) {
23980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23981 }
23982 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = ((wxPrintData const *)arg1)->GetFilename();
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 {
23990 #if wxUSE_UNICODE
23991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23992 #else
23993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23994 #endif
23995 }
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj = 0;
24004 wxPrintData *arg1 = (wxPrintData *) 0 ;
24005 wxString *arg2 = 0 ;
24006 void *argp1 = 0 ;
24007 int res1 = 0 ;
24008 bool temp2 = false ;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011 char * kwnames[] = {
24012 (char *) "self",(char *) "filename", NULL
24013 };
24014
24015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24017 if (!SWIG_IsOK(res1)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24019 }
24020 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24021 {
24022 arg2 = wxString_in_helper(obj1);
24023 if (arg2 == NULL) SWIG_fail;
24024 temp2 = true;
24025 }
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 (arg1)->SetFilename((wxString const &)*arg2);
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 resultobj = SWIG_Py_Void();
24033 {
24034 if (temp2)
24035 delete arg2;
24036 }
24037 return resultobj;
24038 fail:
24039 {
24040 if (temp2)
24041 delete arg2;
24042 }
24043 return NULL;
24044 }
24045
24046
24047 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24048 PyObject *resultobj = 0;
24049 wxPrintData *arg1 = (wxPrintData *) 0 ;
24050 PyObject *result = 0 ;
24051 void *argp1 = 0 ;
24052 int res1 = 0 ;
24053 PyObject *swig_obj[1] ;
24054
24055 if (!args) SWIG_fail;
24056 swig_obj[0] = args;
24057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24058 if (!SWIG_IsOK(res1)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24060 }
24061 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = result;
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj = 0;
24077 wxPrintData *arg1 = (wxPrintData *) 0 ;
24078 PyObject *arg2 = (PyObject *) 0 ;
24079 void *argp1 = 0 ;
24080 int res1 = 0 ;
24081 PyObject * obj0 = 0 ;
24082 PyObject * obj1 = 0 ;
24083 char * kwnames[] = {
24084 (char *) "self",(char *) "data", NULL
24085 };
24086
24087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24089 if (!SWIG_IsOK(res1)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24091 }
24092 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24093 arg2 = obj1;
24094 {
24095 PyThreadState* __tstate = wxPyBeginAllowThreads();
24096 wxPrintData_SetPrivData(arg1,arg2);
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 resultobj = SWIG_Py_Void();
24101 return resultobj;
24102 fail:
24103 return NULL;
24104 }
24105
24106
24107 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24108 PyObject *obj;
24109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24111 return SWIG_Py_Void();
24112 }
24113
24114 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24115 return SWIG_Python_InitShadowInstance(args);
24116 }
24117
24118 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24119 PyObject *resultobj = 0;
24120 wxPageSetupDialogData *result = 0 ;
24121
24122 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24126 wxPyEndAllowThreads(__tstate);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 }
24129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24130 return resultobj;
24131 fail:
24132 return NULL;
24133 }
24134
24135
24136 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24137 PyObject *resultobj = 0;
24138 wxPageSetupDialogData *arg1 = 0 ;
24139 wxPageSetupDialogData *result = 0 ;
24140 void *argp1 = 0 ;
24141 int res1 = 0 ;
24142
24143 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24145 if (!SWIG_IsOK(res1)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24147 }
24148 if (!argp1) {
24149 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24150 }
24151 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24166 PyObject *resultobj = 0;
24167 wxPrintData *arg1 = 0 ;
24168 wxPageSetupDialogData *result = 0 ;
24169 void *argp1 = 0 ;
24170 int res1 = 0 ;
24171
24172 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24174 if (!SWIG_IsOK(res1)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24176 }
24177 if (!argp1) {
24178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24179 }
24180 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24184 wxPyEndAllowThreads(__tstate);
24185 if (PyErr_Occurred()) SWIG_fail;
24186 }
24187 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24188 return resultobj;
24189 fail:
24190 return NULL;
24191 }
24192
24193
24194 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24195 int argc;
24196 PyObject *argv[2];
24197
24198 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24199 --argc;
24200 if (argc == 0) {
24201 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24202 }
24203 if (argc == 1) {
24204 int _v = 0;
24205 {
24206 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24207 _v = SWIG_CheckState(res);
24208 }
24209 if (!_v) goto check_2;
24210 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24211 }
24212 check_2:
24213
24214 if (argc == 1) {
24215 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24216 }
24217
24218 fail:
24219 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24220 return NULL;
24221 }
24222
24223
24224 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24225 PyObject *resultobj = 0;
24226 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24227 void *argp1 = 0 ;
24228 int res1 = 0 ;
24229 PyObject *swig_obj[1] ;
24230
24231 if (!args) SWIG_fail;
24232 swig_obj[0] = args;
24233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24234 if (!SWIG_IsOK(res1)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24236 }
24237 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 delete arg1;
24241
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 resultobj = SWIG_Py_Void();
24246 return resultobj;
24247 fail:
24248 return NULL;
24249 }
24250
24251
24252 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj = 0;
24254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24255 bool arg2 ;
24256 void *argp1 = 0 ;
24257 int res1 = 0 ;
24258 bool val2 ;
24259 int ecode2 = 0 ;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char * kwnames[] = {
24263 (char *) "self",(char *) "flag", NULL
24264 };
24265
24266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24268 if (!SWIG_IsOK(res1)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24270 }
24271 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24272 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24273 if (!SWIG_IsOK(ecode2)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24275 }
24276 arg2 = static_cast< bool >(val2);
24277 {
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 (arg1)->EnableHelp(arg2);
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 resultobj = SWIG_Py_Void();
24284 return resultobj;
24285 fail:
24286 return NULL;
24287 }
24288
24289
24290 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24291 PyObject *resultobj = 0;
24292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24293 bool arg2 ;
24294 void *argp1 = 0 ;
24295 int res1 = 0 ;
24296 bool val2 ;
24297 int ecode2 = 0 ;
24298 PyObject * obj0 = 0 ;
24299 PyObject * obj1 = 0 ;
24300 char * kwnames[] = {
24301 (char *) "self",(char *) "flag", NULL
24302 };
24303
24304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24306 if (!SWIG_IsOK(res1)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24308 }
24309 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24310 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24311 if (!SWIG_IsOK(ecode2)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24313 }
24314 arg2 = static_cast< bool >(val2);
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 (arg1)->EnableMargins(arg2);
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = SWIG_Py_Void();
24322 return resultobj;
24323 fail:
24324 return NULL;
24325 }
24326
24327
24328 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj = 0;
24330 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24331 bool arg2 ;
24332 void *argp1 = 0 ;
24333 int res1 = 0 ;
24334 bool val2 ;
24335 int ecode2 = 0 ;
24336 PyObject * obj0 = 0 ;
24337 PyObject * obj1 = 0 ;
24338 char * kwnames[] = {
24339 (char *) "self",(char *) "flag", NULL
24340 };
24341
24342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24344 if (!SWIG_IsOK(res1)) {
24345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24346 }
24347 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24348 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24349 if (!SWIG_IsOK(ecode2)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24351 }
24352 arg2 = static_cast< bool >(val2);
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 (arg1)->EnableOrientation(arg2);
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 resultobj = SWIG_Py_Void();
24360 return resultobj;
24361 fail:
24362 return NULL;
24363 }
24364
24365
24366 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj = 0;
24368 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24369 bool arg2 ;
24370 void *argp1 = 0 ;
24371 int res1 = 0 ;
24372 bool val2 ;
24373 int ecode2 = 0 ;
24374 PyObject * obj0 = 0 ;
24375 PyObject * obj1 = 0 ;
24376 char * kwnames[] = {
24377 (char *) "self",(char *) "flag", NULL
24378 };
24379
24380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24382 if (!SWIG_IsOK(res1)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24384 }
24385 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24386 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24387 if (!SWIG_IsOK(ecode2)) {
24388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24389 }
24390 arg2 = static_cast< bool >(val2);
24391 {
24392 PyThreadState* __tstate = wxPyBeginAllowThreads();
24393 (arg1)->EnablePaper(arg2);
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 resultobj = SWIG_Py_Void();
24398 return resultobj;
24399 fail:
24400 return NULL;
24401 }
24402
24403
24404 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24405 PyObject *resultobj = 0;
24406 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24407 bool arg2 ;
24408 void *argp1 = 0 ;
24409 int res1 = 0 ;
24410 bool val2 ;
24411 int ecode2 = 0 ;
24412 PyObject * obj0 = 0 ;
24413 PyObject * obj1 = 0 ;
24414 char * kwnames[] = {
24415 (char *) "self",(char *) "flag", NULL
24416 };
24417
24418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24420 if (!SWIG_IsOK(res1)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24422 }
24423 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24424 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24425 if (!SWIG_IsOK(ecode2)) {
24426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24427 }
24428 arg2 = static_cast< bool >(val2);
24429 {
24430 PyThreadState* __tstate = wxPyBeginAllowThreads();
24431 (arg1)->EnablePrinter(arg2);
24432 wxPyEndAllowThreads(__tstate);
24433 if (PyErr_Occurred()) SWIG_fail;
24434 }
24435 resultobj = SWIG_Py_Void();
24436 return resultobj;
24437 fail:
24438 return NULL;
24439 }
24440
24441
24442 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24443 PyObject *resultobj = 0;
24444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24445 bool result;
24446 void *argp1 = 0 ;
24447 int res1 = 0 ;
24448 PyObject *swig_obj[1] ;
24449
24450 if (!args) SWIG_fail;
24451 swig_obj[0] = args;
24452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24453 if (!SWIG_IsOK(res1)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24455 }
24456 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 result = (bool)(arg1)->GetDefaultMinMargins();
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 {
24464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24465 }
24466 return resultobj;
24467 fail:
24468 return NULL;
24469 }
24470
24471
24472 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24473 PyObject *resultobj = 0;
24474 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24475 bool result;
24476 void *argp1 = 0 ;
24477 int res1 = 0 ;
24478 PyObject *swig_obj[1] ;
24479
24480 if (!args) SWIG_fail;
24481 swig_obj[0] = args;
24482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24483 if (!SWIG_IsOK(res1)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24485 }
24486 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 result = (bool)(arg1)->GetEnableMargins();
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 {
24494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24495 }
24496 return resultobj;
24497 fail:
24498 return NULL;
24499 }
24500
24501
24502 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24503 PyObject *resultobj = 0;
24504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24505 bool result;
24506 void *argp1 = 0 ;
24507 int res1 = 0 ;
24508 PyObject *swig_obj[1] ;
24509
24510 if (!args) SWIG_fail;
24511 swig_obj[0] = args;
24512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24513 if (!SWIG_IsOK(res1)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24515 }
24516 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 result = (bool)(arg1)->GetEnableOrientation();
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 {
24524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24525 }
24526 return resultobj;
24527 fail:
24528 return NULL;
24529 }
24530
24531
24532 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24533 PyObject *resultobj = 0;
24534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24535 bool result;
24536 void *argp1 = 0 ;
24537 int res1 = 0 ;
24538 PyObject *swig_obj[1] ;
24539
24540 if (!args) SWIG_fail;
24541 swig_obj[0] = args;
24542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24543 if (!SWIG_IsOK(res1)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24545 }
24546 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 result = (bool)(arg1)->GetEnablePaper();
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 {
24554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24555 }
24556 return resultobj;
24557 fail:
24558 return NULL;
24559 }
24560
24561
24562 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24563 PyObject *resultobj = 0;
24564 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24565 bool result;
24566 void *argp1 = 0 ;
24567 int res1 = 0 ;
24568 PyObject *swig_obj[1] ;
24569
24570 if (!args) SWIG_fail;
24571 swig_obj[0] = args;
24572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24573 if (!SWIG_IsOK(res1)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24575 }
24576 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 result = (bool)(arg1)->GetEnablePrinter();
24580 wxPyEndAllowThreads(__tstate);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 }
24583 {
24584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24585 }
24586 return resultobj;
24587 fail:
24588 return NULL;
24589 }
24590
24591
24592 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24593 PyObject *resultobj = 0;
24594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24595 bool result;
24596 void *argp1 = 0 ;
24597 int res1 = 0 ;
24598 PyObject *swig_obj[1] ;
24599
24600 if (!args) SWIG_fail;
24601 swig_obj[0] = args;
24602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24603 if (!SWIG_IsOK(res1)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24605 }
24606 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (bool)(arg1)->GetEnableHelp();
24610 wxPyEndAllowThreads(__tstate);
24611 if (PyErr_Occurred()) SWIG_fail;
24612 }
24613 {
24614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24615 }
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24623 PyObject *resultobj = 0;
24624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24625 bool result;
24626 void *argp1 = 0 ;
24627 int res1 = 0 ;
24628 PyObject *swig_obj[1] ;
24629
24630 if (!args) SWIG_fail;
24631 swig_obj[0] = args;
24632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24633 if (!SWIG_IsOK(res1)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24635 }
24636 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 result = (bool)(arg1)->GetDefaultInfo();
24640 wxPyEndAllowThreads(__tstate);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 {
24644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24645 }
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24653 PyObject *resultobj = 0;
24654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24655 wxPoint result;
24656 void *argp1 = 0 ;
24657 int res1 = 0 ;
24658 PyObject *swig_obj[1] ;
24659
24660 if (!args) SWIG_fail;
24661 swig_obj[0] = args;
24662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24663 if (!SWIG_IsOK(res1)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24665 }
24666 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 result = (arg1)->GetMarginTopLeft();
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24674 return resultobj;
24675 fail:
24676 return NULL;
24677 }
24678
24679
24680 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24681 PyObject *resultobj = 0;
24682 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24683 wxPoint result;
24684 void *argp1 = 0 ;
24685 int res1 = 0 ;
24686 PyObject *swig_obj[1] ;
24687
24688 if (!args) SWIG_fail;
24689 swig_obj[0] = args;
24690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24691 if (!SWIG_IsOK(res1)) {
24692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24693 }
24694 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 result = (arg1)->GetMarginBottomRight();
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24709 PyObject *resultobj = 0;
24710 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24711 wxPoint result;
24712 void *argp1 = 0 ;
24713 int res1 = 0 ;
24714 PyObject *swig_obj[1] ;
24715
24716 if (!args) SWIG_fail;
24717 swig_obj[0] = args;
24718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24719 if (!SWIG_IsOK(res1)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24721 }
24722 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 result = (arg1)->GetMinMarginTopLeft();
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24730 return resultobj;
24731 fail:
24732 return NULL;
24733 }
24734
24735
24736 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24737 PyObject *resultobj = 0;
24738 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24739 wxPoint result;
24740 void *argp1 = 0 ;
24741 int res1 = 0 ;
24742 PyObject *swig_obj[1] ;
24743
24744 if (!args) SWIG_fail;
24745 swig_obj[0] = args;
24746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24747 if (!SWIG_IsOK(res1)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24749 }
24750 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = (arg1)->GetMinMarginBottomRight();
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24758 return resultobj;
24759 fail:
24760 return NULL;
24761 }
24762
24763
24764 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24765 PyObject *resultobj = 0;
24766 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24767 wxPaperSize result;
24768 void *argp1 = 0 ;
24769 int res1 = 0 ;
24770 PyObject *swig_obj[1] ;
24771
24772 if (!args) SWIG_fail;
24773 swig_obj[0] = args;
24774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24775 if (!SWIG_IsOK(res1)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24777 }
24778 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = (wxPaperSize)(arg1)->GetPaperId();
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
24785 resultobj = SWIG_From_int(static_cast< int >(result));
24786 return resultobj;
24787 fail:
24788 return NULL;
24789 }
24790
24791
24792 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24793 PyObject *resultobj = 0;
24794 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24795 wxSize result;
24796 void *argp1 = 0 ;
24797 int res1 = 0 ;
24798 PyObject *swig_obj[1] ;
24799
24800 if (!args) SWIG_fail;
24801 swig_obj[0] = args;
24802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24803 if (!SWIG_IsOK(res1)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24805 }
24806 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 result = (arg1)->GetPaperSize();
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24814 return resultobj;
24815 fail:
24816 return NULL;
24817 }
24818
24819
24820 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24821 PyObject *resultobj = 0;
24822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24823 wxPrintData *result = 0 ;
24824 void *argp1 = 0 ;
24825 int res1 = 0 ;
24826 PyObject *swig_obj[1] ;
24827
24828 if (!args) SWIG_fail;
24829 swig_obj[0] = args;
24830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24831 if (!SWIG_IsOK(res1)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24833 }
24834 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 {
24838 wxPrintData &_result_ref = (arg1)->GetPrintData();
24839 result = (wxPrintData *) &_result_ref;
24840 }
24841 wxPyEndAllowThreads(__tstate);
24842 if (PyErr_Occurred()) SWIG_fail;
24843 }
24844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
24845 return resultobj;
24846 fail:
24847 return NULL;
24848 }
24849
24850
24851 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24852 PyObject *resultobj = 0;
24853 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24854 bool result;
24855 void *argp1 = 0 ;
24856 int res1 = 0 ;
24857 PyObject *swig_obj[1] ;
24858
24859 if (!args) SWIG_fail;
24860 swig_obj[0] = args;
24861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24862 if (!SWIG_IsOK(res1)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24864 }
24865 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 result = (bool)(arg1)->Ok();
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 {
24873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24874 }
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj = 0;
24883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24884 bool arg2 ;
24885 void *argp1 = 0 ;
24886 int res1 = 0 ;
24887 bool val2 ;
24888 int ecode2 = 0 ;
24889 PyObject * obj0 = 0 ;
24890 PyObject * obj1 = 0 ;
24891 char * kwnames[] = {
24892 (char *) "self",(char *) "flag", NULL
24893 };
24894
24895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
24896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24897 if (!SWIG_IsOK(res1)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24899 }
24900 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24901 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24902 if (!SWIG_IsOK(ecode2)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24904 }
24905 arg2 = static_cast< bool >(val2);
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 (arg1)->SetDefaultInfo(arg2);
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 resultobj = SWIG_Py_Void();
24913 return resultobj;
24914 fail:
24915 return NULL;
24916 }
24917
24918
24919 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24920 PyObject *resultobj = 0;
24921 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24922 bool arg2 ;
24923 void *argp1 = 0 ;
24924 int res1 = 0 ;
24925 bool val2 ;
24926 int ecode2 = 0 ;
24927 PyObject * obj0 = 0 ;
24928 PyObject * obj1 = 0 ;
24929 char * kwnames[] = {
24930 (char *) "self",(char *) "flag", NULL
24931 };
24932
24933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24935 if (!SWIG_IsOK(res1)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24937 }
24938 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24939 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24940 if (!SWIG_IsOK(ecode2)) {
24941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24942 }
24943 arg2 = static_cast< bool >(val2);
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 (arg1)->SetDefaultMinMargins(arg2);
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
24950 resultobj = SWIG_Py_Void();
24951 return resultobj;
24952 fail:
24953 return NULL;
24954 }
24955
24956
24957 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj = 0;
24959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24960 wxPoint *arg2 = 0 ;
24961 void *argp1 = 0 ;
24962 int res1 = 0 ;
24963 wxPoint temp2 ;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 char * kwnames[] = {
24967 (char *) "self",(char *) "pt", NULL
24968 };
24969
24970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
24971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24972 if (!SWIG_IsOK(res1)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24974 }
24975 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24976 {
24977 arg2 = &temp2;
24978 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24979 }
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
24986 resultobj = SWIG_Py_Void();
24987 return resultobj;
24988 fail:
24989 return NULL;
24990 }
24991
24992
24993 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24994 PyObject *resultobj = 0;
24995 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24996 wxPoint *arg2 = 0 ;
24997 void *argp1 = 0 ;
24998 int res1 = 0 ;
24999 wxPoint temp2 ;
25000 PyObject * obj0 = 0 ;
25001 PyObject * obj1 = 0 ;
25002 char * kwnames[] = {
25003 (char *) "self",(char *) "pt", NULL
25004 };
25005
25006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25008 if (!SWIG_IsOK(res1)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 }
25011 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25012 {
25013 arg2 = &temp2;
25014 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25015 }
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 resultobj = SWIG_Py_Void();
25023 return resultobj;
25024 fail:
25025 return NULL;
25026 }
25027
25028
25029 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj = 0;
25031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25032 wxPoint *arg2 = 0 ;
25033 void *argp1 = 0 ;
25034 int res1 = 0 ;
25035 wxPoint temp2 ;
25036 PyObject * obj0 = 0 ;
25037 PyObject * obj1 = 0 ;
25038 char * kwnames[] = {
25039 (char *) "self",(char *) "pt", NULL
25040 };
25041
25042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25044 if (!SWIG_IsOK(res1)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25046 }
25047 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25048 {
25049 arg2 = &temp2;
25050 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25051 }
25052 {
25053 PyThreadState* __tstate = wxPyBeginAllowThreads();
25054 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 resultobj = SWIG_Py_Void();
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj = 0;
25067 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25068 wxPoint *arg2 = 0 ;
25069 void *argp1 = 0 ;
25070 int res1 = 0 ;
25071 wxPoint temp2 ;
25072 PyObject * obj0 = 0 ;
25073 PyObject * obj1 = 0 ;
25074 char * kwnames[] = {
25075 (char *) "self",(char *) "pt", NULL
25076 };
25077
25078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25080 if (!SWIG_IsOK(res1)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25082 }
25083 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25084 {
25085 arg2 = &temp2;
25086 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25087 }
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 resultobj = SWIG_Py_Void();
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj = 0;
25103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25104 wxPaperSize arg2 ;
25105 void *argp1 = 0 ;
25106 int res1 = 0 ;
25107 int val2 ;
25108 int ecode2 = 0 ;
25109 PyObject * obj0 = 0 ;
25110 PyObject * obj1 = 0 ;
25111 char * kwnames[] = {
25112 (char *) "self",(char *) "id", NULL
25113 };
25114
25115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25117 if (!SWIG_IsOK(res1)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25119 }
25120 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25121 ecode2 = SWIG_AsVal_int(obj1, &val2);
25122 if (!SWIG_IsOK(ecode2)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25124 }
25125 arg2 = static_cast< wxPaperSize >(val2);
25126 {
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 (arg1)->SetPaperId(arg2);
25129 wxPyEndAllowThreads(__tstate);
25130 if (PyErr_Occurred()) SWIG_fail;
25131 }
25132 resultobj = SWIG_Py_Void();
25133 return resultobj;
25134 fail:
25135 return NULL;
25136 }
25137
25138
25139 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj = 0;
25141 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25142 wxSize *arg2 = 0 ;
25143 void *argp1 = 0 ;
25144 int res1 = 0 ;
25145 wxSize temp2 ;
25146 PyObject * obj0 = 0 ;
25147 PyObject * obj1 = 0 ;
25148 char * kwnames[] = {
25149 (char *) "self",(char *) "size", NULL
25150 };
25151
25152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25154 if (!SWIG_IsOK(res1)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 }
25157 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25158 {
25159 arg2 = &temp2;
25160 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25161 }
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 (arg1)->SetPaperSize((wxSize const &)*arg2);
25165 wxPyEndAllowThreads(__tstate);
25166 if (PyErr_Occurred()) SWIG_fail;
25167 }
25168 resultobj = SWIG_Py_Void();
25169 return resultobj;
25170 fail:
25171 return NULL;
25172 }
25173
25174
25175 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25176 PyObject *resultobj = 0;
25177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25178 wxPrintData *arg2 = 0 ;
25179 void *argp1 = 0 ;
25180 int res1 = 0 ;
25181 void *argp2 = 0 ;
25182 int res2 = 0 ;
25183 PyObject * obj0 = 0 ;
25184 PyObject * obj1 = 0 ;
25185 char * kwnames[] = {
25186 (char *) "self",(char *) "printData", NULL
25187 };
25188
25189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25191 if (!SWIG_IsOK(res1)) {
25192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25193 }
25194 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25195 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25196 if (!SWIG_IsOK(res2)) {
25197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25198 }
25199 if (!argp2) {
25200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25201 }
25202 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 resultobj = SWIG_Py_Void();
25210 return resultobj;
25211 fail:
25212 return NULL;
25213 }
25214
25215
25216 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25217 PyObject *resultobj = 0;
25218 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25219 void *argp1 = 0 ;
25220 int res1 = 0 ;
25221 PyObject *swig_obj[1] ;
25222
25223 if (!args) SWIG_fail;
25224 swig_obj[0] = args;
25225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25226 if (!SWIG_IsOK(res1)) {
25227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25228 }
25229 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25230 {
25231 PyThreadState* __tstate = wxPyBeginAllowThreads();
25232 (arg1)->CalculateIdFromPaperSize();
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 resultobj = SWIG_Py_Void();
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25244 PyObject *resultobj = 0;
25245 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25246 void *argp1 = 0 ;
25247 int res1 = 0 ;
25248 PyObject *swig_obj[1] ;
25249
25250 if (!args) SWIG_fail;
25251 swig_obj[0] = args;
25252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25253 if (!SWIG_IsOK(res1)) {
25254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25255 }
25256 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 (arg1)->CalculatePaperSizeFromId();
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 *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25271 PyObject *obj;
25272 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25273 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25274 return SWIG_Py_Void();
25275 }
25276
25277 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25278 return SWIG_Python_InitShadowInstance(args);
25279 }
25280
25281 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25282 PyObject *resultobj = 0;
25283 wxWindow *arg1 = (wxWindow *) 0 ;
25284 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25285 wxPageSetupDialog *result = 0 ;
25286 void *argp1 = 0 ;
25287 int res1 = 0 ;
25288 void *argp2 = 0 ;
25289 int res2 = 0 ;
25290 PyObject * obj0 = 0 ;
25291 PyObject * obj1 = 0 ;
25292 char * kwnames[] = {
25293 (char *) "parent",(char *) "data", NULL
25294 };
25295
25296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25298 if (!SWIG_IsOK(res1)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25300 }
25301 arg1 = reinterpret_cast< wxWindow * >(argp1);
25302 if (obj1) {
25303 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25304 if (!SWIG_IsOK(res2)) {
25305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25306 }
25307 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25308 }
25309 {
25310 if (!wxPyCheckForApp()) SWIG_fail;
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25317 return resultobj;
25318 fail:
25319 return NULL;
25320 }
25321
25322
25323 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25324 PyObject *resultobj = 0;
25325 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25326 void *argp1 = 0 ;
25327 int res1 = 0 ;
25328 PyObject *swig_obj[1] ;
25329
25330 if (!args) SWIG_fail;
25331 swig_obj[0] = args;
25332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25333 if (!SWIG_IsOK(res1)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25335 }
25336 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 delete arg1;
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 resultobj = SWIG_Py_Void();
25345 return resultobj;
25346 fail:
25347 return NULL;
25348 }
25349
25350
25351 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25352 PyObject *resultobj = 0;
25353 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25354 wxPageSetupDialogData *result = 0 ;
25355 void *argp1 = 0 ;
25356 int res1 = 0 ;
25357 PyObject *swig_obj[1] ;
25358
25359 if (!args) SWIG_fail;
25360 swig_obj[0] = args;
25361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25362 if (!SWIG_IsOK(res1)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25364 }
25365 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25366 {
25367 PyThreadState* __tstate = wxPyBeginAllowThreads();
25368 {
25369 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25370 result = (wxPageSetupDialogData *) &_result_ref;
25371 }
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25376 return resultobj;
25377 fail:
25378 return NULL;
25379 }
25380
25381
25382 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25383 PyObject *resultobj = 0;
25384 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25385 wxPageSetupDialogData *result = 0 ;
25386 void *argp1 = 0 ;
25387 int res1 = 0 ;
25388 PyObject *swig_obj[1] ;
25389
25390 if (!args) SWIG_fail;
25391 swig_obj[0] = args;
25392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 {
25400 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25401 result = (wxPageSetupDialogData *) &_result_ref;
25402 }
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25414 PyObject *resultobj = 0;
25415 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25416 int result;
25417 void *argp1 = 0 ;
25418 int res1 = 0 ;
25419 PyObject *swig_obj[1] ;
25420
25421 if (!args) SWIG_fail;
25422 swig_obj[0] = args;
25423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25424 if (!SWIG_IsOK(res1)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25426 }
25427 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 result = (int)(arg1)->ShowModal();
25431 wxPyEndAllowThreads(__tstate);
25432 if (PyErr_Occurred()) SWIG_fail;
25433 }
25434 resultobj = SWIG_From_int(static_cast< int >(result));
25435 return resultobj;
25436 fail:
25437 return NULL;
25438 }
25439
25440
25441 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25442 PyObject *obj;
25443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25445 return SWIG_Py_Void();
25446 }
25447
25448 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25449 return SWIG_Python_InitShadowInstance(args);
25450 }
25451
25452 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25453 PyObject *resultobj = 0;
25454 wxPrintDialogData *result = 0 ;
25455
25456 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (wxPrintDialogData *)new wxPrintDialogData();
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25464 return resultobj;
25465 fail:
25466 return NULL;
25467 }
25468
25469
25470 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25471 PyObject *resultobj = 0;
25472 wxPrintData *arg1 = 0 ;
25473 wxPrintDialogData *result = 0 ;
25474 void *argp1 = 0 ;
25475 int res1 = 0 ;
25476
25477 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25479 if (!SWIG_IsOK(res1)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25481 }
25482 if (!argp1) {
25483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25484 }
25485 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25493 return resultobj;
25494 fail:
25495 return NULL;
25496 }
25497
25498
25499 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25500 PyObject *resultobj = 0;
25501 wxPrintDialogData *arg1 = 0 ;
25502 wxPrintDialogData *result = 0 ;
25503 void *argp1 = 0 ;
25504 int res1 = 0 ;
25505
25506 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25508 if (!SWIG_IsOK(res1)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25510 }
25511 if (!argp1) {
25512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25513 }
25514 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25518 wxPyEndAllowThreads(__tstate);
25519 if (PyErr_Occurred()) SWIG_fail;
25520 }
25521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25522 return resultobj;
25523 fail:
25524 return NULL;
25525 }
25526
25527
25528 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25529 int argc;
25530 PyObject *argv[2];
25531
25532 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25533 --argc;
25534 if (argc == 0) {
25535 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25536 }
25537 if (argc == 1) {
25538 int _v = 0;
25539 {
25540 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25541 _v = SWIG_CheckState(res);
25542 }
25543 if (!_v) goto check_2;
25544 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25545 }
25546 check_2:
25547
25548 if (argc == 1) {
25549 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25550 }
25551
25552 fail:
25553 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25554 return NULL;
25555 }
25556
25557
25558 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25559 PyObject *resultobj = 0;
25560 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25561 void *argp1 = 0 ;
25562 int res1 = 0 ;
25563 PyObject *swig_obj[1] ;
25564
25565 if (!args) SWIG_fail;
25566 swig_obj[0] = args;
25567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25568 if (!SWIG_IsOK(res1)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25570 }
25571 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25572 {
25573 PyThreadState* __tstate = wxPyBeginAllowThreads();
25574 delete arg1;
25575
25576 wxPyEndAllowThreads(__tstate);
25577 if (PyErr_Occurred()) SWIG_fail;
25578 }
25579 resultobj = SWIG_Py_Void();
25580 return resultobj;
25581 fail:
25582 return NULL;
25583 }
25584
25585
25586 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25587 PyObject *resultobj = 0;
25588 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25589 int result;
25590 void *argp1 = 0 ;
25591 int res1 = 0 ;
25592 PyObject *swig_obj[1] ;
25593
25594 if (!args) SWIG_fail;
25595 swig_obj[0] = args;
25596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25597 if (!SWIG_IsOK(res1)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25599 }
25600 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 resultobj = SWIG_From_int(static_cast< int >(result));
25608 return resultobj;
25609 fail:
25610 return NULL;
25611 }
25612
25613
25614 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25615 PyObject *resultobj = 0;
25616 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25617 int result;
25618 void *argp1 = 0 ;
25619 int res1 = 0 ;
25620 PyObject *swig_obj[1] ;
25621
25622 if (!args) SWIG_fail;
25623 swig_obj[0] = args;
25624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25625 if (!SWIG_IsOK(res1)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25627 }
25628 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25632 wxPyEndAllowThreads(__tstate);
25633 if (PyErr_Occurred()) SWIG_fail;
25634 }
25635 resultobj = SWIG_From_int(static_cast< int >(result));
25636 return resultobj;
25637 fail:
25638 return NULL;
25639 }
25640
25641
25642 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25643 PyObject *resultobj = 0;
25644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25645 int result;
25646 void *argp1 = 0 ;
25647 int res1 = 0 ;
25648 PyObject *swig_obj[1] ;
25649
25650 if (!args) SWIG_fail;
25651 swig_obj[0] = args;
25652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25653 if (!SWIG_IsOK(res1)) {
25654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25655 }
25656 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 resultobj = SWIG_From_int(static_cast< int >(result));
25664 return resultobj;
25665 fail:
25666 return NULL;
25667 }
25668
25669
25670 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25671 PyObject *resultobj = 0;
25672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25673 int result;
25674 void *argp1 = 0 ;
25675 int res1 = 0 ;
25676 PyObject *swig_obj[1] ;
25677
25678 if (!args) SWIG_fail;
25679 swig_obj[0] = args;
25680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25681 if (!SWIG_IsOK(res1)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25683 }
25684 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 resultobj = SWIG_From_int(static_cast< int >(result));
25692 return resultobj;
25693 fail:
25694 return NULL;
25695 }
25696
25697
25698 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25699 PyObject *resultobj = 0;
25700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25701 int result;
25702 void *argp1 = 0 ;
25703 int res1 = 0 ;
25704 PyObject *swig_obj[1] ;
25705
25706 if (!args) SWIG_fail;
25707 swig_obj[0] = args;
25708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25709 if (!SWIG_IsOK(res1)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25711 }
25712 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25716 wxPyEndAllowThreads(__tstate);
25717 if (PyErr_Occurred()) SWIG_fail;
25718 }
25719 resultobj = SWIG_From_int(static_cast< int >(result));
25720 return resultobj;
25721 fail:
25722 return NULL;
25723 }
25724
25725
25726 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25727 PyObject *resultobj = 0;
25728 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25729 bool result;
25730 void *argp1 = 0 ;
25731 int res1 = 0 ;
25732 PyObject *swig_obj[1] ;
25733
25734 if (!args) SWIG_fail;
25735 swig_obj[0] = args;
25736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25737 if (!SWIG_IsOK(res1)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25739 }
25740 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25744 wxPyEndAllowThreads(__tstate);
25745 if (PyErr_Occurred()) SWIG_fail;
25746 }
25747 {
25748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25749 }
25750 return resultobj;
25751 fail:
25752 return NULL;
25753 }
25754
25755
25756 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25757 PyObject *resultobj = 0;
25758 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25759 bool result;
25760 void *argp1 = 0 ;
25761 int res1 = 0 ;
25762 PyObject *swig_obj[1] ;
25763
25764 if (!args) SWIG_fail;
25765 swig_obj[0] = args;
25766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25767 if (!SWIG_IsOK(res1)) {
25768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25769 }
25770 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25771 {
25772 PyThreadState* __tstate = wxPyBeginAllowThreads();
25773 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
25777 {
25778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25779 }
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25787 PyObject *resultobj = 0;
25788 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25789 bool result;
25790 void *argp1 = 0 ;
25791 int res1 = 0 ;
25792 PyObject *swig_obj[1] ;
25793
25794 if (!args) SWIG_fail;
25795 swig_obj[0] = args;
25796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25797 if (!SWIG_IsOK(res1)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25799 }
25800 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 {
25808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25809 }
25810 return resultobj;
25811 fail:
25812 return NULL;
25813 }
25814
25815
25816 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25817 PyObject *resultobj = 0;
25818 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25819 bool result;
25820 void *argp1 = 0 ;
25821 int res1 = 0 ;
25822 PyObject *swig_obj[1] ;
25823
25824 if (!args) SWIG_fail;
25825 swig_obj[0] = args;
25826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25827 if (!SWIG_IsOK(res1)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25829 }
25830 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
25837 {
25838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25839 }
25840 return resultobj;
25841 fail:
25842 return NULL;
25843 }
25844
25845
25846 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25847 PyObject *resultobj = 0;
25848 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25849 int arg2 ;
25850 void *argp1 = 0 ;
25851 int res1 = 0 ;
25852 int val2 ;
25853 int ecode2 = 0 ;
25854 PyObject * obj0 = 0 ;
25855 PyObject * obj1 = 0 ;
25856 char * kwnames[] = {
25857 (char *) "self",(char *) "v", NULL
25858 };
25859
25860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
25861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25862 if (!SWIG_IsOK(res1)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25864 }
25865 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25866 ecode2 = SWIG_AsVal_int(obj1, &val2);
25867 if (!SWIG_IsOK(ecode2)) {
25868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25869 }
25870 arg2 = static_cast< int >(val2);
25871 {
25872 PyThreadState* __tstate = wxPyBeginAllowThreads();
25873 (arg1)->SetFromPage(arg2);
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 resultobj = SWIG_Py_Void();
25878 return resultobj;
25879 fail:
25880 return NULL;
25881 }
25882
25883
25884 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj = 0;
25886 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25887 int arg2 ;
25888 void *argp1 = 0 ;
25889 int res1 = 0 ;
25890 int val2 ;
25891 int ecode2 = 0 ;
25892 PyObject * obj0 = 0 ;
25893 PyObject * obj1 = 0 ;
25894 char * kwnames[] = {
25895 (char *) "self",(char *) "v", NULL
25896 };
25897
25898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
25899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25900 if (!SWIG_IsOK(res1)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25902 }
25903 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25904 ecode2 = SWIG_AsVal_int(obj1, &val2);
25905 if (!SWIG_IsOK(ecode2)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25907 }
25908 arg2 = static_cast< int >(val2);
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 (arg1)->SetToPage(arg2);
25912 wxPyEndAllowThreads(__tstate);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 resultobj = SWIG_Py_Void();
25916 return resultobj;
25917 fail:
25918 return NULL;
25919 }
25920
25921
25922 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25923 PyObject *resultobj = 0;
25924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25925 int arg2 ;
25926 void *argp1 = 0 ;
25927 int res1 = 0 ;
25928 int val2 ;
25929 int ecode2 = 0 ;
25930 PyObject * obj0 = 0 ;
25931 PyObject * obj1 = 0 ;
25932 char * kwnames[] = {
25933 (char *) "self",(char *) "v", NULL
25934 };
25935
25936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
25937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25938 if (!SWIG_IsOK(res1)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25940 }
25941 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25942 ecode2 = SWIG_AsVal_int(obj1, &val2);
25943 if (!SWIG_IsOK(ecode2)) {
25944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25945 }
25946 arg2 = static_cast< int >(val2);
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 (arg1)->SetMinPage(arg2);
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
25953 resultobj = SWIG_Py_Void();
25954 return resultobj;
25955 fail:
25956 return NULL;
25957 }
25958
25959
25960 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25961 PyObject *resultobj = 0;
25962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25963 int arg2 ;
25964 void *argp1 = 0 ;
25965 int res1 = 0 ;
25966 int val2 ;
25967 int ecode2 = 0 ;
25968 PyObject * obj0 = 0 ;
25969 PyObject * obj1 = 0 ;
25970 char * kwnames[] = {
25971 (char *) "self",(char *) "v", NULL
25972 };
25973
25974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
25975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25976 if (!SWIG_IsOK(res1)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25978 }
25979 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25980 ecode2 = SWIG_AsVal_int(obj1, &val2);
25981 if (!SWIG_IsOK(ecode2)) {
25982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25983 }
25984 arg2 = static_cast< int >(val2);
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 (arg1)->SetMaxPage(arg2);
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 resultobj = SWIG_Py_Void();
25992 return resultobj;
25993 fail:
25994 return NULL;
25995 }
25996
25997
25998 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25999 PyObject *resultobj = 0;
26000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26001 int arg2 ;
26002 void *argp1 = 0 ;
26003 int res1 = 0 ;
26004 int val2 ;
26005 int ecode2 = 0 ;
26006 PyObject * obj0 = 0 ;
26007 PyObject * obj1 = 0 ;
26008 char * kwnames[] = {
26009 (char *) "self",(char *) "v", NULL
26010 };
26011
26012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26014 if (!SWIG_IsOK(res1)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26016 }
26017 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26018 ecode2 = SWIG_AsVal_int(obj1, &val2);
26019 if (!SWIG_IsOK(ecode2)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26021 }
26022 arg2 = static_cast< int >(val2);
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 (arg1)->SetNoCopies(arg2);
26026 wxPyEndAllowThreads(__tstate);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 }
26029 resultobj = SWIG_Py_Void();
26030 return resultobj;
26031 fail:
26032 return NULL;
26033 }
26034
26035
26036 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26037 PyObject *resultobj = 0;
26038 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26039 bool arg2 ;
26040 void *argp1 = 0 ;
26041 int res1 = 0 ;
26042 bool val2 ;
26043 int ecode2 = 0 ;
26044 PyObject * obj0 = 0 ;
26045 PyObject * obj1 = 0 ;
26046 char * kwnames[] = {
26047 (char *) "self",(char *) "flag", NULL
26048 };
26049
26050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26052 if (!SWIG_IsOK(res1)) {
26053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26054 }
26055 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26056 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26057 if (!SWIG_IsOK(ecode2)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26059 }
26060 arg2 = static_cast< bool >(val2);
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 (arg1)->SetAllPages(arg2);
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 resultobj = SWIG_Py_Void();
26068 return resultobj;
26069 fail:
26070 return NULL;
26071 }
26072
26073
26074 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26075 PyObject *resultobj = 0;
26076 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26077 bool arg2 ;
26078 void *argp1 = 0 ;
26079 int res1 = 0 ;
26080 bool val2 ;
26081 int ecode2 = 0 ;
26082 PyObject * obj0 = 0 ;
26083 PyObject * obj1 = 0 ;
26084 char * kwnames[] = {
26085 (char *) "self",(char *) "flag", NULL
26086 };
26087
26088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26090 if (!SWIG_IsOK(res1)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26092 }
26093 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26094 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26095 if (!SWIG_IsOK(ecode2)) {
26096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26097 }
26098 arg2 = static_cast< bool >(val2);
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 (arg1)->SetSelection(arg2);
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 resultobj = SWIG_Py_Void();
26106 return resultobj;
26107 fail:
26108 return NULL;
26109 }
26110
26111
26112 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26113 PyObject *resultobj = 0;
26114 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26115 bool arg2 ;
26116 void *argp1 = 0 ;
26117 int res1 = 0 ;
26118 bool val2 ;
26119 int ecode2 = 0 ;
26120 PyObject * obj0 = 0 ;
26121 PyObject * obj1 = 0 ;
26122 char * kwnames[] = {
26123 (char *) "self",(char *) "flag", NULL
26124 };
26125
26126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26128 if (!SWIG_IsOK(res1)) {
26129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26130 }
26131 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26132 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26133 if (!SWIG_IsOK(ecode2)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26135 }
26136 arg2 = static_cast< bool >(val2);
26137 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 (arg1)->SetCollate(arg2);
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 resultobj = SWIG_Py_Void();
26144 return resultobj;
26145 fail:
26146 return NULL;
26147 }
26148
26149
26150 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26151 PyObject *resultobj = 0;
26152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26153 bool arg2 ;
26154 void *argp1 = 0 ;
26155 int res1 = 0 ;
26156 bool val2 ;
26157 int ecode2 = 0 ;
26158 PyObject * obj0 = 0 ;
26159 PyObject * obj1 = 0 ;
26160 char * kwnames[] = {
26161 (char *) "self",(char *) "flag", NULL
26162 };
26163
26164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26166 if (!SWIG_IsOK(res1)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26168 }
26169 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26170 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26171 if (!SWIG_IsOK(ecode2)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26173 }
26174 arg2 = static_cast< bool >(val2);
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 (arg1)->SetPrintToFile(arg2);
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 resultobj = SWIG_Py_Void();
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj = 0;
26190 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26191 bool arg2 ;
26192 void *argp1 = 0 ;
26193 int res1 = 0 ;
26194 bool val2 ;
26195 int ecode2 = 0 ;
26196 PyObject * obj0 = 0 ;
26197 PyObject * obj1 = 0 ;
26198 char * kwnames[] = {
26199 (char *) "self",(char *) "flag", NULL
26200 };
26201
26202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26204 if (!SWIG_IsOK(res1)) {
26205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26206 }
26207 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26208 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26209 if (!SWIG_IsOK(ecode2)) {
26210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26211 }
26212 arg2 = static_cast< bool >(val2);
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 (arg1)->EnablePrintToFile(arg2);
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 resultobj = SWIG_Py_Void();
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj = 0;
26228 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26229 bool arg2 ;
26230 void *argp1 = 0 ;
26231 int res1 = 0 ;
26232 bool val2 ;
26233 int ecode2 = 0 ;
26234 PyObject * obj0 = 0 ;
26235 PyObject * obj1 = 0 ;
26236 char * kwnames[] = {
26237 (char *) "self",(char *) "flag", NULL
26238 };
26239
26240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26242 if (!SWIG_IsOK(res1)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26244 }
26245 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26246 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26247 if (!SWIG_IsOK(ecode2)) {
26248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26249 }
26250 arg2 = static_cast< bool >(val2);
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 (arg1)->EnableSelection(arg2);
26254 wxPyEndAllowThreads(__tstate);
26255 if (PyErr_Occurred()) SWIG_fail;
26256 }
26257 resultobj = SWIG_Py_Void();
26258 return resultobj;
26259 fail:
26260 return NULL;
26261 }
26262
26263
26264 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26265 PyObject *resultobj = 0;
26266 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26267 bool arg2 ;
26268 void *argp1 = 0 ;
26269 int res1 = 0 ;
26270 bool val2 ;
26271 int ecode2 = 0 ;
26272 PyObject * obj0 = 0 ;
26273 PyObject * obj1 = 0 ;
26274 char * kwnames[] = {
26275 (char *) "self",(char *) "flag", NULL
26276 };
26277
26278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26280 if (!SWIG_IsOK(res1)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26282 }
26283 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26284 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26285 if (!SWIG_IsOK(ecode2)) {
26286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26287 }
26288 arg2 = static_cast< bool >(val2);
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 (arg1)->EnablePageNumbers(arg2);
26292 wxPyEndAllowThreads(__tstate);
26293 if (PyErr_Occurred()) SWIG_fail;
26294 }
26295 resultobj = SWIG_Py_Void();
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj = 0;
26304 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26305 bool arg2 ;
26306 void *argp1 = 0 ;
26307 int res1 = 0 ;
26308 bool val2 ;
26309 int ecode2 = 0 ;
26310 PyObject * obj0 = 0 ;
26311 PyObject * obj1 = 0 ;
26312 char * kwnames[] = {
26313 (char *) "self",(char *) "flag", NULL
26314 };
26315
26316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26318 if (!SWIG_IsOK(res1)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26320 }
26321 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26322 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26323 if (!SWIG_IsOK(ecode2)) {
26324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26325 }
26326 arg2 = static_cast< bool >(val2);
26327 {
26328 PyThreadState* __tstate = wxPyBeginAllowThreads();
26329 (arg1)->EnableHelp(arg2);
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 resultobj = SWIG_Py_Void();
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26341 PyObject *resultobj = 0;
26342 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26343 bool result;
26344 void *argp1 = 0 ;
26345 int res1 = 0 ;
26346 PyObject *swig_obj[1] ;
26347
26348 if (!args) SWIG_fail;
26349 swig_obj[0] = args;
26350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26351 if (!SWIG_IsOK(res1)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26353 }
26354 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26358 wxPyEndAllowThreads(__tstate);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 }
26361 {
26362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26363 }
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26371 PyObject *resultobj = 0;
26372 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26373 bool result;
26374 void *argp1 = 0 ;
26375 int res1 = 0 ;
26376 PyObject *swig_obj[1] ;
26377
26378 if (!args) SWIG_fail;
26379 swig_obj[0] = args;
26380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26381 if (!SWIG_IsOK(res1)) {
26382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26383 }
26384 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 {
26392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26393 }
26394 return resultobj;
26395 fail:
26396 return NULL;
26397 }
26398
26399
26400 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26401 PyObject *resultobj = 0;
26402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26403 bool result;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406 PyObject *swig_obj[1] ;
26407
26408 if (!args) SWIG_fail;
26409 swig_obj[0] = args;
26410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26413 }
26414 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 {
26422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427 }
26428
26429
26430 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26431 PyObject *resultobj = 0;
26432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26433 bool result;
26434 void *argp1 = 0 ;
26435 int res1 = 0 ;
26436 PyObject *swig_obj[1] ;
26437
26438 if (!args) SWIG_fail;
26439 swig_obj[0] = args;
26440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26441 if (!SWIG_IsOK(res1)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26443 }
26444 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26445 {
26446 PyThreadState* __tstate = wxPyBeginAllowThreads();
26447 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26448 wxPyEndAllowThreads(__tstate);
26449 if (PyErr_Occurred()) SWIG_fail;
26450 }
26451 {
26452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26453 }
26454 return resultobj;
26455 fail:
26456 return NULL;
26457 }
26458
26459
26460 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26461 PyObject *resultobj = 0;
26462 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26463 bool result;
26464 void *argp1 = 0 ;
26465 int res1 = 0 ;
26466 PyObject *swig_obj[1] ;
26467
26468 if (!args) SWIG_fail;
26469 swig_obj[0] = args;
26470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26471 if (!SWIG_IsOK(res1)) {
26472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26473 }
26474 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26478 wxPyEndAllowThreads(__tstate);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 }
26481 {
26482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26483 }
26484 return resultobj;
26485 fail:
26486 return NULL;
26487 }
26488
26489
26490 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26491 PyObject *resultobj = 0;
26492 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26493 wxPrintData *result = 0 ;
26494 void *argp1 = 0 ;
26495 int res1 = 0 ;
26496 PyObject *swig_obj[1] ;
26497
26498 if (!args) SWIG_fail;
26499 swig_obj[0] = args;
26500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26501 if (!SWIG_IsOK(res1)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26503 }
26504 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 {
26508 wxPrintData &_result_ref = (arg1)->GetPrintData();
26509 result = (wxPrintData *) &_result_ref;
26510 }
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj = 0;
26523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26524 wxPrintData *arg2 = 0 ;
26525 void *argp1 = 0 ;
26526 int res1 = 0 ;
26527 void *argp2 = 0 ;
26528 int res2 = 0 ;
26529 PyObject * obj0 = 0 ;
26530 PyObject * obj1 = 0 ;
26531 char * kwnames[] = {
26532 (char *) "self",(char *) "printData", NULL
26533 };
26534
26535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26537 if (!SWIG_IsOK(res1)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26539 }
26540 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26542 if (!SWIG_IsOK(res2)) {
26543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26544 }
26545 if (!argp2) {
26546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26547 }
26548 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26549 {
26550 PyThreadState* __tstate = wxPyBeginAllowThreads();
26551 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26552 wxPyEndAllowThreads(__tstate);
26553 if (PyErr_Occurred()) SWIG_fail;
26554 }
26555 resultobj = SWIG_Py_Void();
26556 return resultobj;
26557 fail:
26558 return NULL;
26559 }
26560
26561
26562 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26563 PyObject *obj;
26564 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26565 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26566 return SWIG_Py_Void();
26567 }
26568
26569 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26570 return SWIG_Python_InitShadowInstance(args);
26571 }
26572
26573 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26574 PyObject *resultobj = 0;
26575 wxWindow *arg1 = (wxWindow *) 0 ;
26576 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26577 wxPrintDialog *result = 0 ;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 void *argp2 = 0 ;
26581 int res2 = 0 ;
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 char * kwnames[] = {
26585 (char *) "parent",(char *) "data", NULL
26586 };
26587
26588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26590 if (!SWIG_IsOK(res1)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26592 }
26593 arg1 = reinterpret_cast< wxWindow * >(argp1);
26594 if (obj1) {
26595 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26596 if (!SWIG_IsOK(res2)) {
26597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26598 }
26599 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26600 }
26601 {
26602 if (!wxPyCheckForApp()) SWIG_fail;
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26609 return resultobj;
26610 fail:
26611 return NULL;
26612 }
26613
26614
26615 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26616 PyObject *resultobj = 0;
26617 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26618 void *argp1 = 0 ;
26619 int res1 = 0 ;
26620 PyObject *swig_obj[1] ;
26621
26622 if (!args) SWIG_fail;
26623 swig_obj[0] = args;
26624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26625 if (!SWIG_IsOK(res1)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26627 }
26628 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26629 {
26630 PyThreadState* __tstate = wxPyBeginAllowThreads();
26631 delete arg1;
26632
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 resultobj = SWIG_Py_Void();
26637 return resultobj;
26638 fail:
26639 return NULL;
26640 }
26641
26642
26643 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26644 PyObject *resultobj = 0;
26645 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26646 int result;
26647 void *argp1 = 0 ;
26648 int res1 = 0 ;
26649 PyObject *swig_obj[1] ;
26650
26651 if (!args) SWIG_fail;
26652 swig_obj[0] = args;
26653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26654 if (!SWIG_IsOK(res1)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26656 }
26657 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26658 {
26659 PyThreadState* __tstate = wxPyBeginAllowThreads();
26660 result = (int)(arg1)->ShowModal();
26661 wxPyEndAllowThreads(__tstate);
26662 if (PyErr_Occurred()) SWIG_fail;
26663 }
26664 resultobj = SWIG_From_int(static_cast< int >(result));
26665 return resultobj;
26666 fail:
26667 return NULL;
26668 }
26669
26670
26671 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26672 PyObject *resultobj = 0;
26673 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26674 wxPrintDialogData *result = 0 ;
26675 void *argp1 = 0 ;
26676 int res1 = 0 ;
26677 PyObject *swig_obj[1] ;
26678
26679 if (!args) SWIG_fail;
26680 swig_obj[0] = args;
26681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26682 if (!SWIG_IsOK(res1)) {
26683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26684 }
26685 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26686 {
26687 PyThreadState* __tstate = wxPyBeginAllowThreads();
26688 {
26689 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26690 result = (wxPrintDialogData *) &_result_ref;
26691 }
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
26695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26696 return resultobj;
26697 fail:
26698 return NULL;
26699 }
26700
26701
26702 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26703 PyObject *resultobj = 0;
26704 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26705 wxPrintData *result = 0 ;
26706 void *argp1 = 0 ;
26707 int res1 = 0 ;
26708 PyObject *swig_obj[1] ;
26709
26710 if (!args) SWIG_fail;
26711 swig_obj[0] = args;
26712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26713 if (!SWIG_IsOK(res1)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26715 }
26716 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 {
26720 wxPrintData &_result_ref = (arg1)->GetPrintData();
26721 result = (wxPrintData *) &_result_ref;
26722 }
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26727 return resultobj;
26728 fail:
26729 return NULL;
26730 }
26731
26732
26733 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26734 PyObject *resultobj = 0;
26735 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26736 wxDC *result = 0 ;
26737 void *argp1 = 0 ;
26738 int res1 = 0 ;
26739 PyObject *swig_obj[1] ;
26740
26741 if (!args) SWIG_fail;
26742 swig_obj[0] = args;
26743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26744 if (!SWIG_IsOK(res1)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26746 }
26747 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 result = (wxDC *)(arg1)->GetPrintDC();
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 {
26755 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26756 }
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26764 PyObject *obj;
26765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26766 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26767 return SWIG_Py_Void();
26768 }
26769
26770 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26771 return SWIG_Python_InitShadowInstance(args);
26772 }
26773
26774 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26775 PyObject *resultobj = 0;
26776 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26777 wxPrinter *result = 0 ;
26778 void *argp1 = 0 ;
26779 int res1 = 0 ;
26780 PyObject * obj0 = 0 ;
26781 char * kwnames[] = {
26782 (char *) "data", NULL
26783 };
26784
26785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26786 if (obj0) {
26787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26788 if (!SWIG_IsOK(res1)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26790 }
26791 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26792 }
26793 {
26794 if (!wxPyCheckForApp()) SWIG_fail;
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (wxPrinter *)new wxPrinter(arg1);
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26801 return resultobj;
26802 fail:
26803 return NULL;
26804 }
26805
26806
26807 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26808 PyObject *resultobj = 0;
26809 wxPrinter *arg1 = (wxPrinter *) 0 ;
26810 void *argp1 = 0 ;
26811 int res1 = 0 ;
26812 PyObject *swig_obj[1] ;
26813
26814 if (!args) SWIG_fail;
26815 swig_obj[0] = args;
26816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26817 if (!SWIG_IsOK(res1)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26819 }
26820 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 delete arg1;
26824
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 resultobj = SWIG_Py_Void();
26829 return resultobj;
26830 fail:
26831 return NULL;
26832 }
26833
26834
26835 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26836 PyObject *resultobj = 0;
26837 wxPrinter *arg1 = (wxPrinter *) 0 ;
26838 wxWindow *arg2 = (wxWindow *) 0 ;
26839 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26840 wxWindow *result = 0 ;
26841 void *argp1 = 0 ;
26842 int res1 = 0 ;
26843 void *argp2 = 0 ;
26844 int res2 = 0 ;
26845 void *argp3 = 0 ;
26846 int res3 = 0 ;
26847 PyObject * obj0 = 0 ;
26848 PyObject * obj1 = 0 ;
26849 PyObject * obj2 = 0 ;
26850 char * kwnames[] = {
26851 (char *) "self",(char *) "parent",(char *) "printout", NULL
26852 };
26853
26854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26856 if (!SWIG_IsOK(res1)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26858 }
26859 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26860 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26861 if (!SWIG_IsOK(res2)) {
26862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26863 }
26864 arg2 = reinterpret_cast< wxWindow * >(argp2);
26865 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26866 if (!SWIG_IsOK(res3)) {
26867 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26868 }
26869 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 {
26877 resultobj = wxPyMake_wxObject(result, 0);
26878 }
26879 return resultobj;
26880 fail:
26881 return NULL;
26882 }
26883
26884
26885 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26886 PyObject *resultobj = 0;
26887 wxPrinter *arg1 = (wxPrinter *) 0 ;
26888 wxWindow *arg2 = (wxWindow *) 0 ;
26889 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26890 wxString *arg4 = 0 ;
26891 void *argp1 = 0 ;
26892 int res1 = 0 ;
26893 void *argp2 = 0 ;
26894 int res2 = 0 ;
26895 void *argp3 = 0 ;
26896 int res3 = 0 ;
26897 bool temp4 = false ;
26898 PyObject * obj0 = 0 ;
26899 PyObject * obj1 = 0 ;
26900 PyObject * obj2 = 0 ;
26901 PyObject * obj3 = 0 ;
26902 char * kwnames[] = {
26903 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26904 };
26905
26906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
26907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26908 if (!SWIG_IsOK(res1)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26910 }
26911 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26913 if (!SWIG_IsOK(res2)) {
26914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26915 }
26916 arg2 = reinterpret_cast< wxWindow * >(argp2);
26917 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26918 if (!SWIG_IsOK(res3)) {
26919 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26920 }
26921 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26922 {
26923 arg4 = wxString_in_helper(obj3);
26924 if (arg4 == NULL) SWIG_fail;
26925 temp4 = true;
26926 }
26927 {
26928 PyThreadState* __tstate = wxPyBeginAllowThreads();
26929 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 resultobj = SWIG_Py_Void();
26934 {
26935 if (temp4)
26936 delete arg4;
26937 }
26938 return resultobj;
26939 fail:
26940 {
26941 if (temp4)
26942 delete arg4;
26943 }
26944 return NULL;
26945 }
26946
26947
26948 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26949 PyObject *resultobj = 0;
26950 wxPrinter *arg1 = (wxPrinter *) 0 ;
26951 wxWindow *arg2 = (wxWindow *) 0 ;
26952 bool result;
26953 void *argp1 = 0 ;
26954 int res1 = 0 ;
26955 void *argp2 = 0 ;
26956 int res2 = 0 ;
26957 PyObject * obj0 = 0 ;
26958 PyObject * obj1 = 0 ;
26959 char * kwnames[] = {
26960 (char *) "self",(char *) "parent", NULL
26961 };
26962
26963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
26964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26965 if (!SWIG_IsOK(res1)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26967 }
26968 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26970 if (!SWIG_IsOK(res2)) {
26971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26972 }
26973 arg2 = reinterpret_cast< wxWindow * >(argp2);
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 result = (bool)(arg1)->Setup(arg2);
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 {
26981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26982 }
26983 return resultobj;
26984 fail:
26985 return NULL;
26986 }
26987
26988
26989 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26990 PyObject *resultobj = 0;
26991 wxPrinter *arg1 = (wxPrinter *) 0 ;
26992 wxWindow *arg2 = (wxWindow *) 0 ;
26993 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26994 bool arg4 = (bool) true ;
26995 bool result;
26996 void *argp1 = 0 ;
26997 int res1 = 0 ;
26998 void *argp2 = 0 ;
26999 int res2 = 0 ;
27000 void *argp3 = 0 ;
27001 int res3 = 0 ;
27002 bool val4 ;
27003 int ecode4 = 0 ;
27004 PyObject * obj0 = 0 ;
27005 PyObject * obj1 = 0 ;
27006 PyObject * obj2 = 0 ;
27007 PyObject * obj3 = 0 ;
27008 char * kwnames[] = {
27009 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27010 };
27011
27012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27014 if (!SWIG_IsOK(res1)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27016 }
27017 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27019 if (!SWIG_IsOK(res2)) {
27020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27021 }
27022 arg2 = reinterpret_cast< wxWindow * >(argp2);
27023 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27024 if (!SWIG_IsOK(res3)) {
27025 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27026 }
27027 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27028 if (obj3) {
27029 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27030 if (!SWIG_IsOK(ecode4)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27032 }
27033 arg4 = static_cast< bool >(val4);
27034 }
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27038 wxPyEndAllowThreads(__tstate);
27039 if (PyErr_Occurred()) SWIG_fail;
27040 }
27041 {
27042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27043 }
27044 return resultobj;
27045 fail:
27046 return NULL;
27047 }
27048
27049
27050 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27051 PyObject *resultobj = 0;
27052 wxPrinter *arg1 = (wxPrinter *) 0 ;
27053 wxWindow *arg2 = (wxWindow *) 0 ;
27054 wxDC *result = 0 ;
27055 void *argp1 = 0 ;
27056 int res1 = 0 ;
27057 void *argp2 = 0 ;
27058 int res2 = 0 ;
27059 PyObject * obj0 = 0 ;
27060 PyObject * obj1 = 0 ;
27061 char * kwnames[] = {
27062 (char *) "self",(char *) "parent", NULL
27063 };
27064
27065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27067 if (!SWIG_IsOK(res1)) {
27068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27069 }
27070 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27072 if (!SWIG_IsOK(res2)) {
27073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27074 }
27075 arg2 = reinterpret_cast< wxWindow * >(argp2);
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (wxDC *)(arg1)->PrintDialog(arg2);
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 {
27083 resultobj = wxPyMake_wxObject(result, (bool)0);
27084 }
27085 return resultobj;
27086 fail:
27087 return NULL;
27088 }
27089
27090
27091 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27092 PyObject *resultobj = 0;
27093 wxPrinter *arg1 = (wxPrinter *) 0 ;
27094 wxPrintDialogData *result = 0 ;
27095 void *argp1 = 0 ;
27096 int res1 = 0 ;
27097 PyObject *swig_obj[1] ;
27098
27099 if (!args) SWIG_fail;
27100 swig_obj[0] = args;
27101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27102 if (!SWIG_IsOK(res1)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27104 }
27105 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 {
27109 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27110 result = (wxPrintDialogData *) &_result_ref;
27111 }
27112 wxPyEndAllowThreads(__tstate);
27113 if (PyErr_Occurred()) SWIG_fail;
27114 }
27115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27116 return resultobj;
27117 fail:
27118 return NULL;
27119 }
27120
27121
27122 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27123 PyObject *resultobj = 0;
27124 wxPrinter *arg1 = (wxPrinter *) 0 ;
27125 bool result;
27126 void *argp1 = 0 ;
27127 int res1 = 0 ;
27128 PyObject *swig_obj[1] ;
27129
27130 if (!args) SWIG_fail;
27131 swig_obj[0] = args;
27132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27133 if (!SWIG_IsOK(res1)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27135 }
27136 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27137 {
27138 PyThreadState* __tstate = wxPyBeginAllowThreads();
27139 result = (bool)(arg1)->GetAbort();
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 {
27144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27145 }
27146 return resultobj;
27147 fail:
27148 return NULL;
27149 }
27150
27151
27152 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27153 PyObject *resultobj = 0;
27154 wxPrinterError result;
27155
27156 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27157 {
27158 PyThreadState* __tstate = wxPyBeginAllowThreads();
27159 result = (wxPrinterError)wxPrinter::GetLastError();
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = SWIG_From_int(static_cast< int >(result));
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27171 PyObject *obj;
27172 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27174 return SWIG_Py_Void();
27175 }
27176
27177 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27178 return SWIG_Python_InitShadowInstance(args);
27179 }
27180
27181 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27182 PyObject *resultobj = 0;
27183 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27184 wxString *arg1 = (wxString *) &arg1_defvalue ;
27185 wxPyPrintout *result = 0 ;
27186 bool temp1 = false ;
27187 PyObject * obj0 = 0 ;
27188 char * kwnames[] = {
27189 (char *) "title", NULL
27190 };
27191
27192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27193 if (obj0) {
27194 {
27195 arg1 = wxString_in_helper(obj0);
27196 if (arg1 == NULL) SWIG_fail;
27197 temp1 = true;
27198 }
27199 }
27200 {
27201 if (!wxPyCheckForApp()) SWIG_fail;
27202 PyThreadState* __tstate = wxPyBeginAllowThreads();
27203 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27204 wxPyEndAllowThreads(__tstate);
27205 if (PyErr_Occurred()) SWIG_fail;
27206 }
27207 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27208 {
27209 if (temp1)
27210 delete arg1;
27211 }
27212 return resultobj;
27213 fail:
27214 {
27215 if (temp1)
27216 delete arg1;
27217 }
27218 return NULL;
27219 }
27220
27221
27222 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27223 PyObject *resultobj = 0;
27224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27225 void *argp1 = 0 ;
27226 int res1 = 0 ;
27227 PyObject *swig_obj[1] ;
27228
27229 if (!args) SWIG_fail;
27230 swig_obj[0] = args;
27231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27232 if (!SWIG_IsOK(res1)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27234 }
27235 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27236 {
27237 PyThreadState* __tstate = wxPyBeginAllowThreads();
27238 delete arg1;
27239
27240 wxPyEndAllowThreads(__tstate);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
27243 resultobj = SWIG_Py_Void();
27244 return resultobj;
27245 fail:
27246 return NULL;
27247 }
27248
27249
27250 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27251 PyObject *resultobj = 0;
27252 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27253 PyObject *arg2 = (PyObject *) 0 ;
27254 PyObject *arg3 = (PyObject *) 0 ;
27255 void *argp1 = 0 ;
27256 int res1 = 0 ;
27257 PyObject * obj0 = 0 ;
27258 PyObject * obj1 = 0 ;
27259 PyObject * obj2 = 0 ;
27260 char * kwnames[] = {
27261 (char *) "self",(char *) "self",(char *) "_class", NULL
27262 };
27263
27264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27266 if (!SWIG_IsOK(res1)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27268 }
27269 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27270 arg2 = obj1;
27271 arg3 = obj2;
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 (arg1)->_setCallbackInfo(arg2,arg3);
27275 wxPyEndAllowThreads(__tstate);
27276 if (PyErr_Occurred()) SWIG_fail;
27277 }
27278 resultobj = SWIG_Py_Void();
27279 return resultobj;
27280 fail:
27281 return NULL;
27282 }
27283
27284
27285 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27286 PyObject *resultobj = 0;
27287 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27288 wxString result;
27289 void *argp1 = 0 ;
27290 int res1 = 0 ;
27291 PyObject *swig_obj[1] ;
27292
27293 if (!args) SWIG_fail;
27294 swig_obj[0] = args;
27295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27296 if (!SWIG_IsOK(res1)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27298 }
27299 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 result = ((wxPyPrintout const *)arg1)->GetTitle();
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 {
27307 #if wxUSE_UNICODE
27308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27309 #else
27310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27311 #endif
27312 }
27313 return resultobj;
27314 fail:
27315 return NULL;
27316 }
27317
27318
27319 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27320 PyObject *resultobj = 0;
27321 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27322 wxDC *result = 0 ;
27323 void *argp1 = 0 ;
27324 int res1 = 0 ;
27325 PyObject *swig_obj[1] ;
27326
27327 if (!args) SWIG_fail;
27328 swig_obj[0] = args;
27329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27330 if (!SWIG_IsOK(res1)) {
27331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27332 }
27333 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27334 {
27335 PyThreadState* __tstate = wxPyBeginAllowThreads();
27336 result = (wxDC *)(arg1)->GetDC();
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
27340 {
27341 resultobj = wxPyMake_wxObject(result, (bool)0);
27342 }
27343 return resultobj;
27344 fail:
27345 return NULL;
27346 }
27347
27348
27349 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27350 PyObject *resultobj = 0;
27351 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27352 wxDC *arg2 = (wxDC *) 0 ;
27353 void *argp1 = 0 ;
27354 int res1 = 0 ;
27355 void *argp2 = 0 ;
27356 int res2 = 0 ;
27357 PyObject * obj0 = 0 ;
27358 PyObject * obj1 = 0 ;
27359 char * kwnames[] = {
27360 (char *) "self",(char *) "dc", NULL
27361 };
27362
27363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27365 if (!SWIG_IsOK(res1)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27367 }
27368 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27370 if (!SWIG_IsOK(res2)) {
27371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27372 }
27373 arg2 = reinterpret_cast< wxDC * >(argp2);
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 (arg1)->SetDC(arg2);
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 resultobj = SWIG_Py_Void();
27381 return resultobj;
27382 fail:
27383 return NULL;
27384 }
27385
27386
27387 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27388 PyObject *resultobj = 0;
27389 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27390 int arg2 ;
27391 int arg3 ;
27392 void *argp1 = 0 ;
27393 int res1 = 0 ;
27394 int val2 ;
27395 int ecode2 = 0 ;
27396 int val3 ;
27397 int ecode3 = 0 ;
27398 PyObject * obj0 = 0 ;
27399 PyObject * obj1 = 0 ;
27400 PyObject * obj2 = 0 ;
27401 char * kwnames[] = {
27402 (char *) "self",(char *) "w",(char *) "h", NULL
27403 };
27404
27405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27407 if (!SWIG_IsOK(res1)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27409 }
27410 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27411 ecode2 = SWIG_AsVal_int(obj1, &val2);
27412 if (!SWIG_IsOK(ecode2)) {
27413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27414 }
27415 arg2 = static_cast< int >(val2);
27416 ecode3 = SWIG_AsVal_int(obj2, &val3);
27417 if (!SWIG_IsOK(ecode3)) {
27418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27419 }
27420 arg3 = static_cast< int >(val3);
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 (arg1)->SetPageSizePixels(arg2,arg3);
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = SWIG_Py_Void();
27428 return resultobj;
27429 fail:
27430 return NULL;
27431 }
27432
27433
27434 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27435 PyObject *resultobj = 0;
27436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27437 int *arg2 = (int *) 0 ;
27438 int *arg3 = (int *) 0 ;
27439 void *argp1 = 0 ;
27440 int res1 = 0 ;
27441 int temp2 ;
27442 int res2 = SWIG_TMPOBJ ;
27443 int temp3 ;
27444 int res3 = SWIG_TMPOBJ ;
27445 PyObject *swig_obj[1] ;
27446
27447 arg2 = &temp2;
27448 arg3 = &temp3;
27449 if (!args) SWIG_fail;
27450 swig_obj[0] = args;
27451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27452 if (!SWIG_IsOK(res1)) {
27453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27454 }
27455 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27456 {
27457 PyThreadState* __tstate = wxPyBeginAllowThreads();
27458 (arg1)->GetPageSizePixels(arg2,arg3);
27459 wxPyEndAllowThreads(__tstate);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 resultobj = SWIG_Py_Void();
27463 if (SWIG_IsTmpObj(res2)) {
27464 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27465 } else {
27466 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27467 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27468 }
27469 if (SWIG_IsTmpObj(res3)) {
27470 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27471 } else {
27472 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27473 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27474 }
27475 return resultobj;
27476 fail:
27477 return NULL;
27478 }
27479
27480
27481 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj = 0;
27483 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27484 int arg2 ;
27485 int arg3 ;
27486 void *argp1 = 0 ;
27487 int res1 = 0 ;
27488 int val2 ;
27489 int ecode2 = 0 ;
27490 int val3 ;
27491 int ecode3 = 0 ;
27492 PyObject * obj0 = 0 ;
27493 PyObject * obj1 = 0 ;
27494 PyObject * obj2 = 0 ;
27495 char * kwnames[] = {
27496 (char *) "self",(char *) "w",(char *) "h", NULL
27497 };
27498
27499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27503 }
27504 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27505 ecode2 = SWIG_AsVal_int(obj1, &val2);
27506 if (!SWIG_IsOK(ecode2)) {
27507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27508 }
27509 arg2 = static_cast< int >(val2);
27510 ecode3 = SWIG_AsVal_int(obj2, &val3);
27511 if (!SWIG_IsOK(ecode3)) {
27512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27513 }
27514 arg3 = static_cast< int >(val3);
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 (arg1)->SetPageSizeMM(arg2,arg3);
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 resultobj = SWIG_Py_Void();
27522 return resultobj;
27523 fail:
27524 return NULL;
27525 }
27526
27527
27528 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27529 PyObject *resultobj = 0;
27530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27531 int *arg2 = (int *) 0 ;
27532 int *arg3 = (int *) 0 ;
27533 void *argp1 = 0 ;
27534 int res1 = 0 ;
27535 int temp2 ;
27536 int res2 = SWIG_TMPOBJ ;
27537 int temp3 ;
27538 int res3 = SWIG_TMPOBJ ;
27539 PyObject *swig_obj[1] ;
27540
27541 arg2 = &temp2;
27542 arg3 = &temp3;
27543 if (!args) SWIG_fail;
27544 swig_obj[0] = args;
27545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27546 if (!SWIG_IsOK(res1)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27548 }
27549 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
27552 (arg1)->GetPageSizeMM(arg2,arg3);
27553 wxPyEndAllowThreads(__tstate);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 resultobj = SWIG_Py_Void();
27557 if (SWIG_IsTmpObj(res2)) {
27558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27559 } else {
27560 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27562 }
27563 if (SWIG_IsTmpObj(res3)) {
27564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27565 } else {
27566 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27568 }
27569 return resultobj;
27570 fail:
27571 return NULL;
27572 }
27573
27574
27575 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27576 PyObject *resultobj = 0;
27577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27578 int arg2 ;
27579 int arg3 ;
27580 void *argp1 = 0 ;
27581 int res1 = 0 ;
27582 int val2 ;
27583 int ecode2 = 0 ;
27584 int val3 ;
27585 int ecode3 = 0 ;
27586 PyObject * obj0 = 0 ;
27587 PyObject * obj1 = 0 ;
27588 PyObject * obj2 = 0 ;
27589 char * kwnames[] = {
27590 (char *) "self",(char *) "x",(char *) "y", NULL
27591 };
27592
27593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27595 if (!SWIG_IsOK(res1)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27597 }
27598 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27599 ecode2 = SWIG_AsVal_int(obj1, &val2);
27600 if (!SWIG_IsOK(ecode2)) {
27601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27602 }
27603 arg2 = static_cast< int >(val2);
27604 ecode3 = SWIG_AsVal_int(obj2, &val3);
27605 if (!SWIG_IsOK(ecode3)) {
27606 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27607 }
27608 arg3 = static_cast< int >(val3);
27609 {
27610 PyThreadState* __tstate = wxPyBeginAllowThreads();
27611 (arg1)->SetPPIScreen(arg2,arg3);
27612 wxPyEndAllowThreads(__tstate);
27613 if (PyErr_Occurred()) SWIG_fail;
27614 }
27615 resultobj = SWIG_Py_Void();
27616 return resultobj;
27617 fail:
27618 return NULL;
27619 }
27620
27621
27622 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27623 PyObject *resultobj = 0;
27624 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27625 int *arg2 = (int *) 0 ;
27626 int *arg3 = (int *) 0 ;
27627 void *argp1 = 0 ;
27628 int res1 = 0 ;
27629 int temp2 ;
27630 int res2 = SWIG_TMPOBJ ;
27631 int temp3 ;
27632 int res3 = SWIG_TMPOBJ ;
27633 PyObject *swig_obj[1] ;
27634
27635 arg2 = &temp2;
27636 arg3 = &temp3;
27637 if (!args) SWIG_fail;
27638 swig_obj[0] = args;
27639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27640 if (!SWIG_IsOK(res1)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27642 }
27643 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 (arg1)->GetPPIScreen(arg2,arg3);
27647 wxPyEndAllowThreads(__tstate);
27648 if (PyErr_Occurred()) SWIG_fail;
27649 }
27650 resultobj = SWIG_Py_Void();
27651 if (SWIG_IsTmpObj(res2)) {
27652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27653 } else {
27654 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27656 }
27657 if (SWIG_IsTmpObj(res3)) {
27658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27659 } else {
27660 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27662 }
27663 return resultobj;
27664 fail:
27665 return NULL;
27666 }
27667
27668
27669 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27670 PyObject *resultobj = 0;
27671 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27672 int arg2 ;
27673 int arg3 ;
27674 void *argp1 = 0 ;
27675 int res1 = 0 ;
27676 int val2 ;
27677 int ecode2 = 0 ;
27678 int val3 ;
27679 int ecode3 = 0 ;
27680 PyObject * obj0 = 0 ;
27681 PyObject * obj1 = 0 ;
27682 PyObject * obj2 = 0 ;
27683 char * kwnames[] = {
27684 (char *) "self",(char *) "x",(char *) "y", NULL
27685 };
27686
27687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27689 if (!SWIG_IsOK(res1)) {
27690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27691 }
27692 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27693 ecode2 = SWIG_AsVal_int(obj1, &val2);
27694 if (!SWIG_IsOK(ecode2)) {
27695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27696 }
27697 arg2 = static_cast< int >(val2);
27698 ecode3 = SWIG_AsVal_int(obj2, &val3);
27699 if (!SWIG_IsOK(ecode3)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27701 }
27702 arg3 = static_cast< int >(val3);
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 (arg1)->SetPPIPrinter(arg2,arg3);
27706 wxPyEndAllowThreads(__tstate);
27707 if (PyErr_Occurred()) SWIG_fail;
27708 }
27709 resultobj = SWIG_Py_Void();
27710 return resultobj;
27711 fail:
27712 return NULL;
27713 }
27714
27715
27716 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27717 PyObject *resultobj = 0;
27718 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27719 int *arg2 = (int *) 0 ;
27720 int *arg3 = (int *) 0 ;
27721 void *argp1 = 0 ;
27722 int res1 = 0 ;
27723 int temp2 ;
27724 int res2 = SWIG_TMPOBJ ;
27725 int temp3 ;
27726 int res3 = SWIG_TMPOBJ ;
27727 PyObject *swig_obj[1] ;
27728
27729 arg2 = &temp2;
27730 arg3 = &temp3;
27731 if (!args) SWIG_fail;
27732 swig_obj[0] = args;
27733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27734 if (!SWIG_IsOK(res1)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27736 }
27737 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27738 {
27739 PyThreadState* __tstate = wxPyBeginAllowThreads();
27740 (arg1)->GetPPIPrinter(arg2,arg3);
27741 wxPyEndAllowThreads(__tstate);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 }
27744 resultobj = SWIG_Py_Void();
27745 if (SWIG_IsTmpObj(res2)) {
27746 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27747 } else {
27748 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27749 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27750 }
27751 if (SWIG_IsTmpObj(res3)) {
27752 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27753 } else {
27754 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27755 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27756 }
27757 return resultobj;
27758 fail:
27759 return NULL;
27760 }
27761
27762
27763 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27764 PyObject *resultobj = 0;
27765 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27766 bool result;
27767 void *argp1 = 0 ;
27768 int res1 = 0 ;
27769 PyObject *swig_obj[1] ;
27770
27771 if (!args) SWIG_fail;
27772 swig_obj[0] = args;
27773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27774 if (!SWIG_IsOK(res1)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27776 }
27777 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 result = (bool)(arg1)->IsPreview();
27781 wxPyEndAllowThreads(__tstate);
27782 if (PyErr_Occurred()) SWIG_fail;
27783 }
27784 {
27785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27786 }
27787 return resultobj;
27788 fail:
27789 return NULL;
27790 }
27791
27792
27793 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27794 PyObject *resultobj = 0;
27795 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27796 bool arg2 ;
27797 void *argp1 = 0 ;
27798 int res1 = 0 ;
27799 bool val2 ;
27800 int ecode2 = 0 ;
27801 PyObject * obj0 = 0 ;
27802 PyObject * obj1 = 0 ;
27803 char * kwnames[] = {
27804 (char *) "self",(char *) "p", NULL
27805 };
27806
27807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27809 if (!SWIG_IsOK(res1)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27811 }
27812 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27813 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27814 if (!SWIG_IsOK(ecode2)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27816 }
27817 arg2 = static_cast< bool >(val2);
27818 {
27819 PyThreadState* __tstate = wxPyBeginAllowThreads();
27820 (arg1)->SetIsPreview(arg2);
27821 wxPyEndAllowThreads(__tstate);
27822 if (PyErr_Occurred()) SWIG_fail;
27823 }
27824 resultobj = SWIG_Py_Void();
27825 return resultobj;
27826 fail:
27827 return NULL;
27828 }
27829
27830
27831 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27832 PyObject *resultobj = 0;
27833 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27834 int arg2 ;
27835 int arg3 ;
27836 bool result;
27837 void *argp1 = 0 ;
27838 int res1 = 0 ;
27839 int val2 ;
27840 int ecode2 = 0 ;
27841 int val3 ;
27842 int ecode3 = 0 ;
27843 PyObject * obj0 = 0 ;
27844 PyObject * obj1 = 0 ;
27845 PyObject * obj2 = 0 ;
27846 char * kwnames[] = {
27847 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27848 };
27849
27850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27852 if (!SWIG_IsOK(res1)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27854 }
27855 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27856 ecode2 = SWIG_AsVal_int(obj1, &val2);
27857 if (!SWIG_IsOK(ecode2)) {
27858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27859 }
27860 arg2 = static_cast< int >(val2);
27861 ecode3 = SWIG_AsVal_int(obj2, &val3);
27862 if (!SWIG_IsOK(ecode3)) {
27863 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27864 }
27865 arg3 = static_cast< int >(val3);
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27869 wxPyEndAllowThreads(__tstate);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 {
27873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27874 }
27875 return resultobj;
27876 fail:
27877 return NULL;
27878 }
27879
27880
27881 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27882 PyObject *resultobj = 0;
27883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27884 void *argp1 = 0 ;
27885 int res1 = 0 ;
27886 PyObject *swig_obj[1] ;
27887
27888 if (!args) SWIG_fail;
27889 swig_obj[0] = args;
27890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27891 if (!SWIG_IsOK(res1)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27893 }
27894 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27895 {
27896 PyThreadState* __tstate = wxPyBeginAllowThreads();
27897 (arg1)->OnEndDocument();
27898 wxPyEndAllowThreads(__tstate);
27899 if (PyErr_Occurred()) SWIG_fail;
27900 }
27901 resultobj = SWIG_Py_Void();
27902 return resultobj;
27903 fail:
27904 return NULL;
27905 }
27906
27907
27908 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27909 PyObject *resultobj = 0;
27910 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27911 void *argp1 = 0 ;
27912 int res1 = 0 ;
27913 PyObject *swig_obj[1] ;
27914
27915 if (!args) SWIG_fail;
27916 swig_obj[0] = args;
27917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27918 if (!SWIG_IsOK(res1)) {
27919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27920 }
27921 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27922 {
27923 PyThreadState* __tstate = wxPyBeginAllowThreads();
27924 (arg1)->OnBeginPrinting();
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 resultobj = SWIG_Py_Void();
27929 return resultobj;
27930 fail:
27931 return NULL;
27932 }
27933
27934
27935 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27936 PyObject *resultobj = 0;
27937 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27938 void *argp1 = 0 ;
27939 int res1 = 0 ;
27940 PyObject *swig_obj[1] ;
27941
27942 if (!args) SWIG_fail;
27943 swig_obj[0] = args;
27944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27945 if (!SWIG_IsOK(res1)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27947 }
27948 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 (arg1)->OnEndPrinting();
27952 wxPyEndAllowThreads(__tstate);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 resultobj = SWIG_Py_Void();
27956 return resultobj;
27957 fail:
27958 return NULL;
27959 }
27960
27961
27962 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27963 PyObject *resultobj = 0;
27964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27965 void *argp1 = 0 ;
27966 int res1 = 0 ;
27967 PyObject *swig_obj[1] ;
27968
27969 if (!args) SWIG_fail;
27970 swig_obj[0] = args;
27971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27972 if (!SWIG_IsOK(res1)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27974 }
27975 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27976 {
27977 PyThreadState* __tstate = wxPyBeginAllowThreads();
27978 (arg1)->OnPreparePrinting();
27979 wxPyEndAllowThreads(__tstate);
27980 if (PyErr_Occurred()) SWIG_fail;
27981 }
27982 resultobj = SWIG_Py_Void();
27983 return resultobj;
27984 fail:
27985 return NULL;
27986 }
27987
27988
27989 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27990 PyObject *resultobj = 0;
27991 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27992 int arg2 ;
27993 bool result;
27994 void *argp1 = 0 ;
27995 int res1 = 0 ;
27996 int val2 ;
27997 int ecode2 = 0 ;
27998 PyObject * obj0 = 0 ;
27999 PyObject * obj1 = 0 ;
28000 char * kwnames[] = {
28001 (char *) "self",(char *) "page", NULL
28002 };
28003
28004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28006 if (!SWIG_IsOK(res1)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28008 }
28009 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28010 ecode2 = SWIG_AsVal_int(obj1, &val2);
28011 if (!SWIG_IsOK(ecode2)) {
28012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28013 }
28014 arg2 = static_cast< int >(val2);
28015 {
28016 PyThreadState* __tstate = wxPyBeginAllowThreads();
28017 result = (bool)(arg1)->HasPage(arg2);
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 {
28022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28023 }
28024 return resultobj;
28025 fail:
28026 return NULL;
28027 }
28028
28029
28030 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28031 PyObject *resultobj = 0;
28032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28033 int *arg2 = (int *) 0 ;
28034 int *arg3 = (int *) 0 ;
28035 int *arg4 = (int *) 0 ;
28036 int *arg5 = (int *) 0 ;
28037 void *argp1 = 0 ;
28038 int res1 = 0 ;
28039 int temp2 ;
28040 int res2 = SWIG_TMPOBJ ;
28041 int temp3 ;
28042 int res3 = SWIG_TMPOBJ ;
28043 int temp4 ;
28044 int res4 = SWIG_TMPOBJ ;
28045 int temp5 ;
28046 int res5 = SWIG_TMPOBJ ;
28047 PyObject *swig_obj[1] ;
28048
28049 arg2 = &temp2;
28050 arg3 = &temp3;
28051 arg4 = &temp4;
28052 arg5 = &temp5;
28053 if (!args) SWIG_fail;
28054 swig_obj[0] = args;
28055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28056 if (!SWIG_IsOK(res1)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28058 }
28059 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28060 {
28061 PyThreadState* __tstate = wxPyBeginAllowThreads();
28062 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28063 wxPyEndAllowThreads(__tstate);
28064 if (PyErr_Occurred()) SWIG_fail;
28065 }
28066 resultobj = SWIG_Py_Void();
28067 if (SWIG_IsTmpObj(res2)) {
28068 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28069 } else {
28070 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28071 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28072 }
28073 if (SWIG_IsTmpObj(res3)) {
28074 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28075 } else {
28076 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28077 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28078 }
28079 if (SWIG_IsTmpObj(res4)) {
28080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28081 } else {
28082 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28084 }
28085 if (SWIG_IsTmpObj(res5)) {
28086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28087 } else {
28088 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28090 }
28091 return resultobj;
28092 fail:
28093 return NULL;
28094 }
28095
28096
28097 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28098 PyObject *obj;
28099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28101 return SWIG_Py_Void();
28102 }
28103
28104 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28105 return SWIG_Python_InitShadowInstance(args);
28106 }
28107
28108 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28109 PyObject *resultobj = 0;
28110 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28111 wxWindow *arg2 = (wxWindow *) 0 ;
28112 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28113 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28114 wxSize const &arg4_defvalue = wxDefaultSize ;
28115 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28116 long arg5 = (long) 0 ;
28117 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28118 wxString *arg6 = (wxString *) &arg6_defvalue ;
28119 wxPreviewCanvas *result = 0 ;
28120 void *argp1 = 0 ;
28121 int res1 = 0 ;
28122 void *argp2 = 0 ;
28123 int res2 = 0 ;
28124 wxPoint temp3 ;
28125 wxSize temp4 ;
28126 long val5 ;
28127 int ecode5 = 0 ;
28128 bool temp6 = false ;
28129 PyObject * obj0 = 0 ;
28130 PyObject * obj1 = 0 ;
28131 PyObject * obj2 = 0 ;
28132 PyObject * obj3 = 0 ;
28133 PyObject * obj4 = 0 ;
28134 PyObject * obj5 = 0 ;
28135 char * kwnames[] = {
28136 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28137 };
28138
28139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28141 if (!SWIG_IsOK(res1)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28143 }
28144 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28146 if (!SWIG_IsOK(res2)) {
28147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28148 }
28149 arg2 = reinterpret_cast< wxWindow * >(argp2);
28150 if (obj2) {
28151 {
28152 arg3 = &temp3;
28153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28154 }
28155 }
28156 if (obj3) {
28157 {
28158 arg4 = &temp4;
28159 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28160 }
28161 }
28162 if (obj4) {
28163 ecode5 = SWIG_AsVal_long(obj4, &val5);
28164 if (!SWIG_IsOK(ecode5)) {
28165 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28166 }
28167 arg5 = static_cast< long >(val5);
28168 }
28169 if (obj5) {
28170 {
28171 arg6 = wxString_in_helper(obj5);
28172 if (arg6 == NULL) SWIG_fail;
28173 temp6 = true;
28174 }
28175 }
28176 {
28177 if (!wxPyCheckForApp()) SWIG_fail;
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28180 wxPyEndAllowThreads(__tstate);
28181 if (PyErr_Occurred()) SWIG_fail;
28182 }
28183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28184 {
28185 if (temp6)
28186 delete arg6;
28187 }
28188 return resultobj;
28189 fail:
28190 {
28191 if (temp6)
28192 delete arg6;
28193 }
28194 return NULL;
28195 }
28196
28197
28198 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28199 PyObject *obj;
28200 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28202 return SWIG_Py_Void();
28203 }
28204
28205 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28206 return SWIG_Python_InitShadowInstance(args);
28207 }
28208
28209 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28210 PyObject *resultobj = 0;
28211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28212 wxFrame *arg2 = (wxFrame *) 0 ;
28213 wxString *arg3 = 0 ;
28214 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28215 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28216 wxSize const &arg5_defvalue = wxDefaultSize ;
28217 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28218 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28219 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28220 wxString *arg7 = (wxString *) &arg7_defvalue ;
28221 wxPreviewFrame *result = 0 ;
28222 int res1 = 0 ;
28223 void *argp2 = 0 ;
28224 int res2 = 0 ;
28225 bool temp3 = false ;
28226 wxPoint temp4 ;
28227 wxSize temp5 ;
28228 long val6 ;
28229 int ecode6 = 0 ;
28230 bool temp7 = false ;
28231 PyObject * obj0 = 0 ;
28232 PyObject * obj1 = 0 ;
28233 PyObject * obj2 = 0 ;
28234 PyObject * obj3 = 0 ;
28235 PyObject * obj4 = 0 ;
28236 PyObject * obj5 = 0 ;
28237 PyObject * obj6 = 0 ;
28238 char * kwnames[] = {
28239 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28240 };
28241
28242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28243 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28244 if (!SWIG_IsOK(res1)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28246 }
28247 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28248 if (!SWIG_IsOK(res2)) {
28249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28250 }
28251 arg2 = reinterpret_cast< wxFrame * >(argp2);
28252 {
28253 arg3 = wxString_in_helper(obj2);
28254 if (arg3 == NULL) SWIG_fail;
28255 temp3 = true;
28256 }
28257 if (obj3) {
28258 {
28259 arg4 = &temp4;
28260 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28261 }
28262 }
28263 if (obj4) {
28264 {
28265 arg5 = &temp5;
28266 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28267 }
28268 }
28269 if (obj5) {
28270 ecode6 = SWIG_AsVal_long(obj5, &val6);
28271 if (!SWIG_IsOK(ecode6)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28273 }
28274 arg6 = static_cast< long >(val6);
28275 }
28276 if (obj6) {
28277 {
28278 arg7 = wxString_in_helper(obj6);
28279 if (arg7 == NULL) SWIG_fail;
28280 temp7 = true;
28281 }
28282 }
28283 {
28284 if (!wxPyCheckForApp()) SWIG_fail;
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28287 wxPyEndAllowThreads(__tstate);
28288 if (PyErr_Occurred()) SWIG_fail;
28289 }
28290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28291 {
28292 if (temp3)
28293 delete arg3;
28294 }
28295 {
28296 if (temp7)
28297 delete arg7;
28298 }
28299 return resultobj;
28300 fail:
28301 {
28302 if (temp3)
28303 delete arg3;
28304 }
28305 {
28306 if (temp7)
28307 delete arg7;
28308 }
28309 return NULL;
28310 }
28311
28312
28313 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28314 PyObject *resultobj = 0;
28315 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28316 void *argp1 = 0 ;
28317 int res1 = 0 ;
28318 PyObject *swig_obj[1] ;
28319
28320 if (!args) SWIG_fail;
28321 swig_obj[0] = args;
28322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28323 if (!SWIG_IsOK(res1)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28325 }
28326 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->Initialize();
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 resultobj = SWIG_Py_Void();
28334 return resultobj;
28335 fail:
28336 return NULL;
28337 }
28338
28339
28340 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28341 PyObject *resultobj = 0;
28342 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28343 void *argp1 = 0 ;
28344 int res1 = 0 ;
28345 PyObject *swig_obj[1] ;
28346
28347 if (!args) SWIG_fail;
28348 swig_obj[0] = args;
28349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28350 if (!SWIG_IsOK(res1)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28352 }
28353 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 (arg1)->CreateControlBar();
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 resultobj = SWIG_Py_Void();
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28368 PyObject *resultobj = 0;
28369 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28370 void *argp1 = 0 ;
28371 int res1 = 0 ;
28372 PyObject *swig_obj[1] ;
28373
28374 if (!args) SWIG_fail;
28375 swig_obj[0] = args;
28376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28377 if (!SWIG_IsOK(res1)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28379 }
28380 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28381 {
28382 PyThreadState* __tstate = wxPyBeginAllowThreads();
28383 (arg1)->CreateCanvas();
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 resultobj = SWIG_Py_Void();
28388 return resultobj;
28389 fail:
28390 return NULL;
28391 }
28392
28393
28394 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28395 PyObject *resultobj = 0;
28396 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28397 wxPreviewControlBar *result = 0 ;
28398 void *argp1 = 0 ;
28399 int res1 = 0 ;
28400 PyObject *swig_obj[1] ;
28401
28402 if (!args) SWIG_fail;
28403 swig_obj[0] = args;
28404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28405 if (!SWIG_IsOK(res1)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28407 }
28408 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28409 {
28410 PyThreadState* __tstate = wxPyBeginAllowThreads();
28411 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28412 wxPyEndAllowThreads(__tstate);
28413 if (PyErr_Occurred()) SWIG_fail;
28414 }
28415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28416 return resultobj;
28417 fail:
28418 return NULL;
28419 }
28420
28421
28422 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28423 PyObject *obj;
28424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28425 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28426 return SWIG_Py_Void();
28427 }
28428
28429 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28430 return SWIG_Python_InitShadowInstance(args);
28431 }
28432
28433 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28434 PyObject *resultobj = 0;
28435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28436 long arg2 ;
28437 wxWindow *arg3 = (wxWindow *) 0 ;
28438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28440 wxSize const &arg5_defvalue = wxDefaultSize ;
28441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28442 long arg6 = (long) wxTAB_TRAVERSAL ;
28443 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28444 wxString *arg7 = (wxString *) &arg7_defvalue ;
28445 wxPreviewControlBar *result = 0 ;
28446 void *argp1 = 0 ;
28447 int res1 = 0 ;
28448 long val2 ;
28449 int ecode2 = 0 ;
28450 void *argp3 = 0 ;
28451 int res3 = 0 ;
28452 wxPoint temp4 ;
28453 wxSize temp5 ;
28454 long val6 ;
28455 int ecode6 = 0 ;
28456 bool temp7 = false ;
28457 PyObject * obj0 = 0 ;
28458 PyObject * obj1 = 0 ;
28459 PyObject * obj2 = 0 ;
28460 PyObject * obj3 = 0 ;
28461 PyObject * obj4 = 0 ;
28462 PyObject * obj5 = 0 ;
28463 PyObject * obj6 = 0 ;
28464 char * kwnames[] = {
28465 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28466 };
28467
28468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28470 if (!SWIG_IsOK(res1)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28472 }
28473 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28474 ecode2 = SWIG_AsVal_long(obj1, &val2);
28475 if (!SWIG_IsOK(ecode2)) {
28476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28477 }
28478 arg2 = static_cast< long >(val2);
28479 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28480 if (!SWIG_IsOK(res3)) {
28481 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28482 }
28483 arg3 = reinterpret_cast< wxWindow * >(argp3);
28484 if (obj3) {
28485 {
28486 arg4 = &temp4;
28487 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28488 }
28489 }
28490 if (obj4) {
28491 {
28492 arg5 = &temp5;
28493 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28494 }
28495 }
28496 if (obj5) {
28497 ecode6 = SWIG_AsVal_long(obj5, &val6);
28498 if (!SWIG_IsOK(ecode6)) {
28499 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28500 }
28501 arg6 = static_cast< long >(val6);
28502 }
28503 if (obj6) {
28504 {
28505 arg7 = wxString_in_helper(obj6);
28506 if (arg7 == NULL) SWIG_fail;
28507 temp7 = true;
28508 }
28509 }
28510 {
28511 if (!wxPyCheckForApp()) SWIG_fail;
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28514 wxPyEndAllowThreads(__tstate);
28515 if (PyErr_Occurred()) SWIG_fail;
28516 }
28517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28518 {
28519 if (temp7)
28520 delete arg7;
28521 }
28522 return resultobj;
28523 fail:
28524 {
28525 if (temp7)
28526 delete arg7;
28527 }
28528 return NULL;
28529 }
28530
28531
28532 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28533 PyObject *resultobj = 0;
28534 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28535 int result;
28536 void *argp1 = 0 ;
28537 int res1 = 0 ;
28538 PyObject *swig_obj[1] ;
28539
28540 if (!args) SWIG_fail;
28541 swig_obj[0] = args;
28542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28543 if (!SWIG_IsOK(res1)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28545 }
28546 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 result = (int)(arg1)->GetZoomControl();
28550 wxPyEndAllowThreads(__tstate);
28551 if (PyErr_Occurred()) SWIG_fail;
28552 }
28553 resultobj = SWIG_From_int(static_cast< int >(result));
28554 return resultobj;
28555 fail:
28556 return NULL;
28557 }
28558
28559
28560 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28561 PyObject *resultobj = 0;
28562 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28563 int arg2 ;
28564 void *argp1 = 0 ;
28565 int res1 = 0 ;
28566 int val2 ;
28567 int ecode2 = 0 ;
28568 PyObject * obj0 = 0 ;
28569 PyObject * obj1 = 0 ;
28570 char * kwnames[] = {
28571 (char *) "self",(char *) "zoom", NULL
28572 };
28573
28574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28576 if (!SWIG_IsOK(res1)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28578 }
28579 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28580 ecode2 = SWIG_AsVal_int(obj1, &val2);
28581 if (!SWIG_IsOK(ecode2)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28583 }
28584 arg2 = static_cast< int >(val2);
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 (arg1)->SetZoomControl(arg2);
28588 wxPyEndAllowThreads(__tstate);
28589 if (PyErr_Occurred()) SWIG_fail;
28590 }
28591 resultobj = SWIG_Py_Void();
28592 return resultobj;
28593 fail:
28594 return NULL;
28595 }
28596
28597
28598 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28599 PyObject *resultobj = 0;
28600 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28601 wxPrintPreview *result = 0 ;
28602 void *argp1 = 0 ;
28603 int res1 = 0 ;
28604 PyObject *swig_obj[1] ;
28605
28606 if (!args) SWIG_fail;
28607 swig_obj[0] = args;
28608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28609 if (!SWIG_IsOK(res1)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28611 }
28612 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28613 {
28614 PyThreadState* __tstate = wxPyBeginAllowThreads();
28615 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28616 wxPyEndAllowThreads(__tstate);
28617 if (PyErr_Occurred()) SWIG_fail;
28618 }
28619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28620 return resultobj;
28621 fail:
28622 return NULL;
28623 }
28624
28625
28626 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28627 PyObject *resultobj = 0;
28628 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28629 void *argp1 = 0 ;
28630 int res1 = 0 ;
28631 PyObject *swig_obj[1] ;
28632
28633 if (!args) SWIG_fail;
28634 swig_obj[0] = args;
28635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28636 if (!SWIG_IsOK(res1)) {
28637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28638 }
28639 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28640 {
28641 PyThreadState* __tstate = wxPyBeginAllowThreads();
28642 (arg1)->OnNext();
28643 wxPyEndAllowThreads(__tstate);
28644 if (PyErr_Occurred()) SWIG_fail;
28645 }
28646 resultobj = SWIG_Py_Void();
28647 return resultobj;
28648 fail:
28649 return NULL;
28650 }
28651
28652
28653 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28654 PyObject *resultobj = 0;
28655 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28656 void *argp1 = 0 ;
28657 int res1 = 0 ;
28658 PyObject *swig_obj[1] ;
28659
28660 if (!args) SWIG_fail;
28661 swig_obj[0] = args;
28662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28663 if (!SWIG_IsOK(res1)) {
28664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28665 }
28666 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28667 {
28668 PyThreadState* __tstate = wxPyBeginAllowThreads();
28669 (arg1)->OnPrevious();
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_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28681 PyObject *resultobj = 0;
28682 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28683 void *argp1 = 0 ;
28684 int res1 = 0 ;
28685 PyObject *swig_obj[1] ;
28686
28687 if (!args) SWIG_fail;
28688 swig_obj[0] = args;
28689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28690 if (!SWIG_IsOK(res1)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28692 }
28693 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28694 {
28695 PyThreadState* __tstate = wxPyBeginAllowThreads();
28696 (arg1)->OnFirst();
28697 wxPyEndAllowThreads(__tstate);
28698 if (PyErr_Occurred()) SWIG_fail;
28699 }
28700 resultobj = SWIG_Py_Void();
28701 return resultobj;
28702 fail:
28703 return NULL;
28704 }
28705
28706
28707 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28708 PyObject *resultobj = 0;
28709 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28710 void *argp1 = 0 ;
28711 int res1 = 0 ;
28712 PyObject *swig_obj[1] ;
28713
28714 if (!args) SWIG_fail;
28715 swig_obj[0] = args;
28716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28717 if (!SWIG_IsOK(res1)) {
28718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28719 }
28720 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28721 {
28722 PyThreadState* __tstate = wxPyBeginAllowThreads();
28723 (arg1)->OnLast();
28724 wxPyEndAllowThreads(__tstate);
28725 if (PyErr_Occurred()) SWIG_fail;
28726 }
28727 resultobj = SWIG_Py_Void();
28728 return resultobj;
28729 fail:
28730 return NULL;
28731 }
28732
28733
28734 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28735 PyObject *resultobj = 0;
28736 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28737 void *argp1 = 0 ;
28738 int res1 = 0 ;
28739 PyObject *swig_obj[1] ;
28740
28741 if (!args) SWIG_fail;
28742 swig_obj[0] = args;
28743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28744 if (!SWIG_IsOK(res1)) {
28745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28746 }
28747 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28748 {
28749 PyThreadState* __tstate = wxPyBeginAllowThreads();
28750 (arg1)->OnGoto();
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 resultobj = SWIG_Py_Void();
28755 return resultobj;
28756 fail:
28757 return NULL;
28758 }
28759
28760
28761 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28762 PyObject *obj;
28763 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28764 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28765 return SWIG_Py_Void();
28766 }
28767
28768 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28769 return SWIG_Python_InitShadowInstance(args);
28770 }
28771
28772 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28773 PyObject *resultobj = 0;
28774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28775 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28776 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28777 wxPrintPreview *result = 0 ;
28778 int res1 = 0 ;
28779 int res2 = 0 ;
28780 void *argp3 = 0 ;
28781 int res3 = 0 ;
28782
28783 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28784 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28785 if (!SWIG_IsOK(res1)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28787 }
28788 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28789 if (!SWIG_IsOK(res2)) {
28790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28791 }
28792 if (swig_obj[2]) {
28793 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28794 if (!SWIG_IsOK(res3)) {
28795 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28796 }
28797 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28798 }
28799 {
28800 if (!wxPyCheckForApp()) SWIG_fail;
28801 PyThreadState* __tstate = wxPyBeginAllowThreads();
28802 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28803 wxPyEndAllowThreads(__tstate);
28804 if (PyErr_Occurred()) SWIG_fail;
28805 }
28806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28807 return resultobj;
28808 fail:
28809 return NULL;
28810 }
28811
28812
28813 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28814 PyObject *resultobj = 0;
28815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28816 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28817 wxPrintData *arg3 = (wxPrintData *) 0 ;
28818 wxPrintPreview *result = 0 ;
28819 int res1 = 0 ;
28820 int res2 = 0 ;
28821 void *argp3 = 0 ;
28822 int res3 = 0 ;
28823
28824 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28825 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28826 if (!SWIG_IsOK(res1)) {
28827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28828 }
28829 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28830 if (!SWIG_IsOK(res2)) {
28831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28832 }
28833 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28834 if (!SWIG_IsOK(res3)) {
28835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28836 }
28837 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28838 {
28839 if (!wxPyCheckForApp()) SWIG_fail;
28840 PyThreadState* __tstate = wxPyBeginAllowThreads();
28841 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28842 wxPyEndAllowThreads(__tstate);
28843 if (PyErr_Occurred()) SWIG_fail;
28844 }
28845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28846 return resultobj;
28847 fail:
28848 return NULL;
28849 }
28850
28851
28852 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28853 int argc;
28854 PyObject *argv[4];
28855
28856 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28857 --argc;
28858 if ((argc >= 2) && (argc <= 3)) {
28859 int _v = 0;
28860 if (argc > 2) {
28861 {
28862 void *vptr = 0;
28863 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28864 _v = SWIG_CheckState(res);
28865 }
28866 if (!_v) goto check_1;
28867 }
28868 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28869 }
28870 check_1:
28871
28872 if (argc == 3) {
28873 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28874 }
28875
28876 fail:
28877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28878 return NULL;
28879 }
28880
28881
28882 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28883 PyObject *resultobj = 0;
28884 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28885 void *argp1 = 0 ;
28886 int res1 = 0 ;
28887 PyObject *swig_obj[1] ;
28888
28889 if (!args) SWIG_fail;
28890 swig_obj[0] = args;
28891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28892 if (!SWIG_IsOK(res1)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28894 }
28895 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28896 {
28897 PyThreadState* __tstate = wxPyBeginAllowThreads();
28898 delete arg1;
28899
28900 wxPyEndAllowThreads(__tstate);
28901 if (PyErr_Occurred()) SWIG_fail;
28902 }
28903 resultobj = SWIG_Py_Void();
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28911 PyObject *resultobj = 0;
28912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28913 int arg2 ;
28914 bool result;
28915 void *argp1 = 0 ;
28916 int res1 = 0 ;
28917 int val2 ;
28918 int ecode2 = 0 ;
28919 PyObject * obj0 = 0 ;
28920 PyObject * obj1 = 0 ;
28921 char * kwnames[] = {
28922 (char *) "self",(char *) "pageNum", NULL
28923 };
28924
28925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
28926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28927 if (!SWIG_IsOK(res1)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28929 }
28930 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28931 ecode2 = SWIG_AsVal_int(obj1, &val2);
28932 if (!SWIG_IsOK(ecode2)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28934 }
28935 arg2 = static_cast< int >(val2);
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 result = (bool)(arg1)->SetCurrentPage(arg2);
28939 wxPyEndAllowThreads(__tstate);
28940 if (PyErr_Occurred()) SWIG_fail;
28941 }
28942 {
28943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28944 }
28945 return resultobj;
28946 fail:
28947 return NULL;
28948 }
28949
28950
28951 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28952 PyObject *resultobj = 0;
28953 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28954 int result;
28955 void *argp1 = 0 ;
28956 int res1 = 0 ;
28957 PyObject *swig_obj[1] ;
28958
28959 if (!args) SWIG_fail;
28960 swig_obj[0] = args;
28961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28962 if (!SWIG_IsOK(res1)) {
28963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28964 }
28965 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28966 {
28967 PyThreadState* __tstate = wxPyBeginAllowThreads();
28968 result = (int)(arg1)->GetCurrentPage();
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 resultobj = SWIG_From_int(static_cast< int >(result));
28973 return resultobj;
28974 fail:
28975 return NULL;
28976 }
28977
28978
28979 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28980 PyObject *resultobj = 0;
28981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28982 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28983 void *argp1 = 0 ;
28984 int res1 = 0 ;
28985 int res2 = 0 ;
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 char * kwnames[] = {
28989 (char *) "self",(char *) "printout", NULL
28990 };
28991
28992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
28993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28994 if (!SWIG_IsOK(res1)) {
28995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28996 }
28997 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28998 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28999 if (!SWIG_IsOK(res2)) {
29000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29001 }
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 (arg1)->SetPrintout(arg2);
29005 wxPyEndAllowThreads(__tstate);
29006 if (PyErr_Occurred()) SWIG_fail;
29007 }
29008 resultobj = SWIG_Py_Void();
29009 return resultobj;
29010 fail:
29011 return NULL;
29012 }
29013
29014
29015 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29016 PyObject *resultobj = 0;
29017 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29018 wxPyPrintout *result = 0 ;
29019 void *argp1 = 0 ;
29020 int res1 = 0 ;
29021 PyObject *swig_obj[1] ;
29022
29023 if (!args) SWIG_fail;
29024 swig_obj[0] = args;
29025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29026 if (!SWIG_IsOK(res1)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29028 }
29029 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29030 {
29031 PyThreadState* __tstate = wxPyBeginAllowThreads();
29032 result = (wxPyPrintout *)(arg1)->GetPrintout();
29033 wxPyEndAllowThreads(__tstate);
29034 if (PyErr_Occurred()) SWIG_fail;
29035 }
29036 {
29037 resultobj = wxPyMake_wxObject(result, 0);
29038 }
29039 return resultobj;
29040 fail:
29041 return NULL;
29042 }
29043
29044
29045 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29046 PyObject *resultobj = 0;
29047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29048 wxPyPrintout *result = 0 ;
29049 void *argp1 = 0 ;
29050 int res1 = 0 ;
29051 PyObject *swig_obj[1] ;
29052
29053 if (!args) SWIG_fail;
29054 swig_obj[0] = args;
29055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29056 if (!SWIG_IsOK(res1)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29058 }
29059 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29063 wxPyEndAllowThreads(__tstate);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 {
29067 resultobj = wxPyMake_wxObject(result, 0);
29068 }
29069 return resultobj;
29070 fail:
29071 return NULL;
29072 }
29073
29074
29075 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29076 PyObject *resultobj = 0;
29077 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29078 wxFrame *arg2 = (wxFrame *) 0 ;
29079 void *argp1 = 0 ;
29080 int res1 = 0 ;
29081 void *argp2 = 0 ;
29082 int res2 = 0 ;
29083 PyObject * obj0 = 0 ;
29084 PyObject * obj1 = 0 ;
29085 char * kwnames[] = {
29086 (char *) "self",(char *) "frame", NULL
29087 };
29088
29089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29091 if (!SWIG_IsOK(res1)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29093 }
29094 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29095 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29096 if (!SWIG_IsOK(res2)) {
29097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29098 }
29099 arg2 = reinterpret_cast< wxFrame * >(argp2);
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 (arg1)->SetFrame(arg2);
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 resultobj = SWIG_Py_Void();
29107 return resultobj;
29108 fail:
29109 return NULL;
29110 }
29111
29112
29113 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29114 PyObject *resultobj = 0;
29115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29116 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29117 void *argp1 = 0 ;
29118 int res1 = 0 ;
29119 void *argp2 = 0 ;
29120 int res2 = 0 ;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 char * kwnames[] = {
29124 (char *) "self",(char *) "canvas", NULL
29125 };
29126
29127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29129 if (!SWIG_IsOK(res1)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29131 }
29132 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29134 if (!SWIG_IsOK(res2)) {
29135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29136 }
29137 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29138 {
29139 PyThreadState* __tstate = wxPyBeginAllowThreads();
29140 (arg1)->SetCanvas(arg2);
29141 wxPyEndAllowThreads(__tstate);
29142 if (PyErr_Occurred()) SWIG_fail;
29143 }
29144 resultobj = SWIG_Py_Void();
29145 return resultobj;
29146 fail:
29147 return NULL;
29148 }
29149
29150
29151 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29152 PyObject *resultobj = 0;
29153 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29154 wxFrame *result = 0 ;
29155 void *argp1 = 0 ;
29156 int res1 = 0 ;
29157 PyObject *swig_obj[1] ;
29158
29159 if (!args) SWIG_fail;
29160 swig_obj[0] = args;
29161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29162 if (!SWIG_IsOK(res1)) {
29163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29164 }
29165 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 result = (wxFrame *)(arg1)->GetFrame();
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 {
29173 resultobj = wxPyMake_wxObject(result, 0);
29174 }
29175 return resultobj;
29176 fail:
29177 return NULL;
29178 }
29179
29180
29181 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29182 PyObject *resultobj = 0;
29183 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29184 wxPreviewCanvas *result = 0 ;
29185 void *argp1 = 0 ;
29186 int res1 = 0 ;
29187 PyObject *swig_obj[1] ;
29188
29189 if (!args) SWIG_fail;
29190 swig_obj[0] = args;
29191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29192 if (!SWIG_IsOK(res1)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29194 }
29195 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29196 {
29197 PyThreadState* __tstate = wxPyBeginAllowThreads();
29198 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29199 wxPyEndAllowThreads(__tstate);
29200 if (PyErr_Occurred()) SWIG_fail;
29201 }
29202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29203 return resultobj;
29204 fail:
29205 return NULL;
29206 }
29207
29208
29209 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29210 PyObject *resultobj = 0;
29211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29212 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29213 wxDC *arg3 = 0 ;
29214 bool result;
29215 void *argp1 = 0 ;
29216 int res1 = 0 ;
29217 void *argp2 = 0 ;
29218 int res2 = 0 ;
29219 void *argp3 = 0 ;
29220 int res3 = 0 ;
29221 PyObject * obj0 = 0 ;
29222 PyObject * obj1 = 0 ;
29223 PyObject * obj2 = 0 ;
29224 char * kwnames[] = {
29225 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29226 };
29227
29228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29230 if (!SWIG_IsOK(res1)) {
29231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29232 }
29233 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29234 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29235 if (!SWIG_IsOK(res2)) {
29236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29237 }
29238 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29239 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29240 if (!SWIG_IsOK(res3)) {
29241 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29242 }
29243 if (!argp3) {
29244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29245 }
29246 arg3 = reinterpret_cast< wxDC * >(argp3);
29247 {
29248 PyThreadState* __tstate = wxPyBeginAllowThreads();
29249 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29250 wxPyEndAllowThreads(__tstate);
29251 if (PyErr_Occurred()) SWIG_fail;
29252 }
29253 {
29254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29255 }
29256 return resultobj;
29257 fail:
29258 return NULL;
29259 }
29260
29261
29262 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29263 PyObject *resultobj = 0;
29264 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29265 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29266 wxDC *arg3 = 0 ;
29267 bool result;
29268 void *argp1 = 0 ;
29269 int res1 = 0 ;
29270 void *argp2 = 0 ;
29271 int res2 = 0 ;
29272 void *argp3 = 0 ;
29273 int res3 = 0 ;
29274 PyObject * obj0 = 0 ;
29275 PyObject * obj1 = 0 ;
29276 PyObject * obj2 = 0 ;
29277 char * kwnames[] = {
29278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29279 };
29280
29281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29283 if (!SWIG_IsOK(res1)) {
29284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29285 }
29286 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29288 if (!SWIG_IsOK(res2)) {
29289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29290 }
29291 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29292 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29293 if (!SWIG_IsOK(res3)) {
29294 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29295 }
29296 if (!argp3) {
29297 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29298 }
29299 arg3 = reinterpret_cast< wxDC * >(argp3);
29300 {
29301 PyThreadState* __tstate = wxPyBeginAllowThreads();
29302 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 {
29307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29308 }
29309 return resultobj;
29310 fail:
29311 return NULL;
29312 }
29313
29314
29315 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29316 PyObject *resultobj = 0;
29317 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29318 int arg2 ;
29319 bool result;
29320 void *argp1 = 0 ;
29321 int res1 = 0 ;
29322 int val2 ;
29323 int ecode2 = 0 ;
29324 PyObject * obj0 = 0 ;
29325 PyObject * obj1 = 0 ;
29326 char * kwnames[] = {
29327 (char *) "self",(char *) "pageNum", NULL
29328 };
29329
29330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29332 if (!SWIG_IsOK(res1)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29334 }
29335 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29336 ecode2 = SWIG_AsVal_int(obj1, &val2);
29337 if (!SWIG_IsOK(ecode2)) {
29338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29339 }
29340 arg2 = static_cast< int >(val2);
29341 {
29342 PyThreadState* __tstate = wxPyBeginAllowThreads();
29343 result = (bool)(arg1)->RenderPage(arg2);
29344 wxPyEndAllowThreads(__tstate);
29345 if (PyErr_Occurred()) SWIG_fail;
29346 }
29347 {
29348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29349 }
29350 return resultobj;
29351 fail:
29352 return NULL;
29353 }
29354
29355
29356 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29357 PyObject *resultobj = 0;
29358 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29359 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29360 void *argp1 = 0 ;
29361 int res1 = 0 ;
29362 void *argp2 = 0 ;
29363 int res2 = 0 ;
29364 PyObject * obj0 = 0 ;
29365 PyObject * obj1 = 0 ;
29366 char * kwnames[] = {
29367 (char *) "self",(char *) "canvas", NULL
29368 };
29369
29370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29372 if (!SWIG_IsOK(res1)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29374 }
29375 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29376 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29377 if (!SWIG_IsOK(res2)) {
29378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29379 }
29380 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29381 {
29382 PyThreadState* __tstate = wxPyBeginAllowThreads();
29383 (arg1)->AdjustScrollbars(arg2);
29384 wxPyEndAllowThreads(__tstate);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 }
29387 resultobj = SWIG_Py_Void();
29388 return resultobj;
29389 fail:
29390 return NULL;
29391 }
29392
29393
29394 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29395 PyObject *resultobj = 0;
29396 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29397 wxPrintDialogData *result = 0 ;
29398 void *argp1 = 0 ;
29399 int res1 = 0 ;
29400 PyObject *swig_obj[1] ;
29401
29402 if (!args) SWIG_fail;
29403 swig_obj[0] = args;
29404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29405 if (!SWIG_IsOK(res1)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29407 }
29408 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29409 {
29410 PyThreadState* __tstate = wxPyBeginAllowThreads();
29411 {
29412 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29413 result = (wxPrintDialogData *) &_result_ref;
29414 }
29415 wxPyEndAllowThreads(__tstate);
29416 if (PyErr_Occurred()) SWIG_fail;
29417 }
29418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29419 return resultobj;
29420 fail:
29421 return NULL;
29422 }
29423
29424
29425 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29426 PyObject *resultobj = 0;
29427 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29428 int arg2 ;
29429 void *argp1 = 0 ;
29430 int res1 = 0 ;
29431 int val2 ;
29432 int ecode2 = 0 ;
29433 PyObject * obj0 = 0 ;
29434 PyObject * obj1 = 0 ;
29435 char * kwnames[] = {
29436 (char *) "self",(char *) "percent", NULL
29437 };
29438
29439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29441 if (!SWIG_IsOK(res1)) {
29442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29443 }
29444 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29445 ecode2 = SWIG_AsVal_int(obj1, &val2);
29446 if (!SWIG_IsOK(ecode2)) {
29447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29448 }
29449 arg2 = static_cast< int >(val2);
29450 {
29451 PyThreadState* __tstate = wxPyBeginAllowThreads();
29452 (arg1)->SetZoom(arg2);
29453 wxPyEndAllowThreads(__tstate);
29454 if (PyErr_Occurred()) SWIG_fail;
29455 }
29456 resultobj = SWIG_Py_Void();
29457 return resultobj;
29458 fail:
29459 return NULL;
29460 }
29461
29462
29463 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29464 PyObject *resultobj = 0;
29465 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29466 int result;
29467 void *argp1 = 0 ;
29468 int res1 = 0 ;
29469 PyObject *swig_obj[1] ;
29470
29471 if (!args) SWIG_fail;
29472 swig_obj[0] = args;
29473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29474 if (!SWIG_IsOK(res1)) {
29475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29476 }
29477 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29478 {
29479 PyThreadState* __tstate = wxPyBeginAllowThreads();
29480 result = (int)(arg1)->GetZoom();
29481 wxPyEndAllowThreads(__tstate);
29482 if (PyErr_Occurred()) SWIG_fail;
29483 }
29484 resultobj = SWIG_From_int(static_cast< int >(result));
29485 return resultobj;
29486 fail:
29487 return NULL;
29488 }
29489
29490
29491 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29492 PyObject *resultobj = 0;
29493 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29494 int result;
29495 void *argp1 = 0 ;
29496 int res1 = 0 ;
29497 PyObject *swig_obj[1] ;
29498
29499 if (!args) SWIG_fail;
29500 swig_obj[0] = args;
29501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29502 if (!SWIG_IsOK(res1)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29504 }
29505 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29506 {
29507 PyThreadState* __tstate = wxPyBeginAllowThreads();
29508 result = (int)(arg1)->GetMaxPage();
29509 wxPyEndAllowThreads(__tstate);
29510 if (PyErr_Occurred()) SWIG_fail;
29511 }
29512 resultobj = SWIG_From_int(static_cast< int >(result));
29513 return resultobj;
29514 fail:
29515 return NULL;
29516 }
29517
29518
29519 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29520 PyObject *resultobj = 0;
29521 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29522 int result;
29523 void *argp1 = 0 ;
29524 int res1 = 0 ;
29525 PyObject *swig_obj[1] ;
29526
29527 if (!args) SWIG_fail;
29528 swig_obj[0] = args;
29529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29530 if (!SWIG_IsOK(res1)) {
29531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29532 }
29533 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29534 {
29535 PyThreadState* __tstate = wxPyBeginAllowThreads();
29536 result = (int)(arg1)->GetMinPage();
29537 wxPyEndAllowThreads(__tstate);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 }
29540 resultobj = SWIG_From_int(static_cast< int >(result));
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29548 PyObject *resultobj = 0;
29549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29550 bool result;
29551 void *argp1 = 0 ;
29552 int res1 = 0 ;
29553 PyObject *swig_obj[1] ;
29554
29555 if (!args) SWIG_fail;
29556 swig_obj[0] = args;
29557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29558 if (!SWIG_IsOK(res1)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29560 }
29561 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 result = (bool)(arg1)->Ok();
29565 wxPyEndAllowThreads(__tstate);
29566 if (PyErr_Occurred()) SWIG_fail;
29567 }
29568 {
29569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29570 }
29571 return resultobj;
29572 fail:
29573 return NULL;
29574 }
29575
29576
29577 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29578 PyObject *resultobj = 0;
29579 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29580 bool arg2 ;
29581 void *argp1 = 0 ;
29582 int res1 = 0 ;
29583 bool val2 ;
29584 int ecode2 = 0 ;
29585 PyObject * obj0 = 0 ;
29586 PyObject * obj1 = 0 ;
29587 char * kwnames[] = {
29588 (char *) "self",(char *) "ok", NULL
29589 };
29590
29591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29593 if (!SWIG_IsOK(res1)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29595 }
29596 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29598 if (!SWIG_IsOK(ecode2)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29600 }
29601 arg2 = static_cast< bool >(val2);
29602 {
29603 PyThreadState* __tstate = wxPyBeginAllowThreads();
29604 (arg1)->SetOk(arg2);
29605 wxPyEndAllowThreads(__tstate);
29606 if (PyErr_Occurred()) SWIG_fail;
29607 }
29608 resultobj = SWIG_Py_Void();
29609 return resultobj;
29610 fail:
29611 return NULL;
29612 }
29613
29614
29615 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29616 PyObject *resultobj = 0;
29617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29618 bool arg2 ;
29619 bool result;
29620 void *argp1 = 0 ;
29621 int res1 = 0 ;
29622 bool val2 ;
29623 int ecode2 = 0 ;
29624 PyObject * obj0 = 0 ;
29625 PyObject * obj1 = 0 ;
29626 char * kwnames[] = {
29627 (char *) "self",(char *) "interactive", NULL
29628 };
29629
29630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29632 if (!SWIG_IsOK(res1)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29634 }
29635 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29636 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29637 if (!SWIG_IsOK(ecode2)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29639 }
29640 arg2 = static_cast< bool >(val2);
29641 {
29642 PyThreadState* __tstate = wxPyBeginAllowThreads();
29643 result = (bool)(arg1)->Print(arg2);
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 {
29648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29649 }
29650 return resultobj;
29651 fail:
29652 return NULL;
29653 }
29654
29655
29656 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29657 PyObject *resultobj = 0;
29658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29659 void *argp1 = 0 ;
29660 int res1 = 0 ;
29661 PyObject *swig_obj[1] ;
29662
29663 if (!args) SWIG_fail;
29664 swig_obj[0] = args;
29665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29666 if (!SWIG_IsOK(res1)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29668 }
29669 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 (arg1)->DetermineScaling();
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 resultobj = SWIG_Py_Void();
29677 return resultobj;
29678 fail:
29679 return NULL;
29680 }
29681
29682
29683 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29684 PyObject *obj;
29685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29686 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29687 return SWIG_Py_Void();
29688 }
29689
29690 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29691 return SWIG_Python_InitShadowInstance(args);
29692 }
29693
29694 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29695 PyObject *resultobj = 0;
29696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29697 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29698 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29699 wxPyPrintPreview *result = 0 ;
29700 int res1 = 0 ;
29701 int res2 = 0 ;
29702 void *argp3 = 0 ;
29703 int res3 = 0 ;
29704
29705 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29706 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29707 if (!SWIG_IsOK(res1)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29709 }
29710 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29711 if (!SWIG_IsOK(res2)) {
29712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29713 }
29714 if (swig_obj[2]) {
29715 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29716 if (!SWIG_IsOK(res3)) {
29717 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29718 }
29719 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29720 }
29721 {
29722 if (!wxPyCheckForApp()) SWIG_fail;
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29725 wxPyEndAllowThreads(__tstate);
29726 if (PyErr_Occurred()) SWIG_fail;
29727 }
29728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29729 return resultobj;
29730 fail:
29731 return NULL;
29732 }
29733
29734
29735 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29736 PyObject *resultobj = 0;
29737 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29738 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29739 wxPrintData *arg3 = (wxPrintData *) 0 ;
29740 wxPyPrintPreview *result = 0 ;
29741 int res1 = 0 ;
29742 int res2 = 0 ;
29743 void *argp3 = 0 ;
29744 int res3 = 0 ;
29745
29746 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29747 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29748 if (!SWIG_IsOK(res1)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29750 }
29751 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29752 if (!SWIG_IsOK(res2)) {
29753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29754 }
29755 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29756 if (!SWIG_IsOK(res3)) {
29757 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29758 }
29759 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29760 {
29761 if (!wxPyCheckForApp()) SWIG_fail;
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29764 wxPyEndAllowThreads(__tstate);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29768 return resultobj;
29769 fail:
29770 return NULL;
29771 }
29772
29773
29774 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29775 int argc;
29776 PyObject *argv[4];
29777
29778 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29779 --argc;
29780 if ((argc >= 2) && (argc <= 3)) {
29781 int _v = 0;
29782 if (argc > 2) {
29783 {
29784 void *vptr = 0;
29785 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29786 _v = SWIG_CheckState(res);
29787 }
29788 if (!_v) goto check_1;
29789 }
29790 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29791 }
29792 check_1:
29793
29794 if (argc == 3) {
29795 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29796 }
29797
29798 fail:
29799 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29800 return NULL;
29801 }
29802
29803
29804 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29805 PyObject *resultobj = 0;
29806 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29807 PyObject *arg2 = (PyObject *) 0 ;
29808 PyObject *arg3 = (PyObject *) 0 ;
29809 void *argp1 = 0 ;
29810 int res1 = 0 ;
29811 PyObject * obj0 = 0 ;
29812 PyObject * obj1 = 0 ;
29813 PyObject * obj2 = 0 ;
29814 char * kwnames[] = {
29815 (char *) "self",(char *) "self",(char *) "_class", NULL
29816 };
29817
29818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29820 if (!SWIG_IsOK(res1)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29822 }
29823 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29824 arg2 = obj1;
29825 arg3 = obj2;
29826 {
29827 PyThreadState* __tstate = wxPyBeginAllowThreads();
29828 (arg1)->_setCallbackInfo(arg2,arg3);
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
29832 resultobj = SWIG_Py_Void();
29833 return resultobj;
29834 fail:
29835 return NULL;
29836 }
29837
29838
29839 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29840 PyObject *obj;
29841 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29842 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29843 return SWIG_Py_Void();
29844 }
29845
29846 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29847 return SWIG_Python_InitShadowInstance(args);
29848 }
29849
29850 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29851 PyObject *resultobj = 0;
29852 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29853 wxFrame *arg2 = (wxFrame *) 0 ;
29854 wxString *arg3 = 0 ;
29855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29857 wxSize const &arg5_defvalue = wxDefaultSize ;
29858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29859 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29860 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29861 wxString *arg7 = (wxString *) &arg7_defvalue ;
29862 wxPyPreviewFrame *result = 0 ;
29863 void *argp1 = 0 ;
29864 int res1 = 0 ;
29865 void *argp2 = 0 ;
29866 int res2 = 0 ;
29867 bool temp3 = false ;
29868 wxPoint temp4 ;
29869 wxSize temp5 ;
29870 long val6 ;
29871 int ecode6 = 0 ;
29872 bool temp7 = false ;
29873 PyObject * obj0 = 0 ;
29874 PyObject * obj1 = 0 ;
29875 PyObject * obj2 = 0 ;
29876 PyObject * obj3 = 0 ;
29877 PyObject * obj4 = 0 ;
29878 PyObject * obj5 = 0 ;
29879 PyObject * obj6 = 0 ;
29880 char * kwnames[] = {
29881 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29882 };
29883
29884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29886 if (!SWIG_IsOK(res1)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29888 }
29889 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29891 if (!SWIG_IsOK(res2)) {
29892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29893 }
29894 arg2 = reinterpret_cast< wxFrame * >(argp2);
29895 {
29896 arg3 = wxString_in_helper(obj2);
29897 if (arg3 == NULL) SWIG_fail;
29898 temp3 = true;
29899 }
29900 if (obj3) {
29901 {
29902 arg4 = &temp4;
29903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29904 }
29905 }
29906 if (obj4) {
29907 {
29908 arg5 = &temp5;
29909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29910 }
29911 }
29912 if (obj5) {
29913 ecode6 = SWIG_AsVal_long(obj5, &val6);
29914 if (!SWIG_IsOK(ecode6)) {
29915 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29916 }
29917 arg6 = static_cast< long >(val6);
29918 }
29919 if (obj6) {
29920 {
29921 arg7 = wxString_in_helper(obj6);
29922 if (arg7 == NULL) SWIG_fail;
29923 temp7 = true;
29924 }
29925 }
29926 {
29927 if (!wxPyCheckForApp()) SWIG_fail;
29928 PyThreadState* __tstate = wxPyBeginAllowThreads();
29929 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29930 wxPyEndAllowThreads(__tstate);
29931 if (PyErr_Occurred()) SWIG_fail;
29932 }
29933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
29934 {
29935 if (temp3)
29936 delete arg3;
29937 }
29938 {
29939 if (temp7)
29940 delete arg7;
29941 }
29942 return resultobj;
29943 fail:
29944 {
29945 if (temp3)
29946 delete arg3;
29947 }
29948 {
29949 if (temp7)
29950 delete arg7;
29951 }
29952 return NULL;
29953 }
29954
29955
29956 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29957 PyObject *resultobj = 0;
29958 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29959 PyObject *arg2 = (PyObject *) 0 ;
29960 PyObject *arg3 = (PyObject *) 0 ;
29961 void *argp1 = 0 ;
29962 int res1 = 0 ;
29963 PyObject * obj0 = 0 ;
29964 PyObject * obj1 = 0 ;
29965 PyObject * obj2 = 0 ;
29966 char * kwnames[] = {
29967 (char *) "self",(char *) "self",(char *) "_class", NULL
29968 };
29969
29970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
29972 if (!SWIG_IsOK(res1)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29974 }
29975 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
29976 arg2 = obj1;
29977 arg3 = obj2;
29978 {
29979 PyThreadState* __tstate = wxPyBeginAllowThreads();
29980 (arg1)->_setCallbackInfo(arg2,arg3);
29981 wxPyEndAllowThreads(__tstate);
29982 if (PyErr_Occurred()) SWIG_fail;
29983 }
29984 resultobj = SWIG_Py_Void();
29985 return resultobj;
29986 fail:
29987 return NULL;
29988 }
29989
29990
29991 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29992 PyObject *resultobj = 0;
29993 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
29994 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29995 void *argp1 = 0 ;
29996 int res1 = 0 ;
29997 void *argp2 = 0 ;
29998 int res2 = 0 ;
29999 PyObject * obj0 = 0 ;
30000 PyObject * obj1 = 0 ;
30001 char * kwnames[] = {
30002 (char *) "self",(char *) "canvas", NULL
30003 };
30004
30005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30007 if (!SWIG_IsOK(res1)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30009 }
30010 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30011 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30012 if (!SWIG_IsOK(res2)) {
30013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30014 }
30015 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30016 {
30017 PyThreadState* __tstate = wxPyBeginAllowThreads();
30018 (arg1)->SetPreviewCanvas(arg2);
30019 wxPyEndAllowThreads(__tstate);
30020 if (PyErr_Occurred()) SWIG_fail;
30021 }
30022 resultobj = SWIG_Py_Void();
30023 return resultobj;
30024 fail:
30025 return NULL;
30026 }
30027
30028
30029 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30030 PyObject *resultobj = 0;
30031 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30032 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30033 void *argp1 = 0 ;
30034 int res1 = 0 ;
30035 void *argp2 = 0 ;
30036 int res2 = 0 ;
30037 PyObject * obj0 = 0 ;
30038 PyObject * obj1 = 0 ;
30039 char * kwnames[] = {
30040 (char *) "self",(char *) "bar", NULL
30041 };
30042
30043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30045 if (!SWIG_IsOK(res1)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30047 }
30048 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30049 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30050 if (!SWIG_IsOK(res2)) {
30051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30052 }
30053 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30054 {
30055 PyThreadState* __tstate = wxPyBeginAllowThreads();
30056 (arg1)->SetControlBar(arg2);
30057 wxPyEndAllowThreads(__tstate);
30058 if (PyErr_Occurred()) SWIG_fail;
30059 }
30060 resultobj = SWIG_Py_Void();
30061 return resultobj;
30062 fail:
30063 return NULL;
30064 }
30065
30066
30067 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30068 PyObject *resultobj = 0;
30069 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30070 void *argp1 = 0 ;
30071 int res1 = 0 ;
30072 PyObject *swig_obj[1] ;
30073
30074 if (!args) SWIG_fail;
30075 swig_obj[0] = args;
30076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30077 if (!SWIG_IsOK(res1)) {
30078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30079 }
30080 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
30083 (arg1)->Initialize();
30084 wxPyEndAllowThreads(__tstate);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 }
30087 resultobj = SWIG_Py_Void();
30088 return resultobj;
30089 fail:
30090 return NULL;
30091 }
30092
30093
30094 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30095 PyObject *resultobj = 0;
30096 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30097 void *argp1 = 0 ;
30098 int res1 = 0 ;
30099 PyObject *swig_obj[1] ;
30100
30101 if (!args) SWIG_fail;
30102 swig_obj[0] = args;
30103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30104 if (!SWIG_IsOK(res1)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30106 }
30107 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30108 {
30109 PyThreadState* __tstate = wxPyBeginAllowThreads();
30110 (arg1)->CreateCanvas();
30111 wxPyEndAllowThreads(__tstate);
30112 if (PyErr_Occurred()) SWIG_fail;
30113 }
30114 resultobj = SWIG_Py_Void();
30115 return resultobj;
30116 fail:
30117 return NULL;
30118 }
30119
30120
30121 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30122 PyObject *resultobj = 0;
30123 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30124 void *argp1 = 0 ;
30125 int res1 = 0 ;
30126 PyObject *swig_obj[1] ;
30127
30128 if (!args) SWIG_fail;
30129 swig_obj[0] = args;
30130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30131 if (!SWIG_IsOK(res1)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30133 }
30134 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30135 {
30136 PyThreadState* __tstate = wxPyBeginAllowThreads();
30137 (arg1)->CreateControlBar();
30138 wxPyEndAllowThreads(__tstate);
30139 if (PyErr_Occurred()) SWIG_fail;
30140 }
30141 resultobj = SWIG_Py_Void();
30142 return resultobj;
30143 fail:
30144 return NULL;
30145 }
30146
30147
30148 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30149 PyObject *obj;
30150 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30151 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30152 return SWIG_Py_Void();
30153 }
30154
30155 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30156 return SWIG_Python_InitShadowInstance(args);
30157 }
30158
30159 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30160 PyObject *resultobj = 0;
30161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30162 long arg2 ;
30163 wxWindow *arg3 = (wxWindow *) 0 ;
30164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30166 wxSize const &arg5_defvalue = wxDefaultSize ;
30167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30168 long arg6 = (long) 0 ;
30169 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30170 wxString *arg7 = (wxString *) &arg7_defvalue ;
30171 wxPyPreviewControlBar *result = 0 ;
30172 void *argp1 = 0 ;
30173 int res1 = 0 ;
30174 long val2 ;
30175 int ecode2 = 0 ;
30176 void *argp3 = 0 ;
30177 int res3 = 0 ;
30178 wxPoint temp4 ;
30179 wxSize temp5 ;
30180 long val6 ;
30181 int ecode6 = 0 ;
30182 bool temp7 = false ;
30183 PyObject * obj0 = 0 ;
30184 PyObject * obj1 = 0 ;
30185 PyObject * obj2 = 0 ;
30186 PyObject * obj3 = 0 ;
30187 PyObject * obj4 = 0 ;
30188 PyObject * obj5 = 0 ;
30189 PyObject * obj6 = 0 ;
30190 char * kwnames[] = {
30191 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30192 };
30193
30194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30196 if (!SWIG_IsOK(res1)) {
30197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30198 }
30199 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30200 ecode2 = SWIG_AsVal_long(obj1, &val2);
30201 if (!SWIG_IsOK(ecode2)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30203 }
30204 arg2 = static_cast< long >(val2);
30205 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30206 if (!SWIG_IsOK(res3)) {
30207 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30208 }
30209 arg3 = reinterpret_cast< wxWindow * >(argp3);
30210 if (obj3) {
30211 {
30212 arg4 = &temp4;
30213 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30214 }
30215 }
30216 if (obj4) {
30217 {
30218 arg5 = &temp5;
30219 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30220 }
30221 }
30222 if (obj5) {
30223 ecode6 = SWIG_AsVal_long(obj5, &val6);
30224 if (!SWIG_IsOK(ecode6)) {
30225 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30226 }
30227 arg6 = static_cast< long >(val6);
30228 }
30229 if (obj6) {
30230 {
30231 arg7 = wxString_in_helper(obj6);
30232 if (arg7 == NULL) SWIG_fail;
30233 temp7 = true;
30234 }
30235 }
30236 {
30237 if (!wxPyCheckForApp()) SWIG_fail;
30238 PyThreadState* __tstate = wxPyBeginAllowThreads();
30239 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30244 {
30245 if (temp7)
30246 delete arg7;
30247 }
30248 return resultobj;
30249 fail:
30250 {
30251 if (temp7)
30252 delete arg7;
30253 }
30254 return NULL;
30255 }
30256
30257
30258 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30259 PyObject *resultobj = 0;
30260 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30261 PyObject *arg2 = (PyObject *) 0 ;
30262 PyObject *arg3 = (PyObject *) 0 ;
30263 void *argp1 = 0 ;
30264 int res1 = 0 ;
30265 PyObject * obj0 = 0 ;
30266 PyObject * obj1 = 0 ;
30267 PyObject * obj2 = 0 ;
30268 char * kwnames[] = {
30269 (char *) "self",(char *) "self",(char *) "_class", NULL
30270 };
30271
30272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30274 if (!SWIG_IsOK(res1)) {
30275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30276 }
30277 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30278 arg2 = obj1;
30279 arg3 = obj2;
30280 {
30281 PyThreadState* __tstate = wxPyBeginAllowThreads();
30282 (arg1)->_setCallbackInfo(arg2,arg3);
30283 wxPyEndAllowThreads(__tstate);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 resultobj = SWIG_Py_Void();
30287 return resultobj;
30288 fail:
30289 return NULL;
30290 }
30291
30292
30293 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30294 PyObject *resultobj = 0;
30295 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30296 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30297 void *argp1 = 0 ;
30298 int res1 = 0 ;
30299 void *argp2 = 0 ;
30300 int res2 = 0 ;
30301 PyObject * obj0 = 0 ;
30302 PyObject * obj1 = 0 ;
30303 char * kwnames[] = {
30304 (char *) "self",(char *) "preview", NULL
30305 };
30306
30307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30309 if (!SWIG_IsOK(res1)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30311 }
30312 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30313 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30314 if (!SWIG_IsOK(res2)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30316 }
30317 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30318 {
30319 PyThreadState* __tstate = wxPyBeginAllowThreads();
30320 (arg1)->SetPrintPreview(arg2);
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
30324 resultobj = SWIG_Py_Void();
30325 return resultobj;
30326 fail:
30327 return NULL;
30328 }
30329
30330
30331 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30332 PyObject *resultobj = 0;
30333 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30334 void *argp1 = 0 ;
30335 int res1 = 0 ;
30336 PyObject *swig_obj[1] ;
30337
30338 if (!args) SWIG_fail;
30339 swig_obj[0] = args;
30340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30341 if (!SWIG_IsOK(res1)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30343 }
30344 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30345 {
30346 PyThreadState* __tstate = wxPyBeginAllowThreads();
30347 (arg1)->CreateButtons();
30348 wxPyEndAllowThreads(__tstate);
30349 if (PyErr_Occurred()) SWIG_fail;
30350 }
30351 resultobj = SWIG_Py_Void();
30352 return resultobj;
30353 fail:
30354 return NULL;
30355 }
30356
30357
30358 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30359 PyObject *resultobj = 0;
30360 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30361 int arg2 ;
30362 void *argp1 = 0 ;
30363 int res1 = 0 ;
30364 int val2 ;
30365 int ecode2 = 0 ;
30366 PyObject * obj0 = 0 ;
30367 PyObject * obj1 = 0 ;
30368 char * kwnames[] = {
30369 (char *) "self",(char *) "zoom", NULL
30370 };
30371
30372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30374 if (!SWIG_IsOK(res1)) {
30375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30376 }
30377 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30378 ecode2 = SWIG_AsVal_int(obj1, &val2);
30379 if (!SWIG_IsOK(ecode2)) {
30380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30381 }
30382 arg2 = static_cast< int >(val2);
30383 {
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 (arg1)->SetZoomControl(arg2);
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 resultobj = SWIG_Py_Void();
30390 return resultobj;
30391 fail:
30392 return NULL;
30393 }
30394
30395
30396 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30397 PyObject *obj;
30398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30399 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30400 return SWIG_Py_Void();
30401 }
30402
30403 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30404 return SWIG_Python_InitShadowInstance(args);
30405 }
30406
30407 static PyMethodDef SwigMethods[] = {
30408 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30409 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30410 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30411 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30412 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30413 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30414 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30415 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30416 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30417 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30418 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30419 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30420 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30421 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30422 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30423 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30424 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30425 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30426 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30427 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30428 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30429 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30430 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30431 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30432 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30433 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30434 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30435 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30436 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30437 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30438 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30439 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30440 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30441 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30442 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30443 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30444 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30445 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30446 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30447 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30448 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30449 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30450 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30451 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30452 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30453 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30454 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30455 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30456 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30457 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30458 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30459 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30460 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30461 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30462 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30463 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30464 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30465 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30466 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30467 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30468 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30469 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30470 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30471 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30472 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30473 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30474 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30475 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30476 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30477 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30478 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30479 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30480 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30481 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30482 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30483 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30484 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30485 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30486 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30487 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30488 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30489 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30490 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30491 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30492 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30493 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30494 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30495 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30496 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30497 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30498 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30499 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30500 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30501 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30502 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30503 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30504 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30505 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30506 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30507 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30508 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30509 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30510 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30511 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30512 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30513 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30514 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30515 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30516 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30517 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30518 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30519 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30520 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30521 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30522 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30523 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30524 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30525 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30526 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30527 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30528 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30529 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30530 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30531 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30532 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30533 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30534 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30535 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30536 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30537 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30538 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30539 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30540 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30541 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30542 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30543 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30544 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30545 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30546 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30548 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30549 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30550 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30551 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30552 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30553 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30554 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30555 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30557 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30558 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30559 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30561 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30562 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30563 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30564 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30565 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30567 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30568 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30569 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30570 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30571 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30572 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30573 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30574 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30575 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30576 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30578 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30579 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30580 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30581 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30582 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30583 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30584 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30586 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30587 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30588 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30591 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30592 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30594 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30595 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30596 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30598 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30599 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30600 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30601 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30603 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30604 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30605 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30607 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30608 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30609 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30611 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30612 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30614 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30615 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30616 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30618 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30620 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30621 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30622 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30624 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30625 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30627 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30628 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30629 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30630 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30631 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30632 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30633 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30634 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30636 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30638 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30639 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30640 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30641 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30645 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30646 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30648 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30649 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30650 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30651 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30652 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30653 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30654 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30655 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30656 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30657 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30658 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30659 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30660 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30661 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30662 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30667 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30668 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30670 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30671 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30672 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30673 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30674 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30675 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30676 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30678 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30679 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30680 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30682 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30684 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30685 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30686 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30687 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30688 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30690 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30691 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30693 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30694 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30695 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30696 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30699 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30701 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30702 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30703 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30705 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30708 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30709 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30711 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30712 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30715 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30717 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30718 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30719 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30720 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30722 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30723 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30724 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30725 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30726 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30728 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30729 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30731 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30732 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30733 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30734 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30735 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30736 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30737 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30738 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30739 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30741 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30742 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30744 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30745 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30746 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30749 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30750 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30751 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30753 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30754 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30758 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30762 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30763 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30764 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30765 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30766 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30767 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30768 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30769 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30770 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30771 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30774 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30775 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30776 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30778 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30779 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30780 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30781 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30782 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30783 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30784 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30786 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30787 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30789 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30790 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30791 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30792 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30793 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30794 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30795 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30796 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30797 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30798 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30799 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30804 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30806 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30807 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30809 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30810 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30811 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30812 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30814 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30815 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30818 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30819 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30820 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30822 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30823 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30824 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30825 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30829 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30830 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30832 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30833 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30834 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30835 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30839 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30840 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30842 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30844 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30846 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30847 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30849 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30851 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30852 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30853 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30854 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30855 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30856 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30857 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30858 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30859 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30860 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30862 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30864 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30865 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30866 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30868 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30870 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30871 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30873 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30877 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
30881 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
30882 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
30883 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
30884 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
30885 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
30886 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
30887 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
30888 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
30889 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
30891 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30893 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
30899 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
30900 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
30901 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
30902 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
30903 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
30904 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
30905 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
30906 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
30907 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
30909 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
30911 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30912 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
30917 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
30918 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
30919 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
30920 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
30921 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
30922 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
30923 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
30924 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
30925 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
30926 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
30927 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
30928 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
30929 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
30930 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
30931 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
30932 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
30933 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
30934 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
30935 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
30936 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
30937 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
30938 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
30939 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
30951 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
30953 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
30955 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
30956 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
30957 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
30958 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
30964 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
30965 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
30966 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
30967 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
30968 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
30969 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
30970 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
30971 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
30972 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
30973 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
30974 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
30975 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
30976 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
30977 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
30978 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30982 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
30988 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
30989 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
30990 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
30991 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
30993 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
30994 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
30995 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
30996 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
30997 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
30998 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
30999 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31000 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31001 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31002 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31003 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31004 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31005 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31006 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31007 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31008 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31009 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31023 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31024 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31025 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31026 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31027 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31028 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31030 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31031 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31032 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31033 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31034 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31035 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31036 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31037 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31038 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31039 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31041 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31044 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31047 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31048 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31049 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31050 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31051 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31053 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31055 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31056 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31059 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31061 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31063 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31065 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31066 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31069 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31070 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31071 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31072 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31074 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31075 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31076 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31078 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31079 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31081 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31082 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31083 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31084 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31085 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31086 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31088 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31089 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31090 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31091 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31092 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31093 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31094 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31095 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31096 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31097 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31098 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31099 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31101 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31103 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31104 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31107 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31108 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31113 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31115 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31116 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31117 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31118 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31121 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31122 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31123 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31124 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31126 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31127 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31131 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31132 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31133 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31134 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31135 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31136 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31140 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31142 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31143 { NULL, NULL, 0, NULL }
31144 };
31145
31146
31147 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31148
31149 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31150 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31151 }
31152 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31154 }
31155 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31156 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31157 }
31158 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31159 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31160 }
31161 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31162 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31163 }
31164 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31165 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31166 }
31167 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31168 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31169 }
31170 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31171 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31172 }
31173 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31174 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31175 }
31176 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31178 }
31179 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31180 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31181 }
31182 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31184 }
31185 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31186 return (void *)((wxEvent *) ((wxPyEvent *) x));
31187 }
31188 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31189 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31190 }
31191 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31192 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31193 }
31194 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31196 }
31197 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31198 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31199 }
31200 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31201 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31202 }
31203 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31204 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31205 }
31206 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31207 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31208 }
31209 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31210 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31211 }
31212 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31213 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31214 }
31215 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31216 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31217 }
31218 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31220 }
31221 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31222 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31223 }
31224 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31225 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31226 }
31227 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31228 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31229 }
31230 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31231 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31232 }
31233 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31234 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31235 }
31236 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31237 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31238 }
31239 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31240 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31241 }
31242 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31243 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31244 }
31245 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31246 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31247 }
31248 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31250 }
31251 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31252 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31253 }
31254 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31255 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31256 }
31257 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31258 return (void *)((wxEvent *) ((wxShowEvent *) x));
31259 }
31260 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31261 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31262 }
31263 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31264 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31265 }
31266 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31267 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31268 }
31269 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31270 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31271 }
31272 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31273 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31274 }
31275 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31276 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31277 }
31278 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31279 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31280 }
31281 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31282 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31283 }
31284 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31285 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31286 }
31287 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31289 }
31290 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31292 }
31293 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31294 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31295 }
31296 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31297 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31298 }
31299 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31300 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31301 }
31302 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31303 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31304 }
31305 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31306 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31307 }
31308 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31310 }
31311 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31312 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31313 }
31314 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31315 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31316 }
31317 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31318 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31319 }
31320 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31321 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31322 }
31323 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31324 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31325 }
31326 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31327 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31328 }
31329 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31330 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31331 }
31332 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31333 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31334 }
31335 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31336 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31337 }
31338 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31339 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31340 }
31341 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31343 }
31344 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31345 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31346 }
31347 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31348 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31349 }
31350 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31351 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31352 }
31353 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31354 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31355 }
31356 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31357 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31358 }
31359 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31360 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31361 }
31362 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31363 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31364 }
31365 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31366 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31367 }
31368 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31369 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31370 }
31371 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31372 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31373 }
31374 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31375 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31376 }
31377 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31378 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31379 }
31380 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31381 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31382 }
31383 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31384 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31385 }
31386 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31387 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31388 }
31389 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31390 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31391 }
31392 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31394 }
31395 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31396 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31397 }
31398 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31399 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31400 }
31401 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31402 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31403 }
31404 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31405 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31406 }
31407 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31408 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31409 }
31410 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31411 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31412 }
31413 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31414 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31415 }
31416 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31417 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31418 }
31419 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31420 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31421 }
31422 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31423 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31424 }
31425 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31427 }
31428 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31430 }
31431 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31433 }
31434 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31435 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31436 }
31437 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31438 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31439 }
31440 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31441 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31442 }
31443 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31444 return (void *)((wxFrame *) ((wxTipWindow *) x));
31445 }
31446 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31447 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31448 }
31449 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31450 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31451 }
31452 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31453 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31454 }
31455 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31456 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31457 }
31458 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31459 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31460 }
31461 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31462 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31463 }
31464 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31465 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31466 }
31467 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31469 }
31470 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31472 }
31473 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31474 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31475 }
31476 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31477 return (void *)((wxObject *) ((wxSizerItem *) x));
31478 }
31479 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31480 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31481 }
31482 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31483 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31484 }
31485 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31486 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31487 }
31488 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31489 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31490 }
31491 static void *_p_wxSizerTo_p_wxObject(void *x) {
31492 return (void *)((wxObject *) ((wxSizer *) x));
31493 }
31494 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31495 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31496 }
31497 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31499 }
31500 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31502 }
31503 static void *_p_wxEventTo_p_wxObject(void *x) {
31504 return (void *)((wxObject *) ((wxEvent *) x));
31505 }
31506 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31507 return (void *)((wxObject *) ((wxFontData *) x));
31508 }
31509 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31510 return (void *)((wxObject *) ((wxPrintData *) x));
31511 }
31512 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31513 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31514 }
31515 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31516 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31517 }
31518 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31519 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31520 }
31521 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31522 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31523 }
31524 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31525 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31526 }
31527 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31528 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31529 }
31530 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31532 }
31533 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31534 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31535 }
31536 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31537 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31538 }
31539 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31540 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31541 }
31542 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31543 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31544 }
31545 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31546 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31547 }
31548 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31549 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31550 }
31551 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31553 }
31554 static void *_p_wxControlTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31556 }
31557 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31559 }
31560 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31562 }
31563 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) ((wxFSFile *) x));
31565 }
31566 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31568 }
31569 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31571 }
31572 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31574 }
31575 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) ((wxColourData *) x));
31577 }
31578 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31580 }
31581 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31583 }
31584 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31586 }
31587 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31589 }
31590 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31592 }
31593 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31595 }
31596 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31598 }
31599 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31601 }
31602 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31604 }
31605 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31607 }
31608 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31610 }
31611 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31613 }
31614 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31616 }
31617 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) ((wxPrinter *) x));
31619 }
31620 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) ((wxMenuItem *) x));
31622 }
31623 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31625 }
31626 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31628 }
31629 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31631 }
31632 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31634 }
31635 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31637 }
31638 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31640 }
31641 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31643 }
31644 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31646 }
31647 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31649 }
31650 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31652 }
31653 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31655 }
31656 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31658 }
31659 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31661 }
31662 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31664 }
31665 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31667 }
31668 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31670 }
31671 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31673 }
31674 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31676 }
31677 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31679 }
31680 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) ((wxImageHandler *) x));
31682 }
31683 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31685 }
31686 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31688 }
31689 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) ((wxEvtHandler *) x));
31691 }
31692 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31694 }
31695 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31697 }
31698 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31700 }
31701 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31703 }
31704 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31706 }
31707 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31709 }
31710 static void *_p_wxImageTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) ((wxImage *) x));
31712 }
31713 static void *_p_wxFrameTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31715 }
31716 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) ((wxPyPrintout *) x));
31718 }
31719 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31721 }
31722 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31724 }
31725 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31727 }
31728 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31730 }
31731 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31733 }
31734 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31736 }
31737 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31739 }
31740 static void *_p_wxWindowTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31742 }
31743 static void *_p_wxMenuTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31745 }
31746 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31748 }
31749 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31751 }
31752 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31754 }
31755 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31757 }
31758 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31760 }
31761 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31763 }
31764 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31766 }
31767 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31769 }
31770 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31772 }
31773 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31775 }
31776 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31778 }
31779 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31781 }
31782 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31784 }
31785 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31787 }
31788 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) ((wxPrintPreview *) x));
31790 }
31791 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31793 }
31794 static void *_p_wxPanelTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31796 }
31797 static void *_p_wxDialogTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31799 }
31800 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31802 }
31803 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31805 }
31806 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31808 }
31809 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31811 }
31812 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) ((wxPrintDialog *) x));
31814 }
31815 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) ((wxFileSystem *) x));
31817 }
31818 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31820 }
31821 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31823 }
31824 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31826 }
31827 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31829 }
31830 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31832 }
31833 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31835 }
31836 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31838 }
31839 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31841 }
31842 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31844 }
31845 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31847 }
31848 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31850 }
31851 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31853 }
31854 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31856 }
31857 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31859 }
31860 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31862 }
31863 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31865 }
31866 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31868 }
31869 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31871 }
31872 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31873 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31874 }
31875 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31876 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31877 }
31878 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31879 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31880 }
31881 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
31882 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
31883 }
31884 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
31885 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
31886 }
31887 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
31888 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
31889 }
31890 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
31891 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
31892 }
31893 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
31894 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
31895 }
31896 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
31897 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
31898 }
31899 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
31900 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
31901 }
31902 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
31903 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
31904 }
31905 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
31906 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
31907 }
31908 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
31909 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
31910 }
31911 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
31912 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
31913 }
31914 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
31915 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
31916 }
31917 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
31918 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31919 }
31920 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
31921 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
31922 }
31923 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31924 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
31925 }
31926 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
31927 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
31928 }
31929 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
31930 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
31931 }
31932 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
31933 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
31934 }
31935 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
31936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
31937 }
31938 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31939 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
31940 }
31941 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
31942 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31943 }
31944 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
31945 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31946 }
31947 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
31948 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31949 }
31950 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
31951 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
31952 }
31953 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31954 return (void *)((wxWindow *) ((wxMenuBar *) x));
31955 }
31956 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
31957 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31958 }
31959 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
31960 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31961 }
31962 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
31963 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31964 }
31965 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
31966 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31967 }
31968 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
31969 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31970 }
31971 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
31972 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31973 }
31974 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
31975 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31976 }
31977 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
31978 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31979 }
31980 static void *_p_wxPanelTo_p_wxWindow(void *x) {
31981 return (void *)((wxWindow *) ((wxPanel *) x));
31982 }
31983 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
31984 return (void *)((wxWindow *) ((wxStatusBar *) x));
31985 }
31986 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
31987 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
31988 }
31989 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
31990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31991 }
31992 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
31993 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31994 }
31995 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
31996 return (void *)((wxWindow *) ((wxPopupWindow *) x));
31997 }
31998 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
31999 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32000 }
32001 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32002 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32003 }
32004 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32005 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32006 }
32007 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32008 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32009 }
32010 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32011 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32012 }
32013 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32014 return (void *)((wxWindow *) ((wxSashWindow *) x));
32015 }
32016 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32017 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32018 }
32019 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32020 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32021 }
32022 static void *_p_wxControlTo_p_wxWindow(void *x) {
32023 return (void *)((wxWindow *) ((wxControl *) x));
32024 }
32025 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32026 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32027 }
32028 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32029 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32030 }
32031 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32032 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32033 }
32034 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32035 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32036 }
32037 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32038 return (void *)((wxWindow *) ((wxPyWindow *) x));
32039 }
32040 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32041 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32042 }
32043 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32044 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32045 }
32046 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32047 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32048 }
32049 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32050 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32051 }
32052 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32053 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32054 }
32055 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32056 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32057 }
32058 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32059 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32060 }
32061 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32062 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32063 }
32064 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32066 }
32067 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32068 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32069 }
32070 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32072 }
32073 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32074 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32075 }
32076 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32077 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32078 }
32079 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32080 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32081 }
32082 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32083 return (void *)((wxDialog *) ((wxColourDialog *) x));
32084 }
32085 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32086 return (void *)((wxDialog *) ((wxDirDialog *) x));
32087 }
32088 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32089 return (void *)((wxDialog *) ((wxFontDialog *) x));
32090 }
32091 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32092 return (void *)((wxDialog *) ((wxFileDialog *) x));
32093 }
32094 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32095 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32096 }
32097 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32098 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32099 }
32100 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32101 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32102 }
32103 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32104 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32105 }
32106 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32107 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32108 }
32109 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32110 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32111 }
32112 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32113 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32114 }
32115 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32116 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32117 }
32118 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32119 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32120 }
32121 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32122 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32123 }
32124 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32125 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32126 }
32127 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32128 return (void *)((wxPanel *) ((wxPyPanel *) x));
32129 }
32130 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32131 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32132 }
32133 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32134 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32135 }
32136 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32137 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32138 }
32139 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32140 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32141 }
32142 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32143 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32144 }
32145 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32146 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32147 }
32148 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32149 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32150 }
32151 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32152 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32153 }
32154 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32155 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32156 }
32157 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32158 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32159 }
32160 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32161 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32162 }
32163 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32164 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32165 }
32166 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32167 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32168 }
32169 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32170 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32171 }
32172 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32173 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32174 }
32175 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32176 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32177 }
32178 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32179 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32180 }
32181 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32182 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32183 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};
32184 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32185 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32186 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32187 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32188 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32189 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32190 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32191 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32192 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32193 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32194 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32196 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32197 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32198 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32199 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32200 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32201 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32202 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32203 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32204 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32205 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32206 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32207 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32208 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32209 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32210 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32211 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32212 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32213 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32214 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32215 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32216 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32217 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32218 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32219 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32220 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32221 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32222 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32223 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32224 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32225 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32226 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32227 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32228 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32229 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32230 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32231 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32232 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32233 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32234 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32236 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32244 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32292 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32293 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32294 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32295 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32344
32345 static swig_type_info *swig_type_initial[] = {
32346 &_swigt__p_bool,
32347 &_swigt__p_char,
32348 &_swigt__p_form_ops_t,
32349 &_swigt__p_int,
32350 &_swigt__p_unsigned_char,
32351 &_swigt__p_unsigned_int,
32352 &_swigt__p_unsigned_long,
32353 &_swigt__p_wxANIHandler,
32354 &_swigt__p_wxAcceleratorTable,
32355 &_swigt__p_wxActivateEvent,
32356 &_swigt__p_wxArrayInt,
32357 &_swigt__p_wxBMPHandler,
32358 &_swigt__p_wxBitmap,
32359 &_swigt__p_wxBoxSizer,
32360 &_swigt__p_wxCURHandler,
32361 &_swigt__p_wxCalculateLayoutEvent,
32362 &_swigt__p_wxChildFocusEvent,
32363 &_swigt__p_wxClipboardTextEvent,
32364 &_swigt__p_wxCloseEvent,
32365 &_swigt__p_wxColour,
32366 &_swigt__p_wxColourData,
32367 &_swigt__p_wxColourDialog,
32368 &_swigt__p_wxCommandEvent,
32369 &_swigt__p_wxContextMenuEvent,
32370 &_swigt__p_wxControl,
32371 &_swigt__p_wxControlWithItems,
32372 &_swigt__p_wxDC,
32373 &_swigt__p_wxDateEvent,
32374 &_swigt__p_wxDialog,
32375 &_swigt__p_wxDirDialog,
32376 &_swigt__p_wxDisplayChangedEvent,
32377 &_swigt__p_wxDropFilesEvent,
32378 &_swigt__p_wxDuplexMode,
32379 &_swigt__p_wxEraseEvent,
32380 &_swigt__p_wxEvent,
32381 &_swigt__p_wxEvtHandler,
32382 &_swigt__p_wxFSFile,
32383 &_swigt__p_wxFileDialog,
32384 &_swigt__p_wxFileSystem,
32385 &_swigt__p_wxFindDialogEvent,
32386 &_swigt__p_wxFindReplaceData,
32387 &_swigt__p_wxFindReplaceDialog,
32388 &_swigt__p_wxFlexGridSizer,
32389 &_swigt__p_wxFocusEvent,
32390 &_swigt__p_wxFont,
32391 &_swigt__p_wxFontData,
32392 &_swigt__p_wxFontDialog,
32393 &_swigt__p_wxFrame,
32394 &_swigt__p_wxGBSizerItem,
32395 &_swigt__p_wxGIFHandler,
32396 &_swigt__p_wxGridBagSizer,
32397 &_swigt__p_wxGridSizer,
32398 &_swigt__p_wxHtmlLinkInfo,
32399 &_swigt__p_wxICOHandler,
32400 &_swigt__p_wxIcon,
32401 &_swigt__p_wxIconBundle,
32402 &_swigt__p_wxIconizeEvent,
32403 &_swigt__p_wxIdleEvent,
32404 &_swigt__p_wxImage,
32405 &_swigt__p_wxImageHandler,
32406 &_swigt__p_wxIndividualLayoutConstraint,
32407 &_swigt__p_wxInitDialogEvent,
32408 &_swigt__p_wxJPEGHandler,
32409 &_swigt__p_wxKeyEvent,
32410 &_swigt__p_wxLayoutAlgorithm,
32411 &_swigt__p_wxLayoutConstraints,
32412 &_swigt__p_wxMDIChildFrame,
32413 &_swigt__p_wxMDIClientWindow,
32414 &_swigt__p_wxMDIParentFrame,
32415 &_swigt__p_wxMaximizeEvent,
32416 &_swigt__p_wxMenu,
32417 &_swigt__p_wxMenuBar,
32418 &_swigt__p_wxMenuEvent,
32419 &_swigt__p_wxMenuItem,
32420 &_swigt__p_wxMessageDialog,
32421 &_swigt__p_wxMiniFrame,
32422 &_swigt__p_wxMouseCaptureChangedEvent,
32423 &_swigt__p_wxMouseEvent,
32424 &_swigt__p_wxMoveEvent,
32425 &_swigt__p_wxMultiChoiceDialog,
32426 &_swigt__p_wxNavigationKeyEvent,
32427 &_swigt__p_wxNcPaintEvent,
32428 &_swigt__p_wxNotifyEvent,
32429 &_swigt__p_wxObject,
32430 &_swigt__p_wxPCXHandler,
32431 &_swigt__p_wxPNGHandler,
32432 &_swigt__p_wxPNMHandler,
32433 &_swigt__p_wxPageSetupDialog,
32434 &_swigt__p_wxPageSetupDialogData,
32435 &_swigt__p_wxPaintEvent,
32436 &_swigt__p_wxPaletteChangedEvent,
32437 &_swigt__p_wxPanel,
32438 &_swigt__p_wxPaperSize,
32439 &_swigt__p_wxPasswordEntryDialog,
32440 &_swigt__p_wxPoint,
32441 &_swigt__p_wxPopupWindow,
32442 &_swigt__p_wxPreviewCanvas,
32443 &_swigt__p_wxPreviewControlBar,
32444 &_swigt__p_wxPreviewFrame,
32445 &_swigt__p_wxPrintData,
32446 &_swigt__p_wxPrintDialog,
32447 &_swigt__p_wxPrintDialogData,
32448 &_swigt__p_wxPrintPreview,
32449 &_swigt__p_wxPrinter,
32450 &_swigt__p_wxProgressDialog,
32451 &_swigt__p_wxPyApp,
32452 &_swigt__p_wxPyCommandEvent,
32453 &_swigt__p_wxPyEvent,
32454 &_swigt__p_wxPyHtmlListBox,
32455 &_swigt__p_wxPyImageHandler,
32456 &_swigt__p_wxPyPanel,
32457 &_swigt__p_wxPyPopupTransientWindow,
32458 &_swigt__p_wxPyPreviewControlBar,
32459 &_swigt__p_wxPyPreviewFrame,
32460 &_swigt__p_wxPyPrintPreview,
32461 &_swigt__p_wxPyPrintout,
32462 &_swigt__p_wxPyScrolledWindow,
32463 &_swigt__p_wxPySizer,
32464 &_swigt__p_wxPyTaskBarIcon,
32465 &_swigt__p_wxPyVListBox,
32466 &_swigt__p_wxPyVScrolledWindow,
32467 &_swigt__p_wxPyValidator,
32468 &_swigt__p_wxPyWindow,
32469 &_swigt__p_wxQueryLayoutInfoEvent,
32470 &_swigt__p_wxQueryNewPaletteEvent,
32471 &_swigt__p_wxRect,
32472 &_swigt__p_wxRegion,
32473 &_swigt__p_wxSashEvent,
32474 &_swigt__p_wxSashLayoutWindow,
32475 &_swigt__p_wxSashWindow,
32476 &_swigt__p_wxScrollEvent,
32477 &_swigt__p_wxScrollWinEvent,
32478 &_swigt__p_wxScrolledWindow,
32479 &_swigt__p_wxSetCursorEvent,
32480 &_swigt__p_wxShowEvent,
32481 &_swigt__p_wxSingleChoiceDialog,
32482 &_swigt__p_wxSize,
32483 &_swigt__p_wxSizeEvent,
32484 &_swigt__p_wxSizer,
32485 &_swigt__p_wxSizerItem,
32486 &_swigt__p_wxSplashScreen,
32487 &_swigt__p_wxSplashScreenWindow,
32488 &_swigt__p_wxSplitterEvent,
32489 &_swigt__p_wxSplitterWindow,
32490 &_swigt__p_wxStaticBoxSizer,
32491 &_swigt__p_wxStatusBar,
32492 &_swigt__p_wxStdDialogButtonSizer,
32493 &_swigt__p_wxString,
32494 &_swigt__p_wxSysColourChangedEvent,
32495 &_swigt__p_wxTIFFHandler,
32496 &_swigt__p_wxTaskBarIcon,
32497 &_swigt__p_wxTaskBarIconEvent,
32498 &_swigt__p_wxTextEntryDialog,
32499 &_swigt__p_wxTipWindow,
32500 &_swigt__p_wxToolBar,
32501 &_swigt__p_wxTopLevelWindow,
32502 &_swigt__p_wxUpdateUIEvent,
32503 &_swigt__p_wxValidator,
32504 &_swigt__p_wxVisualAttributes,
32505 &_swigt__p_wxWindow,
32506 &_swigt__p_wxWindowCreateEvent,
32507 &_swigt__p_wxWindowDestroyEvent,
32508 &_swigt__p_wxXPMHandler,
32509 };
32510
32511 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32512 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32513 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32514 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32515 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32516 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32517 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32518 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32519 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32533 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}};
32534 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32535 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32540 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32541 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32542 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32545 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32563 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_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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}};
32564 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32569 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_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_wxFileDialog, _p_wxFileDialogTo_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}};
32570 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32578 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}};
32579 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32591 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}};
32592 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32620 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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_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_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_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}};
32621 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32623 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}};
32624 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32627 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}};
32628 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32629 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}};
32630 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}};
32631 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32634 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}};
32635 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32646 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}};
32647 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}};
32648 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32654 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}};
32655 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32656 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}};
32657 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32668 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}};
32669 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32671 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_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}};
32672 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32673 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_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32674
32675 static swig_cast_info *swig_cast_initial[] = {
32676 _swigc__p_bool,
32677 _swigc__p_char,
32678 _swigc__p_form_ops_t,
32679 _swigc__p_int,
32680 _swigc__p_unsigned_char,
32681 _swigc__p_unsigned_int,
32682 _swigc__p_unsigned_long,
32683 _swigc__p_wxANIHandler,
32684 _swigc__p_wxAcceleratorTable,
32685 _swigc__p_wxActivateEvent,
32686 _swigc__p_wxArrayInt,
32687 _swigc__p_wxBMPHandler,
32688 _swigc__p_wxBitmap,
32689 _swigc__p_wxBoxSizer,
32690 _swigc__p_wxCURHandler,
32691 _swigc__p_wxCalculateLayoutEvent,
32692 _swigc__p_wxChildFocusEvent,
32693 _swigc__p_wxClipboardTextEvent,
32694 _swigc__p_wxCloseEvent,
32695 _swigc__p_wxColour,
32696 _swigc__p_wxColourData,
32697 _swigc__p_wxColourDialog,
32698 _swigc__p_wxCommandEvent,
32699 _swigc__p_wxContextMenuEvent,
32700 _swigc__p_wxControl,
32701 _swigc__p_wxControlWithItems,
32702 _swigc__p_wxDC,
32703 _swigc__p_wxDateEvent,
32704 _swigc__p_wxDialog,
32705 _swigc__p_wxDirDialog,
32706 _swigc__p_wxDisplayChangedEvent,
32707 _swigc__p_wxDropFilesEvent,
32708 _swigc__p_wxDuplexMode,
32709 _swigc__p_wxEraseEvent,
32710 _swigc__p_wxEvent,
32711 _swigc__p_wxEvtHandler,
32712 _swigc__p_wxFSFile,
32713 _swigc__p_wxFileDialog,
32714 _swigc__p_wxFileSystem,
32715 _swigc__p_wxFindDialogEvent,
32716 _swigc__p_wxFindReplaceData,
32717 _swigc__p_wxFindReplaceDialog,
32718 _swigc__p_wxFlexGridSizer,
32719 _swigc__p_wxFocusEvent,
32720 _swigc__p_wxFont,
32721 _swigc__p_wxFontData,
32722 _swigc__p_wxFontDialog,
32723 _swigc__p_wxFrame,
32724 _swigc__p_wxGBSizerItem,
32725 _swigc__p_wxGIFHandler,
32726 _swigc__p_wxGridBagSizer,
32727 _swigc__p_wxGridSizer,
32728 _swigc__p_wxHtmlLinkInfo,
32729 _swigc__p_wxICOHandler,
32730 _swigc__p_wxIcon,
32731 _swigc__p_wxIconBundle,
32732 _swigc__p_wxIconizeEvent,
32733 _swigc__p_wxIdleEvent,
32734 _swigc__p_wxImage,
32735 _swigc__p_wxImageHandler,
32736 _swigc__p_wxIndividualLayoutConstraint,
32737 _swigc__p_wxInitDialogEvent,
32738 _swigc__p_wxJPEGHandler,
32739 _swigc__p_wxKeyEvent,
32740 _swigc__p_wxLayoutAlgorithm,
32741 _swigc__p_wxLayoutConstraints,
32742 _swigc__p_wxMDIChildFrame,
32743 _swigc__p_wxMDIClientWindow,
32744 _swigc__p_wxMDIParentFrame,
32745 _swigc__p_wxMaximizeEvent,
32746 _swigc__p_wxMenu,
32747 _swigc__p_wxMenuBar,
32748 _swigc__p_wxMenuEvent,
32749 _swigc__p_wxMenuItem,
32750 _swigc__p_wxMessageDialog,
32751 _swigc__p_wxMiniFrame,
32752 _swigc__p_wxMouseCaptureChangedEvent,
32753 _swigc__p_wxMouseEvent,
32754 _swigc__p_wxMoveEvent,
32755 _swigc__p_wxMultiChoiceDialog,
32756 _swigc__p_wxNavigationKeyEvent,
32757 _swigc__p_wxNcPaintEvent,
32758 _swigc__p_wxNotifyEvent,
32759 _swigc__p_wxObject,
32760 _swigc__p_wxPCXHandler,
32761 _swigc__p_wxPNGHandler,
32762 _swigc__p_wxPNMHandler,
32763 _swigc__p_wxPageSetupDialog,
32764 _swigc__p_wxPageSetupDialogData,
32765 _swigc__p_wxPaintEvent,
32766 _swigc__p_wxPaletteChangedEvent,
32767 _swigc__p_wxPanel,
32768 _swigc__p_wxPaperSize,
32769 _swigc__p_wxPasswordEntryDialog,
32770 _swigc__p_wxPoint,
32771 _swigc__p_wxPopupWindow,
32772 _swigc__p_wxPreviewCanvas,
32773 _swigc__p_wxPreviewControlBar,
32774 _swigc__p_wxPreviewFrame,
32775 _swigc__p_wxPrintData,
32776 _swigc__p_wxPrintDialog,
32777 _swigc__p_wxPrintDialogData,
32778 _swigc__p_wxPrintPreview,
32779 _swigc__p_wxPrinter,
32780 _swigc__p_wxProgressDialog,
32781 _swigc__p_wxPyApp,
32782 _swigc__p_wxPyCommandEvent,
32783 _swigc__p_wxPyEvent,
32784 _swigc__p_wxPyHtmlListBox,
32785 _swigc__p_wxPyImageHandler,
32786 _swigc__p_wxPyPanel,
32787 _swigc__p_wxPyPopupTransientWindow,
32788 _swigc__p_wxPyPreviewControlBar,
32789 _swigc__p_wxPyPreviewFrame,
32790 _swigc__p_wxPyPrintPreview,
32791 _swigc__p_wxPyPrintout,
32792 _swigc__p_wxPyScrolledWindow,
32793 _swigc__p_wxPySizer,
32794 _swigc__p_wxPyTaskBarIcon,
32795 _swigc__p_wxPyVListBox,
32796 _swigc__p_wxPyVScrolledWindow,
32797 _swigc__p_wxPyValidator,
32798 _swigc__p_wxPyWindow,
32799 _swigc__p_wxQueryLayoutInfoEvent,
32800 _swigc__p_wxQueryNewPaletteEvent,
32801 _swigc__p_wxRect,
32802 _swigc__p_wxRegion,
32803 _swigc__p_wxSashEvent,
32804 _swigc__p_wxSashLayoutWindow,
32805 _swigc__p_wxSashWindow,
32806 _swigc__p_wxScrollEvent,
32807 _swigc__p_wxScrollWinEvent,
32808 _swigc__p_wxScrolledWindow,
32809 _swigc__p_wxSetCursorEvent,
32810 _swigc__p_wxShowEvent,
32811 _swigc__p_wxSingleChoiceDialog,
32812 _swigc__p_wxSize,
32813 _swigc__p_wxSizeEvent,
32814 _swigc__p_wxSizer,
32815 _swigc__p_wxSizerItem,
32816 _swigc__p_wxSplashScreen,
32817 _swigc__p_wxSplashScreenWindow,
32818 _swigc__p_wxSplitterEvent,
32819 _swigc__p_wxSplitterWindow,
32820 _swigc__p_wxStaticBoxSizer,
32821 _swigc__p_wxStatusBar,
32822 _swigc__p_wxStdDialogButtonSizer,
32823 _swigc__p_wxString,
32824 _swigc__p_wxSysColourChangedEvent,
32825 _swigc__p_wxTIFFHandler,
32826 _swigc__p_wxTaskBarIcon,
32827 _swigc__p_wxTaskBarIconEvent,
32828 _swigc__p_wxTextEntryDialog,
32829 _swigc__p_wxTipWindow,
32830 _swigc__p_wxToolBar,
32831 _swigc__p_wxTopLevelWindow,
32832 _swigc__p_wxUpdateUIEvent,
32833 _swigc__p_wxValidator,
32834 _swigc__p_wxVisualAttributes,
32835 _swigc__p_wxWindow,
32836 _swigc__p_wxWindowCreateEvent,
32837 _swigc__p_wxWindowDestroyEvent,
32838 _swigc__p_wxXPMHandler,
32839 };
32840
32841
32842 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32843
32844 static swig_const_info swig_const_table[] = {
32845 {0, 0, 0, 0.0, 0, 0}};
32846
32847 #ifdef __cplusplus
32848 }
32849 #endif
32850 /* -----------------------------------------------------------------------------
32851 * Type initialization:
32852 * This problem is tough by the requirement that no dynamic
32853 * memory is used. Also, since swig_type_info structures store pointers to
32854 * swig_cast_info structures and swig_cast_info structures store pointers back
32855 * to swig_type_info structures, we need some lookup code at initialization.
32856 * The idea is that swig generates all the structures that are needed.
32857 * The runtime then collects these partially filled structures.
32858 * The SWIG_InitializeModule function takes these initial arrays out of
32859 * swig_module, and does all the lookup, filling in the swig_module.types
32860 * array with the correct data and linking the correct swig_cast_info
32861 * structures together.
32862 *
32863 * The generated swig_type_info structures are assigned staticly to an initial
32864 * array. We just loop though that array, and handle each type individually.
32865 * First we lookup if this type has been already loaded, and if so, use the
32866 * loaded structure instead of the generated one. Then we have to fill in the
32867 * cast linked list. The cast data is initially stored in something like a
32868 * two-dimensional array. Each row corresponds to a type (there are the same
32869 * number of rows as there are in the swig_type_initial array). Each entry in
32870 * a column is one of the swig_cast_info structures for that type.
32871 * The cast_initial array is actually an array of arrays, because each row has
32872 * a variable number of columns. So to actually build the cast linked list,
32873 * we find the array of casts associated with the type, and loop through it
32874 * adding the casts to the list. The one last trick we need to do is making
32875 * sure the type pointer in the swig_cast_info struct is correct.
32876 *
32877 * First off, we lookup the cast->type name to see if it is already loaded.
32878 * There are three cases to handle:
32879 * 1) If the cast->type has already been loaded AND the type we are adding
32880 * casting info to has not been loaded (it is in this module), THEN we
32881 * replace the cast->type pointer with the type pointer that has already
32882 * been loaded.
32883 * 2) If BOTH types (the one we are adding casting info to, and the
32884 * cast->type) are loaded, THEN the cast info has already been loaded by
32885 * the previous module so we just ignore it.
32886 * 3) Finally, if cast->type has not already been loaded, then we add that
32887 * swig_cast_info to the linked list (because the cast->type) pointer will
32888 * be correct.
32889 * ----------------------------------------------------------------------------- */
32890
32891 #ifdef __cplusplus
32892 extern "C" {
32893 #if 0
32894 } /* c-mode */
32895 #endif
32896 #endif
32897
32898 #if 0
32899 #define SWIGRUNTIME_DEBUG
32900 #endif
32901
32902 SWIGRUNTIME void
32903 SWIG_InitializeModule(void *clientdata) {
32904 size_t i;
32905 swig_module_info *module_head;
32906 static int init_run = 0;
32907
32908 clientdata = clientdata;
32909
32910 if (init_run) return;
32911 init_run = 1;
32912
32913 /* Initialize the swig_module */
32914 swig_module.type_initial = swig_type_initial;
32915 swig_module.cast_initial = swig_cast_initial;
32916
32917 /* Try and load any already created modules */
32918 module_head = SWIG_GetModule(clientdata);
32919 if (module_head) {
32920 swig_module.next = module_head->next;
32921 module_head->next = &swig_module;
32922 } else {
32923 /* This is the first module loaded */
32924 swig_module.next = &swig_module;
32925 SWIG_SetModule(clientdata, &swig_module);
32926 }
32927
32928 /* Now work on filling in swig_module.types */
32929 #ifdef SWIGRUNTIME_DEBUG
32930 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32931 #endif
32932 for (i = 0; i < swig_module.size; ++i) {
32933 swig_type_info *type = 0;
32934 swig_type_info *ret;
32935 swig_cast_info *cast;
32936
32937 #ifdef SWIGRUNTIME_DEBUG
32938 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32939 #endif
32940
32941 /* if there is another module already loaded */
32942 if (swig_module.next != &swig_module) {
32943 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
32944 }
32945 if (type) {
32946 /* Overwrite clientdata field */
32947 #ifdef SWIGRUNTIME_DEBUG
32948 printf("SWIG_InitializeModule: found type %s\n", type->name);
32949 #endif
32950 if (swig_module.type_initial[i]->clientdata) {
32951 type->clientdata = swig_module.type_initial[i]->clientdata;
32952 #ifdef SWIGRUNTIME_DEBUG
32953 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32954 #endif
32955 }
32956 } else {
32957 type = swig_module.type_initial[i];
32958 }
32959
32960 /* Insert casting types */
32961 cast = swig_module.cast_initial[i];
32962 while (cast->type) {
32963 /* Don't need to add information already in the list */
32964 ret = 0;
32965 #ifdef SWIGRUNTIME_DEBUG
32966 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32967 #endif
32968 if (swig_module.next != &swig_module) {
32969 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32970 #ifdef SWIGRUNTIME_DEBUG
32971 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32972 #endif
32973 }
32974 if (ret) {
32975 if (type == swig_module.type_initial[i]) {
32976 #ifdef SWIGRUNTIME_DEBUG
32977 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32978 #endif
32979 cast->type = ret;
32980 ret = 0;
32981 } else {
32982 /* Check for casting already in the list */
32983 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32984 #ifdef SWIGRUNTIME_DEBUG
32985 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32986 #endif
32987 if (!ocast) ret = 0;
32988 }
32989 }
32990
32991 if (!ret) {
32992 #ifdef SWIGRUNTIME_DEBUG
32993 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32994 #endif
32995 if (type->cast) {
32996 type->cast->prev = cast;
32997 cast->next = type->cast;
32998 }
32999 type->cast = cast;
33000 }
33001 cast++;
33002 }
33003 /* Set entry in modules->types array equal to the type */
33004 swig_module.types[i] = type;
33005 }
33006 swig_module.types[i] = 0;
33007
33008 #ifdef SWIGRUNTIME_DEBUG
33009 printf("**** SWIG_InitializeModule: Cast List ******\n");
33010 for (i = 0; i < swig_module.size; ++i) {
33011 int j = 0;
33012 swig_cast_info *cast = swig_module.cast_initial[i];
33013 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33014 while (cast->type) {
33015 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33016 cast++;
33017 ++j;
33018 }
33019 printf("---- Total casts: %d\n",j);
33020 }
33021 printf("**** SWIG_InitializeModule: Cast List ******\n");
33022 #endif
33023 }
33024
33025 /* This function will propagate the clientdata field of type to
33026 * any new swig_type_info structures that have been added into the list
33027 * of equivalent types. It is like calling
33028 * SWIG_TypeClientData(type, clientdata) a second time.
33029 */
33030 SWIGRUNTIME void
33031 SWIG_PropagateClientData(void) {
33032 size_t i;
33033 swig_cast_info *equiv;
33034 static int init_run = 0;
33035
33036 if (init_run) return;
33037 init_run = 1;
33038
33039 for (i = 0; i < swig_module.size; i++) {
33040 if (swig_module.types[i]->clientdata) {
33041 equiv = swig_module.types[i]->cast;
33042 while (equiv) {
33043 if (!equiv->converter) {
33044 if (equiv->type && !equiv->type->clientdata)
33045 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33046 }
33047 equiv = equiv->next;
33048 }
33049 }
33050 }
33051 }
33052
33053 #ifdef __cplusplus
33054 #if 0
33055 {
33056 /* c-mode */
33057 #endif
33058 }
33059 #endif
33060
33061
33062
33063 #ifdef __cplusplus
33064 extern "C" {
33065 #endif
33066
33067 /* Python-specific SWIG API */
33068 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33069 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33070 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33071
33072 /* -----------------------------------------------------------------------------
33073 * global variable support code.
33074 * ----------------------------------------------------------------------------- */
33075
33076 typedef struct swig_globalvar {
33077 char *name; /* Name of global variable */
33078 PyObject *(*get_attr)(void); /* Return the current value */
33079 int (*set_attr)(PyObject *); /* Set the value */
33080 struct swig_globalvar *next;
33081 } swig_globalvar;
33082
33083 typedef struct swig_varlinkobject {
33084 PyObject_HEAD
33085 swig_globalvar *vars;
33086 } swig_varlinkobject;
33087
33088 SWIGINTERN PyObject *
33089 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33090 return PyString_FromString("<Swig global variables>");
33091 }
33092
33093 SWIGINTERN PyObject *
33094 swig_varlink_str(swig_varlinkobject *v) {
33095 PyObject *str = PyString_FromString("(");
33096 swig_globalvar *var;
33097 for (var = v->vars; var; var=var->next) {
33098 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33099 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33100 }
33101 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33102 return str;
33103 }
33104
33105 SWIGINTERN int
33106 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33107 PyObject *str = swig_varlink_str(v);
33108 fprintf(fp,"Swig global variables ");
33109 fprintf(fp,"%s\n", PyString_AsString(str));
33110 Py_DECREF(str);
33111 return 0;
33112 }
33113
33114 SWIGINTERN void
33115 swig_varlink_dealloc(swig_varlinkobject *v) {
33116 swig_globalvar *var = v->vars;
33117 while (var) {
33118 swig_globalvar *n = var->next;
33119 free(var->name);
33120 free(var);
33121 var = n;
33122 }
33123 }
33124
33125 SWIGINTERN PyObject *
33126 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33127 PyObject *res = NULL;
33128 swig_globalvar *var = v->vars;
33129 while (var) {
33130 if (strcmp(var->name,n) == 0) {
33131 res = (*var->get_attr)();
33132 break;
33133 }
33134 var = var->next;
33135 }
33136 if (res == NULL && !PyErr_Occurred()) {
33137 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33138 }
33139 return res;
33140 }
33141
33142 SWIGINTERN int
33143 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33144 int res = 1;
33145 swig_globalvar *var = v->vars;
33146 while (var) {
33147 if (strcmp(var->name,n) == 0) {
33148 res = (*var->set_attr)(p);
33149 break;
33150 }
33151 var = var->next;
33152 }
33153 if (res == 1 && !PyErr_Occurred()) {
33154 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33155 }
33156 return res;
33157 }
33158
33159 SWIGINTERN PyTypeObject*
33160 swig_varlink_type(void) {
33161 static char varlink__doc__[] = "Swig var link object";
33162 static PyTypeObject varlink_type;
33163 static int type_init = 0;
33164 if (!type_init) {
33165 const PyTypeObject tmp
33166 = {
33167 PyObject_HEAD_INIT(NULL)
33168 0, /* Number of items in variable part (ob_size) */
33169 (char *)"swigvarlink", /* Type name (tp_name) */
33170 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33171 0, /* Itemsize (tp_itemsize) */
33172 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33173 (printfunc) swig_varlink_print, /* Print (tp_print) */
33174 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33175 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33176 0, /* tp_compare */
33177 (reprfunc) swig_varlink_repr, /* tp_repr */
33178 0, /* tp_as_number */
33179 0, /* tp_as_sequence */
33180 0, /* tp_as_mapping */
33181 0, /* tp_hash */
33182 0, /* tp_call */
33183 (reprfunc)swig_varlink_str, /* tp_str */
33184 0, /* tp_getattro */
33185 0, /* tp_setattro */
33186 0, /* tp_as_buffer */
33187 0, /* tp_flags */
33188 varlink__doc__, /* tp_doc */
33189 0, /* tp_traverse */
33190 0, /* tp_clear */
33191 0, /* tp_richcompare */
33192 0, /* tp_weaklistoffset */
33193 #if PY_VERSION_HEX >= 0x02020000
33194 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33195 #endif
33196 #if PY_VERSION_HEX >= 0x02030000
33197 0, /* tp_del */
33198 #endif
33199 #ifdef COUNT_ALLOCS
33200 0,0,0,0 /* tp_alloc -> tp_next */
33201 #endif
33202 };
33203 varlink_type = tmp;
33204 varlink_type.ob_type = &PyType_Type;
33205 type_init = 1;
33206 }
33207 return &varlink_type;
33208 }
33209
33210 /* Create a variable linking object for use later */
33211 SWIGINTERN PyObject *
33212 SWIG_Python_newvarlink(void) {
33213 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33214 if (result) {
33215 result->vars = 0;
33216 }
33217 return ((PyObject*) result);
33218 }
33219
33220 SWIGINTERN void
33221 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33222 swig_varlinkobject *v = (swig_varlinkobject *) p;
33223 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33224 if (gv) {
33225 size_t size = strlen(name)+1;
33226 gv->name = (char *)malloc(size);
33227 if (gv->name) {
33228 strncpy(gv->name,name,size);
33229 gv->get_attr = get_attr;
33230 gv->set_attr = set_attr;
33231 gv->next = v->vars;
33232 }
33233 }
33234 v->vars = gv;
33235 }
33236
33237 SWIGINTERN PyObject *
33238 SWIG_globals() {
33239 static PyObject *_SWIG_globals = 0;
33240 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33241 return _SWIG_globals;
33242 }
33243
33244 /* -----------------------------------------------------------------------------
33245 * constants/methods manipulation
33246 * ----------------------------------------------------------------------------- */
33247
33248 /* Install Constants */
33249 SWIGINTERN void
33250 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33251 PyObject *obj = 0;
33252 size_t i;
33253 for (i = 0; constants[i].type; ++i) {
33254 switch(constants[i].type) {
33255 case SWIG_PY_POINTER:
33256 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33257 break;
33258 case SWIG_PY_BINARY:
33259 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33260 break;
33261 default:
33262 obj = 0;
33263 break;
33264 }
33265 if (obj) {
33266 PyDict_SetItemString(d, constants[i].name, obj);
33267 Py_DECREF(obj);
33268 }
33269 }
33270 }
33271
33272 /* -----------------------------------------------------------------------------*/
33273 /* Fix SwigMethods to carry the callback ptrs when needed */
33274 /* -----------------------------------------------------------------------------*/
33275
33276 SWIGINTERN void
33277 SWIG_Python_FixMethods(PyMethodDef *methods,
33278 swig_const_info *const_table,
33279 swig_type_info **types,
33280 swig_type_info **types_initial) {
33281 size_t i;
33282 for (i = 0; methods[i].ml_name; ++i) {
33283 char *c = methods[i].ml_doc;
33284 if (c && (c = strstr(c, "swig_ptr: "))) {
33285 int j;
33286 swig_const_info *ci = 0;
33287 char *name = c + 10;
33288 for (j = 0; const_table[j].type; ++j) {
33289 if (strncmp(const_table[j].name, name,
33290 strlen(const_table[j].name)) == 0) {
33291 ci = &(const_table[j]);
33292 break;
33293 }
33294 }
33295 if (ci) {
33296 size_t shift = (ci->ptype) - types;
33297 swig_type_info *ty = types_initial[shift];
33298 size_t ldoc = (c - methods[i].ml_doc);
33299 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33300 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33301 if (ndoc) {
33302 char *buff = ndoc;
33303 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33304 if (ptr) {
33305 strncpy(buff, methods[i].ml_doc, ldoc);
33306 buff += ldoc;
33307 strncpy(buff, "swig_ptr: ", 10);
33308 buff += 10;
33309 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33310 methods[i].ml_doc = ndoc;
33311 }
33312 }
33313 }
33314 }
33315 }
33316 }
33317
33318 #ifdef __cplusplus
33319 }
33320 #endif
33321
33322 /* -----------------------------------------------------------------------------*
33323 * Partial Init method
33324 * -----------------------------------------------------------------------------*/
33325
33326 #ifdef __cplusplus
33327 extern "C"
33328 #endif
33329 SWIGEXPORT void SWIG_init(void) {
33330 PyObject *m, *d;
33331
33332 /* Fix SwigMethods to carry the callback ptrs when needed */
33333 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33334
33335 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33336 d = PyModule_GetDict(m);
33337
33338 SWIG_InitializeModule(0);
33339 SWIG_InstallConstants(d,swig_const_table);
33340
33341
33342 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33343 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33344 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33345 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33346 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33347 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33348 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33349 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33350 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33351 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33352 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33353 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33354 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33355 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33356 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33357 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33358 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33359 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33360 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33361 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33362 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33363 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33364 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33365 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33366 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33367 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33368 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33369 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33370 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33371 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33372 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33373 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33374 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33375 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33376 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33377 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33378 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33379 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33380 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33381 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33382 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33383 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33384 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33385 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33386 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33387 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33388 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33389 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33390 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33391 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33392 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33393 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33394 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33395 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33396 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33397 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33398 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33399 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33400 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33401 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33402 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33403 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33404 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33405 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33406 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33407 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33408 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33409 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33410 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33411 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33412 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33413 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33414 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33415 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33416 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33417 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33418 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33419 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33420 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33421 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33422 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33423 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33424 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33425 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33426 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33427 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33428 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33429 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33430 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33431 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33432 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33433 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33434 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33435 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33436 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33437 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33438 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33439 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33440 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33441 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33442 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33443 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33444
33445 // Map renamed classes back to their common name for OOR
33446 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33447 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33448 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33449
33450 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33451 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33452 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33453 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33454 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33455 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33456 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33457 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33458 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33459 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33460 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33461 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33462 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33463 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33464 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33465 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33466 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33467 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33468 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33469 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33470 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33471 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33472 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33473 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33474 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33475 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33476 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33477 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33478 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33479 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33480 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33481 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33482 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33483 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33484 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33485 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33486 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33487 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33488 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33489 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33490 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33491 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33492 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33493 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33494 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33495 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33496 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33497 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33498 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33499 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33500 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33501 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33502 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33503 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33504 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33505 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33506 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33507 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33508 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33509 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33510 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33511 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33512 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33513 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33514 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33515 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33516 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33517 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33518 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33519 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33520 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33521 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33522 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33523 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33524 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33525 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33526 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33527 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33528 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33529 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33530 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33531 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33532 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33533 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33534 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33535 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33536 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33537 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33538 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33539 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33540 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33541 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33542 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33543 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33544
33545 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33546
33547 }
33548