]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
4e7de3dece0685ab068d6be00da6b0ed5ed2e03d
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* 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_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50]
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51]
2514 #define SWIGTYPE_p_wxIcon swig_types[52]
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53]
2516 #define SWIGTYPE_p_wxIconizeEvent swig_types[54]
2517 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
2518 #define SWIGTYPE_p_wxImage swig_types[56]
2519 #define SWIGTYPE_p_wxImageHandler swig_types[57]
2520 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[58]
2521 #define SWIGTYPE_p_wxInitDialogEvent swig_types[59]
2522 #define SWIGTYPE_p_wxJPEGHandler swig_types[60]
2523 #define SWIGTYPE_p_wxKeyEvent swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[62]
2525 #define SWIGTYPE_p_wxLayoutConstraints swig_types[63]
2526 #define SWIGTYPE_p_wxMDIChildFrame swig_types[64]
2527 #define SWIGTYPE_p_wxMDIClientWindow swig_types[65]
2528 #define SWIGTYPE_p_wxMDIParentFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMaximizeEvent swig_types[67]
2530 #define SWIGTYPE_p_wxMenu swig_types[68]
2531 #define SWIGTYPE_p_wxMenuBar swig_types[69]
2532 #define SWIGTYPE_p_wxMenuEvent swig_types[70]
2533 #define SWIGTYPE_p_wxMenuItem swig_types[71]
2534 #define SWIGTYPE_p_wxMessageDialog swig_types[72]
2535 #define SWIGTYPE_p_wxMiniFrame swig_types[73]
2536 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMoveEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxObject swig_types[81]
2544 #define SWIGTYPE_p_wxPCXHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNGHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNMHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialog swig_types[85]
2548 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[86]
2549 #define SWIGTYPE_p_wxPaintEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88]
2551 #define SWIGTYPE_p_wxPanel swig_types[89]
2552 #define SWIGTYPE_p_wxPaperSize swig_types[90]
2553 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[91]
2554 #define SWIGTYPE_p_wxPoint swig_types[92]
2555 #define SWIGTYPE_p_wxPopupWindow swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewFrame swig_types[96]
2559 #define SWIGTYPE_p_wxPrintData swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialog swig_types[98]
2561 #define SWIGTYPE_p_wxPrintDialogData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintPreview swig_types[100]
2563 #define SWIGTYPE_p_wxPrinter swig_types[101]
2564 #define SWIGTYPE_p_wxProgressDialog swig_types[102]
2565 #define SWIGTYPE_p_wxPyApp swig_types[103]
2566 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyEvent swig_types[105]
2568 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
2569 #define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPyPanel swig_types[108]
2571 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
2573 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
2575 #define SWIGTYPE_p_wxPyPrintout swig_types[113]
2576 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
2577 #define SWIGTYPE_p_wxPySizer swig_types[115]
2578 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
2579 #define SWIGTYPE_p_wxPyVListBox swig_types[117]
2580 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
2581 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2582 #define SWIGTYPE_p_wxPyWindow swig_types[120]
2583 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
2584 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
2585 #define SWIGTYPE_p_wxRect swig_types[123]
2586 #define SWIGTYPE_p_wxRegion swig_types[124]
2587 #define SWIGTYPE_p_wxSashEvent swig_types[125]
2588 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[126]
2589 #define SWIGTYPE_p_wxSashWindow swig_types[127]
2590 #define SWIGTYPE_p_wxScrollEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrollWinEvent swig_types[129]
2592 #define SWIGTYPE_p_wxScrolledWindow swig_types[130]
2593 #define SWIGTYPE_p_wxSetCursorEvent swig_types[131]
2594 #define SWIGTYPE_p_wxShowEvent swig_types[132]
2595 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[133]
2596 #define SWIGTYPE_p_wxSize swig_types[134]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[135]
2598 #define SWIGTYPE_p_wxSizer swig_types[136]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreen swig_types[138]
2601 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterEvent swig_types[140]
2603 #define SWIGTYPE_p_wxSplitterWindow swig_types[141]
2604 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[142]
2605 #define SWIGTYPE_p_wxStatusBar swig_types[143]
2606 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144]
2607 #define SWIGTYPE_p_wxString swig_types[145]
2608 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146]
2609 #define SWIGTYPE_p_wxTIFFHandler swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIcon swig_types[148]
2611 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149]
2612 #define SWIGTYPE_p_wxTextEntryDialog swig_types[150]
2613 #define SWIGTYPE_p_wxTipWindow swig_types[151]
2614 #define SWIGTYPE_p_wxToolBar swig_types[152]
2615 #define SWIGTYPE_p_wxTopLevelWindow swig_types[153]
2616 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[154]
2617 #define SWIGTYPE_p_wxValidator swig_types[155]
2618 #define SWIGTYPE_p_wxVisualAttributes swig_types[156]
2619 #define SWIGTYPE_p_wxWindow swig_types[157]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[158]
2621 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159]
2622 #define SWIGTYPE_p_wxXPMHandler swig_types[160]
2623 static swig_type_info *swig_types[162];
2624 static swig_module_info swig_module = {swig_types, 161, 0, 0, 0, 0};
2625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627
2628 /* -------- TYPES TABLE (END) -------- */
2629
2630 #if (PY_VERSION_HEX <= 0x02000000)
2631 # if !defined(SWIG_PYTHON_CLASSIC)
2632 # error "This python version requires to use swig with the '-classic' option"
2633 # endif
2634 #endif
2635 #if (PY_VERSION_HEX <= 0x02020000)
2636 # error "This python version requires to use swig with the '-nomodern' option"
2637 #endif
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodernargs' option"
2640 #endif
2641 #ifndef METH_O
2642 # error "This python version requires to use swig with the '-nofastunpack' option"
2643 #endif
2644
2645 /*-----------------------------------------------
2646 @(target):= _windows_.so
2647 ------------------------------------------------*/
2648 #define SWIG_init init_windows_
2649
2650 #define SWIG_name "_windows_"
2651
2652 #define SWIGVERSION 0x010329
2653
2654
2655 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2656 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2657
2658
2659 #include <stdexcept>
2660
2661
2662 namespace swig {
2663 class PyObject_ptr {
2664 protected:
2665 PyObject *_obj;
2666
2667 public:
2668 PyObject_ptr() :_obj(0)
2669 {
2670 }
2671
2672 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2673 {
2674 Py_XINCREF(_obj);
2675 }
2676
2677 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2678 {
2679 if (initial_ref) Py_XINCREF(_obj);
2680 }
2681
2682 PyObject_ptr & operator=(const PyObject_ptr& item)
2683 {
2684 Py_XINCREF(item._obj);
2685 Py_XDECREF(_obj);
2686 _obj = item._obj;
2687 return *this;
2688 }
2689
2690 ~PyObject_ptr()
2691 {
2692 Py_XDECREF(_obj);
2693 }
2694
2695 operator PyObject *() const
2696 {
2697 return _obj;
2698 }
2699
2700 PyObject *operator->() const
2701 {
2702 return _obj;
2703 }
2704 };
2705 }
2706
2707
2708 namespace swig {
2709 struct PyObject_var : PyObject_ptr {
2710 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2711
2712 PyObject_var & operator = (PyObject* obj)
2713 {
2714 Py_XDECREF(_obj);
2715 _obj = obj;
2716 return *this;
2717 }
2718 };
2719 }
2720
2721
2722 #include "wx/wxPython/wxPython.h"
2723 #include "wx/wxPython/pyclasses.h"
2724
2725
2726 static const wxString wxPyEmptyString(wxEmptyString);
2727 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2728
2729
2730
2731 #include <limits.h>
2732 #ifndef LLONG_MIN
2733 # define LLONG_MIN LONG_LONG_MIN
2734 #endif
2735 #ifndef LLONG_MAX
2736 # define LLONG_MAX LONG_LONG_MAX
2737 #endif
2738 #ifndef ULLONG_MAX
2739 # define ULLONG_MAX ULONG_LONG_MAX
2740 #endif
2741
2742
2743 SWIGINTERN int
2744 SWIG_AsVal_long (PyObject* obj, long* val)
2745 {
2746 if (PyNumber_Check(obj)) {
2747 if (val) *val = PyInt_AsLong(obj);
2748 return SWIG_OK;
2749 }
2750 return SWIG_TypeError;
2751 }
2752
2753
2754 SWIGINTERN int
2755 SWIG_AsVal_int (PyObject * obj, int *val)
2756 {
2757 long v;
2758 int res = SWIG_AsVal_long (obj, &v);
2759 if (SWIG_IsOK(res)) {
2760 if ((v < INT_MIN || v > INT_MAX)) {
2761 return SWIG_OverflowError;
2762 } else {
2763 if (val) *val = static_cast< int >(v);
2764 }
2765 }
2766 return res;
2767 }
2768
2769
2770 SWIGINTERN int
2771 SWIG_AsVal_bool (PyObject *obj, bool *val)
2772 {
2773 if (obj == Py_True) {
2774 if (val) *val = true;
2775 return SWIG_OK;
2776 } else if (obj == Py_False) {
2777 if (val) *val = false;
2778 return SWIG_OK;
2779 } else {
2780 long v = 0;
2781 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2782 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2783 return res;
2784 }
2785 }
2786
2787
2788 #define SWIG_From_long PyInt_FromLong
2789
2790
2791 SWIGINTERNINLINE PyObject *
2792 SWIG_From_int (int value)
2793 {
2794 return SWIG_From_long (value);
2795 }
2796
2797
2798 SWIGINTERN int
2799 SWIG_AsVal_double (PyObject *obj, double* val)
2800 {
2801 if (PyNumber_Check(obj)) {
2802 if (val) *val = PyFloat_AsDouble(obj);
2803 return SWIG_OK;
2804 }
2805 return SWIG_TypeError;
2806 }
2807
2808
2809 #define SWIG_From_double PyFloat_FromDouble
2810
2811 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2812 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2813 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2814 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2815 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2816 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2817
2818
2819 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2820 wxRect r;
2821 self->GetFieldRect(i, r);
2822 return r;
2823 }
2824 static const wxString wxPySplitterNameStr(wxT("splitter"));
2825 static const wxString wxPySashNameStr(wxT("sashWindow"));
2826 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2827
2828 #include <wx/popupwin.h>
2829
2830
2831 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2832 {
2833 public:
2834 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2835 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2836 : wxPopupTransientWindow(parent, style) {}
2837
2838 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2839 DEC_PYCALLBACK__(OnDismiss);
2840 DEC_PYCALLBACK_BOOL_(CanDismiss);
2841 PYPRIVATE;
2842 };
2843
2844
2845 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2846 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2847 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2848
2849
2850 #include <wx/tipwin.h>
2851
2852 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2853 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2854 }
2855
2856 #include <wx/tipwin.h>
2857
2858
2859 #include <wx/vscroll.h>
2860
2861
2862 class wxPyVScrolledWindow : public wxVScrolledWindow
2863 {
2864 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2865 public:
2866 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867
2868 wxPyVScrolledWindow(wxWindow *parent,
2869 wxWindowID id = wxID_ANY,
2870 const wxPoint& pos = wxDefaultPosition,
2871 const wxSize& size = wxDefaultSize,
2872 long style = 0,
2873 const wxString& name = wxPyPanelNameStr)
2874 : wxVScrolledWindow(parent, id, pos, size, style, name)
2875 {}
2876
2877 // Overridable virtuals
2878
2879 // this function must be overridden in the derived class and it should
2880 // return the height of the given line in pixels
2881 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2882
2883
2884 // this function doesn't have to be overridden but it may be useful to do
2885 // it if calculating the lines heights is a relatively expensive operation
2886 // as it gives the user code a possibility to calculate several of them at
2887 // once
2888 //
2889 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2890 // shouldn't rely on the latter being called for all lines in the interval
2891 // specified here. It is also possible that OnGetLineHeight() will be
2892 // called for the lines outside of this interval, so this is really just a
2893 // hint, not a promise.
2894 //
2895 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 // usual
2897 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2898
2899
2900 // when the number of lines changes, we try to estimate the total height
2901 // of all lines which is a rather expensive operation in terms of lines
2902 // access, so if the user code may estimate the average height
2903 // better/faster than we do, it should override this function to implement
2904 // its own logic
2905 //
2906 // this function should return the best guess for the total height it may
2907 // make
2908 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2909
2910
2911 // Also expose some other interesting protected methods
2912
2913
2914 // find the index of the line we need to show at the top of the window such
2915 // that the last (fully or partially) visible line is the given one
2916 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2917 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2918
2919 // get the total height of the lines between lineMin (inclusive) and
2920 // lineMax (exclusive)
2921 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2922 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2923
2924
2925 PYPRIVATE;
2926 };
2927
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2929
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2932 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2933
2934
2935 SWIGINTERN int
2936 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2937 {
2938 long v = 0;
2939 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2940 return SWIG_TypeError;
2941 }
2942 else if (val)
2943 *val = (unsigned long)v;
2944 return SWIG_OK;
2945 }
2946
2947
2948 SWIGINTERNINLINE int
2949 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2950 {
2951 unsigned long v;
2952 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2953 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2954 return res;
2955 }
2956
2957
2958 SWIGINTERNINLINE PyObject*
2959 SWIG_From_unsigned_SS_long (unsigned long value)
2960 {
2961 return (value > LONG_MAX) ?
2962 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2963 }
2964
2965
2966 SWIGINTERNINLINE PyObject *
2967 SWIG_From_size_t (size_t value)
2968 {
2969 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2970 }
2971
2972
2973 #include <wx/vlbox.h>
2974
2975 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2976
2977 class wxPyVListBox : public wxVListBox
2978 {
2979 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2980 public:
2981 wxPyVListBox() : wxVListBox() {}
2982
2983 wxPyVListBox(wxWindow *parent,
2984 wxWindowID id = wxID_ANY,
2985 const wxPoint& pos = wxDefaultPosition,
2986 const wxSize& size = wxDefaultSize,
2987 long style = 0,
2988 const wxString& name = wxPyVListBoxNameStr)
2989 : wxVListBox(parent, id, pos, size, style, name)
2990 {}
2991
2992 // Overridable virtuals
2993
2994 // the derived class must implement this function to actually draw the item
2995 // with the given index on the provided DC
2996 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2997 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2998
2999
3000 // the derived class must implement this method to return the height of the
3001 // specified item
3002 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3003 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3004
3005
3006 // this method may be used to draw separators between the lines; note that
3007 // the rectangle may be modified, typically to deflate it a bit before
3008 // passing to OnDrawItem()
3009 //
3010 // the base class version doesn't do anything
3011 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3012 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3013
3014
3015 // this method is used to draw the items background and, maybe, a border
3016 // around it
3017 //
3018 // the base class version implements a reasonable default behaviour which
3019 // consists in drawing the selected item with the standard background
3020 // colour and drawing a border around the item if it is either selected or
3021 // current
3022 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3024
3025
3026 PYPRIVATE;
3027 };
3028
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3030
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3033 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3034 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3035
3036
3037 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3038 unsigned long cookie = 0;
3039 int selected = self->GetFirstSelected(cookie);
3040 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3041 PyObject* tup = PyTuple_New(2);
3042 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3043 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3044 wxPyEndBlockThreads(blocked);
3045 return tup;
3046 }
3047 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3048 int selected = self->GetNextSelected(cookie);
3049 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3050 PyObject* tup = PyTuple_New(2);
3051 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3052 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3053 wxPyEndBlockThreads(blocked);
3054 return tup;
3055 }
3056
3057 #include <wx/htmllbox.h>
3058
3059
3060 class wxPyHtmlListBox : public wxHtmlListBox
3061 {
3062 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3063 public:
3064 wxPyHtmlListBox() : wxHtmlListBox() {}
3065
3066 wxPyHtmlListBox(wxWindow *parent,
3067 wxWindowID id = wxID_ANY,
3068 const wxPoint& pos = wxDefaultPosition,
3069 const wxSize& size = wxDefaultSize,
3070 long style = 0,
3071 const wxString& name = wxPyVListBoxNameStr)
3072 : wxHtmlListBox(parent, id, pos, size, style, name)
3073 {}
3074
3075 // Overridable virtuals
3076
3077 // this method must be implemented in the derived class and should return
3078 // the body (i.e. without <html>) of the HTML for the given item
3079 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3080
3081 // this function may be overridden to decorate HTML returned by OnGetItem()
3082 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3083
3084 // These are from wxVListBox
3085 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3086 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3087
3088 // TODO:
3089 // // this method allows to customize the selection appearance: it may be used
3090 // // to specify the colour of the text which normally has the given colour
3091 // // colFg when it is inside the selection
3092 // //
3093 // // by default, the original colour is not used at all and all text has the
3094 // // same (default for this system) colour inside selection
3095 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3096
3097 // // this is the same as GetSelectedTextColour() but allows to customize the
3098 // // background colour -- this is even more rarely used as you can change it
3099 // // globally using SetSelectionBackground()
3100 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3101
3102
3103 // This method may be overriden to handle clicking on a link in
3104 // the listbox. By default, clicking links is ignored.
3105 virtual void OnLinkClicked(size_t n,
3106 const wxHtmlLinkInfo& link);
3107
3108 PYPRIVATE;
3109 };
3110
3111
3112 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3113
3114 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3115 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3116 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3117 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3118
3119
3120 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3121 const wxHtmlLinkInfo& link) {
3122 bool found;
3123 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3124 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3125 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3126 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3127 Py_DECREF(obj);
3128 }
3129 wxPyEndBlockThreads(blocked);
3130 if (! found)
3131 wxPyHtmlListBox::OnLinkClicked(n, link);
3132 }
3133
3134
3135
3136
3137
3138 #ifndef wxHAS_TASK_BAR_ICON
3139 // implement dummy classes for platforms that don't have it
3140
3141 class wxTaskBarIcon : public wxEvtHandler
3142 {
3143 public:
3144 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3145 };
3146
3147
3148 class wxTaskBarIconEvent : public wxEvent
3149 {
3150 public:
3151 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3152 { wxPyRaiseNotImplemented(); }
3153 virtual wxEvent* Clone() const { return NULL; }
3154 bool IsOk() const { return false; }
3155 bool IsIconInstalled() const { return false; }
3156 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3157 bool RemoveIcon() { return false; }
3158 bool PopupMenu(wxMenu *menu) { return false; }
3159 };
3160
3161 enum {
3162 wxEVT_TASKBAR_MOVE = 0,
3163 wxEVT_TASKBAR_LEFT_DOWN = 0,
3164 wxEVT_TASKBAR_LEFT_UP = 0,
3165 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3166 wxEVT_TASKBAR_RIGHT_UP = 0,
3167 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3168 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3169 };
3170
3171
3172 #else
3173 // Otherwise make a class that can virtualize CreatePopupMenu
3174 class wxPyTaskBarIcon : public wxTaskBarIcon
3175 {
3176 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3177 public:
3178 wxPyTaskBarIcon() : wxTaskBarIcon()
3179 {}
3180
3181 wxMenu* CreatePopupMenu() {
3182 wxMenu *rval = NULL;
3183 bool found;
3184 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3185 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3186 PyObject* ro;
3187 wxMenu* ptr;
3188 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3189 if (ro) {
3190 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3191 rval = ptr;
3192 Py_DECREF(ro);
3193 }
3194 }
3195 wxPyEndBlockThreads(blocked);
3196 if (! found)
3197 rval = wxTaskBarIcon::CreatePopupMenu();
3198 return rval;
3199 }
3200
3201 PYPRIVATE;
3202 };
3203
3204 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3205
3206 #endif
3207
3208 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3209 self->RemoveIcon();
3210 delete self;
3211 }
3212 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3213 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3214 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3215 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3216 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3217 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3218 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3219 wxArrayString arr;
3220 self->GetFilenames(arr);
3221 return wxArrayString2PyList_helper(arr);
3222 }
3223 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3224 wxArrayString arr;
3225 self->GetPaths(arr);
3226 return wxArrayString2PyList_helper(arr);
3227 }
3228 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3229 return wxArrayInt2PyList_helper(self->GetSelections());
3230 }
3231 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){
3232 return new wxSingleChoiceDialog(parent, message, caption,
3233 choices, choices_array, NULL, style, pos);
3234 }
3235 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3236
3237 #include <wx/mdi.h>
3238
3239 // C++ version of Python aware wxWindow
3240 class wxPyWindow : public wxWindow
3241 {
3242 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3243 public:
3244 wxPyWindow() : wxWindow() {}
3245 wxPyWindow(wxWindow* parent, const wxWindowID id,
3246 const wxPoint& pos = wxDefaultPosition,
3247 const wxSize& size = wxDefaultSize,
3248 long style = 0,
3249 const wxString& name = wxPyPanelNameStr)
3250 : wxWindow(parent, id, pos, size, style, name) {}
3251
3252 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3253
3254 bool DoEraseBackground(wxDC* dc) {
3255 #ifdef __WXMSW__
3256 return wxWindow::DoEraseBackground(dc->GetHDC());
3257 #else
3258 dc->SetBackground(wxBrush(GetBackgroundColour()));
3259 dc->Clear();
3260 return true;
3261 #endif
3262 }
3263
3264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3265 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3268
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3272
3273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3275
3276 DEC_PYCALLBACK__(InitDialog);
3277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3279 DEC_PYCALLBACK_BOOL_(Validate);
3280
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3283 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3284
3285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3287
3288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3290
3291 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3292
3293 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3294
3295 PYPRIVATE;
3296 };
3297
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3299
3300 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3301 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3304
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3308
3309 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3310 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3311
3312 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3313 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3314 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3315 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3316
3317 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3318 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3319 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3320
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3323
3324 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3325 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3326
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3328
3329 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3330
3331 // C++ version of Python aware wxPanel
3332 class wxPyPanel : public wxPanel
3333 {
3334 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3335 public:
3336 wxPyPanel() : wxPanel() {}
3337 wxPyPanel(wxWindow* parent, const wxWindowID id,
3338 const wxPoint& pos = wxDefaultPosition,
3339 const wxSize& size = wxDefaultSize,
3340 long style = 0,
3341 const wxString& name = wxPyPanelNameStr)
3342 : wxPanel(parent, id, pos, size, style, name) {}
3343
3344 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3345 bool DoEraseBackground(wxDC* dc) {
3346 #ifdef __WXMSW__
3347 return wxWindow::DoEraseBackground(dc->GetHDC());
3348 #else
3349 dc->SetBackground(wxBrush(GetBackgroundColour()));
3350 dc->Clear();
3351 return true;
3352 #endif
3353 }
3354
3355
3356 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3357 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3358 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3359 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3360
3361 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3362 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3363 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3364
3365 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3366 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3367
3368 DEC_PYCALLBACK__(InitDialog);
3369 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3370 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3371 DEC_PYCALLBACK_BOOL_(Validate);
3372
3373 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3374 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3375 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3376
3377 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3378 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3379
3380 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3381 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3382
3383 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3384
3385 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3386
3387 PYPRIVATE;
3388 };
3389
3390 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3391
3392 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3393 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3394 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3395 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3396
3397 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3398 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3399 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3400
3401 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3402 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3403
3404 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3405 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3406 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3407 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3408
3409 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3410 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3411 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3412
3413 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3414 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3415
3416 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3417 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3418
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3420
3421 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3422
3423 // C++ version of Python aware wxScrolledWindow
3424 class wxPyScrolledWindow : public wxScrolledWindow
3425 {
3426 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3427 public:
3428 wxPyScrolledWindow() : wxScrolledWindow() {}
3429 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3430 const wxPoint& pos = wxDefaultPosition,
3431 const wxSize& size = wxDefaultSize,
3432 long style = 0,
3433 const wxString& name = wxPyPanelNameStr)
3434 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3435
3436 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3437 bool DoEraseBackground(wxDC* dc) {
3438 #ifdef __WXMSW__
3439 return wxWindow::DoEraseBackground(dc->GetHDC());
3440 #else
3441 dc->SetBackground(wxBrush(GetBackgroundColour()));
3442 dc->Clear();
3443 return true;
3444 #endif
3445 }
3446
3447 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3448 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3449 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3450 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3451
3452 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3453 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3454 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3455
3456 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3457 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3458
3459 DEC_PYCALLBACK__(InitDialog);
3460 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3461 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3462 DEC_PYCALLBACK_BOOL_(Validate);
3463
3464 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3465 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3466 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3467
3468 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3469 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3470
3471 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3472 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3473
3474 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3475
3476 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3477
3478 PYPRIVATE;
3479 };
3480
3481 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3482
3483 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3484 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3485 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3486 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3487
3488 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3489 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3490 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3491
3492 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3493 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3494
3495 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3496 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3497 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3498 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3499
3500 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3501 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3502 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3503
3504 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3505 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3506
3507 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3508 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3509
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3511
3512 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3513
3514
3515 #include "wx/wxPython/printfw.h"
3516
3517
3518 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3519 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3520 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3521 PyObject* data;
3522 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3523 data = PyString_FromStringAndSize(self->GetPrivData(),
3524 self->GetPrivDataLen());
3525 wxPyEndBlockThreads(blocked);
3526 return data;
3527 }
3528 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3529 if (! PyString_Check(data)) {
3530 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3531 "Expected string object"));
3532 return /* NULL */ ;
3533 }
3534
3535 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3536 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3537 wxPyEndBlockThreads(blocked);
3538 }
3539
3540
3541 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3542
3543 // Since this one would be tough and ugly to do with the Macros...
3544 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3545 bool hadErr = false;
3546 bool found;
3547
3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3549 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3550 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3551 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3552 PyObject* val;
3553
3554 val = PyTuple_GetItem(result, 0);
3555 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3556 else hadErr = true;
3557
3558 val = PyTuple_GetItem(result, 1);
3559 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3560 else hadErr = true;
3561
3562 val = PyTuple_GetItem(result, 2);
3563 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3564 else hadErr = true;
3565
3566 val = PyTuple_GetItem(result, 3);
3567 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3568 else hadErr = true;
3569 }
3570 else
3571 hadErr = true;
3572
3573 if (hadErr) {
3574 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3575 PyErr_Print();
3576 }
3577 Py_DECREF(result);
3578 }
3579 wxPyEndBlockThreads(blocked);
3580 if (! found)
3581 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3582 }
3583
3584
3585
3586 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3587 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3588 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3589 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3590 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3591 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3592 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3593
3594
3595
3596
3597
3598 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3599 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3600
3601
3602 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3603 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3604 bool rval=false; \
3605 bool found; \
3606 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3607 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3608 PyObject* win = wxPyMake_wxObject(a,false); \
3609 PyObject* dc = wxPyMake_wxObject(&b,false); \
3610 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3611 Py_DECREF(win); \
3612 Py_DECREF(dc); \
3613 } \
3614 wxPyEndBlockThreads(blocked); \
3615 if (! found) \
3616 rval = PCLASS::CBNAME(a, b); \
3617 return rval; \
3618 }
3619
3620
3621
3622
3623 class wxPyPrintPreview : public wxPrintPreview
3624 {
3625 DECLARE_CLASS(wxPyPrintPreview)
3626 public:
3627 wxPyPrintPreview(wxPyPrintout* printout,
3628 wxPyPrintout* printoutForPrinting,
3629 wxPrintDialogData* data=NULL)
3630 : wxPrintPreview(printout, printoutForPrinting, data)
3631 {}
3632 wxPyPrintPreview(wxPyPrintout* printout,
3633 wxPyPrintout* printoutForPrinting,
3634 wxPrintData* data)
3635 : wxPrintPreview(printout, printoutForPrinting, data)
3636 {}
3637
3638 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3639 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3640 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3641 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3642 DEC_PYCALLBACK_VOID_INT(SetZoom);
3643 DEC_PYCALLBACK_BOOL_BOOL(Print);
3644 DEC_PYCALLBACK_VOID_(DetermineScaling);
3645
3646 PYPRIVATE;
3647 };
3648
3649 // Stupid renamed classes... Fix this in 2.5...
3650 #if defined(__WXMSW__)
3651 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3652 #elif defined(__WXMAC__)
3653 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3654 #else
3655 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3656 #endif
3657
3658 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3659 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3660 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3661 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3662 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3663 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3664 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3665
3666
3667 class wxPyPreviewFrame : public wxPreviewFrame
3668 {
3669 DECLARE_CLASS(wxPyPreviewFrame)
3670 public:
3671 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3672 const wxString& title,
3673 const wxPoint& pos = wxDefaultPosition,
3674 const wxSize& size = wxDefaultSize,
3675 long style = wxDEFAULT_FRAME_STYLE,
3676 const wxString& name = wxPyFrameNameStr)
3677 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3678 {}
3679
3680 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3681 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3682
3683 DEC_PYCALLBACK_VOID_(Initialize);
3684 DEC_PYCALLBACK_VOID_(CreateCanvas);
3685 DEC_PYCALLBACK_VOID_(CreateControlBar);
3686
3687 PYPRIVATE;
3688 };
3689
3690 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3691
3692 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3693 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3694 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3695
3696
3697 class wxPyPreviewControlBar : public wxPreviewControlBar
3698 {
3699 DECLARE_CLASS(wxPyPreviewControlBar)
3700 public:
3701 wxPyPreviewControlBar(wxPrintPreview *preview,
3702 long buttons,
3703 wxWindow *parent,
3704 const wxPoint& pos = wxDefaultPosition,
3705 const wxSize& size = wxDefaultSize,
3706 long style = 0,
3707 const wxString& name = wxPyPanelNameStr)
3708 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3709 {}
3710
3711 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3712
3713 DEC_PYCALLBACK_VOID_(CreateButtons);
3714 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3715
3716 PYPRIVATE;
3717 };
3718
3719 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3721 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3722
3723 #ifdef __cplusplus
3724 extern "C" {
3725 #endif
3726 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj = 0;
3728 wxWindow *arg1 = (wxWindow *) 0 ;
3729 int arg2 = (int) (int)-1 ;
3730 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3731 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3732 wxSize const &arg4_defvalue = wxDefaultSize ;
3733 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3734 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3735 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3736 wxString *arg6 = (wxString *) &arg6_defvalue ;
3737 wxPanel *result = 0 ;
3738 void *argp1 = 0 ;
3739 int res1 = 0 ;
3740 int val2 ;
3741 int ecode2 = 0 ;
3742 wxPoint temp3 ;
3743 wxSize temp4 ;
3744 long val5 ;
3745 int ecode5 = 0 ;
3746 bool temp6 = false ;
3747 PyObject * obj0 = 0 ;
3748 PyObject * obj1 = 0 ;
3749 PyObject * obj2 = 0 ;
3750 PyObject * obj3 = 0 ;
3751 PyObject * obj4 = 0 ;
3752 PyObject * obj5 = 0 ;
3753 char * kwnames[] = {
3754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3755 };
3756
3757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3759 if (!SWIG_IsOK(res1)) {
3760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3761 }
3762 arg1 = reinterpret_cast< wxWindow * >(argp1);
3763 if (obj1) {
3764 ecode2 = SWIG_AsVal_int(obj1, &val2);
3765 if (!SWIG_IsOK(ecode2)) {
3766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3767 }
3768 arg2 = static_cast< int >(val2);
3769 }
3770 if (obj2) {
3771 {
3772 arg3 = &temp3;
3773 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3774 }
3775 }
3776 if (obj3) {
3777 {
3778 arg4 = &temp4;
3779 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3780 }
3781 }
3782 if (obj4) {
3783 ecode5 = SWIG_AsVal_long(obj4, &val5);
3784 if (!SWIG_IsOK(ecode5)) {
3785 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3786 }
3787 arg5 = static_cast< long >(val5);
3788 }
3789 if (obj5) {
3790 {
3791 arg6 = wxString_in_helper(obj5);
3792 if (arg6 == NULL) SWIG_fail;
3793 temp6 = true;
3794 }
3795 }
3796 {
3797 if (!wxPyCheckForApp()) SWIG_fail;
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3804 {
3805 if (temp6)
3806 delete arg6;
3807 }
3808 return resultobj;
3809 fail:
3810 {
3811 if (temp6)
3812 delete arg6;
3813 }
3814 return NULL;
3815 }
3816
3817
3818 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3819 PyObject *resultobj = 0;
3820 wxPanel *result = 0 ;
3821
3822 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3823 {
3824 if (!wxPyCheckForApp()) SWIG_fail;
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (wxPanel *)new wxPanel();
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3831 return resultobj;
3832 fail:
3833 return NULL;
3834 }
3835
3836
3837 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj = 0;
3839 wxPanel *arg1 = (wxPanel *) 0 ;
3840 wxWindow *arg2 = (wxWindow *) 0 ;
3841 int arg3 = (int) (int)-1 ;
3842 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3843 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3844 wxSize const &arg5_defvalue = wxDefaultSize ;
3845 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3846 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3847 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3848 wxString *arg7 = (wxString *) &arg7_defvalue ;
3849 bool result;
3850 void *argp1 = 0 ;
3851 int res1 = 0 ;
3852 void *argp2 = 0 ;
3853 int res2 = 0 ;
3854 int val3 ;
3855 int ecode3 = 0 ;
3856 wxPoint temp4 ;
3857 wxSize temp5 ;
3858 long val6 ;
3859 int ecode6 = 0 ;
3860 bool temp7 = false ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 PyObject * obj2 = 0 ;
3864 PyObject * obj3 = 0 ;
3865 PyObject * obj4 = 0 ;
3866 PyObject * obj5 = 0 ;
3867 PyObject * obj6 = 0 ;
3868 char * kwnames[] = {
3869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3870 };
3871
3872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3874 if (!SWIG_IsOK(res1)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3876 }
3877 arg1 = reinterpret_cast< wxPanel * >(argp1);
3878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3879 if (!SWIG_IsOK(res2)) {
3880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3881 }
3882 arg2 = reinterpret_cast< wxWindow * >(argp2);
3883 if (obj2) {
3884 ecode3 = SWIG_AsVal_int(obj2, &val3);
3885 if (!SWIG_IsOK(ecode3)) {
3886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3887 }
3888 arg3 = static_cast< int >(val3);
3889 }
3890 if (obj3) {
3891 {
3892 arg4 = &temp4;
3893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3894 }
3895 }
3896 if (obj4) {
3897 {
3898 arg5 = &temp5;
3899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3900 }
3901 }
3902 if (obj5) {
3903 ecode6 = SWIG_AsVal_long(obj5, &val6);
3904 if (!SWIG_IsOK(ecode6)) {
3905 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3906 }
3907 arg6 = static_cast< long >(val6);
3908 }
3909 if (obj6) {
3910 {
3911 arg7 = wxString_in_helper(obj6);
3912 if (arg7 == NULL) SWIG_fail;
3913 temp7 = true;
3914 }
3915 }
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3924 }
3925 {
3926 if (temp7)
3927 delete arg7;
3928 }
3929 return resultobj;
3930 fail:
3931 {
3932 if (temp7)
3933 delete arg7;
3934 }
3935 return NULL;
3936 }
3937
3938
3939 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3940 PyObject *resultobj = 0;
3941 wxPanel *arg1 = (wxPanel *) 0 ;
3942 void *argp1 = 0 ;
3943 int res1 = 0 ;
3944 PyObject *swig_obj[1] ;
3945
3946 if (!args) SWIG_fail;
3947 swig_obj[0] = args;
3948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3949 if (!SWIG_IsOK(res1)) {
3950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3951 }
3952 arg1 = reinterpret_cast< wxPanel * >(argp1);
3953 {
3954 PyThreadState* __tstate = wxPyBeginAllowThreads();
3955 (arg1)->SetFocusIgnoringChildren();
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 resultobj = SWIG_Py_Void();
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj = 0;
3968 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3969 SwigValueWrapper<wxVisualAttributes > result;
3970 int val1 ;
3971 int ecode1 = 0 ;
3972 PyObject * obj0 = 0 ;
3973 char * kwnames[] = {
3974 (char *) "variant", NULL
3975 };
3976
3977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3978 if (obj0) {
3979 ecode1 = SWIG_AsVal_int(obj0, &val1);
3980 if (!SWIG_IsOK(ecode1)) {
3981 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3982 }
3983 arg1 = static_cast< wxWindowVariant >(val1);
3984 }
3985 {
3986 if (!wxPyCheckForApp()) SWIG_fail;
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 result = wxPanel::GetClassDefaultAttributes(arg1);
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4000 PyObject *obj;
4001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4002 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4003 return SWIG_Py_Void();
4004 }
4005
4006 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4007 return SWIG_Python_InitShadowInstance(args);
4008 }
4009
4010 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj = 0;
4012 wxWindow *arg1 = (wxWindow *) 0 ;
4013 int arg2 = (int) (int)-1 ;
4014 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4015 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4016 wxSize const &arg4_defvalue = wxDefaultSize ;
4017 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4018 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4019 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4020 wxString *arg6 = (wxString *) &arg6_defvalue ;
4021 wxScrolledWindow *result = 0 ;
4022 void *argp1 = 0 ;
4023 int res1 = 0 ;
4024 int val2 ;
4025 int ecode2 = 0 ;
4026 wxPoint temp3 ;
4027 wxSize temp4 ;
4028 long val5 ;
4029 int ecode5 = 0 ;
4030 bool temp6 = false ;
4031 PyObject * obj0 = 0 ;
4032 PyObject * obj1 = 0 ;
4033 PyObject * obj2 = 0 ;
4034 PyObject * obj3 = 0 ;
4035 PyObject * obj4 = 0 ;
4036 PyObject * obj5 = 0 ;
4037 char * kwnames[] = {
4038 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4039 };
4040
4041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4043 if (!SWIG_IsOK(res1)) {
4044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4045 }
4046 arg1 = reinterpret_cast< wxWindow * >(argp1);
4047 if (obj1) {
4048 ecode2 = SWIG_AsVal_int(obj1, &val2);
4049 if (!SWIG_IsOK(ecode2)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4051 }
4052 arg2 = static_cast< int >(val2);
4053 }
4054 if (obj2) {
4055 {
4056 arg3 = &temp3;
4057 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4058 }
4059 }
4060 if (obj3) {
4061 {
4062 arg4 = &temp4;
4063 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4064 }
4065 }
4066 if (obj4) {
4067 ecode5 = SWIG_AsVal_long(obj4, &val5);
4068 if (!SWIG_IsOK(ecode5)) {
4069 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4070 }
4071 arg5 = static_cast< long >(val5);
4072 }
4073 if (obj5) {
4074 {
4075 arg6 = wxString_in_helper(obj5);
4076 if (arg6 == NULL) SWIG_fail;
4077 temp6 = true;
4078 }
4079 }
4080 {
4081 if (!wxPyCheckForApp()) SWIG_fail;
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
4083 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4088 {
4089 if (temp6)
4090 delete arg6;
4091 }
4092 return resultobj;
4093 fail:
4094 {
4095 if (temp6)
4096 delete arg6;
4097 }
4098 return NULL;
4099 }
4100
4101
4102 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4103 PyObject *resultobj = 0;
4104 wxScrolledWindow *result = 0 ;
4105
4106 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4107 {
4108 if (!wxPyCheckForApp()) SWIG_fail;
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 result = (wxScrolledWindow *)new wxScrolledWindow();
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4115 return resultobj;
4116 fail:
4117 return NULL;
4118 }
4119
4120
4121 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj = 0;
4123 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4124 wxWindow *arg2 = (wxWindow *) 0 ;
4125 int arg3 = (int) (int)-1 ;
4126 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4127 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4128 wxSize const &arg5_defvalue = wxDefaultSize ;
4129 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4130 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4131 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4132 wxString *arg7 = (wxString *) &arg7_defvalue ;
4133 bool result;
4134 void *argp1 = 0 ;
4135 int res1 = 0 ;
4136 void *argp2 = 0 ;
4137 int res2 = 0 ;
4138 int val3 ;
4139 int ecode3 = 0 ;
4140 wxPoint temp4 ;
4141 wxSize temp5 ;
4142 long val6 ;
4143 int ecode6 = 0 ;
4144 bool temp7 = false ;
4145 PyObject * obj0 = 0 ;
4146 PyObject * obj1 = 0 ;
4147 PyObject * obj2 = 0 ;
4148 PyObject * obj3 = 0 ;
4149 PyObject * obj4 = 0 ;
4150 PyObject * obj5 = 0 ;
4151 PyObject * obj6 = 0 ;
4152 char * kwnames[] = {
4153 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4154 };
4155
4156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4158 if (!SWIG_IsOK(res1)) {
4159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4160 }
4161 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4163 if (!SWIG_IsOK(res2)) {
4164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4165 }
4166 arg2 = reinterpret_cast< wxWindow * >(argp2);
4167 if (obj2) {
4168 ecode3 = SWIG_AsVal_int(obj2, &val3);
4169 if (!SWIG_IsOK(ecode3)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4171 }
4172 arg3 = static_cast< int >(val3);
4173 }
4174 if (obj3) {
4175 {
4176 arg4 = &temp4;
4177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4178 }
4179 }
4180 if (obj4) {
4181 {
4182 arg5 = &temp5;
4183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4184 }
4185 }
4186 if (obj5) {
4187 ecode6 = SWIG_AsVal_long(obj5, &val6);
4188 if (!SWIG_IsOK(ecode6)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4190 }
4191 arg6 = static_cast< long >(val6);
4192 }
4193 if (obj6) {
4194 {
4195 arg7 = wxString_in_helper(obj6);
4196 if (arg7 == NULL) SWIG_fail;
4197 temp7 = true;
4198 }
4199 }
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 {
4207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4208 }
4209 {
4210 if (temp7)
4211 delete arg7;
4212 }
4213 return resultobj;
4214 fail:
4215 {
4216 if (temp7)
4217 delete arg7;
4218 }
4219 return NULL;
4220 }
4221
4222
4223 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj = 0;
4225 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4226 int arg2 ;
4227 int arg3 ;
4228 int arg4 ;
4229 int arg5 ;
4230 int arg6 = (int) 0 ;
4231 int arg7 = (int) 0 ;
4232 bool arg8 = (bool) false ;
4233 void *argp1 = 0 ;
4234 int res1 = 0 ;
4235 int val2 ;
4236 int ecode2 = 0 ;
4237 int val3 ;
4238 int ecode3 = 0 ;
4239 int val4 ;
4240 int ecode4 = 0 ;
4241 int val5 ;
4242 int ecode5 = 0 ;
4243 int val6 ;
4244 int ecode6 = 0 ;
4245 int val7 ;
4246 int ecode7 = 0 ;
4247 bool val8 ;
4248 int ecode8 = 0 ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4251 PyObject * obj2 = 0 ;
4252 PyObject * obj3 = 0 ;
4253 PyObject * obj4 = 0 ;
4254 PyObject * obj5 = 0 ;
4255 PyObject * obj6 = 0 ;
4256 PyObject * obj7 = 0 ;
4257 char * kwnames[] = {
4258 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4259 };
4260
4261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4263 if (!SWIG_IsOK(res1)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4265 }
4266 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4267 ecode2 = SWIG_AsVal_int(obj1, &val2);
4268 if (!SWIG_IsOK(ecode2)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4270 }
4271 arg2 = static_cast< int >(val2);
4272 ecode3 = SWIG_AsVal_int(obj2, &val3);
4273 if (!SWIG_IsOK(ecode3)) {
4274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4275 }
4276 arg3 = static_cast< int >(val3);
4277 ecode4 = SWIG_AsVal_int(obj3, &val4);
4278 if (!SWIG_IsOK(ecode4)) {
4279 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4280 }
4281 arg4 = static_cast< int >(val4);
4282 ecode5 = SWIG_AsVal_int(obj4, &val5);
4283 if (!SWIG_IsOK(ecode5)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4285 }
4286 arg5 = static_cast< int >(val5);
4287 if (obj5) {
4288 ecode6 = SWIG_AsVal_int(obj5, &val6);
4289 if (!SWIG_IsOK(ecode6)) {
4290 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4291 }
4292 arg6 = static_cast< int >(val6);
4293 }
4294 if (obj6) {
4295 ecode7 = SWIG_AsVal_int(obj6, &val7);
4296 if (!SWIG_IsOK(ecode7)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4298 }
4299 arg7 = static_cast< int >(val7);
4300 }
4301 if (obj7) {
4302 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4303 if (!SWIG_IsOK(ecode8)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4305 }
4306 arg8 = static_cast< bool >(val8);
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 resultobj = SWIG_Py_Void();
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj = 0;
4323 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4324 int arg2 ;
4325 int arg3 ;
4326 void *argp1 = 0 ;
4327 int res1 = 0 ;
4328 int val2 ;
4329 int ecode2 = 0 ;
4330 int val3 ;
4331 int ecode3 = 0 ;
4332 PyObject * obj0 = 0 ;
4333 PyObject * obj1 = 0 ;
4334 PyObject * obj2 = 0 ;
4335 char * kwnames[] = {
4336 (char *) "self",(char *) "x",(char *) "y", NULL
4337 };
4338
4339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4341 if (!SWIG_IsOK(res1)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4343 }
4344 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4345 ecode2 = SWIG_AsVal_int(obj1, &val2);
4346 if (!SWIG_IsOK(ecode2)) {
4347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4348 }
4349 arg2 = static_cast< int >(val2);
4350 ecode3 = SWIG_AsVal_int(obj2, &val3);
4351 if (!SWIG_IsOK(ecode3)) {
4352 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4353 }
4354 arg3 = static_cast< int >(val3);
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 (arg1)->Scroll(arg2,arg3);
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 resultobj = SWIG_Py_Void();
4362 return resultobj;
4363 fail:
4364 return NULL;
4365 }
4366
4367
4368 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj = 0;
4370 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4371 int arg2 ;
4372 int result;
4373 void *argp1 = 0 ;
4374 int res1 = 0 ;
4375 int val2 ;
4376 int ecode2 = 0 ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 char * kwnames[] = {
4380 (char *) "self",(char *) "orient", NULL
4381 };
4382
4383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4385 if (!SWIG_IsOK(res1)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4387 }
4388 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4389 ecode2 = SWIG_AsVal_int(obj1, &val2);
4390 if (!SWIG_IsOK(ecode2)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4392 }
4393 arg2 = static_cast< int >(val2);
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 resultobj = SWIG_From_int(static_cast< int >(result));
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj = 0;
4409 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4410 int arg2 ;
4411 int arg3 ;
4412 void *argp1 = 0 ;
4413 int res1 = 0 ;
4414 int val2 ;
4415 int ecode2 = 0 ;
4416 int val3 ;
4417 int ecode3 = 0 ;
4418 PyObject * obj0 = 0 ;
4419 PyObject * obj1 = 0 ;
4420 PyObject * obj2 = 0 ;
4421 char * kwnames[] = {
4422 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4423 };
4424
4425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4427 if (!SWIG_IsOK(res1)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4429 }
4430 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4431 ecode2 = SWIG_AsVal_int(obj1, &val2);
4432 if (!SWIG_IsOK(ecode2)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4434 }
4435 arg2 = static_cast< int >(val2);
4436 ecode3 = SWIG_AsVal_int(obj2, &val3);
4437 if (!SWIG_IsOK(ecode3)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4439 }
4440 arg3 = static_cast< int >(val3);
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 (arg1)->SetScrollPageSize(arg2,arg3);
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 resultobj = SWIG_Py_Void();
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj = 0;
4456 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4457 int arg2 ;
4458 int arg3 ;
4459 void *argp1 = 0 ;
4460 int res1 = 0 ;
4461 int val2 ;
4462 int ecode2 = 0 ;
4463 int val3 ;
4464 int ecode3 = 0 ;
4465 PyObject * obj0 = 0 ;
4466 PyObject * obj1 = 0 ;
4467 PyObject * obj2 = 0 ;
4468 char * kwnames[] = {
4469 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4470 };
4471
4472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4474 if (!SWIG_IsOK(res1)) {
4475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4476 }
4477 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4478 ecode2 = SWIG_AsVal_int(obj1, &val2);
4479 if (!SWIG_IsOK(ecode2)) {
4480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4481 }
4482 arg2 = static_cast< int >(val2);
4483 ecode3 = SWIG_AsVal_int(obj2, &val3);
4484 if (!SWIG_IsOK(ecode3)) {
4485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4486 }
4487 arg3 = static_cast< int >(val3);
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 (arg1)->SetScrollRate(arg2,arg3);
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 resultobj = SWIG_Py_Void();
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4502 PyObject *resultobj = 0;
4503 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4504 int *arg2 = (int *) 0 ;
4505 int *arg3 = (int *) 0 ;
4506 void *argp1 = 0 ;
4507 int res1 = 0 ;
4508 int temp2 ;
4509 int res2 = SWIG_TMPOBJ ;
4510 int temp3 ;
4511 int res3 = SWIG_TMPOBJ ;
4512 PyObject *swig_obj[1] ;
4513
4514 arg2 = &temp2;
4515 arg3 = &temp3;
4516 if (!args) SWIG_fail;
4517 swig_obj[0] = args;
4518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4519 if (!SWIG_IsOK(res1)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4521 }
4522 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 resultobj = SWIG_Py_Void();
4530 if (SWIG_IsTmpObj(res2)) {
4531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4532 } else {
4533 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4535 }
4536 if (SWIG_IsTmpObj(res3)) {
4537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4538 } else {
4539 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4541 }
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj = 0;
4550 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4551 bool arg2 ;
4552 bool arg3 ;
4553 void *argp1 = 0 ;
4554 int res1 = 0 ;
4555 bool val2 ;
4556 int ecode2 = 0 ;
4557 bool val3 ;
4558 int ecode3 = 0 ;
4559 PyObject * obj0 = 0 ;
4560 PyObject * obj1 = 0 ;
4561 PyObject * obj2 = 0 ;
4562 char * kwnames[] = {
4563 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4564 };
4565
4566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4568 if (!SWIG_IsOK(res1)) {
4569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4570 }
4571 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4572 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4573 if (!SWIG_IsOK(ecode2)) {
4574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4575 }
4576 arg2 = static_cast< bool >(val2);
4577 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4578 if (!SWIG_IsOK(ecode3)) {
4579 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4580 }
4581 arg3 = static_cast< bool >(val3);
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 (arg1)->EnableScrolling(arg2,arg3);
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 resultobj = SWIG_Py_Void();
4589 return resultobj;
4590 fail:
4591 return NULL;
4592 }
4593
4594
4595 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4596 PyObject *resultobj = 0;
4597 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4598 int *arg2 = (int *) 0 ;
4599 int *arg3 = (int *) 0 ;
4600 void *argp1 = 0 ;
4601 int res1 = 0 ;
4602 int temp2 ;
4603 int res2 = SWIG_TMPOBJ ;
4604 int temp3 ;
4605 int res3 = SWIG_TMPOBJ ;
4606 PyObject *swig_obj[1] ;
4607
4608 arg2 = &temp2;
4609 arg3 = &temp3;
4610 if (!args) SWIG_fail;
4611 swig_obj[0] = args;
4612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4613 if (!SWIG_IsOK(res1)) {
4614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4615 }
4616 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_Py_Void();
4624 if (SWIG_IsTmpObj(res2)) {
4625 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4626 } else {
4627 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4628 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4629 }
4630 if (SWIG_IsTmpObj(res3)) {
4631 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4632 } else {
4633 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4634 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4635 }
4636 return resultobj;
4637 fail:
4638 return NULL;
4639 }
4640
4641
4642 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj = 0;
4644 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4645 double arg2 ;
4646 double arg3 ;
4647 void *argp1 = 0 ;
4648 int res1 = 0 ;
4649 double val2 ;
4650 int ecode2 = 0 ;
4651 double val3 ;
4652 int ecode3 = 0 ;
4653 PyObject * obj0 = 0 ;
4654 PyObject * obj1 = 0 ;
4655 PyObject * obj2 = 0 ;
4656 char * kwnames[] = {
4657 (char *) "self",(char *) "xs",(char *) "ys", NULL
4658 };
4659
4660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4662 if (!SWIG_IsOK(res1)) {
4663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4664 }
4665 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4666 ecode2 = SWIG_AsVal_double(obj1, &val2);
4667 if (!SWIG_IsOK(ecode2)) {
4668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4669 }
4670 arg2 = static_cast< double >(val2);
4671 ecode3 = SWIG_AsVal_double(obj2, &val3);
4672 if (!SWIG_IsOK(ecode3)) {
4673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4674 }
4675 arg3 = static_cast< double >(val3);
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->SetScale(arg2,arg3);
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 resultobj = SWIG_Py_Void();
4683 return resultobj;
4684 fail:
4685 return NULL;
4686 }
4687
4688
4689 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4690 PyObject *resultobj = 0;
4691 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4692 double result;
4693 void *argp1 = 0 ;
4694 int res1 = 0 ;
4695 PyObject *swig_obj[1] ;
4696
4697 if (!args) SWIG_fail;
4698 swig_obj[0] = args;
4699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4700 if (!SWIG_IsOK(res1)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4702 }
4703 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 resultobj = SWIG_From_double(static_cast< double >(result));
4711 return resultobj;
4712 fail:
4713 return NULL;
4714 }
4715
4716
4717 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4718 PyObject *resultobj = 0;
4719 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4720 double result;
4721 void *argp1 = 0 ;
4722 int res1 = 0 ;
4723 PyObject *swig_obj[1] ;
4724
4725 if (!args) SWIG_fail;
4726 swig_obj[0] = args;
4727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4728 if (!SWIG_IsOK(res1)) {
4729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4730 }
4731 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4732 {
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 resultobj = SWIG_From_double(static_cast< double >(result));
4739 return resultobj;
4740 fail:
4741 return NULL;
4742 }
4743
4744
4745 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4746 PyObject *resultobj = 0;
4747 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4748 wxPoint *arg2 = 0 ;
4749 wxPoint result;
4750 void *argp1 = 0 ;
4751 int res1 = 0 ;
4752 wxPoint temp2 ;
4753
4754 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4756 if (!SWIG_IsOK(res1)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4758 }
4759 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4760 {
4761 arg2 = &temp2;
4762 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4778 PyObject *resultobj = 0;
4779 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4780 int arg2 ;
4781 int arg3 ;
4782 int *arg4 = (int *) 0 ;
4783 int *arg5 = (int *) 0 ;
4784 void *argp1 = 0 ;
4785 int res1 = 0 ;
4786 int val2 ;
4787 int ecode2 = 0 ;
4788 int val3 ;
4789 int ecode3 = 0 ;
4790 int temp4 ;
4791 int res4 = SWIG_TMPOBJ ;
4792 int temp5 ;
4793 int res5 = SWIG_TMPOBJ ;
4794
4795 arg4 = &temp4;
4796 arg5 = &temp5;
4797 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4798 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4799 if (!SWIG_IsOK(res1)) {
4800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4801 }
4802 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4803 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4804 if (!SWIG_IsOK(ecode2)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4806 }
4807 arg2 = static_cast< int >(val2);
4808 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4809 if (!SWIG_IsOK(ecode3)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4811 }
4812 arg3 = static_cast< int >(val3);
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4816 wxPyEndAllowThreads(__tstate);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 resultobj = SWIG_Py_Void();
4820 if (SWIG_IsTmpObj(res4)) {
4821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4822 } else {
4823 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4825 }
4826 if (SWIG_IsTmpObj(res5)) {
4827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4828 } else {
4829 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4830 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4831 }
4832 return resultobj;
4833 fail:
4834 return NULL;
4835 }
4836
4837
4838 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4839 int argc;
4840 PyObject *argv[4];
4841
4842 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4843 --argc;
4844 if (argc == 2) {
4845 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4846 }
4847 if (argc == 3) {
4848 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4849 }
4850
4851 fail:
4852 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4853 return NULL;
4854 }
4855
4856
4857 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4858 PyObject *resultobj = 0;
4859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4860 wxPoint *arg2 = 0 ;
4861 wxPoint result;
4862 void *argp1 = 0 ;
4863 int res1 = 0 ;
4864 wxPoint temp2 ;
4865
4866 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4868 if (!SWIG_IsOK(res1)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4870 }
4871 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4872 {
4873 arg2 = &temp2;
4874 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4883 return resultobj;
4884 fail:
4885 return NULL;
4886 }
4887
4888
4889 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4890 PyObject *resultobj = 0;
4891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4892 int arg2 ;
4893 int arg3 ;
4894 int *arg4 = (int *) 0 ;
4895 int *arg5 = (int *) 0 ;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 int val2 ;
4899 int ecode2 = 0 ;
4900 int val3 ;
4901 int ecode3 = 0 ;
4902 int temp4 ;
4903 int res4 = SWIG_TMPOBJ ;
4904 int temp5 ;
4905 int res5 = SWIG_TMPOBJ ;
4906
4907 arg4 = &temp4;
4908 arg5 = &temp5;
4909 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4911 if (!SWIG_IsOK(res1)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4913 }
4914 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4915 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4916 if (!SWIG_IsOK(ecode2)) {
4917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4918 }
4919 arg2 = static_cast< int >(val2);
4920 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4921 if (!SWIG_IsOK(ecode3)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4923 }
4924 arg3 = static_cast< int >(val3);
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 resultobj = SWIG_Py_Void();
4932 if (SWIG_IsTmpObj(res4)) {
4933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4934 } else {
4935 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4936 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4937 }
4938 if (SWIG_IsTmpObj(res5)) {
4939 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4940 } else {
4941 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4942 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4943 }
4944 return resultobj;
4945 fail:
4946 return NULL;
4947 }
4948
4949
4950 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4951 int argc;
4952 PyObject *argv[4];
4953
4954 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4955 --argc;
4956 if (argc == 2) {
4957 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4958 }
4959 if (argc == 3) {
4960 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4961 }
4962
4963 fail:
4964 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4965 return NULL;
4966 }
4967
4968
4969 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4970 PyObject *resultobj = 0;
4971 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4972 void *argp1 = 0 ;
4973 int res1 = 0 ;
4974 PyObject *swig_obj[1] ;
4975
4976 if (!args) SWIG_fail;
4977 swig_obj[0] = args;
4978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4979 if (!SWIG_IsOK(res1)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4981 }
4982 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 (arg1)->AdjustScrollbars();
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 resultobj = SWIG_Py_Void();
4990 return resultobj;
4991 fail:
4992 return NULL;
4993 }
4994
4995
4996 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj = 0;
4998 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4999 wxScrollWinEvent *arg2 = 0 ;
5000 int result;
5001 void *argp1 = 0 ;
5002 int res1 = 0 ;
5003 void *argp2 = 0 ;
5004 int res2 = 0 ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 char * kwnames[] = {
5008 (char *) "self",(char *) "event", NULL
5009 };
5010
5011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5013 if (!SWIG_IsOK(res1)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5015 }
5016 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5017 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5018 if (!SWIG_IsOK(res2)) {
5019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5020 }
5021 if (!argp2) {
5022 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5023 }
5024 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 result = (int)(arg1)->CalcScrollInc(*arg2);
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 resultobj = SWIG_From_int(static_cast< int >(result));
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj = 0;
5040 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5041 wxWindow *arg2 = (wxWindow *) 0 ;
5042 void *argp1 = 0 ;
5043 int res1 = 0 ;
5044 void *argp2 = 0 ;
5045 int res2 = 0 ;
5046 PyObject * obj0 = 0 ;
5047 PyObject * obj1 = 0 ;
5048 char * kwnames[] = {
5049 (char *) "self",(char *) "target", NULL
5050 };
5051
5052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5054 if (!SWIG_IsOK(res1)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5056 }
5057 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5059 if (!SWIG_IsOK(res2)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5061 }
5062 arg2 = reinterpret_cast< wxWindow * >(argp2);
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 (arg1)->SetTargetWindow(arg2);
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 resultobj = SWIG_Py_Void();
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5077 PyObject *resultobj = 0;
5078 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5079 wxWindow *result = 0 ;
5080 void *argp1 = 0 ;
5081 int res1 = 0 ;
5082 PyObject *swig_obj[1] ;
5083
5084 if (!args) SWIG_fail;
5085 swig_obj[0] = args;
5086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5087 if (!SWIG_IsOK(res1)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5089 }
5090 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
5098 resultobj = wxPyMake_wxObject(result, 0);
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = 0;
5108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5109 wxDC *arg2 = 0 ;
5110 void *argp1 = 0 ;
5111 int res1 = 0 ;
5112 void *argp2 = 0 ;
5113 int res2 = 0 ;
5114 PyObject * obj0 = 0 ;
5115 PyObject * obj1 = 0 ;
5116 char * kwnames[] = {
5117 (char *) "self",(char *) "dc", NULL
5118 };
5119
5120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5122 if (!SWIG_IsOK(res1)) {
5123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5124 }
5125 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5126 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5127 if (!SWIG_IsOK(res2)) {
5128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5129 }
5130 if (!argp2) {
5131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5132 }
5133 arg2 = reinterpret_cast< wxDC * >(argp2);
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 (arg1)->DoPrepareDC(*arg2);
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 resultobj = SWIG_Py_Void();
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj = 0;
5149 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5150 SwigValueWrapper<wxVisualAttributes > result;
5151 int val1 ;
5152 int ecode1 = 0 ;
5153 PyObject * obj0 = 0 ;
5154 char * kwnames[] = {
5155 (char *) "variant", NULL
5156 };
5157
5158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5159 if (obj0) {
5160 ecode1 = SWIG_AsVal_int(obj0, &val1);
5161 if (!SWIG_IsOK(ecode1)) {
5162 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5163 }
5164 arg1 = static_cast< wxWindowVariant >(val1);
5165 }
5166 {
5167 if (!wxPyCheckForApp()) SWIG_fail;
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5181 PyObject *obj;
5182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5183 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5184 return SWIG_Py_Void();
5185 }
5186
5187 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5188 return SWIG_Python_InitShadowInstance(args);
5189 }
5190
5191 SWIGINTERN int FrameNameStr_set(PyObject *) {
5192 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5193 return 1;
5194 }
5195
5196
5197 SWIGINTERN PyObject *FrameNameStr_get(void) {
5198 PyObject *pyobj = 0;
5199
5200 {
5201 #if wxUSE_UNICODE
5202 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5203 #else
5204 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5205 #endif
5206 }
5207 return pyobj;
5208 }
5209
5210
5211 SWIGINTERN int DialogNameStr_set(PyObject *) {
5212 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5213 return 1;
5214 }
5215
5216
5217 SWIGINTERN PyObject *DialogNameStr_get(void) {
5218 PyObject *pyobj = 0;
5219
5220 {
5221 #if wxUSE_UNICODE
5222 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5223 #else
5224 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5225 #endif
5226 }
5227 return pyobj;
5228 }
5229
5230
5231 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5232 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5233 return 1;
5234 }
5235
5236
5237 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5238 PyObject *pyobj = 0;
5239
5240 {
5241 #if wxUSE_UNICODE
5242 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5243 #else
5244 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5245 #endif
5246 }
5247 return pyobj;
5248 }
5249
5250
5251 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5252 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5253 return 1;
5254 }
5255
5256
5257 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5258 PyObject *pyobj = 0;
5259
5260 {
5261 #if wxUSE_UNICODE
5262 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5263 #else
5264 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5265 #endif
5266 }
5267 return pyobj;
5268 }
5269
5270
5271 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5272 PyObject *resultobj = 0;
5273 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5274 bool arg2 = (bool) true ;
5275 void *argp1 = 0 ;
5276 int res1 = 0 ;
5277 bool val2 ;
5278 int ecode2 = 0 ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 char * kwnames[] = {
5282 (char *) "self",(char *) "maximize", NULL
5283 };
5284
5285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5287 if (!SWIG_IsOK(res1)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5289 }
5290 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5291 if (obj1) {
5292 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5293 if (!SWIG_IsOK(ecode2)) {
5294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5295 }
5296 arg2 = static_cast< bool >(val2);
5297 }
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 (arg1)->Maximize(arg2);
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 resultobj = SWIG_Py_Void();
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5312 PyObject *resultobj = 0;
5313 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5314 void *argp1 = 0 ;
5315 int res1 = 0 ;
5316 PyObject *swig_obj[1] ;
5317
5318 if (!args) SWIG_fail;
5319 swig_obj[0] = args;
5320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5321 if (!SWIG_IsOK(res1)) {
5322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5323 }
5324 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 (arg1)->Restore();
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 resultobj = SWIG_Py_Void();
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj = 0;
5340 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5341 bool arg2 = (bool) true ;
5342 void *argp1 = 0 ;
5343 int res1 = 0 ;
5344 bool val2 ;
5345 int ecode2 = 0 ;
5346 PyObject * obj0 = 0 ;
5347 PyObject * obj1 = 0 ;
5348 char * kwnames[] = {
5349 (char *) "self",(char *) "iconize", NULL
5350 };
5351
5352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5354 if (!SWIG_IsOK(res1)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5356 }
5357 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5358 if (obj1) {
5359 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5360 if (!SWIG_IsOK(ecode2)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5362 }
5363 arg2 = static_cast< bool >(val2);
5364 }
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 (arg1)->Iconize(arg2);
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 resultobj = SWIG_Py_Void();
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5379 PyObject *resultobj = 0;
5380 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5381 bool result;
5382 void *argp1 = 0 ;
5383 int res1 = 0 ;
5384 PyObject *swig_obj[1] ;
5385
5386 if (!args) SWIG_fail;
5387 swig_obj[0] = args;
5388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5389 if (!SWIG_IsOK(res1)) {
5390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5391 }
5392 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5393 {
5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
5395 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 {
5400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5401 }
5402 return resultobj;
5403 fail:
5404 return NULL;
5405 }
5406
5407
5408 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5409 PyObject *resultobj = 0;
5410 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5411 bool result;
5412 void *argp1 = 0 ;
5413 int res1 = 0 ;
5414 PyObject *swig_obj[1] ;
5415
5416 if (!args) SWIG_fail;
5417 swig_obj[0] = args;
5418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5419 if (!SWIG_IsOK(res1)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5421 }
5422 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 {
5430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5431 }
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5439 PyObject *resultobj = 0;
5440 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5441 wxIcon result;
5442 void *argp1 = 0 ;
5443 int res1 = 0 ;
5444 PyObject *swig_obj[1] ;
5445
5446 if (!args) SWIG_fail;
5447 swig_obj[0] = args;
5448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5449 if (!SWIG_IsOK(res1)) {
5450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5451 }
5452 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj = 0;
5468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5469 wxIcon *arg2 = 0 ;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 void *argp2 = 0 ;
5473 int res2 = 0 ;
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 char * kwnames[] = {
5477 (char *) "self",(char *) "icon", NULL
5478 };
5479
5480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5482 if (!SWIG_IsOK(res1)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5484 }
5485 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5486 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5487 if (!SWIG_IsOK(res2)) {
5488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5489 }
5490 if (!argp2) {
5491 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5492 }
5493 arg2 = reinterpret_cast< wxIcon * >(argp2);
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 (arg1)->SetIcon((wxIcon const &)*arg2);
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 resultobj = SWIG_Py_Void();
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj = 0;
5509 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5510 wxIconBundle *arg2 = 0 ;
5511 void *argp1 = 0 ;
5512 int res1 = 0 ;
5513 void *argp2 = 0 ;
5514 int res2 = 0 ;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 char * kwnames[] = {
5518 (char *) "self",(char *) "icons", NULL
5519 };
5520
5521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5523 if (!SWIG_IsOK(res1)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5525 }
5526 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5528 if (!SWIG_IsOK(res2)) {
5529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5530 }
5531 if (!argp2) {
5532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5533 }
5534 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 resultobj = SWIG_Py_Void();
5542 return resultobj;
5543 fail:
5544 return NULL;
5545 }
5546
5547
5548 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj = 0;
5550 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5551 bool arg2 ;
5552 long arg3 = (long) wxFULLSCREEN_ALL ;
5553 bool result;
5554 void *argp1 = 0 ;
5555 int res1 = 0 ;
5556 bool val2 ;
5557 int ecode2 = 0 ;
5558 long val3 ;
5559 int ecode3 = 0 ;
5560 PyObject * obj0 = 0 ;
5561 PyObject * obj1 = 0 ;
5562 PyObject * obj2 = 0 ;
5563 char * kwnames[] = {
5564 (char *) "self",(char *) "show",(char *) "style", NULL
5565 };
5566
5567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5569 if (!SWIG_IsOK(res1)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5571 }
5572 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5573 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5574 if (!SWIG_IsOK(ecode2)) {
5575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5576 }
5577 arg2 = static_cast< bool >(val2);
5578 if (obj2) {
5579 ecode3 = SWIG_AsVal_long(obj2, &val3);
5580 if (!SWIG_IsOK(ecode3)) {
5581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5582 }
5583 arg3 = static_cast< long >(val3);
5584 }
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 {
5592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5593 }
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5601 PyObject *resultobj = 0;
5602 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5603 bool result;
5604 void *argp1 = 0 ;
5605 int res1 = 0 ;
5606 PyObject *swig_obj[1] ;
5607
5608 if (!args) SWIG_fail;
5609 swig_obj[0] = args;
5610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5611 if (!SWIG_IsOK(res1)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5613 }
5614 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 {
5622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5623 }
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj = 0;
5632 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5633 wxString *arg2 = 0 ;
5634 void *argp1 = 0 ;
5635 int res1 = 0 ;
5636 bool temp2 = false ;
5637 PyObject * obj0 = 0 ;
5638 PyObject * obj1 = 0 ;
5639 char * kwnames[] = {
5640 (char *) "self",(char *) "title", NULL
5641 };
5642
5643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5645 if (!SWIG_IsOK(res1)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5647 }
5648 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5649 {
5650 arg2 = wxString_in_helper(obj1);
5651 if (arg2 == NULL) SWIG_fail;
5652 temp2 = true;
5653 }
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 (arg1)->SetTitle((wxString const &)*arg2);
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 resultobj = SWIG_Py_Void();
5661 {
5662 if (temp2)
5663 delete arg2;
5664 }
5665 return resultobj;
5666 fail:
5667 {
5668 if (temp2)
5669 delete arg2;
5670 }
5671 return NULL;
5672 }
5673
5674
5675 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5676 PyObject *resultobj = 0;
5677 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5678 wxString result;
5679 void *argp1 = 0 ;
5680 int res1 = 0 ;
5681 PyObject *swig_obj[1] ;
5682
5683 if (!args) SWIG_fail;
5684 swig_obj[0] = args;
5685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5688 }
5689 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5690 {
5691 PyThreadState* __tstate = wxPyBeginAllowThreads();
5692 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 {
5697 #if wxUSE_UNICODE
5698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5699 #else
5700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5701 #endif
5702 }
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj = 0;
5711 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5712 wxRegion *arg2 = 0 ;
5713 bool result;
5714 void *argp1 = 0 ;
5715 int res1 = 0 ;
5716 void *argp2 = 0 ;
5717 int res2 = 0 ;
5718 PyObject * obj0 = 0 ;
5719 PyObject * obj1 = 0 ;
5720 char * kwnames[] = {
5721 (char *) "self",(char *) "region", NULL
5722 };
5723
5724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5726 if (!SWIG_IsOK(res1)) {
5727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5728 }
5729 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5730 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5731 if (!SWIG_IsOK(res2)) {
5732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5733 }
5734 if (!argp2) {
5735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5736 }
5737 arg2 = reinterpret_cast< wxRegion * >(argp2);
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 {
5745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5746 }
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj = 0;
5755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5756 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5757 void *argp1 = 0 ;
5758 int res1 = 0 ;
5759 int val2 ;
5760 int ecode2 = 0 ;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj1 = 0 ;
5763 char * kwnames[] = {
5764 (char *) "self",(char *) "flags", NULL
5765 };
5766
5767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5769 if (!SWIG_IsOK(res1)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5771 }
5772 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5773 if (obj1) {
5774 ecode2 = SWIG_AsVal_int(obj1, &val2);
5775 if (!SWIG_IsOK(ecode2)) {
5776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5777 }
5778 arg2 = static_cast< int >(val2);
5779 }
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 (arg1)->RequestUserAttention(arg2);
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 resultobj = SWIG_Py_Void();
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5794 PyObject *resultobj = 0;
5795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5796 bool result;
5797 void *argp1 = 0 ;
5798 int res1 = 0 ;
5799 PyObject *swig_obj[1] ;
5800
5801 if (!args) SWIG_fail;
5802 swig_obj[0] = args;
5803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5804 if (!SWIG_IsOK(res1)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5806 }
5807 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (bool)(arg1)->IsActive();
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5816 }
5817 return resultobj;
5818 fail:
5819 return NULL;
5820 }
5821
5822
5823 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj = 0;
5825 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5826 bool arg2 ;
5827 void *argp1 = 0 ;
5828 int res1 = 0 ;
5829 bool val2 ;
5830 int ecode2 = 0 ;
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char * kwnames[] = {
5834 (char *) "self",(char *) "on", NULL
5835 };
5836
5837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5839 if (!SWIG_IsOK(res1)) {
5840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5841 }
5842 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5843 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5844 if (!SWIG_IsOK(ecode2)) {
5845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5846 }
5847 arg2 = static_cast< bool >(val2);
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 resultobj = SWIG_Py_Void();
5855 return resultobj;
5856 fail:
5857 return NULL;
5858 }
5859
5860
5861 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5862 PyObject *resultobj = 0;
5863 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5864 bool result;
5865 void *argp1 = 0 ;
5866 int res1 = 0 ;
5867 PyObject *swig_obj[1] ;
5868
5869 if (!args) SWIG_fail;
5870 swig_obj[0] = args;
5871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5872 if (!SWIG_IsOK(res1)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5874 }
5875 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 {
5883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5884 }
5885 return resultobj;
5886 fail:
5887 return NULL;
5888 }
5889
5890
5891 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5892 PyObject *resultobj = 0;
5893 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5894 int arg2 = (int) wxBOTH ;
5895 void *argp1 = 0 ;
5896 int res1 = 0 ;
5897 int val2 ;
5898 int ecode2 = 0 ;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char * kwnames[] = {
5902 (char *) "self",(char *) "dir", NULL
5903 };
5904
5905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5909 }
5910 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5911 if (obj1) {
5912 ecode2 = SWIG_AsVal_int(obj1, &val2);
5913 if (!SWIG_IsOK(ecode2)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5915 }
5916 arg2 = static_cast< int >(val2);
5917 }
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 (arg1)->CenterOnScreen(arg2);
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_Py_Void();
5925 return resultobj;
5926 fail:
5927 return NULL;
5928 }
5929
5930
5931 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5932 PyObject *obj;
5933 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5934 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5935 return SWIG_Py_Void();
5936 }
5937
5938 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5939 PyObject *resultobj = 0;
5940 wxWindow *arg1 = (wxWindow *) 0 ;
5941 int arg2 = (int) (int)-1 ;
5942 wxString const &arg3_defvalue = wxPyEmptyString ;
5943 wxString *arg3 = (wxString *) &arg3_defvalue ;
5944 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5945 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5946 wxSize const &arg5_defvalue = wxDefaultSize ;
5947 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5948 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5949 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5950 wxString *arg7 = (wxString *) &arg7_defvalue ;
5951 wxFrame *result = 0 ;
5952 void *argp1 = 0 ;
5953 int res1 = 0 ;
5954 int val2 ;
5955 int ecode2 = 0 ;
5956 bool temp3 = false ;
5957 wxPoint temp4 ;
5958 wxSize temp5 ;
5959 long val6 ;
5960 int ecode6 = 0 ;
5961 bool temp7 = false ;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
5965 PyObject * obj3 = 0 ;
5966 PyObject * obj4 = 0 ;
5967 PyObject * obj5 = 0 ;
5968 PyObject * obj6 = 0 ;
5969 char * kwnames[] = {
5970 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5971 };
5972
5973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5975 if (!SWIG_IsOK(res1)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
5977 }
5978 arg1 = reinterpret_cast< wxWindow * >(argp1);
5979 if (obj1) {
5980 ecode2 = SWIG_AsVal_int(obj1, &val2);
5981 if (!SWIG_IsOK(ecode2)) {
5982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
5983 }
5984 arg2 = static_cast< int >(val2);
5985 }
5986 if (obj2) {
5987 {
5988 arg3 = wxString_in_helper(obj2);
5989 if (arg3 == NULL) SWIG_fail;
5990 temp3 = true;
5991 }
5992 }
5993 if (obj3) {
5994 {
5995 arg4 = &temp4;
5996 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5997 }
5998 }
5999 if (obj4) {
6000 {
6001 arg5 = &temp5;
6002 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6003 }
6004 }
6005 if (obj5) {
6006 ecode6 = SWIG_AsVal_long(obj5, &val6);
6007 if (!SWIG_IsOK(ecode6)) {
6008 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6009 }
6010 arg6 = static_cast< long >(val6);
6011 }
6012 if (obj6) {
6013 {
6014 arg7 = wxString_in_helper(obj6);
6015 if (arg7 == NULL) SWIG_fail;
6016 temp7 = true;
6017 }
6018 }
6019 {
6020 if (!wxPyCheckForApp()) SWIG_fail;
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6027 {
6028 if (temp3)
6029 delete arg3;
6030 }
6031 {
6032 if (temp7)
6033 delete arg7;
6034 }
6035 return resultobj;
6036 fail:
6037 {
6038 if (temp3)
6039 delete arg3;
6040 }
6041 {
6042 if (temp7)
6043 delete arg7;
6044 }
6045 return NULL;
6046 }
6047
6048
6049 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6050 PyObject *resultobj = 0;
6051 wxFrame *result = 0 ;
6052
6053 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6054 {
6055 if (!wxPyCheckForApp()) SWIG_fail;
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (wxFrame *)new wxFrame();
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj = 0;
6070 wxFrame *arg1 = (wxFrame *) 0 ;
6071 wxWindow *arg2 = (wxWindow *) 0 ;
6072 int arg3 = (int) (int)-1 ;
6073 wxString const &arg4_defvalue = wxPyEmptyString ;
6074 wxString *arg4 = (wxString *) &arg4_defvalue ;
6075 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6076 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6077 wxSize const &arg6_defvalue = wxDefaultSize ;
6078 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6079 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6080 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6081 wxString *arg8 = (wxString *) &arg8_defvalue ;
6082 bool result;
6083 void *argp1 = 0 ;
6084 int res1 = 0 ;
6085 void *argp2 = 0 ;
6086 int res2 = 0 ;
6087 int val3 ;
6088 int ecode3 = 0 ;
6089 bool temp4 = false ;
6090 wxPoint temp5 ;
6091 wxSize temp6 ;
6092 long val7 ;
6093 int ecode7 = 0 ;
6094 bool temp8 = false ;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 PyObject * obj2 = 0 ;
6098 PyObject * obj3 = 0 ;
6099 PyObject * obj4 = 0 ;
6100 PyObject * obj5 = 0 ;
6101 PyObject * obj6 = 0 ;
6102 PyObject * obj7 = 0 ;
6103 char * kwnames[] = {
6104 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6105 };
6106
6107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6109 if (!SWIG_IsOK(res1)) {
6110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6111 }
6112 arg1 = reinterpret_cast< wxFrame * >(argp1);
6113 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6114 if (!SWIG_IsOK(res2)) {
6115 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6116 }
6117 arg2 = reinterpret_cast< wxWindow * >(argp2);
6118 if (obj2) {
6119 ecode3 = SWIG_AsVal_int(obj2, &val3);
6120 if (!SWIG_IsOK(ecode3)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6122 }
6123 arg3 = static_cast< int >(val3);
6124 }
6125 if (obj3) {
6126 {
6127 arg4 = wxString_in_helper(obj3);
6128 if (arg4 == NULL) SWIG_fail;
6129 temp4 = true;
6130 }
6131 }
6132 if (obj4) {
6133 {
6134 arg5 = &temp5;
6135 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6136 }
6137 }
6138 if (obj5) {
6139 {
6140 arg6 = &temp6;
6141 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6142 }
6143 }
6144 if (obj6) {
6145 ecode7 = SWIG_AsVal_long(obj6, &val7);
6146 if (!SWIG_IsOK(ecode7)) {
6147 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6148 }
6149 arg7 = static_cast< long >(val7);
6150 }
6151 if (obj7) {
6152 {
6153 arg8 = wxString_in_helper(obj7);
6154 if (arg8 == NULL) SWIG_fail;
6155 temp8 = true;
6156 }
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6166 }
6167 {
6168 if (temp4)
6169 delete arg4;
6170 }
6171 {
6172 if (temp8)
6173 delete arg8;
6174 }
6175 return resultobj;
6176 fail:
6177 {
6178 if (temp4)
6179 delete arg4;
6180 }
6181 {
6182 if (temp8)
6183 delete arg8;
6184 }
6185 return NULL;
6186 }
6187
6188
6189 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6190 PyObject *resultobj = 0;
6191 wxFrame *arg1 = (wxFrame *) 0 ;
6192 void *argp1 = 0 ;
6193 int res1 = 0 ;
6194 PyObject *swig_obj[1] ;
6195
6196 if (!args) SWIG_fail;
6197 swig_obj[0] = args;
6198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6199 if (!SWIG_IsOK(res1)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6201 }
6202 arg1 = reinterpret_cast< wxFrame * >(argp1);
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 (arg1)->SendSizeEvent();
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = SWIG_Py_Void();
6210 return resultobj;
6211 fail:
6212 return NULL;
6213 }
6214
6215
6216 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj = 0;
6218 wxFrame *arg1 = (wxFrame *) 0 ;
6219 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6220 void *argp1 = 0 ;
6221 int res1 = 0 ;
6222 void *argp2 = 0 ;
6223 int res2 = 0 ;
6224 PyObject * obj0 = 0 ;
6225 PyObject * obj1 = 0 ;
6226 char * kwnames[] = {
6227 (char *) "self",(char *) "menubar", NULL
6228 };
6229
6230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6232 if (!SWIG_IsOK(res1)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6234 }
6235 arg1 = reinterpret_cast< wxFrame * >(argp1);
6236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6237 if (!SWIG_IsOK(res2)) {
6238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6239 }
6240 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->SetMenuBar(arg2);
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_Py_Void();
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6255 PyObject *resultobj = 0;
6256 wxFrame *arg1 = (wxFrame *) 0 ;
6257 wxMenuBar *result = 0 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 PyObject *swig_obj[1] ;
6261
6262 if (!args) SWIG_fail;
6263 swig_obj[0] = args;
6264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6265 if (!SWIG_IsOK(res1)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6267 }
6268 arg1 = reinterpret_cast< wxFrame * >(argp1);
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276 resultobj = wxPyMake_wxObject(result, 0);
6277 }
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj = 0;
6286 wxFrame *arg1 = (wxFrame *) 0 ;
6287 int arg2 ;
6288 bool result;
6289 void *argp1 = 0 ;
6290 int res1 = 0 ;
6291 int val2 ;
6292 int ecode2 = 0 ;
6293 PyObject * obj0 = 0 ;
6294 PyObject * obj1 = 0 ;
6295 char * kwnames[] = {
6296 (char *) "self",(char *) "winid", NULL
6297 };
6298
6299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6301 if (!SWIG_IsOK(res1)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6303 }
6304 arg1 = reinterpret_cast< wxFrame * >(argp1);
6305 ecode2 = SWIG_AsVal_int(obj1, &val2);
6306 if (!SWIG_IsOK(ecode2)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6308 }
6309 arg2 = static_cast< int >(val2);
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (bool)(arg1)->ProcessCommand(arg2);
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 {
6317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6318 }
6319 return resultobj;
6320 fail:
6321 return NULL;
6322 }
6323
6324
6325 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj = 0;
6327 wxFrame *arg1 = (wxFrame *) 0 ;
6328 int arg2 = (int) 1 ;
6329 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6330 int arg4 = (int) 0 ;
6331 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6332 wxString *arg5 = (wxString *) &arg5_defvalue ;
6333 wxStatusBar *result = 0 ;
6334 void *argp1 = 0 ;
6335 int res1 = 0 ;
6336 int val2 ;
6337 int ecode2 = 0 ;
6338 long val3 ;
6339 int ecode3 = 0 ;
6340 int val4 ;
6341 int ecode4 = 0 ;
6342 bool temp5 = false ;
6343 PyObject * obj0 = 0 ;
6344 PyObject * obj1 = 0 ;
6345 PyObject * obj2 = 0 ;
6346 PyObject * obj3 = 0 ;
6347 PyObject * obj4 = 0 ;
6348 char * kwnames[] = {
6349 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6350 };
6351
6352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6354 if (!SWIG_IsOK(res1)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6356 }
6357 arg1 = reinterpret_cast< wxFrame * >(argp1);
6358 if (obj1) {
6359 ecode2 = SWIG_AsVal_int(obj1, &val2);
6360 if (!SWIG_IsOK(ecode2)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6362 }
6363 arg2 = static_cast< int >(val2);
6364 }
6365 if (obj2) {
6366 ecode3 = SWIG_AsVal_long(obj2, &val3);
6367 if (!SWIG_IsOK(ecode3)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6369 }
6370 arg3 = static_cast< long >(val3);
6371 }
6372 if (obj3) {
6373 ecode4 = SWIG_AsVal_int(obj3, &val4);
6374 if (!SWIG_IsOK(ecode4)) {
6375 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6376 }
6377 arg4 = static_cast< int >(val4);
6378 }
6379 if (obj4) {
6380 {
6381 arg5 = wxString_in_helper(obj4);
6382 if (arg5 == NULL) SWIG_fail;
6383 temp5 = true;
6384 }
6385 }
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = wxPyMake_wxObject(result, (bool)0);
6394 }
6395 {
6396 if (temp5)
6397 delete arg5;
6398 }
6399 return resultobj;
6400 fail:
6401 {
6402 if (temp5)
6403 delete arg5;
6404 }
6405 return NULL;
6406 }
6407
6408
6409 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6410 PyObject *resultobj = 0;
6411 wxFrame *arg1 = (wxFrame *) 0 ;
6412 wxStatusBar *result = 0 ;
6413 void *argp1 = 0 ;
6414 int res1 = 0 ;
6415 PyObject *swig_obj[1] ;
6416
6417 if (!args) SWIG_fail;
6418 swig_obj[0] = args;
6419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6420 if (!SWIG_IsOK(res1)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6422 }
6423 arg1 = reinterpret_cast< wxFrame * >(argp1);
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 {
6431 resultobj = wxPyMake_wxObject(result, (bool)0);
6432 }
6433 return resultobj;
6434 fail:
6435 return NULL;
6436 }
6437
6438
6439 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj = 0;
6441 wxFrame *arg1 = (wxFrame *) 0 ;
6442 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6443 void *argp1 = 0 ;
6444 int res1 = 0 ;
6445 void *argp2 = 0 ;
6446 int res2 = 0 ;
6447 PyObject * obj0 = 0 ;
6448 PyObject * obj1 = 0 ;
6449 char * kwnames[] = {
6450 (char *) "self",(char *) "statBar", NULL
6451 };
6452
6453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6455 if (!SWIG_IsOK(res1)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6457 }
6458 arg1 = reinterpret_cast< wxFrame * >(argp1);
6459 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6460 if (!SWIG_IsOK(res2)) {
6461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6462 }
6463 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6464 {
6465 PyThreadState* __tstate = wxPyBeginAllowThreads();
6466 (arg1)->SetStatusBar(arg2);
6467 wxPyEndAllowThreads(__tstate);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 }
6470 resultobj = SWIG_Py_Void();
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6478 PyObject *resultobj = 0;
6479 wxFrame *arg1 = (wxFrame *) 0 ;
6480 wxString *arg2 = 0 ;
6481 int arg3 = (int) 0 ;
6482 void *argp1 = 0 ;
6483 int res1 = 0 ;
6484 bool temp2 = false ;
6485 int val3 ;
6486 int ecode3 = 0 ;
6487 PyObject * obj0 = 0 ;
6488 PyObject * obj1 = 0 ;
6489 PyObject * obj2 = 0 ;
6490 char * kwnames[] = {
6491 (char *) "self",(char *) "text",(char *) "number", NULL
6492 };
6493
6494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6496 if (!SWIG_IsOK(res1)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6498 }
6499 arg1 = reinterpret_cast< wxFrame * >(argp1);
6500 {
6501 arg2 = wxString_in_helper(obj1);
6502 if (arg2 == NULL) SWIG_fail;
6503 temp2 = true;
6504 }
6505 if (obj2) {
6506 ecode3 = SWIG_AsVal_int(obj2, &val3);
6507 if (!SWIG_IsOK(ecode3)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6509 }
6510 arg3 = static_cast< int >(val3);
6511 }
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 resultobj = SWIG_Py_Void();
6519 {
6520 if (temp2)
6521 delete arg2;
6522 }
6523 return resultobj;
6524 fail:
6525 {
6526 if (temp2)
6527 delete arg2;
6528 }
6529 return NULL;
6530 }
6531
6532
6533 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj = 0;
6535 wxFrame *arg1 = (wxFrame *) 0 ;
6536 int arg2 ;
6537 int *arg3 = (int *) 0 ;
6538 void *argp1 = 0 ;
6539 int res1 = 0 ;
6540 PyObject * obj0 = 0 ;
6541 PyObject * obj1 = 0 ;
6542 char * kwnames[] = {
6543 (char *) "self",(char *) "widths", NULL
6544 };
6545
6546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6548 if (!SWIG_IsOK(res1)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6550 }
6551 arg1 = reinterpret_cast< wxFrame * >(argp1);
6552 {
6553 arg2 = PyList_Size(obj1);
6554 arg3 = int_LIST_helper(obj1);
6555 if (arg3 == NULL) SWIG_fail;
6556 }
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 resultobj = SWIG_Py_Void();
6564 {
6565 if (arg3) delete [] arg3;
6566 }
6567 return resultobj;
6568 fail:
6569 {
6570 if (arg3) delete [] arg3;
6571 }
6572 return NULL;
6573 }
6574
6575
6576 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj = 0;
6578 wxFrame *arg1 = (wxFrame *) 0 ;
6579 wxString *arg2 = 0 ;
6580 int arg3 = (int) 0 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 bool temp2 = false ;
6584 int val3 ;
6585 int ecode3 = 0 ;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588 PyObject * obj2 = 0 ;
6589 char * kwnames[] = {
6590 (char *) "self",(char *) "text",(char *) "number", NULL
6591 };
6592
6593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6595 if (!SWIG_IsOK(res1)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6597 }
6598 arg1 = reinterpret_cast< wxFrame * >(argp1);
6599 {
6600 arg2 = wxString_in_helper(obj1);
6601 if (arg2 == NULL) SWIG_fail;
6602 temp2 = true;
6603 }
6604 if (obj2) {
6605 ecode3 = SWIG_AsVal_int(obj2, &val3);
6606 if (!SWIG_IsOK(ecode3)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6608 }
6609 arg3 = static_cast< int >(val3);
6610 }
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 resultobj = SWIG_Py_Void();
6618 {
6619 if (temp2)
6620 delete arg2;
6621 }
6622 return resultobj;
6623 fail:
6624 {
6625 if (temp2)
6626 delete arg2;
6627 }
6628 return NULL;
6629 }
6630
6631
6632 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj = 0;
6634 wxFrame *arg1 = (wxFrame *) 0 ;
6635 int arg2 = (int) 0 ;
6636 void *argp1 = 0 ;
6637 int res1 = 0 ;
6638 int val2 ;
6639 int ecode2 = 0 ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 char * kwnames[] = {
6643 (char *) "self",(char *) "number", NULL
6644 };
6645
6646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6648 if (!SWIG_IsOK(res1)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6650 }
6651 arg1 = reinterpret_cast< wxFrame * >(argp1);
6652 if (obj1) {
6653 ecode2 = SWIG_AsVal_int(obj1, &val2);
6654 if (!SWIG_IsOK(ecode2)) {
6655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6656 }
6657 arg2 = static_cast< int >(val2);
6658 }
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 (arg1)->PopStatusText(arg2);
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 resultobj = SWIG_Py_Void();
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj = 0;
6674 wxFrame *arg1 = (wxFrame *) 0 ;
6675 int arg2 ;
6676 void *argp1 = 0 ;
6677 int res1 = 0 ;
6678 int val2 ;
6679 int ecode2 = 0 ;
6680 PyObject * obj0 = 0 ;
6681 PyObject * obj1 = 0 ;
6682 char * kwnames[] = {
6683 (char *) "self",(char *) "n", NULL
6684 };
6685
6686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6688 if (!SWIG_IsOK(res1)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6690 }
6691 arg1 = reinterpret_cast< wxFrame * >(argp1);
6692 ecode2 = SWIG_AsVal_int(obj1, &val2);
6693 if (!SWIG_IsOK(ecode2)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6695 }
6696 arg2 = static_cast< int >(val2);
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 (arg1)->SetStatusBarPane(arg2);
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 resultobj = SWIG_Py_Void();
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6711 PyObject *resultobj = 0;
6712 wxFrame *arg1 = (wxFrame *) 0 ;
6713 int result;
6714 void *argp1 = 0 ;
6715 int res1 = 0 ;
6716 PyObject *swig_obj[1] ;
6717
6718 if (!args) SWIG_fail;
6719 swig_obj[0] = args;
6720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6721 if (!SWIG_IsOK(res1)) {
6722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6723 }
6724 arg1 = reinterpret_cast< wxFrame * >(argp1);
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 resultobj = SWIG_From_int(static_cast< int >(result));
6732 return resultobj;
6733 fail:
6734 return NULL;
6735 }
6736
6737
6738 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj = 0;
6740 wxFrame *arg1 = (wxFrame *) 0 ;
6741 long arg2 = (long) -1 ;
6742 int arg3 = (int) -1 ;
6743 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6744 wxString *arg4 = (wxString *) &arg4_defvalue ;
6745 wxToolBar *result = 0 ;
6746 void *argp1 = 0 ;
6747 int res1 = 0 ;
6748 long val2 ;
6749 int ecode2 = 0 ;
6750 int val3 ;
6751 int ecode3 = 0 ;
6752 bool temp4 = false ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj2 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 char * kwnames[] = {
6758 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6759 };
6760
6761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6763 if (!SWIG_IsOK(res1)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6765 }
6766 arg1 = reinterpret_cast< wxFrame * >(argp1);
6767 if (obj1) {
6768 ecode2 = SWIG_AsVal_long(obj1, &val2);
6769 if (!SWIG_IsOK(ecode2)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6771 }
6772 arg2 = static_cast< long >(val2);
6773 }
6774 if (obj2) {
6775 ecode3 = SWIG_AsVal_int(obj2, &val3);
6776 if (!SWIG_IsOK(ecode3)) {
6777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6778 }
6779 arg3 = static_cast< int >(val3);
6780 }
6781 if (obj3) {
6782 {
6783 arg4 = wxString_in_helper(obj3);
6784 if (arg4 == NULL) SWIG_fail;
6785 temp4 = true;
6786 }
6787 }
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 }
6794 {
6795 resultobj = wxPyMake_wxObject(result, (bool)0);
6796 }
6797 {
6798 if (temp4)
6799 delete arg4;
6800 }
6801 return resultobj;
6802 fail:
6803 {
6804 if (temp4)
6805 delete arg4;
6806 }
6807 return NULL;
6808 }
6809
6810
6811 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6812 PyObject *resultobj = 0;
6813 wxFrame *arg1 = (wxFrame *) 0 ;
6814 wxToolBar *result = 0 ;
6815 void *argp1 = 0 ;
6816 int res1 = 0 ;
6817 PyObject *swig_obj[1] ;
6818
6819 if (!args) SWIG_fail;
6820 swig_obj[0] = args;
6821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6822 if (!SWIG_IsOK(res1)) {
6823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6824 }
6825 arg1 = reinterpret_cast< wxFrame * >(argp1);
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 {
6833 resultobj = wxPyMake_wxObject(result, (bool)0);
6834 }
6835 return resultobj;
6836 fail:
6837 return NULL;
6838 }
6839
6840
6841 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6842 PyObject *resultobj = 0;
6843 wxFrame *arg1 = (wxFrame *) 0 ;
6844 wxToolBar *arg2 = (wxToolBar *) 0 ;
6845 void *argp1 = 0 ;
6846 int res1 = 0 ;
6847 void *argp2 = 0 ;
6848 int res2 = 0 ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 char * kwnames[] = {
6852 (char *) "self",(char *) "toolbar", NULL
6853 };
6854
6855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6857 if (!SWIG_IsOK(res1)) {
6858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6859 }
6860 arg1 = reinterpret_cast< wxFrame * >(argp1);
6861 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6862 if (!SWIG_IsOK(res2)) {
6863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6864 }
6865 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->SetToolBar(arg2);
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = SWIG_Py_Void();
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj = 0;
6881 wxFrame *arg1 = (wxFrame *) 0 ;
6882 wxString *arg2 = 0 ;
6883 bool arg3 ;
6884 void *argp1 = 0 ;
6885 int res1 = 0 ;
6886 bool temp2 = false ;
6887 bool val3 ;
6888 int ecode3 = 0 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 PyObject * obj2 = 0 ;
6892 char * kwnames[] = {
6893 (char *) "self",(char *) "text",(char *) "show", NULL
6894 };
6895
6896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6898 if (!SWIG_IsOK(res1)) {
6899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6900 }
6901 arg1 = reinterpret_cast< wxFrame * >(argp1);
6902 {
6903 arg2 = wxString_in_helper(obj1);
6904 if (arg2 == NULL) SWIG_fail;
6905 temp2 = true;
6906 }
6907 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6908 if (!SWIG_IsOK(ecode3)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6910 }
6911 arg3 = static_cast< bool >(val3);
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6915 wxPyEndAllowThreads(__tstate);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 }
6918 resultobj = SWIG_Py_Void();
6919 {
6920 if (temp2)
6921 delete arg2;
6922 }
6923 return resultobj;
6924 fail:
6925 {
6926 if (temp2)
6927 delete arg2;
6928 }
6929 return NULL;
6930 }
6931
6932
6933 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj = 0;
6935 wxFrame *arg1 = (wxFrame *) 0 ;
6936 wxMenu *arg2 = (wxMenu *) NULL ;
6937 void *argp1 = 0 ;
6938 int res1 = 0 ;
6939 void *argp2 = 0 ;
6940 int res2 = 0 ;
6941 PyObject * obj0 = 0 ;
6942 PyObject * obj1 = 0 ;
6943 char * kwnames[] = {
6944 (char *) "self",(char *) "menu", NULL
6945 };
6946
6947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6949 if (!SWIG_IsOK(res1)) {
6950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6951 }
6952 arg1 = reinterpret_cast< wxFrame * >(argp1);
6953 if (obj1) {
6954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6955 if (!SWIG_IsOK(res2)) {
6956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6957 }
6958 arg2 = reinterpret_cast< wxMenu * >(argp2);
6959 }
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 (arg1)->DoMenuUpdates(arg2);
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_Py_Void();
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj = 0;
6975 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6976 SwigValueWrapper<wxVisualAttributes > result;
6977 int val1 ;
6978 int ecode1 = 0 ;
6979 PyObject * obj0 = 0 ;
6980 char * kwnames[] = {
6981 (char *) "variant", NULL
6982 };
6983
6984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6985 if (obj0) {
6986 ecode1 = SWIG_AsVal_int(obj0, &val1);
6987 if (!SWIG_IsOK(ecode1)) {
6988 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6989 }
6990 arg1 = static_cast< wxWindowVariant >(val1);
6991 }
6992 {
6993 if (!wxPyCheckForApp()) SWIG_fail;
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
6995 result = wxFrame::GetClassDefaultAttributes(arg1);
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7007 PyObject *obj;
7008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7009 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7010 return SWIG_Py_Void();
7011 }
7012
7013 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7014 return SWIG_Python_InitShadowInstance(args);
7015 }
7016
7017 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj = 0;
7019 wxWindow *arg1 = (wxWindow *) 0 ;
7020 int arg2 = (int) (int)-1 ;
7021 wxString const &arg3_defvalue = wxPyEmptyString ;
7022 wxString *arg3 = (wxString *) &arg3_defvalue ;
7023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7025 wxSize const &arg5_defvalue = wxDefaultSize ;
7026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7027 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7028 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7029 wxString *arg7 = (wxString *) &arg7_defvalue ;
7030 wxDialog *result = 0 ;
7031 void *argp1 = 0 ;
7032 int res1 = 0 ;
7033 int val2 ;
7034 int ecode2 = 0 ;
7035 bool temp3 = false ;
7036 wxPoint temp4 ;
7037 wxSize temp5 ;
7038 long val6 ;
7039 int ecode6 = 0 ;
7040 bool temp7 = false ;
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj1 = 0 ;
7043 PyObject * obj2 = 0 ;
7044 PyObject * obj3 = 0 ;
7045 PyObject * obj4 = 0 ;
7046 PyObject * obj5 = 0 ;
7047 PyObject * obj6 = 0 ;
7048 char * kwnames[] = {
7049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7050 };
7051
7052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7054 if (!SWIG_IsOK(res1)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7056 }
7057 arg1 = reinterpret_cast< wxWindow * >(argp1);
7058 if (obj1) {
7059 ecode2 = SWIG_AsVal_int(obj1, &val2);
7060 if (!SWIG_IsOK(ecode2)) {
7061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7062 }
7063 arg2 = static_cast< int >(val2);
7064 }
7065 if (obj2) {
7066 {
7067 arg3 = wxString_in_helper(obj2);
7068 if (arg3 == NULL) SWIG_fail;
7069 temp3 = true;
7070 }
7071 }
7072 if (obj3) {
7073 {
7074 arg4 = &temp4;
7075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7076 }
7077 }
7078 if (obj4) {
7079 {
7080 arg5 = &temp5;
7081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7082 }
7083 }
7084 if (obj5) {
7085 ecode6 = SWIG_AsVal_long(obj5, &val6);
7086 if (!SWIG_IsOK(ecode6)) {
7087 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7088 }
7089 arg6 = static_cast< long >(val6);
7090 }
7091 if (obj6) {
7092 {
7093 arg7 = wxString_in_helper(obj6);
7094 if (arg7 == NULL) SWIG_fail;
7095 temp7 = true;
7096 }
7097 }
7098 {
7099 if (!wxPyCheckForApp()) SWIG_fail;
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7106 {
7107 if (temp3)
7108 delete arg3;
7109 }
7110 {
7111 if (temp7)
7112 delete arg7;
7113 }
7114 return resultobj;
7115 fail:
7116 {
7117 if (temp3)
7118 delete arg3;
7119 }
7120 {
7121 if (temp7)
7122 delete arg7;
7123 }
7124 return NULL;
7125 }
7126
7127
7128 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7129 PyObject *resultobj = 0;
7130 wxDialog *result = 0 ;
7131
7132 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7133 {
7134 if (!wxPyCheckForApp()) SWIG_fail;
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (wxDialog *)new wxDialog();
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj = 0;
7149 wxDialog *arg1 = (wxDialog *) 0 ;
7150 wxWindow *arg2 = (wxWindow *) 0 ;
7151 int arg3 = (int) (int)-1 ;
7152 wxString const &arg4_defvalue = wxPyEmptyString ;
7153 wxString *arg4 = (wxString *) &arg4_defvalue ;
7154 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7155 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7156 wxSize const &arg6_defvalue = wxDefaultSize ;
7157 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7158 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7159 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7160 wxString *arg8 = (wxString *) &arg8_defvalue ;
7161 bool result;
7162 void *argp1 = 0 ;
7163 int res1 = 0 ;
7164 void *argp2 = 0 ;
7165 int res2 = 0 ;
7166 int val3 ;
7167 int ecode3 = 0 ;
7168 bool temp4 = false ;
7169 wxPoint temp5 ;
7170 wxSize temp6 ;
7171 long val7 ;
7172 int ecode7 = 0 ;
7173 bool temp8 = false ;
7174 PyObject * obj0 = 0 ;
7175 PyObject * obj1 = 0 ;
7176 PyObject * obj2 = 0 ;
7177 PyObject * obj3 = 0 ;
7178 PyObject * obj4 = 0 ;
7179 PyObject * obj5 = 0 ;
7180 PyObject * obj6 = 0 ;
7181 PyObject * obj7 = 0 ;
7182 char * kwnames[] = {
7183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7184 };
7185
7186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7188 if (!SWIG_IsOK(res1)) {
7189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7190 }
7191 arg1 = reinterpret_cast< wxDialog * >(argp1);
7192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7193 if (!SWIG_IsOK(res2)) {
7194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7195 }
7196 arg2 = reinterpret_cast< wxWindow * >(argp2);
7197 if (obj2) {
7198 ecode3 = SWIG_AsVal_int(obj2, &val3);
7199 if (!SWIG_IsOK(ecode3)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7201 }
7202 arg3 = static_cast< int >(val3);
7203 }
7204 if (obj3) {
7205 {
7206 arg4 = wxString_in_helper(obj3);
7207 if (arg4 == NULL) SWIG_fail;
7208 temp4 = true;
7209 }
7210 }
7211 if (obj4) {
7212 {
7213 arg5 = &temp5;
7214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7215 }
7216 }
7217 if (obj5) {
7218 {
7219 arg6 = &temp6;
7220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7221 }
7222 }
7223 if (obj6) {
7224 ecode7 = SWIG_AsVal_long(obj6, &val7);
7225 if (!SWIG_IsOK(ecode7)) {
7226 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7227 }
7228 arg7 = static_cast< long >(val7);
7229 }
7230 if (obj7) {
7231 {
7232 arg8 = wxString_in_helper(obj7);
7233 if (arg8 == NULL) SWIG_fail;
7234 temp8 = true;
7235 }
7236 }
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 {
7244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7245 }
7246 {
7247 if (temp4)
7248 delete arg4;
7249 }
7250 {
7251 if (temp8)
7252 delete arg8;
7253 }
7254 return resultobj;
7255 fail:
7256 {
7257 if (temp4)
7258 delete arg4;
7259 }
7260 {
7261 if (temp8)
7262 delete arg8;
7263 }
7264 return NULL;
7265 }
7266
7267
7268 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj = 0;
7270 wxDialog *arg1 = (wxDialog *) 0 ;
7271 int arg2 ;
7272 void *argp1 = 0 ;
7273 int res1 = 0 ;
7274 int val2 ;
7275 int ecode2 = 0 ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 char * kwnames[] = {
7279 (char *) "self",(char *) "returnCode", NULL
7280 };
7281
7282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7284 if (!SWIG_IsOK(res1)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7286 }
7287 arg1 = reinterpret_cast< wxDialog * >(argp1);
7288 ecode2 = SWIG_AsVal_int(obj1, &val2);
7289 if (!SWIG_IsOK(ecode2)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7291 }
7292 arg2 = static_cast< int >(val2);
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 (arg1)->SetReturnCode(arg2);
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 resultobj = SWIG_Py_Void();
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7307 PyObject *resultobj = 0;
7308 wxDialog *arg1 = (wxDialog *) 0 ;
7309 int result;
7310 void *argp1 = 0 ;
7311 int res1 = 0 ;
7312 PyObject *swig_obj[1] ;
7313
7314 if (!args) SWIG_fail;
7315 swig_obj[0] = args;
7316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7317 if (!SWIG_IsOK(res1)) {
7318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7319 }
7320 arg1 = reinterpret_cast< wxDialog * >(argp1);
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 resultobj = SWIG_From_int(static_cast< int >(result));
7328 return resultobj;
7329 fail:
7330 return NULL;
7331 }
7332
7333
7334 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7335 PyObject *resultobj = 0;
7336 wxDialog *arg1 = (wxDialog *) 0 ;
7337 int arg2 ;
7338 void *argp1 = 0 ;
7339 int res1 = 0 ;
7340 int val2 ;
7341 int ecode2 = 0 ;
7342 PyObject * obj0 = 0 ;
7343 PyObject * obj1 = 0 ;
7344 char * kwnames[] = {
7345 (char *) "self",(char *) "affirmativeId", NULL
7346 };
7347
7348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7350 if (!SWIG_IsOK(res1)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7352 }
7353 arg1 = reinterpret_cast< wxDialog * >(argp1);
7354 ecode2 = SWIG_AsVal_int(obj1, &val2);
7355 if (!SWIG_IsOK(ecode2)) {
7356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7357 }
7358 arg2 = static_cast< int >(val2);
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->SetAffirmativeId(arg2);
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = SWIG_Py_Void();
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7373 PyObject *resultobj = 0;
7374 wxDialog *arg1 = (wxDialog *) 0 ;
7375 int result;
7376 void *argp1 = 0 ;
7377 int res1 = 0 ;
7378 PyObject *swig_obj[1] ;
7379
7380 if (!args) SWIG_fail;
7381 swig_obj[0] = args;
7382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7383 if (!SWIG_IsOK(res1)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7385 }
7386 arg1 = reinterpret_cast< wxDialog * >(argp1);
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = SWIG_From_int(static_cast< int >(result));
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj = 0;
7402 wxDialog *arg1 = (wxDialog *) 0 ;
7403 int arg2 ;
7404 void *argp1 = 0 ;
7405 int res1 = 0 ;
7406 int val2 ;
7407 int ecode2 = 0 ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 char * kwnames[] = {
7411 (char *) "self",(char *) "escapeId", NULL
7412 };
7413
7414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7416 if (!SWIG_IsOK(res1)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7418 }
7419 arg1 = reinterpret_cast< wxDialog * >(argp1);
7420 ecode2 = SWIG_AsVal_int(obj1, &val2);
7421 if (!SWIG_IsOK(ecode2)) {
7422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7423 }
7424 arg2 = static_cast< int >(val2);
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->SetEscapeId(arg2);
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_Py_Void();
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7439 PyObject *resultobj = 0;
7440 wxDialog *arg1 = (wxDialog *) 0 ;
7441 int result;
7442 void *argp1 = 0 ;
7443 int res1 = 0 ;
7444 PyObject *swig_obj[1] ;
7445
7446 if (!args) SWIG_fail;
7447 swig_obj[0] = args;
7448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7449 if (!SWIG_IsOK(res1)) {
7450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7451 }
7452 arg1 = reinterpret_cast< wxDialog * >(argp1);
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 resultobj = SWIG_From_int(static_cast< int >(result));
7460 return resultobj;
7461 fail:
7462 return NULL;
7463 }
7464
7465
7466 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7467 PyObject *resultobj = 0;
7468 wxDialog *arg1 = (wxDialog *) 0 ;
7469 wxString *arg2 = 0 ;
7470 wxSizer *result = 0 ;
7471 void *argp1 = 0 ;
7472 int res1 = 0 ;
7473 bool temp2 = false ;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj1 = 0 ;
7476 char * kwnames[] = {
7477 (char *) "self",(char *) "message", NULL
7478 };
7479
7480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7482 if (!SWIG_IsOK(res1)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7484 }
7485 arg1 = reinterpret_cast< wxDialog * >(argp1);
7486 {
7487 arg2 = wxString_in_helper(obj1);
7488 if (arg2 == NULL) SWIG_fail;
7489 temp2 = true;
7490 }
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 {
7498 resultobj = wxPyMake_wxObject(result, (bool)0);
7499 }
7500 {
7501 if (temp2)
7502 delete arg2;
7503 }
7504 return resultobj;
7505 fail:
7506 {
7507 if (temp2)
7508 delete arg2;
7509 }
7510 return NULL;
7511 }
7512
7513
7514 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj = 0;
7516 wxDialog *arg1 = (wxDialog *) 0 ;
7517 long arg2 ;
7518 bool arg3 = (bool) false ;
7519 int arg4 = (int) 0 ;
7520 wxSizer *result = 0 ;
7521 void *argp1 = 0 ;
7522 int res1 = 0 ;
7523 long val2 ;
7524 int ecode2 = 0 ;
7525 bool val3 ;
7526 int ecode3 = 0 ;
7527 int val4 ;
7528 int ecode4 = 0 ;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 PyObject * obj2 = 0 ;
7532 PyObject * obj3 = 0 ;
7533 char * kwnames[] = {
7534 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7535 };
7536
7537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7539 if (!SWIG_IsOK(res1)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7541 }
7542 arg1 = reinterpret_cast< wxDialog * >(argp1);
7543 ecode2 = SWIG_AsVal_long(obj1, &val2);
7544 if (!SWIG_IsOK(ecode2)) {
7545 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7546 }
7547 arg2 = static_cast< long >(val2);
7548 if (obj2) {
7549 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7550 if (!SWIG_IsOK(ecode3)) {
7551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7552 }
7553 arg3 = static_cast< bool >(val3);
7554 }
7555 if (obj3) {
7556 ecode4 = SWIG_AsVal_int(obj3, &val4);
7557 if (!SWIG_IsOK(ecode4)) {
7558 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7559 }
7560 arg4 = static_cast< int >(val4);
7561 }
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 {
7569 resultobj = wxPyMake_wxObject(result, (bool)0);
7570 }
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj = 0;
7579 wxDialog *arg1 = (wxDialog *) 0 ;
7580 long arg2 ;
7581 wxStdDialogButtonSizer *result = 0 ;
7582 void *argp1 = 0 ;
7583 int res1 = 0 ;
7584 long val2 ;
7585 int ecode2 = 0 ;
7586 PyObject * obj0 = 0 ;
7587 PyObject * obj1 = 0 ;
7588 char * kwnames[] = {
7589 (char *) "self",(char *) "flags", NULL
7590 };
7591
7592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7594 if (!SWIG_IsOK(res1)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7596 }
7597 arg1 = reinterpret_cast< wxDialog * >(argp1);
7598 ecode2 = SWIG_AsVal_long(obj1, &val2);
7599 if (!SWIG_IsOK(ecode2)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7601 }
7602 arg2 = static_cast< long >(val2);
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
7609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7610 return resultobj;
7611 fail:
7612 return NULL;
7613 }
7614
7615
7616 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7617 PyObject *resultobj = 0;
7618 wxDialog *arg1 = (wxDialog *) 0 ;
7619 bool result;
7620 void *argp1 = 0 ;
7621 int res1 = 0 ;
7622 PyObject *swig_obj[1] ;
7623
7624 if (!args) SWIG_fail;
7625 swig_obj[0] = args;
7626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7627 if (!SWIG_IsOK(res1)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7629 }
7630 arg1 = reinterpret_cast< wxDialog * >(argp1);
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 result = (bool)((wxDialog const *)arg1)->IsModal();
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 {
7638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7639 }
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7647 PyObject *resultobj = 0;
7648 wxDialog *arg1 = (wxDialog *) 0 ;
7649 int result;
7650 void *argp1 = 0 ;
7651 int res1 = 0 ;
7652 PyObject *swig_obj[1] ;
7653
7654 if (!args) SWIG_fail;
7655 swig_obj[0] = args;
7656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7657 if (!SWIG_IsOK(res1)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 }
7660 arg1 = reinterpret_cast< wxDialog * >(argp1);
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (int)(arg1)->ShowModal();
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_From_int(static_cast< int >(result));
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj = 0;
7676 wxDialog *arg1 = (wxDialog *) 0 ;
7677 int arg2 ;
7678 void *argp1 = 0 ;
7679 int res1 = 0 ;
7680 int val2 ;
7681 int ecode2 = 0 ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 char * kwnames[] = {
7685 (char *) "self",(char *) "retCode", NULL
7686 };
7687
7688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7690 if (!SWIG_IsOK(res1)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7692 }
7693 arg1 = reinterpret_cast< wxDialog * >(argp1);
7694 ecode2 = SWIG_AsVal_int(obj1, &val2);
7695 if (!SWIG_IsOK(ecode2)) {
7696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7697 }
7698 arg2 = static_cast< int >(val2);
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->EndModal(arg2);
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 resultobj = SWIG_Py_Void();
7706 return resultobj;
7707 fail:
7708 return NULL;
7709 }
7710
7711
7712 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj = 0;
7714 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7715 SwigValueWrapper<wxVisualAttributes > result;
7716 int val1 ;
7717 int ecode1 = 0 ;
7718 PyObject * obj0 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "variant", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7724 if (obj0) {
7725 ecode1 = SWIG_AsVal_int(obj0, &val1);
7726 if (!SWIG_IsOK(ecode1)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7728 }
7729 arg1 = static_cast< wxWindowVariant >(val1);
7730 }
7731 {
7732 if (!wxPyCheckForApp()) SWIG_fail;
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = wxDialog::GetClassDefaultAttributes(arg1);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7746 PyObject *obj;
7747 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7748 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7749 return SWIG_Py_Void();
7750 }
7751
7752 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7753 return SWIG_Python_InitShadowInstance(args);
7754 }
7755
7756 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj = 0;
7758 wxWindow *arg1 = (wxWindow *) 0 ;
7759 int arg2 = (int) (int)-1 ;
7760 wxString const &arg3_defvalue = wxPyEmptyString ;
7761 wxString *arg3 = (wxString *) &arg3_defvalue ;
7762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7764 wxSize const &arg5_defvalue = wxDefaultSize ;
7765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7766 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7767 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7768 wxString *arg7 = (wxString *) &arg7_defvalue ;
7769 wxMiniFrame *result = 0 ;
7770 void *argp1 = 0 ;
7771 int res1 = 0 ;
7772 int val2 ;
7773 int ecode2 = 0 ;
7774 bool temp3 = false ;
7775 wxPoint temp4 ;
7776 wxSize temp5 ;
7777 long val6 ;
7778 int ecode6 = 0 ;
7779 bool temp7 = false ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 PyObject * obj2 = 0 ;
7783 PyObject * obj3 = 0 ;
7784 PyObject * obj4 = 0 ;
7785 PyObject * obj5 = 0 ;
7786 PyObject * obj6 = 0 ;
7787 char * kwnames[] = {
7788 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7789 };
7790
7791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7793 if (!SWIG_IsOK(res1)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7795 }
7796 arg1 = reinterpret_cast< wxWindow * >(argp1);
7797 if (obj1) {
7798 ecode2 = SWIG_AsVal_int(obj1, &val2);
7799 if (!SWIG_IsOK(ecode2)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7801 }
7802 arg2 = static_cast< int >(val2);
7803 }
7804 if (obj2) {
7805 {
7806 arg3 = wxString_in_helper(obj2);
7807 if (arg3 == NULL) SWIG_fail;
7808 temp3 = true;
7809 }
7810 }
7811 if (obj3) {
7812 {
7813 arg4 = &temp4;
7814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7815 }
7816 }
7817 if (obj4) {
7818 {
7819 arg5 = &temp5;
7820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7821 }
7822 }
7823 if (obj5) {
7824 ecode6 = SWIG_AsVal_long(obj5, &val6);
7825 if (!SWIG_IsOK(ecode6)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7827 }
7828 arg6 = static_cast< long >(val6);
7829 }
7830 if (obj6) {
7831 {
7832 arg7 = wxString_in_helper(obj6);
7833 if (arg7 == NULL) SWIG_fail;
7834 temp7 = true;
7835 }
7836 }
7837 {
7838 if (!wxPyCheckForApp()) SWIG_fail;
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7845 {
7846 if (temp3)
7847 delete arg3;
7848 }
7849 {
7850 if (temp7)
7851 delete arg7;
7852 }
7853 return resultobj;
7854 fail:
7855 {
7856 if (temp3)
7857 delete arg3;
7858 }
7859 {
7860 if (temp7)
7861 delete arg7;
7862 }
7863 return NULL;
7864 }
7865
7866
7867 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7868 PyObject *resultobj = 0;
7869 wxMiniFrame *result = 0 ;
7870
7871 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7872 {
7873 if (!wxPyCheckForApp()) SWIG_fail;
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 result = (wxMiniFrame *)new wxMiniFrame();
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7880 return resultobj;
7881 fail:
7882 return NULL;
7883 }
7884
7885
7886 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7887 PyObject *resultobj = 0;
7888 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7889 wxWindow *arg2 = (wxWindow *) 0 ;
7890 int arg3 = (int) (int)-1 ;
7891 wxString const &arg4_defvalue = wxPyEmptyString ;
7892 wxString *arg4 = (wxString *) &arg4_defvalue ;
7893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7895 wxSize const &arg6_defvalue = wxDefaultSize ;
7896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7897 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7898 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7899 wxString *arg8 = (wxString *) &arg8_defvalue ;
7900 bool result;
7901 void *argp1 = 0 ;
7902 int res1 = 0 ;
7903 void *argp2 = 0 ;
7904 int res2 = 0 ;
7905 int val3 ;
7906 int ecode3 = 0 ;
7907 bool temp4 = false ;
7908 wxPoint temp5 ;
7909 wxSize temp6 ;
7910 long val7 ;
7911 int ecode7 = 0 ;
7912 bool temp8 = false ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 PyObject * obj2 = 0 ;
7916 PyObject * obj3 = 0 ;
7917 PyObject * obj4 = 0 ;
7918 PyObject * obj5 = 0 ;
7919 PyObject * obj6 = 0 ;
7920 PyObject * obj7 = 0 ;
7921 char * kwnames[] = {
7922 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7923 };
7924
7925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7927 if (!SWIG_IsOK(res1)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7929 }
7930 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7932 if (!SWIG_IsOK(res2)) {
7933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7934 }
7935 arg2 = reinterpret_cast< wxWindow * >(argp2);
7936 if (obj2) {
7937 ecode3 = SWIG_AsVal_int(obj2, &val3);
7938 if (!SWIG_IsOK(ecode3)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7940 }
7941 arg3 = static_cast< int >(val3);
7942 }
7943 if (obj3) {
7944 {
7945 arg4 = wxString_in_helper(obj3);
7946 if (arg4 == NULL) SWIG_fail;
7947 temp4 = true;
7948 }
7949 }
7950 if (obj4) {
7951 {
7952 arg5 = &temp5;
7953 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7954 }
7955 }
7956 if (obj5) {
7957 {
7958 arg6 = &temp6;
7959 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7960 }
7961 }
7962 if (obj6) {
7963 ecode7 = SWIG_AsVal_long(obj6, &val7);
7964 if (!SWIG_IsOK(ecode7)) {
7965 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
7966 }
7967 arg7 = static_cast< long >(val7);
7968 }
7969 if (obj7) {
7970 {
7971 arg8 = wxString_in_helper(obj7);
7972 if (arg8 == NULL) SWIG_fail;
7973 temp8 = true;
7974 }
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7984 }
7985 {
7986 if (temp4)
7987 delete arg4;
7988 }
7989 {
7990 if (temp8)
7991 delete arg8;
7992 }
7993 return resultobj;
7994 fail:
7995 {
7996 if (temp4)
7997 delete arg4;
7998 }
7999 {
8000 if (temp8)
8001 delete arg8;
8002 }
8003 return NULL;
8004 }
8005
8006
8007 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8008 PyObject *obj;
8009 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8010 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8011 return SWIG_Py_Void();
8012 }
8013
8014 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8015 return SWIG_Python_InitShadowInstance(args);
8016 }
8017
8018 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj = 0;
8020 wxBitmap *arg1 = 0 ;
8021 wxWindow *arg2 = (wxWindow *) 0 ;
8022 int arg3 ;
8023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8025 wxSize const &arg5_defvalue = wxDefaultSize ;
8026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8027 long arg6 = (long) wxNO_BORDER ;
8028 wxSplashScreenWindow *result = 0 ;
8029 void *argp1 = 0 ;
8030 int res1 = 0 ;
8031 void *argp2 = 0 ;
8032 int res2 = 0 ;
8033 int val3 ;
8034 int ecode3 = 0 ;
8035 wxPoint temp4 ;
8036 wxSize temp5 ;
8037 long val6 ;
8038 int ecode6 = 0 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 PyObject * obj2 = 0 ;
8042 PyObject * obj3 = 0 ;
8043 PyObject * obj4 = 0 ;
8044 PyObject * obj5 = 0 ;
8045 char * kwnames[] = {
8046 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8047 };
8048
8049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8050 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8051 if (!SWIG_IsOK(res1)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8053 }
8054 if (!argp1) {
8055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8056 }
8057 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8059 if (!SWIG_IsOK(res2)) {
8060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8061 }
8062 arg2 = reinterpret_cast< wxWindow * >(argp2);
8063 ecode3 = SWIG_AsVal_int(obj2, &val3);
8064 if (!SWIG_IsOK(ecode3)) {
8065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8066 }
8067 arg3 = static_cast< int >(val3);
8068 if (obj3) {
8069 {
8070 arg4 = &temp4;
8071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8072 }
8073 }
8074 if (obj4) {
8075 {
8076 arg5 = &temp5;
8077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8078 }
8079 }
8080 if (obj5) {
8081 ecode6 = SWIG_AsVal_long(obj5, &val6);
8082 if (!SWIG_IsOK(ecode6)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8084 }
8085 arg6 = static_cast< long >(val6);
8086 }
8087 {
8088 if (!wxPyCheckForApp()) SWIG_fail;
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8095 return resultobj;
8096 fail:
8097 return NULL;
8098 }
8099
8100
8101 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj = 0;
8103 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8104 wxBitmap *arg2 = 0 ;
8105 void *argp1 = 0 ;
8106 int res1 = 0 ;
8107 void *argp2 = 0 ;
8108 int res2 = 0 ;
8109 PyObject * obj0 = 0 ;
8110 PyObject * obj1 = 0 ;
8111 char * kwnames[] = {
8112 (char *) "self",(char *) "bitmap", NULL
8113 };
8114
8115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8117 if (!SWIG_IsOK(res1)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8119 }
8120 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8121 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8122 if (!SWIG_IsOK(res2)) {
8123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8124 }
8125 if (!argp2) {
8126 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8127 }
8128 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 resultobj = SWIG_Py_Void();
8136 return resultobj;
8137 fail:
8138 return NULL;
8139 }
8140
8141
8142 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8143 PyObject *resultobj = 0;
8144 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8145 wxBitmap *result = 0 ;
8146 void *argp1 = 0 ;
8147 int res1 = 0 ;
8148 PyObject *swig_obj[1] ;
8149
8150 if (!args) SWIG_fail;
8151 swig_obj[0] = args;
8152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8153 if (!SWIG_IsOK(res1)) {
8154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8155 }
8156 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 {
8160 wxBitmap &_result_ref = (arg1)->GetBitmap();
8161 result = (wxBitmap *) &_result_ref;
8162 }
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 {
8167 wxBitmap* resultptr = new wxBitmap(*result);
8168 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8169 }
8170 return resultobj;
8171 fail:
8172 return NULL;
8173 }
8174
8175
8176 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8177 PyObject *obj;
8178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8179 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8180 return SWIG_Py_Void();
8181 }
8182
8183 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8184 return SWIG_Python_InitShadowInstance(args);
8185 }
8186
8187 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj = 0;
8189 wxBitmap *arg1 = 0 ;
8190 long arg2 ;
8191 int arg3 ;
8192 wxWindow *arg4 = (wxWindow *) 0 ;
8193 int arg5 = (int) -1 ;
8194 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8195 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8196 wxSize const &arg7_defvalue = wxDefaultSize ;
8197 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8198 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8199 wxSplashScreen *result = 0 ;
8200 void *argp1 = 0 ;
8201 int res1 = 0 ;
8202 long val2 ;
8203 int ecode2 = 0 ;
8204 int val3 ;
8205 int ecode3 = 0 ;
8206 void *argp4 = 0 ;
8207 int res4 = 0 ;
8208 int val5 ;
8209 int ecode5 = 0 ;
8210 wxPoint temp6 ;
8211 wxSize temp7 ;
8212 long val8 ;
8213 int ecode8 = 0 ;
8214 PyObject * obj0 = 0 ;
8215 PyObject * obj1 = 0 ;
8216 PyObject * obj2 = 0 ;
8217 PyObject * obj3 = 0 ;
8218 PyObject * obj4 = 0 ;
8219 PyObject * obj5 = 0 ;
8220 PyObject * obj6 = 0 ;
8221 PyObject * obj7 = 0 ;
8222 char * kwnames[] = {
8223 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8224 };
8225
8226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8227 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8228 if (!SWIG_IsOK(res1)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8230 }
8231 if (!argp1) {
8232 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8233 }
8234 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8235 ecode2 = SWIG_AsVal_long(obj1, &val2);
8236 if (!SWIG_IsOK(ecode2)) {
8237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8238 }
8239 arg2 = static_cast< long >(val2);
8240 ecode3 = SWIG_AsVal_int(obj2, &val3);
8241 if (!SWIG_IsOK(ecode3)) {
8242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8243 }
8244 arg3 = static_cast< int >(val3);
8245 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8246 if (!SWIG_IsOK(res4)) {
8247 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8248 }
8249 arg4 = reinterpret_cast< wxWindow * >(argp4);
8250 if (obj4) {
8251 ecode5 = SWIG_AsVal_int(obj4, &val5);
8252 if (!SWIG_IsOK(ecode5)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8254 }
8255 arg5 = static_cast< int >(val5);
8256 }
8257 if (obj5) {
8258 {
8259 arg6 = &temp6;
8260 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8261 }
8262 }
8263 if (obj6) {
8264 {
8265 arg7 = &temp7;
8266 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8267 }
8268 }
8269 if (obj7) {
8270 ecode8 = SWIG_AsVal_long(obj7, &val8);
8271 if (!SWIG_IsOK(ecode8)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8273 }
8274 arg8 = static_cast< long >(val8);
8275 }
8276 {
8277 if (!wxPyCheckForApp()) SWIG_fail;
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8291 PyObject *resultobj = 0;
8292 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8293 long result;
8294 void *argp1 = 0 ;
8295 int res1 = 0 ;
8296 PyObject *swig_obj[1] ;
8297
8298 if (!args) SWIG_fail;
8299 swig_obj[0] = args;
8300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8301 if (!SWIG_IsOK(res1)) {
8302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8303 }
8304 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 resultobj = SWIG_From_long(static_cast< long >(result));
8312 return resultobj;
8313 fail:
8314 return NULL;
8315 }
8316
8317
8318 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8319 PyObject *resultobj = 0;
8320 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8321 wxSplashScreenWindow *result = 0 ;
8322 void *argp1 = 0 ;
8323 int res1 = 0 ;
8324 PyObject *swig_obj[1] ;
8325
8326 if (!args) SWIG_fail;
8327 swig_obj[0] = args;
8328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8329 if (!SWIG_IsOK(res1)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8331 }
8332 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8347 PyObject *resultobj = 0;
8348 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8349 int result;
8350 void *argp1 = 0 ;
8351 int res1 = 0 ;
8352 PyObject *swig_obj[1] ;
8353
8354 if (!args) SWIG_fail;
8355 swig_obj[0] = args;
8356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8357 if (!SWIG_IsOK(res1)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8359 }
8360 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = SWIG_From_int(static_cast< int >(result));
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8375 PyObject *obj;
8376 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8377 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8378 return SWIG_Py_Void();
8379 }
8380
8381 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8382 return SWIG_Python_InitShadowInstance(args);
8383 }
8384
8385 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj = 0;
8387 wxWindow *arg1 = (wxWindow *) 0 ;
8388 int arg2 = (int) -1 ;
8389 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8390 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8391 wxString *arg4 = (wxString *) &arg4_defvalue ;
8392 wxStatusBar *result = 0 ;
8393 void *argp1 = 0 ;
8394 int res1 = 0 ;
8395 int val2 ;
8396 int ecode2 = 0 ;
8397 long val3 ;
8398 int ecode3 = 0 ;
8399 bool temp4 = false ;
8400 PyObject * obj0 = 0 ;
8401 PyObject * obj1 = 0 ;
8402 PyObject * obj2 = 0 ;
8403 PyObject * obj3 = 0 ;
8404 char * kwnames[] = {
8405 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8406 };
8407
8408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8410 if (!SWIG_IsOK(res1)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8412 }
8413 arg1 = reinterpret_cast< wxWindow * >(argp1);
8414 if (obj1) {
8415 ecode2 = SWIG_AsVal_int(obj1, &val2);
8416 if (!SWIG_IsOK(ecode2)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8418 }
8419 arg2 = static_cast< int >(val2);
8420 }
8421 if (obj2) {
8422 ecode3 = SWIG_AsVal_long(obj2, &val3);
8423 if (!SWIG_IsOK(ecode3)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8425 }
8426 arg3 = static_cast< long >(val3);
8427 }
8428 if (obj3) {
8429 {
8430 arg4 = wxString_in_helper(obj3);
8431 if (arg4 == NULL) SWIG_fail;
8432 temp4 = true;
8433 }
8434 }
8435 {
8436 if (!wxPyCheckForApp()) SWIG_fail;
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8439 wxPyEndAllowThreads(__tstate);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8443 {
8444 if (temp4)
8445 delete arg4;
8446 }
8447 return resultobj;
8448 fail:
8449 {
8450 if (temp4)
8451 delete arg4;
8452 }
8453 return NULL;
8454 }
8455
8456
8457 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8458 PyObject *resultobj = 0;
8459 wxStatusBar *result = 0 ;
8460
8461 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8462 {
8463 if (!wxPyCheckForApp()) SWIG_fail;
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = (wxStatusBar *)new wxStatusBar();
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8470 return resultobj;
8471 fail:
8472 return NULL;
8473 }
8474
8475
8476 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj = 0;
8478 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8479 wxWindow *arg2 = (wxWindow *) 0 ;
8480 int arg3 = (int) -1 ;
8481 long arg4 = (long) wxST_SIZEGRIP ;
8482 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8483 wxString *arg5 = (wxString *) &arg5_defvalue ;
8484 bool result;
8485 void *argp1 = 0 ;
8486 int res1 = 0 ;
8487 void *argp2 = 0 ;
8488 int res2 = 0 ;
8489 int val3 ;
8490 int ecode3 = 0 ;
8491 long val4 ;
8492 int ecode4 = 0 ;
8493 bool temp5 = false ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 PyObject * obj2 = 0 ;
8497 PyObject * obj3 = 0 ;
8498 PyObject * obj4 = 0 ;
8499 char * kwnames[] = {
8500 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8501 };
8502
8503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8505 if (!SWIG_IsOK(res1)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8507 }
8508 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8509 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8510 if (!SWIG_IsOK(res2)) {
8511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8512 }
8513 arg2 = reinterpret_cast< wxWindow * >(argp2);
8514 if (obj2) {
8515 ecode3 = SWIG_AsVal_int(obj2, &val3);
8516 if (!SWIG_IsOK(ecode3)) {
8517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8518 }
8519 arg3 = static_cast< int >(val3);
8520 }
8521 if (obj3) {
8522 ecode4 = SWIG_AsVal_long(obj3, &val4);
8523 if (!SWIG_IsOK(ecode4)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8525 }
8526 arg4 = static_cast< long >(val4);
8527 }
8528 if (obj4) {
8529 {
8530 arg5 = wxString_in_helper(obj4);
8531 if (arg5 == NULL) SWIG_fail;
8532 temp5 = true;
8533 }
8534 }
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 {
8542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8543 }
8544 {
8545 if (temp5)
8546 delete arg5;
8547 }
8548 return resultobj;
8549 fail:
8550 {
8551 if (temp5)
8552 delete arg5;
8553 }
8554 return NULL;
8555 }
8556
8557
8558 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj = 0;
8560 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8561 int arg2 = (int) 1 ;
8562 void *argp1 = 0 ;
8563 int res1 = 0 ;
8564 int val2 ;
8565 int ecode2 = 0 ;
8566 PyObject * obj0 = 0 ;
8567 PyObject * obj1 = 0 ;
8568 char * kwnames[] = {
8569 (char *) "self",(char *) "number", NULL
8570 };
8571
8572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8574 if (!SWIG_IsOK(res1)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8576 }
8577 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8578 if (obj1) {
8579 ecode2 = SWIG_AsVal_int(obj1, &val2);
8580 if (!SWIG_IsOK(ecode2)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8582 }
8583 arg2 = static_cast< int >(val2);
8584 }
8585 {
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 (arg1)->SetFieldsCount(arg2);
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 resultobj = SWIG_Py_Void();
8592 return resultobj;
8593 fail:
8594 return NULL;
8595 }
8596
8597
8598 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8599 PyObject *resultobj = 0;
8600 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8601 int result;
8602 void *argp1 = 0 ;
8603 int res1 = 0 ;
8604 PyObject *swig_obj[1] ;
8605
8606 if (!args) SWIG_fail;
8607 swig_obj[0] = args;
8608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8609 if (!SWIG_IsOK(res1)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8611 }
8612 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 resultobj = SWIG_From_int(static_cast< int >(result));
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj = 0;
8628 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8629 wxString *arg2 = 0 ;
8630 int arg3 = (int) 0 ;
8631 void *argp1 = 0 ;
8632 int res1 = 0 ;
8633 bool temp2 = false ;
8634 int val3 ;
8635 int ecode3 = 0 ;
8636 PyObject * obj0 = 0 ;
8637 PyObject * obj1 = 0 ;
8638 PyObject * obj2 = 0 ;
8639 char * kwnames[] = {
8640 (char *) "self",(char *) "text",(char *) "number", NULL
8641 };
8642
8643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8645 if (!SWIG_IsOK(res1)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8647 }
8648 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8649 {
8650 arg2 = wxString_in_helper(obj1);
8651 if (arg2 == NULL) SWIG_fail;
8652 temp2 = true;
8653 }
8654 if (obj2) {
8655 ecode3 = SWIG_AsVal_int(obj2, &val3);
8656 if (!SWIG_IsOK(ecode3)) {
8657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8658 }
8659 arg3 = static_cast< int >(val3);
8660 }
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 resultobj = SWIG_Py_Void();
8668 {
8669 if (temp2)
8670 delete arg2;
8671 }
8672 return resultobj;
8673 fail:
8674 {
8675 if (temp2)
8676 delete arg2;
8677 }
8678 return NULL;
8679 }
8680
8681
8682 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8683 PyObject *resultobj = 0;
8684 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8685 int arg2 = (int) 0 ;
8686 wxString result;
8687 void *argp1 = 0 ;
8688 int res1 = 0 ;
8689 int val2 ;
8690 int ecode2 = 0 ;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 char * kwnames[] = {
8694 (char *) "self",(char *) "number", NULL
8695 };
8696
8697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8699 if (!SWIG_IsOK(res1)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8701 }
8702 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8703 if (obj1) {
8704 ecode2 = SWIG_AsVal_int(obj1, &val2);
8705 if (!SWIG_IsOK(ecode2)) {
8706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8707 }
8708 arg2 = static_cast< int >(val2);
8709 }
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 {
8717 #if wxUSE_UNICODE
8718 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8719 #else
8720 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8721 #endif
8722 }
8723 return resultobj;
8724 fail:
8725 return NULL;
8726 }
8727
8728
8729 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8730 PyObject *resultobj = 0;
8731 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8732 wxString *arg2 = 0 ;
8733 int arg3 = (int) 0 ;
8734 void *argp1 = 0 ;
8735 int res1 = 0 ;
8736 bool temp2 = false ;
8737 int val3 ;
8738 int ecode3 = 0 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
8742 char * kwnames[] = {
8743 (char *) "self",(char *) "text",(char *) "number", NULL
8744 };
8745
8746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8748 if (!SWIG_IsOK(res1)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8750 }
8751 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8752 {
8753 arg2 = wxString_in_helper(obj1);
8754 if (arg2 == NULL) SWIG_fail;
8755 temp2 = true;
8756 }
8757 if (obj2) {
8758 ecode3 = SWIG_AsVal_int(obj2, &val3);
8759 if (!SWIG_IsOK(ecode3)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8761 }
8762 arg3 = static_cast< int >(val3);
8763 }
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 resultobj = SWIG_Py_Void();
8771 {
8772 if (temp2)
8773 delete arg2;
8774 }
8775 return resultobj;
8776 fail:
8777 {
8778 if (temp2)
8779 delete arg2;
8780 }
8781 return NULL;
8782 }
8783
8784
8785 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj = 0;
8787 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8788 int arg2 = (int) 0 ;
8789 void *argp1 = 0 ;
8790 int res1 = 0 ;
8791 int val2 ;
8792 int ecode2 = 0 ;
8793 PyObject * obj0 = 0 ;
8794 PyObject * obj1 = 0 ;
8795 char * kwnames[] = {
8796 (char *) "self",(char *) "number", NULL
8797 };
8798
8799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8801 if (!SWIG_IsOK(res1)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8803 }
8804 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8805 if (obj1) {
8806 ecode2 = SWIG_AsVal_int(obj1, &val2);
8807 if (!SWIG_IsOK(ecode2)) {
8808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8809 }
8810 arg2 = static_cast< int >(val2);
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->PopStatusText(arg2);
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 resultobj = SWIG_Py_Void();
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8826 PyObject *resultobj = 0;
8827 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8828 int arg2 ;
8829 int *arg3 = (int *) 0 ;
8830 void *argp1 = 0 ;
8831 int res1 = 0 ;
8832 PyObject * obj0 = 0 ;
8833 PyObject * obj1 = 0 ;
8834 char * kwnames[] = {
8835 (char *) "self",(char *) "widths", NULL
8836 };
8837
8838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8840 if (!SWIG_IsOK(res1)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8842 }
8843 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8844 {
8845 arg2 = PyList_Size(obj1);
8846 arg3 = int_LIST_helper(obj1);
8847 if (arg3 == NULL) SWIG_fail;
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_Py_Void();
8856 {
8857 if (arg3) delete [] arg3;
8858 }
8859 return resultobj;
8860 fail:
8861 {
8862 if (arg3) delete [] arg3;
8863 }
8864 return NULL;
8865 }
8866
8867
8868 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj = 0;
8870 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8871 int arg2 ;
8872 int *arg3 = (int *) 0 ;
8873 void *argp1 = 0 ;
8874 int res1 = 0 ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char * kwnames[] = {
8878 (char *) "self",(char *) "styles", NULL
8879 };
8880
8881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8883 if (!SWIG_IsOK(res1)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8885 }
8886 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8887 {
8888 arg2 = PyList_Size(obj1);
8889 arg3 = int_LIST_helper(obj1);
8890 if (arg3 == NULL) SWIG_fail;
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = SWIG_Py_Void();
8899 {
8900 if (arg3) delete [] arg3;
8901 }
8902 return resultobj;
8903 fail:
8904 {
8905 if (arg3) delete [] arg3;
8906 }
8907 return NULL;
8908 }
8909
8910
8911 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj = 0;
8913 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8914 int arg2 ;
8915 wxRect result;
8916 void *argp1 = 0 ;
8917 int res1 = 0 ;
8918 int val2 ;
8919 int ecode2 = 0 ;
8920 PyObject * obj0 = 0 ;
8921 PyObject * obj1 = 0 ;
8922 char * kwnames[] = {
8923 (char *) "self",(char *) "i", NULL
8924 };
8925
8926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8928 if (!SWIG_IsOK(res1)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8930 }
8931 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8932 ecode2 = SWIG_AsVal_int(obj1, &val2);
8933 if (!SWIG_IsOK(ecode2)) {
8934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8935 }
8936 arg2 = static_cast< int >(val2);
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 result = wxStatusBar_GetFieldRect(arg1,arg2);
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj = 0;
8952 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8953 int arg2 ;
8954 void *argp1 = 0 ;
8955 int res1 = 0 ;
8956 int val2 ;
8957 int ecode2 = 0 ;
8958 PyObject * obj0 = 0 ;
8959 PyObject * obj1 = 0 ;
8960 char * kwnames[] = {
8961 (char *) "self",(char *) "height", NULL
8962 };
8963
8964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
8965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8966 if (!SWIG_IsOK(res1)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8968 }
8969 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8970 ecode2 = SWIG_AsVal_int(obj1, &val2);
8971 if (!SWIG_IsOK(ecode2)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8973 }
8974 arg2 = static_cast< int >(val2);
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->SetMinHeight(arg2);
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 resultobj = SWIG_Py_Void();
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8989 PyObject *resultobj = 0;
8990 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8991 int result;
8992 void *argp1 = 0 ;
8993 int res1 = 0 ;
8994 PyObject *swig_obj[1] ;
8995
8996 if (!args) SWIG_fail;
8997 swig_obj[0] = args;
8998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8999 if (!SWIG_IsOK(res1)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9001 }
9002 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 resultobj = SWIG_From_int(static_cast< int >(result));
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9017 PyObject *resultobj = 0;
9018 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9019 int result;
9020 void *argp1 = 0 ;
9021 int res1 = 0 ;
9022 PyObject *swig_obj[1] ;
9023
9024 if (!args) SWIG_fail;
9025 swig_obj[0] = args;
9026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9027 if (!SWIG_IsOK(res1)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9029 }
9030 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = SWIG_From_int(static_cast< int >(result));
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj = 0;
9046 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9047 SwigValueWrapper<wxVisualAttributes > result;
9048 int val1 ;
9049 int ecode1 = 0 ;
9050 PyObject * obj0 = 0 ;
9051 char * kwnames[] = {
9052 (char *) "variant", NULL
9053 };
9054
9055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9056 if (obj0) {
9057 ecode1 = SWIG_AsVal_int(obj0, &val1);
9058 if (!SWIG_IsOK(ecode1)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9060 }
9061 arg1 = static_cast< wxWindowVariant >(val1);
9062 }
9063 {
9064 if (!wxPyCheckForApp()) SWIG_fail;
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9078 PyObject *obj;
9079 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9080 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9081 return SWIG_Py_Void();
9082 }
9083
9084 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9085 return SWIG_Python_InitShadowInstance(args);
9086 }
9087
9088 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9089 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9090 return 1;
9091 }
9092
9093
9094 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9095 PyObject *pyobj = 0;
9096
9097 {
9098 #if wxUSE_UNICODE
9099 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9100 #else
9101 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9102 #endif
9103 }
9104 return pyobj;
9105 }
9106
9107
9108 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj = 0;
9110 wxWindow *arg1 = (wxWindow *) 0 ;
9111 int arg2 = (int) -1 ;
9112 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9113 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9114 wxSize const &arg4_defvalue = wxDefaultSize ;
9115 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9116 long arg5 = (long) wxSP_3D ;
9117 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9118 wxString *arg6 = (wxString *) &arg6_defvalue ;
9119 wxSplitterWindow *result = 0 ;
9120 void *argp1 = 0 ;
9121 int res1 = 0 ;
9122 int val2 ;
9123 int ecode2 = 0 ;
9124 wxPoint temp3 ;
9125 wxSize temp4 ;
9126 long val5 ;
9127 int ecode5 = 0 ;
9128 bool temp6 = false ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 PyObject * obj2 = 0 ;
9132 PyObject * obj3 = 0 ;
9133 PyObject * obj4 = 0 ;
9134 PyObject * obj5 = 0 ;
9135 char * kwnames[] = {
9136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9137 };
9138
9139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9141 if (!SWIG_IsOK(res1)) {
9142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9143 }
9144 arg1 = reinterpret_cast< wxWindow * >(argp1);
9145 if (obj1) {
9146 ecode2 = SWIG_AsVal_int(obj1, &val2);
9147 if (!SWIG_IsOK(ecode2)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9149 }
9150 arg2 = static_cast< int >(val2);
9151 }
9152 if (obj2) {
9153 {
9154 arg3 = &temp3;
9155 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9156 }
9157 }
9158 if (obj3) {
9159 {
9160 arg4 = &temp4;
9161 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9162 }
9163 }
9164 if (obj4) {
9165 ecode5 = SWIG_AsVal_long(obj4, &val5);
9166 if (!SWIG_IsOK(ecode5)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9168 }
9169 arg5 = static_cast< long >(val5);
9170 }
9171 if (obj5) {
9172 {
9173 arg6 = wxString_in_helper(obj5);
9174 if (arg6 == NULL) SWIG_fail;
9175 temp6 = true;
9176 }
9177 }
9178 {
9179 if (!wxPyCheckForApp()) SWIG_fail;
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9186 {
9187 if (temp6)
9188 delete arg6;
9189 }
9190 return resultobj;
9191 fail:
9192 {
9193 if (temp6)
9194 delete arg6;
9195 }
9196 return NULL;
9197 }
9198
9199
9200 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9201 PyObject *resultobj = 0;
9202 wxSplitterWindow *result = 0 ;
9203
9204 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9205 {
9206 if (!wxPyCheckForApp()) SWIG_fail;
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 result = (wxSplitterWindow *)new wxSplitterWindow();
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj = 0;
9221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9222 wxWindow *arg2 = (wxWindow *) 0 ;
9223 int arg3 = (int) -1 ;
9224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9226 wxSize const &arg5_defvalue = wxDefaultSize ;
9227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9228 long arg6 = (long) wxSP_3D ;
9229 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9230 wxString *arg7 = (wxString *) &arg7_defvalue ;
9231 bool result;
9232 void *argp1 = 0 ;
9233 int res1 = 0 ;
9234 void *argp2 = 0 ;
9235 int res2 = 0 ;
9236 int val3 ;
9237 int ecode3 = 0 ;
9238 wxPoint temp4 ;
9239 wxSize temp5 ;
9240 long val6 ;
9241 int ecode6 = 0 ;
9242 bool temp7 = false ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 PyObject * obj2 = 0 ;
9246 PyObject * obj3 = 0 ;
9247 PyObject * obj4 = 0 ;
9248 PyObject * obj5 = 0 ;
9249 PyObject * obj6 = 0 ;
9250 char * kwnames[] = {
9251 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9252 };
9253
9254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9256 if (!SWIG_IsOK(res1)) {
9257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9258 }
9259 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9261 if (!SWIG_IsOK(res2)) {
9262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9263 }
9264 arg2 = reinterpret_cast< wxWindow * >(argp2);
9265 if (obj2) {
9266 ecode3 = SWIG_AsVal_int(obj2, &val3);
9267 if (!SWIG_IsOK(ecode3)) {
9268 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9269 }
9270 arg3 = static_cast< int >(val3);
9271 }
9272 if (obj3) {
9273 {
9274 arg4 = &temp4;
9275 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9276 }
9277 }
9278 if (obj4) {
9279 {
9280 arg5 = &temp5;
9281 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9282 }
9283 }
9284 if (obj5) {
9285 ecode6 = SWIG_AsVal_long(obj5, &val6);
9286 if (!SWIG_IsOK(ecode6)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9288 }
9289 arg6 = static_cast< long >(val6);
9290 }
9291 if (obj6) {
9292 {
9293 arg7 = wxString_in_helper(obj6);
9294 if (arg7 == NULL) SWIG_fail;
9295 temp7 = true;
9296 }
9297 }
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 {
9305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9306 }
9307 {
9308 if (temp7)
9309 delete arg7;
9310 }
9311 return resultobj;
9312 fail:
9313 {
9314 if (temp7)
9315 delete arg7;
9316 }
9317 return NULL;
9318 }
9319
9320
9321 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9322 PyObject *resultobj = 0;
9323 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9324 wxWindow *result = 0 ;
9325 void *argp1 = 0 ;
9326 int res1 = 0 ;
9327 PyObject *swig_obj[1] ;
9328
9329 if (!args) SWIG_fail;
9330 swig_obj[0] = args;
9331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9332 if (!SWIG_IsOK(res1)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9334 }
9335 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 {
9343 resultobj = wxPyMake_wxObject(result, 0);
9344 }
9345 return resultobj;
9346 fail:
9347 return NULL;
9348 }
9349
9350
9351 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9352 PyObject *resultobj = 0;
9353 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9354 wxWindow *result = 0 ;
9355 void *argp1 = 0 ;
9356 int res1 = 0 ;
9357 PyObject *swig_obj[1] ;
9358
9359 if (!args) SWIG_fail;
9360 swig_obj[0] = args;
9361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9362 if (!SWIG_IsOK(res1)) {
9363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9364 }
9365 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9366 {
9367 PyThreadState* __tstate = wxPyBeginAllowThreads();
9368 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 {
9373 resultobj = wxPyMake_wxObject(result, 0);
9374 }
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj = 0;
9383 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9384 int arg2 ;
9385 void *argp1 = 0 ;
9386 int res1 = 0 ;
9387 int val2 ;
9388 int ecode2 = 0 ;
9389 PyObject * obj0 = 0 ;
9390 PyObject * obj1 = 0 ;
9391 char * kwnames[] = {
9392 (char *) "self",(char *) "mode", NULL
9393 };
9394
9395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9397 if (!SWIG_IsOK(res1)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9399 }
9400 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9401 ecode2 = SWIG_AsVal_int(obj1, &val2);
9402 if (!SWIG_IsOK(ecode2)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9404 }
9405 arg2 = static_cast< int >(val2);
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 (arg1)->SetSplitMode(arg2);
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_Py_Void();
9413 return resultobj;
9414 fail:
9415 return NULL;
9416 }
9417
9418
9419 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9420 PyObject *resultobj = 0;
9421 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9422 wxSplitMode result;
9423 void *argp1 = 0 ;
9424 int res1 = 0 ;
9425 PyObject *swig_obj[1] ;
9426
9427 if (!args) SWIG_fail;
9428 swig_obj[0] = args;
9429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9430 if (!SWIG_IsOK(res1)) {
9431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9432 }
9433 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 resultobj = SWIG_From_int(static_cast< int >(result));
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj = 0;
9449 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9450 wxWindow *arg2 = (wxWindow *) 0 ;
9451 void *argp1 = 0 ;
9452 int res1 = 0 ;
9453 void *argp2 = 0 ;
9454 int res2 = 0 ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 char * kwnames[] = {
9458 (char *) "self",(char *) "window", NULL
9459 };
9460
9461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9463 if (!SWIG_IsOK(res1)) {
9464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9465 }
9466 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9468 if (!SWIG_IsOK(res2)) {
9469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9470 }
9471 arg2 = reinterpret_cast< wxWindow * >(argp2);
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 (arg1)->Initialize(arg2);
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_Py_Void();
9479 return resultobj;
9480 fail:
9481 return NULL;
9482 }
9483
9484
9485 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj = 0;
9487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9488 wxWindow *arg2 = (wxWindow *) 0 ;
9489 wxWindow *arg3 = (wxWindow *) 0 ;
9490 int arg4 = (int) 0 ;
9491 bool result;
9492 void *argp1 = 0 ;
9493 int res1 = 0 ;
9494 void *argp2 = 0 ;
9495 int res2 = 0 ;
9496 void *argp3 = 0 ;
9497 int res3 = 0 ;
9498 int val4 ;
9499 int ecode4 = 0 ;
9500 PyObject * obj0 = 0 ;
9501 PyObject * obj1 = 0 ;
9502 PyObject * obj2 = 0 ;
9503 PyObject * obj3 = 0 ;
9504 char * kwnames[] = {
9505 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9506 };
9507
9508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9510 if (!SWIG_IsOK(res1)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9512 }
9513 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9515 if (!SWIG_IsOK(res2)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9517 }
9518 arg2 = reinterpret_cast< wxWindow * >(argp2);
9519 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9520 if (!SWIG_IsOK(res3)) {
9521 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9522 }
9523 arg3 = reinterpret_cast< wxWindow * >(argp3);
9524 if (obj3) {
9525 ecode4 = SWIG_AsVal_int(obj3, &val4);
9526 if (!SWIG_IsOK(ecode4)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9528 }
9529 arg4 = static_cast< int >(val4);
9530 }
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 {
9538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9539 }
9540 return resultobj;
9541 fail:
9542 return NULL;
9543 }
9544
9545
9546 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj = 0;
9548 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9549 wxWindow *arg2 = (wxWindow *) 0 ;
9550 wxWindow *arg3 = (wxWindow *) 0 ;
9551 int arg4 = (int) 0 ;
9552 bool result;
9553 void *argp1 = 0 ;
9554 int res1 = 0 ;
9555 void *argp2 = 0 ;
9556 int res2 = 0 ;
9557 void *argp3 = 0 ;
9558 int res3 = 0 ;
9559 int val4 ;
9560 int ecode4 = 0 ;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 PyObject * obj2 = 0 ;
9564 PyObject * obj3 = 0 ;
9565 char * kwnames[] = {
9566 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9567 };
9568
9569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9571 if (!SWIG_IsOK(res1)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9573 }
9574 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9576 if (!SWIG_IsOK(res2)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9578 }
9579 arg2 = reinterpret_cast< wxWindow * >(argp2);
9580 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9581 if (!SWIG_IsOK(res3)) {
9582 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9583 }
9584 arg3 = reinterpret_cast< wxWindow * >(argp3);
9585 if (obj3) {
9586 ecode4 = SWIG_AsVal_int(obj3, &val4);
9587 if (!SWIG_IsOK(ecode4)) {
9588 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9589 }
9590 arg4 = static_cast< int >(val4);
9591 }
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 {
9599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9600 }
9601 return resultobj;
9602 fail:
9603 return NULL;
9604 }
9605
9606
9607 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9608 PyObject *resultobj = 0;
9609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9610 wxWindow *arg2 = (wxWindow *) NULL ;
9611 bool result;
9612 void *argp1 = 0 ;
9613 int res1 = 0 ;
9614 void *argp2 = 0 ;
9615 int res2 = 0 ;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj1 = 0 ;
9618 char * kwnames[] = {
9619 (char *) "self",(char *) "toRemove", NULL
9620 };
9621
9622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res1)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9626 }
9627 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9628 if (obj1) {
9629 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9630 if (!SWIG_IsOK(res2)) {
9631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9632 }
9633 arg2 = reinterpret_cast< wxWindow * >(argp2);
9634 }
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (bool)(arg1)->Unsplit(arg2);
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9643 }
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj = 0;
9652 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9653 wxWindow *arg2 = (wxWindow *) 0 ;
9654 wxWindow *arg3 = (wxWindow *) 0 ;
9655 bool result;
9656 void *argp1 = 0 ;
9657 int res1 = 0 ;
9658 void *argp2 = 0 ;
9659 int res2 = 0 ;
9660 void *argp3 = 0 ;
9661 int res3 = 0 ;
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 PyObject * obj2 = 0 ;
9665 char * kwnames[] = {
9666 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9667 };
9668
9669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9671 if (!SWIG_IsOK(res1)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9673 }
9674 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9675 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9676 if (!SWIG_IsOK(res2)) {
9677 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9678 }
9679 arg2 = reinterpret_cast< wxWindow * >(argp2);
9680 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9681 if (!SWIG_IsOK(res3)) {
9682 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9683 }
9684 arg3 = reinterpret_cast< wxWindow * >(argp3);
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 {
9692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9693 }
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9701 PyObject *resultobj = 0;
9702 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9703 void *argp1 = 0 ;
9704 int res1 = 0 ;
9705 PyObject *swig_obj[1] ;
9706
9707 if (!args) SWIG_fail;
9708 swig_obj[0] = args;
9709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9712 }
9713 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 (arg1)->UpdateSize();
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_Py_Void();
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9728 PyObject *resultobj = 0;
9729 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9730 bool result;
9731 void *argp1 = 0 ;
9732 int res1 = 0 ;
9733 PyObject *swig_obj[1] ;
9734
9735 if (!args) SWIG_fail;
9736 swig_obj[0] = args;
9737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9738 if (!SWIG_IsOK(res1)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9740 }
9741 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 }
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj = 0;
9759 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9760 int arg2 ;
9761 void *argp1 = 0 ;
9762 int res1 = 0 ;
9763 int val2 ;
9764 int ecode2 = 0 ;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char * kwnames[] = {
9768 (char *) "self",(char *) "width", NULL
9769 };
9770
9771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9773 if (!SWIG_IsOK(res1)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9775 }
9776 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9777 ecode2 = SWIG_AsVal_int(obj1, &val2);
9778 if (!SWIG_IsOK(ecode2)) {
9779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9780 }
9781 arg2 = static_cast< int >(val2);
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 (arg1)->SetSashSize(arg2);
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 resultobj = SWIG_Py_Void();
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9796 PyObject *resultobj = 0;
9797 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9798 int arg2 ;
9799 void *argp1 = 0 ;
9800 int res1 = 0 ;
9801 int val2 ;
9802 int ecode2 = 0 ;
9803 PyObject * obj0 = 0 ;
9804 PyObject * obj1 = 0 ;
9805 char * kwnames[] = {
9806 (char *) "self",(char *) "width", NULL
9807 };
9808
9809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9811 if (!SWIG_IsOK(res1)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9813 }
9814 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9815 ecode2 = SWIG_AsVal_int(obj1, &val2);
9816 if (!SWIG_IsOK(ecode2)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9818 }
9819 arg2 = static_cast< int >(val2);
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetBorderSize(arg2);
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_Py_Void();
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9834 PyObject *resultobj = 0;
9835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9836 int result;
9837 void *argp1 = 0 ;
9838 int res1 = 0 ;
9839 PyObject *swig_obj[1] ;
9840
9841 if (!args) SWIG_fail;
9842 swig_obj[0] = args;
9843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9844 if (!SWIG_IsOK(res1)) {
9845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9846 }
9847 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_From_int(static_cast< int >(result));
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9862 PyObject *resultobj = 0;
9863 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9864 int result;
9865 void *argp1 = 0 ;
9866 int res1 = 0 ;
9867 PyObject *swig_obj[1] ;
9868
9869 if (!args) SWIG_fail;
9870 swig_obj[0] = args;
9871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9872 if (!SWIG_IsOK(res1)) {
9873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9874 }
9875 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_From_int(static_cast< int >(result));
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = 0;
9891 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9892 int arg2 ;
9893 bool arg3 = (bool) true ;
9894 void *argp1 = 0 ;
9895 int res1 = 0 ;
9896 int val2 ;
9897 int ecode2 = 0 ;
9898 bool val3 ;
9899 int ecode3 = 0 ;
9900 PyObject * obj0 = 0 ;
9901 PyObject * obj1 = 0 ;
9902 PyObject * obj2 = 0 ;
9903 char * kwnames[] = {
9904 (char *) "self",(char *) "position",(char *) "redraw", NULL
9905 };
9906
9907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9909 if (!SWIG_IsOK(res1)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9911 }
9912 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9913 ecode2 = SWIG_AsVal_int(obj1, &val2);
9914 if (!SWIG_IsOK(ecode2)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9916 }
9917 arg2 = static_cast< int >(val2);
9918 if (obj2) {
9919 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9920 if (!SWIG_IsOK(ecode3)) {
9921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9922 }
9923 arg3 = static_cast< bool >(val3);
9924 }
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 (arg1)->SetSashPosition(arg2,arg3);
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 resultobj = SWIG_Py_Void();
9932 return resultobj;
9933 fail:
9934 return NULL;
9935 }
9936
9937
9938 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9939 PyObject *resultobj = 0;
9940 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9941 int result;
9942 void *argp1 = 0 ;
9943 int res1 = 0 ;
9944 PyObject *swig_obj[1] ;
9945
9946 if (!args) SWIG_fail;
9947 swig_obj[0] = args;
9948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9949 if (!SWIG_IsOK(res1)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9951 }
9952 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 resultobj = SWIG_From_int(static_cast< int >(result));
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9967 PyObject *resultobj = 0;
9968 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9969 double arg2 ;
9970 void *argp1 = 0 ;
9971 int res1 = 0 ;
9972 double val2 ;
9973 int ecode2 = 0 ;
9974 PyObject * obj0 = 0 ;
9975 PyObject * obj1 = 0 ;
9976 char * kwnames[] = {
9977 (char *) "self",(char *) "gravity", NULL
9978 };
9979
9980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
9981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9982 if (!SWIG_IsOK(res1)) {
9983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9984 }
9985 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9986 ecode2 = SWIG_AsVal_double(obj1, &val2);
9987 if (!SWIG_IsOK(ecode2)) {
9988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
9989 }
9990 arg2 = static_cast< double >(val2);
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->SetSashGravity(arg2);
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 resultobj = SWIG_Py_Void();
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10005 PyObject *resultobj = 0;
10006 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10007 double result;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 PyObject *swig_obj[1] ;
10011
10012 if (!args) SWIG_fail;
10013 swig_obj[0] = args;
10014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10015 if (!SWIG_IsOK(res1)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10017 }
10018 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10022 wxPyEndAllowThreads(__tstate);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 }
10025 resultobj = SWIG_From_double(static_cast< double >(result));
10026 return resultobj;
10027 fail:
10028 return NULL;
10029 }
10030
10031
10032 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10033 PyObject *resultobj = 0;
10034 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10035 int arg2 ;
10036 void *argp1 = 0 ;
10037 int res1 = 0 ;
10038 int val2 ;
10039 int ecode2 = 0 ;
10040 PyObject * obj0 = 0 ;
10041 PyObject * obj1 = 0 ;
10042 char * kwnames[] = {
10043 (char *) "self",(char *) "min", NULL
10044 };
10045
10046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10048 if (!SWIG_IsOK(res1)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10050 }
10051 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10052 ecode2 = SWIG_AsVal_int(obj1, &val2);
10053 if (!SWIG_IsOK(ecode2)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10055 }
10056 arg2 = static_cast< int >(val2);
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->SetMinimumPaneSize(arg2);
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 resultobj = SWIG_Py_Void();
10064 return resultobj;
10065 fail:
10066 return NULL;
10067 }
10068
10069
10070 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10071 PyObject *resultobj = 0;
10072 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10073 int result;
10074 void *argp1 = 0 ;
10075 int res1 = 0 ;
10076 PyObject *swig_obj[1] ;
10077
10078 if (!args) SWIG_fail;
10079 swig_obj[0] = args;
10080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10081 if (!SWIG_IsOK(res1)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10083 }
10084 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 resultobj = SWIG_From_int(static_cast< int >(result));
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj = 0;
10100 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10101 int arg2 ;
10102 int arg3 ;
10103 int arg4 = (int) 5 ;
10104 bool result;
10105 void *argp1 = 0 ;
10106 int res1 = 0 ;
10107 int val2 ;
10108 int ecode2 = 0 ;
10109 int val3 ;
10110 int ecode3 = 0 ;
10111 int val4 ;
10112 int ecode4 = 0 ;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115 PyObject * obj2 = 0 ;
10116 PyObject * obj3 = 0 ;
10117 char * kwnames[] = {
10118 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10119 };
10120
10121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10123 if (!SWIG_IsOK(res1)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10125 }
10126 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10127 ecode2 = SWIG_AsVal_int(obj1, &val2);
10128 if (!SWIG_IsOK(ecode2)) {
10129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10130 }
10131 arg2 = static_cast< int >(val2);
10132 ecode3 = SWIG_AsVal_int(obj2, &val3);
10133 if (!SWIG_IsOK(ecode3)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10135 }
10136 arg3 = static_cast< int >(val3);
10137 if (obj3) {
10138 ecode4 = SWIG_AsVal_int(obj3, &val4);
10139 if (!SWIG_IsOK(ecode4)) {
10140 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10141 }
10142 arg4 = static_cast< int >(val4);
10143 }
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10147 wxPyEndAllowThreads(__tstate);
10148 if (PyErr_Occurred()) SWIG_fail;
10149 }
10150 {
10151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10152 }
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10160 PyObject *resultobj = 0;
10161 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10162 void *argp1 = 0 ;
10163 int res1 = 0 ;
10164 PyObject *swig_obj[1] ;
10165
10166 if (!args) SWIG_fail;
10167 swig_obj[0] = args;
10168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10169 if (!SWIG_IsOK(res1)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10171 }
10172 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 (arg1)->SizeWindows();
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 resultobj = SWIG_Py_Void();
10180 return resultobj;
10181 fail:
10182 return NULL;
10183 }
10184
10185
10186 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10187 PyObject *resultobj = 0;
10188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10189 bool arg2 ;
10190 void *argp1 = 0 ;
10191 int res1 = 0 ;
10192 bool val2 ;
10193 int ecode2 = 0 ;
10194 PyObject * obj0 = 0 ;
10195 PyObject * obj1 = 0 ;
10196 char * kwnames[] = {
10197 (char *) "self",(char *) "needUpdating", NULL
10198 };
10199
10200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10202 if (!SWIG_IsOK(res1)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10204 }
10205 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10206 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10207 if (!SWIG_IsOK(ecode2)) {
10208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10209 }
10210 arg2 = static_cast< bool >(val2);
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 (arg1)->SetNeedUpdating(arg2);
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_Py_Void();
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10225 PyObject *resultobj = 0;
10226 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10227 bool result;
10228 void *argp1 = 0 ;
10229 int res1 = 0 ;
10230 PyObject *swig_obj[1] ;
10231
10232 if (!args) SWIG_fail;
10233 swig_obj[0] = args;
10234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10237 }
10238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 {
10246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10247 }
10248 return resultobj;
10249 fail:
10250 return NULL;
10251 }
10252
10253
10254 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj = 0;
10256 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10257 SwigValueWrapper<wxVisualAttributes > result;
10258 int val1 ;
10259 int ecode1 = 0 ;
10260 PyObject * obj0 = 0 ;
10261 char * kwnames[] = {
10262 (char *) "variant", NULL
10263 };
10264
10265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10266 if (obj0) {
10267 ecode1 = SWIG_AsVal_int(obj0, &val1);
10268 if (!SWIG_IsOK(ecode1)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10270 }
10271 arg1 = static_cast< wxWindowVariant >(val1);
10272 }
10273 {
10274 if (!wxPyCheckForApp()) SWIG_fail;
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10288 PyObject *obj;
10289 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10290 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10291 return SWIG_Py_Void();
10292 }
10293
10294 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10295 return SWIG_Python_InitShadowInstance(args);
10296 }
10297
10298 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj = 0;
10300 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10301 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10302 wxSplitterEvent *result = 0 ;
10303 int val1 ;
10304 int ecode1 = 0 ;
10305 void *argp2 = 0 ;
10306 int res2 = 0 ;
10307 PyObject * obj0 = 0 ;
10308 PyObject * obj1 = 0 ;
10309 char * kwnames[] = {
10310 (char *) "type",(char *) "splitter", NULL
10311 };
10312
10313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10314 if (obj0) {
10315 ecode1 = SWIG_AsVal_int(obj0, &val1);
10316 if (!SWIG_IsOK(ecode1)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10318 }
10319 arg1 = static_cast< wxEventType >(val1);
10320 }
10321 if (obj1) {
10322 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10323 if (!SWIG_IsOK(res2)) {
10324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10325 }
10326 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10327 }
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10335 return resultobj;
10336 fail:
10337 return NULL;
10338 }
10339
10340
10341 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj = 0;
10343 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10344 int arg2 ;
10345 void *argp1 = 0 ;
10346 int res1 = 0 ;
10347 int val2 ;
10348 int ecode2 = 0 ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char * kwnames[] = {
10352 (char *) "self",(char *) "pos", NULL
10353 };
10354
10355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10357 if (!SWIG_IsOK(res1)) {
10358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10359 }
10360 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10361 ecode2 = SWIG_AsVal_int(obj1, &val2);
10362 if (!SWIG_IsOK(ecode2)) {
10363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10364 }
10365 arg2 = static_cast< int >(val2);
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->SetSashPosition(arg2);
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 resultobj = SWIG_Py_Void();
10373 return resultobj;
10374 fail:
10375 return NULL;
10376 }
10377
10378
10379 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10380 PyObject *resultobj = 0;
10381 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10382 int result;
10383 void *argp1 = 0 ;
10384 int res1 = 0 ;
10385 PyObject *swig_obj[1] ;
10386
10387 if (!args) SWIG_fail;
10388 swig_obj[0] = args;
10389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10390 if (!SWIG_IsOK(res1)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10392 }
10393 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 resultobj = SWIG_From_int(static_cast< int >(result));
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10408 PyObject *resultobj = 0;
10409 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10410 wxWindow *result = 0 ;
10411 void *argp1 = 0 ;
10412 int res1 = 0 ;
10413 PyObject *swig_obj[1] ;
10414
10415 if (!args) SWIG_fail;
10416 swig_obj[0] = args;
10417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10418 if (!SWIG_IsOK(res1)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10420 }
10421 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 {
10429 resultobj = wxPyMake_wxObject(result, 0);
10430 }
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10438 PyObject *resultobj = 0;
10439 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10440 int result;
10441 void *argp1 = 0 ;
10442 int res1 = 0 ;
10443 PyObject *swig_obj[1] ;
10444
10445 if (!args) SWIG_fail;
10446 swig_obj[0] = args;
10447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10448 if (!SWIG_IsOK(res1)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10450 }
10451 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = SWIG_From_int(static_cast< int >(result));
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10466 PyObject *resultobj = 0;
10467 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10468 int result;
10469 void *argp1 = 0 ;
10470 int res1 = 0 ;
10471 PyObject *swig_obj[1] ;
10472
10473 if (!args) SWIG_fail;
10474 swig_obj[0] = args;
10475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10476 if (!SWIG_IsOK(res1)) {
10477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10478 }
10479 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 resultobj = SWIG_From_int(static_cast< int >(result));
10487 return resultobj;
10488 fail:
10489 return NULL;
10490 }
10491
10492
10493 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10494 PyObject *obj;
10495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10496 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10497 return SWIG_Py_Void();
10498 }
10499
10500 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10501 return SWIG_Python_InitShadowInstance(args);
10502 }
10503
10504 SWIGINTERN int SashNameStr_set(PyObject *) {
10505 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10506 return 1;
10507 }
10508
10509
10510 SWIGINTERN PyObject *SashNameStr_get(void) {
10511 PyObject *pyobj = 0;
10512
10513 {
10514 #if wxUSE_UNICODE
10515 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10516 #else
10517 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10518 #endif
10519 }
10520 return pyobj;
10521 }
10522
10523
10524 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10525 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10526 return 1;
10527 }
10528
10529
10530 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10531 PyObject *pyobj = 0;
10532
10533 {
10534 #if wxUSE_UNICODE
10535 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10536 #else
10537 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10538 #endif
10539 }
10540 return pyobj;
10541 }
10542
10543
10544 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj = 0;
10546 wxWindow *arg1 = (wxWindow *) 0 ;
10547 int arg2 = (int) -1 ;
10548 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10549 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10550 wxSize const &arg4_defvalue = wxDefaultSize ;
10551 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10552 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10553 wxString const &arg6_defvalue = wxPySashNameStr ;
10554 wxString *arg6 = (wxString *) &arg6_defvalue ;
10555 wxSashWindow *result = 0 ;
10556 void *argp1 = 0 ;
10557 int res1 = 0 ;
10558 int val2 ;
10559 int ecode2 = 0 ;
10560 wxPoint temp3 ;
10561 wxSize temp4 ;
10562 long val5 ;
10563 int ecode5 = 0 ;
10564 bool temp6 = false ;
10565 PyObject * obj0 = 0 ;
10566 PyObject * obj1 = 0 ;
10567 PyObject * obj2 = 0 ;
10568 PyObject * obj3 = 0 ;
10569 PyObject * obj4 = 0 ;
10570 PyObject * obj5 = 0 ;
10571 char * kwnames[] = {
10572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10573 };
10574
10575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10577 if (!SWIG_IsOK(res1)) {
10578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10579 }
10580 arg1 = reinterpret_cast< wxWindow * >(argp1);
10581 if (obj1) {
10582 ecode2 = SWIG_AsVal_int(obj1, &val2);
10583 if (!SWIG_IsOK(ecode2)) {
10584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10585 }
10586 arg2 = static_cast< int >(val2);
10587 }
10588 if (obj2) {
10589 {
10590 arg3 = &temp3;
10591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10592 }
10593 }
10594 if (obj3) {
10595 {
10596 arg4 = &temp4;
10597 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10598 }
10599 }
10600 if (obj4) {
10601 ecode5 = SWIG_AsVal_long(obj4, &val5);
10602 if (!SWIG_IsOK(ecode5)) {
10603 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10604 }
10605 arg5 = static_cast< long >(val5);
10606 }
10607 if (obj5) {
10608 {
10609 arg6 = wxString_in_helper(obj5);
10610 if (arg6 == NULL) SWIG_fail;
10611 temp6 = true;
10612 }
10613 }
10614 {
10615 if (!wxPyCheckForApp()) SWIG_fail;
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10618 wxPyEndAllowThreads(__tstate);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10622 {
10623 if (temp6)
10624 delete arg6;
10625 }
10626 return resultobj;
10627 fail:
10628 {
10629 if (temp6)
10630 delete arg6;
10631 }
10632 return NULL;
10633 }
10634
10635
10636 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10637 PyObject *resultobj = 0;
10638 wxSashWindow *result = 0 ;
10639
10640 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10641 {
10642 if (!wxPyCheckForApp()) SWIG_fail;
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (wxSashWindow *)new wxSashWindow();
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj = 0;
10657 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10658 wxWindow *arg2 = (wxWindow *) 0 ;
10659 int arg3 = (int) -1 ;
10660 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10661 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10662 wxSize const &arg5_defvalue = wxDefaultSize ;
10663 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10664 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10665 wxString const &arg7_defvalue = wxPySashNameStr ;
10666 wxString *arg7 = (wxString *) &arg7_defvalue ;
10667 bool result;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 void *argp2 = 0 ;
10671 int res2 = 0 ;
10672 int val3 ;
10673 int ecode3 = 0 ;
10674 wxPoint temp4 ;
10675 wxSize temp5 ;
10676 long val6 ;
10677 int ecode6 = 0 ;
10678 bool temp7 = false ;
10679 PyObject * obj0 = 0 ;
10680 PyObject * obj1 = 0 ;
10681 PyObject * obj2 = 0 ;
10682 PyObject * obj3 = 0 ;
10683 PyObject * obj4 = 0 ;
10684 PyObject * obj5 = 0 ;
10685 PyObject * obj6 = 0 ;
10686 char * kwnames[] = {
10687 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10688 };
10689
10690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10692 if (!SWIG_IsOK(res1)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10694 }
10695 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10696 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10697 if (!SWIG_IsOK(res2)) {
10698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10699 }
10700 arg2 = reinterpret_cast< wxWindow * >(argp2);
10701 if (obj2) {
10702 ecode3 = SWIG_AsVal_int(obj2, &val3);
10703 if (!SWIG_IsOK(ecode3)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10705 }
10706 arg3 = static_cast< int >(val3);
10707 }
10708 if (obj3) {
10709 {
10710 arg4 = &temp4;
10711 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10712 }
10713 }
10714 if (obj4) {
10715 {
10716 arg5 = &temp5;
10717 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10718 }
10719 }
10720 if (obj5) {
10721 ecode6 = SWIG_AsVal_long(obj5, &val6);
10722 if (!SWIG_IsOK(ecode6)) {
10723 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10724 }
10725 arg6 = static_cast< long >(val6);
10726 }
10727 if (obj6) {
10728 {
10729 arg7 = wxString_in_helper(obj6);
10730 if (arg7 == NULL) SWIG_fail;
10731 temp7 = true;
10732 }
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10742 }
10743 {
10744 if (temp7)
10745 delete arg7;
10746 }
10747 return resultobj;
10748 fail:
10749 {
10750 if (temp7)
10751 delete arg7;
10752 }
10753 return NULL;
10754 }
10755
10756
10757 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj = 0;
10759 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10760 wxSashEdgePosition arg2 ;
10761 bool arg3 ;
10762 void *argp1 = 0 ;
10763 int res1 = 0 ;
10764 int val2 ;
10765 int ecode2 = 0 ;
10766 bool val3 ;
10767 int ecode3 = 0 ;
10768 PyObject * obj0 = 0 ;
10769 PyObject * obj1 = 0 ;
10770 PyObject * obj2 = 0 ;
10771 char * kwnames[] = {
10772 (char *) "self",(char *) "edge",(char *) "sash", NULL
10773 };
10774
10775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10777 if (!SWIG_IsOK(res1)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10779 }
10780 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10781 ecode2 = SWIG_AsVal_int(obj1, &val2);
10782 if (!SWIG_IsOK(ecode2)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10784 }
10785 arg2 = static_cast< wxSashEdgePosition >(val2);
10786 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10787 if (!SWIG_IsOK(ecode3)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10789 }
10790 arg3 = static_cast< bool >(val3);
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 (arg1)->SetSashVisible(arg2,arg3);
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = SWIG_Py_Void();
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj = 0;
10806 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10807 wxSashEdgePosition arg2 ;
10808 bool result;
10809 void *argp1 = 0 ;
10810 int res1 = 0 ;
10811 int val2 ;
10812 int ecode2 = 0 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 char * kwnames[] = {
10816 (char *) "self",(char *) "edge", NULL
10817 };
10818
10819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10821 if (!SWIG_IsOK(res1)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10823 }
10824 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10825 ecode2 = SWIG_AsVal_int(obj1, &val2);
10826 if (!SWIG_IsOK(ecode2)) {
10827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10828 }
10829 arg2 = static_cast< wxSashEdgePosition >(val2);
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 {
10837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10838 }
10839 return resultobj;
10840 fail:
10841 return NULL;
10842 }
10843
10844
10845 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj = 0;
10847 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10848 wxSashEdgePosition arg2 ;
10849 bool arg3 ;
10850 void *argp1 = 0 ;
10851 int res1 = 0 ;
10852 int val2 ;
10853 int ecode2 = 0 ;
10854 bool val3 ;
10855 int ecode3 = 0 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 PyObject * obj2 = 0 ;
10859 char * kwnames[] = {
10860 (char *) "self",(char *) "edge",(char *) "border", NULL
10861 };
10862
10863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10865 if (!SWIG_IsOK(res1)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10867 }
10868 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10869 ecode2 = SWIG_AsVal_int(obj1, &val2);
10870 if (!SWIG_IsOK(ecode2)) {
10871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10872 }
10873 arg2 = static_cast< wxSashEdgePosition >(val2);
10874 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10875 if (!SWIG_IsOK(ecode3)) {
10876 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10877 }
10878 arg3 = static_cast< bool >(val3);
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetSashBorder(arg2,arg3);
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 resultobj = SWIG_Py_Void();
10886 return resultobj;
10887 fail:
10888 return NULL;
10889 }
10890
10891
10892 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10893 PyObject *resultobj = 0;
10894 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10895 wxSashEdgePosition arg2 ;
10896 bool result;
10897 void *argp1 = 0 ;
10898 int res1 = 0 ;
10899 int val2 ;
10900 int ecode2 = 0 ;
10901 PyObject * obj0 = 0 ;
10902 PyObject * obj1 = 0 ;
10903 char * kwnames[] = {
10904 (char *) "self",(char *) "edge", NULL
10905 };
10906
10907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10909 if (!SWIG_IsOK(res1)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10911 }
10912 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10913 ecode2 = SWIG_AsVal_int(obj1, &val2);
10914 if (!SWIG_IsOK(ecode2)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10916 }
10917 arg2 = static_cast< wxSashEdgePosition >(val2);
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 {
10925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10926 }
10927 return resultobj;
10928 fail:
10929 return NULL;
10930 }
10931
10932
10933 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj = 0;
10935 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10936 wxSashEdgePosition arg2 ;
10937 int result;
10938 void *argp1 = 0 ;
10939 int res1 = 0 ;
10940 int val2 ;
10941 int ecode2 = 0 ;
10942 PyObject * obj0 = 0 ;
10943 PyObject * obj1 = 0 ;
10944 char * kwnames[] = {
10945 (char *) "self",(char *) "edge", NULL
10946 };
10947
10948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10950 if (!SWIG_IsOK(res1)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10952 }
10953 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10954 ecode2 = SWIG_AsVal_int(obj1, &val2);
10955 if (!SWIG_IsOK(ecode2)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10957 }
10958 arg2 = static_cast< wxSashEdgePosition >(val2);
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 resultobj = SWIG_From_int(static_cast< int >(result));
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj = 0;
10974 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10975 int arg2 ;
10976 void *argp1 = 0 ;
10977 int res1 = 0 ;
10978 int val2 ;
10979 int ecode2 = 0 ;
10980 PyObject * obj0 = 0 ;
10981 PyObject * obj1 = 0 ;
10982 char * kwnames[] = {
10983 (char *) "self",(char *) "width", NULL
10984 };
10985
10986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10988 if (!SWIG_IsOK(res1)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10990 }
10991 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10992 ecode2 = SWIG_AsVal_int(obj1, &val2);
10993 if (!SWIG_IsOK(ecode2)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
10995 }
10996 arg2 = static_cast< int >(val2);
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->SetDefaultBorderSize(arg2);
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_Py_Void();
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11011 PyObject *resultobj = 0;
11012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11013 int result;
11014 void *argp1 = 0 ;
11015 int res1 = 0 ;
11016 PyObject *swig_obj[1] ;
11017
11018 if (!args) SWIG_fail;
11019 swig_obj[0] = args;
11020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11021 if (!SWIG_IsOK(res1)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11023 }
11024 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_From_int(static_cast< int >(result));
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj = 0;
11040 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11041 int arg2 ;
11042 void *argp1 = 0 ;
11043 int res1 = 0 ;
11044 int val2 ;
11045 int ecode2 = 0 ;
11046 PyObject * obj0 = 0 ;
11047 PyObject * obj1 = 0 ;
11048 char * kwnames[] = {
11049 (char *) "self",(char *) "width", NULL
11050 };
11051
11052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11054 if (!SWIG_IsOK(res1)) {
11055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11056 }
11057 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11058 ecode2 = SWIG_AsVal_int(obj1, &val2);
11059 if (!SWIG_IsOK(ecode2)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11061 }
11062 arg2 = static_cast< int >(val2);
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 (arg1)->SetExtraBorderSize(arg2);
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 resultobj = SWIG_Py_Void();
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11077 PyObject *resultobj = 0;
11078 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11079 int result;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 PyObject *swig_obj[1] ;
11083
11084 if (!args) SWIG_fail;
11085 swig_obj[0] = args;
11086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11087 if (!SWIG_IsOK(res1)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11089 }
11090 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 resultobj = SWIG_From_int(static_cast< int >(result));
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj = 0;
11106 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11107 int arg2 ;
11108 void *argp1 = 0 ;
11109 int res1 = 0 ;
11110 int val2 ;
11111 int ecode2 = 0 ;
11112 PyObject * obj0 = 0 ;
11113 PyObject * obj1 = 0 ;
11114 char * kwnames[] = {
11115 (char *) "self",(char *) "min", NULL
11116 };
11117
11118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11120 if (!SWIG_IsOK(res1)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11122 }
11123 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11124 ecode2 = SWIG_AsVal_int(obj1, &val2);
11125 if (!SWIG_IsOK(ecode2)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11127 }
11128 arg2 = static_cast< int >(val2);
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 (arg1)->SetMinimumSizeX(arg2);
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 resultobj = SWIG_Py_Void();
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj = 0;
11144 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11145 int arg2 ;
11146 void *argp1 = 0 ;
11147 int res1 = 0 ;
11148 int val2 ;
11149 int ecode2 = 0 ;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 char * kwnames[] = {
11153 (char *) "self",(char *) "min", NULL
11154 };
11155
11156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11158 if (!SWIG_IsOK(res1)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11160 }
11161 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11162 ecode2 = SWIG_AsVal_int(obj1, &val2);
11163 if (!SWIG_IsOK(ecode2)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11165 }
11166 arg2 = static_cast< int >(val2);
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->SetMinimumSizeY(arg2);
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 resultobj = SWIG_Py_Void();
11174 return resultobj;
11175 fail:
11176 return NULL;
11177 }
11178
11179
11180 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11181 PyObject *resultobj = 0;
11182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11183 int result;
11184 void *argp1 = 0 ;
11185 int res1 = 0 ;
11186 PyObject *swig_obj[1] ;
11187
11188 if (!args) SWIG_fail;
11189 swig_obj[0] = args;
11190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11191 if (!SWIG_IsOK(res1)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11193 }
11194 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
11197 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 resultobj = SWIG_From_int(static_cast< int >(result));
11202 return resultobj;
11203 fail:
11204 return NULL;
11205 }
11206
11207
11208 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11209 PyObject *resultobj = 0;
11210 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11211 int result;
11212 void *argp1 = 0 ;
11213 int res1 = 0 ;
11214 PyObject *swig_obj[1] ;
11215
11216 if (!args) SWIG_fail;
11217 swig_obj[0] = args;
11218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11219 if (!SWIG_IsOK(res1)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11221 }
11222 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 resultobj = SWIG_From_int(static_cast< int >(result));
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11237 PyObject *resultobj = 0;
11238 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11239 int arg2 ;
11240 void *argp1 = 0 ;
11241 int res1 = 0 ;
11242 int val2 ;
11243 int ecode2 = 0 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char * kwnames[] = {
11247 (char *) "self",(char *) "max", NULL
11248 };
11249
11250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11252 if (!SWIG_IsOK(res1)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11254 }
11255 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11256 ecode2 = SWIG_AsVal_int(obj1, &val2);
11257 if (!SWIG_IsOK(ecode2)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11259 }
11260 arg2 = static_cast< int >(val2);
11261 {
11262 PyThreadState* __tstate = wxPyBeginAllowThreads();
11263 (arg1)->SetMaximumSizeX(arg2);
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_Py_Void();
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj = 0;
11276 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11277 int arg2 ;
11278 void *argp1 = 0 ;
11279 int res1 = 0 ;
11280 int val2 ;
11281 int ecode2 = 0 ;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char * kwnames[] = {
11285 (char *) "self",(char *) "max", NULL
11286 };
11287
11288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11290 if (!SWIG_IsOK(res1)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11292 }
11293 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11294 ecode2 = SWIG_AsVal_int(obj1, &val2);
11295 if (!SWIG_IsOK(ecode2)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11297 }
11298 arg2 = static_cast< int >(val2);
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->SetMaximumSizeY(arg2);
11302 wxPyEndAllowThreads(__tstate);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 resultobj = SWIG_Py_Void();
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11313 PyObject *resultobj = 0;
11314 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11315 int result;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 PyObject *swig_obj[1] ;
11319
11320 if (!args) SWIG_fail;
11321 swig_obj[0] = args;
11322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11323 if (!SWIG_IsOK(res1)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11325 }
11326 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = SWIG_From_int(static_cast< int >(result));
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11341 PyObject *resultobj = 0;
11342 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11343 int result;
11344 void *argp1 = 0 ;
11345 int res1 = 0 ;
11346 PyObject *swig_obj[1] ;
11347
11348 if (!args) SWIG_fail;
11349 swig_obj[0] = args;
11350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11351 if (!SWIG_IsOK(res1)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11353 }
11354 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 resultobj = SWIG_From_int(static_cast< int >(result));
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11369 PyObject *resultobj = 0;
11370 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11371 int arg2 ;
11372 int arg3 ;
11373 int arg4 = (int) 2 ;
11374 wxSashEdgePosition result;
11375 void *argp1 = 0 ;
11376 int res1 = 0 ;
11377 int val2 ;
11378 int ecode2 = 0 ;
11379 int val3 ;
11380 int ecode3 = 0 ;
11381 int val4 ;
11382 int ecode4 = 0 ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 PyObject * obj2 = 0 ;
11386 PyObject * obj3 = 0 ;
11387 char * kwnames[] = {
11388 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11389 };
11390
11391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11393 if (!SWIG_IsOK(res1)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11395 }
11396 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11397 ecode2 = SWIG_AsVal_int(obj1, &val2);
11398 if (!SWIG_IsOK(ecode2)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11400 }
11401 arg2 = static_cast< int >(val2);
11402 ecode3 = SWIG_AsVal_int(obj2, &val3);
11403 if (!SWIG_IsOK(ecode3)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11405 }
11406 arg3 = static_cast< int >(val3);
11407 if (obj3) {
11408 ecode4 = SWIG_AsVal_int(obj3, &val4);
11409 if (!SWIG_IsOK(ecode4)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11411 }
11412 arg4 = static_cast< int >(val4);
11413 }
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_From_int(static_cast< int >(result));
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11428 PyObject *resultobj = 0;
11429 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11430 void *argp1 = 0 ;
11431 int res1 = 0 ;
11432 PyObject *swig_obj[1] ;
11433
11434 if (!args) SWIG_fail;
11435 swig_obj[0] = args;
11436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11437 if (!SWIG_IsOK(res1)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 }
11440 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->SizeWindows();
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 resultobj = SWIG_Py_Void();
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11455 PyObject *obj;
11456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11457 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11458 return SWIG_Py_Void();
11459 }
11460
11461 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11462 return SWIG_Python_InitShadowInstance(args);
11463 }
11464
11465 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj = 0;
11467 int arg1 = (int) 0 ;
11468 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11469 wxSashEvent *result = 0 ;
11470 int val1 ;
11471 int ecode1 = 0 ;
11472 int val2 ;
11473 int ecode2 = 0 ;
11474 PyObject * obj0 = 0 ;
11475 PyObject * obj1 = 0 ;
11476 char * kwnames[] = {
11477 (char *) "id",(char *) "edge", NULL
11478 };
11479
11480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11481 if (obj0) {
11482 ecode1 = SWIG_AsVal_int(obj0, &val1);
11483 if (!SWIG_IsOK(ecode1)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11485 }
11486 arg1 = static_cast< int >(val1);
11487 }
11488 if (obj1) {
11489 ecode2 = SWIG_AsVal_int(obj1, &val2);
11490 if (!SWIG_IsOK(ecode2)) {
11491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11492 }
11493 arg2 = static_cast< wxSashEdgePosition >(val2);
11494 }
11495 {
11496 PyThreadState* __tstate = wxPyBeginAllowThreads();
11497 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11498 wxPyEndAllowThreads(__tstate);
11499 if (PyErr_Occurred()) SWIG_fail;
11500 }
11501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11502 return resultobj;
11503 fail:
11504 return NULL;
11505 }
11506
11507
11508 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj = 0;
11510 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11511 wxSashEdgePosition arg2 ;
11512 void *argp1 = 0 ;
11513 int res1 = 0 ;
11514 int val2 ;
11515 int ecode2 = 0 ;
11516 PyObject * obj0 = 0 ;
11517 PyObject * obj1 = 0 ;
11518 char * kwnames[] = {
11519 (char *) "self",(char *) "edge", NULL
11520 };
11521
11522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11524 if (!SWIG_IsOK(res1)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11526 }
11527 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11528 ecode2 = SWIG_AsVal_int(obj1, &val2);
11529 if (!SWIG_IsOK(ecode2)) {
11530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11531 }
11532 arg2 = static_cast< wxSashEdgePosition >(val2);
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 (arg1)->SetEdge(arg2);
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = SWIG_Py_Void();
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11547 PyObject *resultobj = 0;
11548 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11549 wxSashEdgePosition result;
11550 void *argp1 = 0 ;
11551 int res1 = 0 ;
11552 PyObject *swig_obj[1] ;
11553
11554 if (!args) SWIG_fail;
11555 swig_obj[0] = args;
11556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11557 if (!SWIG_IsOK(res1)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11559 }
11560 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11561 {
11562 PyThreadState* __tstate = wxPyBeginAllowThreads();
11563 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 resultobj = SWIG_From_int(static_cast< int >(result));
11568 return resultobj;
11569 fail:
11570 return NULL;
11571 }
11572
11573
11574 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11575 PyObject *resultobj = 0;
11576 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11577 wxRect *arg2 = 0 ;
11578 void *argp1 = 0 ;
11579 int res1 = 0 ;
11580 wxRect temp2 ;
11581 PyObject * obj0 = 0 ;
11582 PyObject * obj1 = 0 ;
11583 char * kwnames[] = {
11584 (char *) "self",(char *) "rect", NULL
11585 };
11586
11587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11589 if (!SWIG_IsOK(res1)) {
11590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11591 }
11592 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11593 {
11594 arg2 = &temp2;
11595 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11596 }
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 (arg1)->SetDragRect((wxRect const &)*arg2);
11600 wxPyEndAllowThreads(__tstate);
11601 if (PyErr_Occurred()) SWIG_fail;
11602 }
11603 resultobj = SWIG_Py_Void();
11604 return resultobj;
11605 fail:
11606 return NULL;
11607 }
11608
11609
11610 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11611 PyObject *resultobj = 0;
11612 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11613 wxRect result;
11614 void *argp1 = 0 ;
11615 int res1 = 0 ;
11616 PyObject *swig_obj[1] ;
11617
11618 if (!args) SWIG_fail;
11619 swig_obj[0] = args;
11620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11621 if (!SWIG_IsOK(res1)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11623 }
11624 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = ((wxSashEvent const *)arg1)->GetDragRect();
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11632 return resultobj;
11633 fail:
11634 return NULL;
11635 }
11636
11637
11638 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11639 PyObject *resultobj = 0;
11640 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11641 wxSashDragStatus arg2 ;
11642 void *argp1 = 0 ;
11643 int res1 = 0 ;
11644 int val2 ;
11645 int ecode2 = 0 ;
11646 PyObject * obj0 = 0 ;
11647 PyObject * obj1 = 0 ;
11648 char * kwnames[] = {
11649 (char *) "self",(char *) "status", NULL
11650 };
11651
11652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11654 if (!SWIG_IsOK(res1)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11656 }
11657 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11658 ecode2 = SWIG_AsVal_int(obj1, &val2);
11659 if (!SWIG_IsOK(ecode2)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11661 }
11662 arg2 = static_cast< wxSashDragStatus >(val2);
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 (arg1)->SetDragStatus(arg2);
11666 wxPyEndAllowThreads(__tstate);
11667 if (PyErr_Occurred()) SWIG_fail;
11668 }
11669 resultobj = SWIG_Py_Void();
11670 return resultobj;
11671 fail:
11672 return NULL;
11673 }
11674
11675
11676 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11677 PyObject *resultobj = 0;
11678 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11679 wxSashDragStatus result;
11680 void *argp1 = 0 ;
11681 int res1 = 0 ;
11682 PyObject *swig_obj[1] ;
11683
11684 if (!args) SWIG_fail;
11685 swig_obj[0] = args;
11686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11687 if (!SWIG_IsOK(res1)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11689 }
11690 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
11697 resultobj = SWIG_From_int(static_cast< int >(result));
11698 return resultobj;
11699 fail:
11700 return NULL;
11701 }
11702
11703
11704 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11705 PyObject *obj;
11706 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11707 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11708 return SWIG_Py_Void();
11709 }
11710
11711 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11712 return SWIG_Python_InitShadowInstance(args);
11713 }
11714
11715 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj = 0;
11717 int arg1 = (int) 0 ;
11718 wxQueryLayoutInfoEvent *result = 0 ;
11719 int val1 ;
11720 int ecode1 = 0 ;
11721 PyObject * obj0 = 0 ;
11722 char * kwnames[] = {
11723 (char *) "id", NULL
11724 };
11725
11726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11727 if (obj0) {
11728 ecode1 = SWIG_AsVal_int(obj0, &val1);
11729 if (!SWIG_IsOK(ecode1)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11731 }
11732 arg1 = static_cast< int >(val1);
11733 }
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj = 0;
11749 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11750 int 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 *) "length", NULL
11759 };
11760
11761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11765 }
11766 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11767 ecode2 = SWIG_AsVal_int(obj1, &val2);
11768 if (!SWIG_IsOK(ecode2)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11770 }
11771 arg2 = static_cast< int >(val2);
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 (arg1)->SetRequestedLength(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_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11788 int 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_wxQueryLayoutInfoEvent, 0 | 0 );
11796 if (!SWIG_IsOK(res1)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11798 }
11799 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
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 *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11814 PyObject *resultobj = 0;
11815 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11816 int arg2 ;
11817 void *argp1 = 0 ;
11818 int res1 = 0 ;
11819 int val2 ;
11820 int ecode2 = 0 ;
11821 PyObject * obj0 = 0 ;
11822 PyObject * obj1 = 0 ;
11823 char * kwnames[] = {
11824 (char *) "self",(char *) "flags", NULL
11825 };
11826
11827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11829 if (!SWIG_IsOK(res1)) {
11830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11831 }
11832 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11833 ecode2 = SWIG_AsVal_int(obj1, &val2);
11834 if (!SWIG_IsOK(ecode2)) {
11835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11836 }
11837 arg2 = static_cast< int >(val2);
11838 {
11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
11840 (arg1)->SetFlags(arg2);
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
11844 resultobj = SWIG_Py_Void();
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11852 PyObject *resultobj = 0;
11853 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11854 int result;
11855 void *argp1 = 0 ;
11856 int res1 = 0 ;
11857 PyObject *swig_obj[1] ;
11858
11859 if (!args) SWIG_fail;
11860 swig_obj[0] = args;
11861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11862 if (!SWIG_IsOK(res1)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11864 }
11865 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 resultobj = SWIG_From_int(static_cast< int >(result));
11873 return resultobj;
11874 fail:
11875 return NULL;
11876 }
11877
11878
11879 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11880 PyObject *resultobj = 0;
11881 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11882 wxSize *arg2 = 0 ;
11883 void *argp1 = 0 ;
11884 int res1 = 0 ;
11885 wxSize temp2 ;
11886 PyObject * obj0 = 0 ;
11887 PyObject * obj1 = 0 ;
11888 char * kwnames[] = {
11889 (char *) "self",(char *) "size", NULL
11890 };
11891
11892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11894 if (!SWIG_IsOK(res1)) {
11895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11896 }
11897 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11898 {
11899 arg2 = &temp2;
11900 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 (arg1)->SetSize((wxSize const &)*arg2);
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 resultobj = SWIG_Py_Void();
11909 return resultobj;
11910 fail:
11911 return NULL;
11912 }
11913
11914
11915 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11916 PyObject *resultobj = 0;
11917 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11918 wxSize result;
11919 void *argp1 = 0 ;
11920 int res1 = 0 ;
11921 PyObject *swig_obj[1] ;
11922
11923 if (!args) SWIG_fail;
11924 swig_obj[0] = args;
11925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11926 if (!SWIG_IsOK(res1)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11928 }
11929 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11937 return resultobj;
11938 fail:
11939 return NULL;
11940 }
11941
11942
11943 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11944 PyObject *resultobj = 0;
11945 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11946 wxLayoutOrientation arg2 ;
11947 void *argp1 = 0 ;
11948 int res1 = 0 ;
11949 int val2 ;
11950 int ecode2 = 0 ;
11951 PyObject * obj0 = 0 ;
11952 PyObject * obj1 = 0 ;
11953 char * kwnames[] = {
11954 (char *) "self",(char *) "orient", NULL
11955 };
11956
11957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
11958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11959 if (!SWIG_IsOK(res1)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11961 }
11962 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11963 ecode2 = SWIG_AsVal_int(obj1, &val2);
11964 if (!SWIG_IsOK(ecode2)) {
11965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
11966 }
11967 arg2 = static_cast< wxLayoutOrientation >(val2);
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 (arg1)->SetOrientation(arg2);
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = SWIG_Py_Void();
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11982 PyObject *resultobj = 0;
11983 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11984 wxLayoutOrientation result;
11985 void *argp1 = 0 ;
11986 int res1 = 0 ;
11987 PyObject *swig_obj[1] ;
11988
11989 if (!args) SWIG_fail;
11990 swig_obj[0] = args;
11991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11992 if (!SWIG_IsOK(res1)) {
11993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11994 }
11995 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 resultobj = SWIG_From_int(static_cast< int >(result));
12003 return resultobj;
12004 fail:
12005 return NULL;
12006 }
12007
12008
12009 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj = 0;
12011 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12012 wxLayoutAlignment arg2 ;
12013 void *argp1 = 0 ;
12014 int res1 = 0 ;
12015 int val2 ;
12016 int ecode2 = 0 ;
12017 PyObject * obj0 = 0 ;
12018 PyObject * obj1 = 0 ;
12019 char * kwnames[] = {
12020 (char *) "self",(char *) "align", NULL
12021 };
12022
12023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12025 if (!SWIG_IsOK(res1)) {
12026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12027 }
12028 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12029 ecode2 = SWIG_AsVal_int(obj1, &val2);
12030 if (!SWIG_IsOK(ecode2)) {
12031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12032 }
12033 arg2 = static_cast< wxLayoutAlignment >(val2);
12034 {
12035 PyThreadState* __tstate = wxPyBeginAllowThreads();
12036 (arg1)->SetAlignment(arg2);
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_Py_Void();
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12048 PyObject *resultobj = 0;
12049 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12050 wxLayoutAlignment result;
12051 void *argp1 = 0 ;
12052 int res1 = 0 ;
12053 PyObject *swig_obj[1] ;
12054
12055 if (!args) SWIG_fail;
12056 swig_obj[0] = args;
12057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12058 if (!SWIG_IsOK(res1)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12060 }
12061 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = SWIG_From_int(static_cast< int >(result));
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12076 PyObject *obj;
12077 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12078 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12079 return SWIG_Py_Void();
12080 }
12081
12082 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12083 return SWIG_Python_InitShadowInstance(args);
12084 }
12085
12086 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj = 0;
12088 int arg1 = (int) 0 ;
12089 wxCalculateLayoutEvent *result = 0 ;
12090 int val1 ;
12091 int ecode1 = 0 ;
12092 PyObject * obj0 = 0 ;
12093 char * kwnames[] = {
12094 (char *) "id", NULL
12095 };
12096
12097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12098 if (obj0) {
12099 ecode1 = SWIG_AsVal_int(obj0, &val1);
12100 if (!SWIG_IsOK(ecode1)) {
12101 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12102 }
12103 arg1 = static_cast< int >(val1);
12104 }
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj = 0;
12120 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12121 int 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 *) "flags", NULL
12130 };
12131
12132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12134 if (!SWIG_IsOK(res1)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12136 }
12137 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12138 ecode2 = SWIG_AsVal_int(obj1, &val2);
12139 if (!SWIG_IsOK(ecode2)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12141 }
12142 arg2 = static_cast< int >(val2);
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 (arg1)->SetFlags(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_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12157 PyObject *resultobj = 0;
12158 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12159 int 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_wxCalculateLayoutEvent, 0 | 0 );
12167 if (!SWIG_IsOK(res1)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12169 }
12170 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
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 *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj = 0;
12186 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12187 wxRect *arg2 = 0 ;
12188 void *argp1 = 0 ;
12189 int res1 = 0 ;
12190 wxRect temp2 ;
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 char * kwnames[] = {
12194 (char *) "self",(char *) "rect", NULL
12195 };
12196
12197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12199 if (!SWIG_IsOK(res1)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12201 }
12202 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12203 {
12204 arg2 = &temp2;
12205 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 (arg1)->SetRect((wxRect const &)*arg2);
12210 wxPyEndAllowThreads(__tstate);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 }
12213 resultobj = SWIG_Py_Void();
12214 return resultobj;
12215 fail:
12216 return NULL;
12217 }
12218
12219
12220 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12221 PyObject *resultobj = 0;
12222 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12223 wxRect result;
12224 void *argp1 = 0 ;
12225 int res1 = 0 ;
12226 PyObject *swig_obj[1] ;
12227
12228 if (!args) SWIG_fail;
12229 swig_obj[0] = args;
12230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12231 if (!SWIG_IsOK(res1)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12233 }
12234 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12249 PyObject *obj;
12250 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12251 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12252 return SWIG_Py_Void();
12253 }
12254
12255 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12256 return SWIG_Python_InitShadowInstance(args);
12257 }
12258
12259 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj = 0;
12261 wxWindow *arg1 = (wxWindow *) 0 ;
12262 int arg2 = (int) -1 ;
12263 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12264 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12265 wxSize const &arg4_defvalue = wxDefaultSize ;
12266 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12267 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12268 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12269 wxString *arg6 = (wxString *) &arg6_defvalue ;
12270 wxSashLayoutWindow *result = 0 ;
12271 void *argp1 = 0 ;
12272 int res1 = 0 ;
12273 int val2 ;
12274 int ecode2 = 0 ;
12275 wxPoint temp3 ;
12276 wxSize temp4 ;
12277 long val5 ;
12278 int ecode5 = 0 ;
12279 bool temp6 = false ;
12280 PyObject * obj0 = 0 ;
12281 PyObject * obj1 = 0 ;
12282 PyObject * obj2 = 0 ;
12283 PyObject * obj3 = 0 ;
12284 PyObject * obj4 = 0 ;
12285 PyObject * obj5 = 0 ;
12286 char * kwnames[] = {
12287 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12288 };
12289
12290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12292 if (!SWIG_IsOK(res1)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12294 }
12295 arg1 = reinterpret_cast< wxWindow * >(argp1);
12296 if (obj1) {
12297 ecode2 = SWIG_AsVal_int(obj1, &val2);
12298 if (!SWIG_IsOK(ecode2)) {
12299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12300 }
12301 arg2 = static_cast< int >(val2);
12302 }
12303 if (obj2) {
12304 {
12305 arg3 = &temp3;
12306 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12307 }
12308 }
12309 if (obj3) {
12310 {
12311 arg4 = &temp4;
12312 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12313 }
12314 }
12315 if (obj4) {
12316 ecode5 = SWIG_AsVal_long(obj4, &val5);
12317 if (!SWIG_IsOK(ecode5)) {
12318 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12319 }
12320 arg5 = static_cast< long >(val5);
12321 }
12322 if (obj5) {
12323 {
12324 arg6 = wxString_in_helper(obj5);
12325 if (arg6 == NULL) SWIG_fail;
12326 temp6 = true;
12327 }
12328 }
12329 {
12330 if (!wxPyCheckForApp()) SWIG_fail;
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12337 {
12338 if (temp6)
12339 delete arg6;
12340 }
12341 return resultobj;
12342 fail:
12343 {
12344 if (temp6)
12345 delete arg6;
12346 }
12347 return NULL;
12348 }
12349
12350
12351 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12352 PyObject *resultobj = 0;
12353 wxSashLayoutWindow *result = 0 ;
12354
12355 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12356 {
12357 if (!wxPyCheckForApp()) SWIG_fail;
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12364 return resultobj;
12365 fail:
12366 return NULL;
12367 }
12368
12369
12370 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12371 PyObject *resultobj = 0;
12372 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12373 wxWindow *arg2 = (wxWindow *) 0 ;
12374 int arg3 = (int) -1 ;
12375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12377 wxSize const &arg5_defvalue = wxDefaultSize ;
12378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12379 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12380 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12381 wxString *arg7 = (wxString *) &arg7_defvalue ;
12382 bool result;
12383 void *argp1 = 0 ;
12384 int res1 = 0 ;
12385 void *argp2 = 0 ;
12386 int res2 = 0 ;
12387 int val3 ;
12388 int ecode3 = 0 ;
12389 wxPoint temp4 ;
12390 wxSize temp5 ;
12391 long val6 ;
12392 int ecode6 = 0 ;
12393 bool temp7 = false ;
12394 PyObject * obj0 = 0 ;
12395 PyObject * obj1 = 0 ;
12396 PyObject * obj2 = 0 ;
12397 PyObject * obj3 = 0 ;
12398 PyObject * obj4 = 0 ;
12399 PyObject * obj5 = 0 ;
12400 PyObject * obj6 = 0 ;
12401 char * kwnames[] = {
12402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12403 };
12404
12405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12407 if (!SWIG_IsOK(res1)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12409 }
12410 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12412 if (!SWIG_IsOK(res2)) {
12413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12414 }
12415 arg2 = reinterpret_cast< wxWindow * >(argp2);
12416 if (obj2) {
12417 ecode3 = SWIG_AsVal_int(obj2, &val3);
12418 if (!SWIG_IsOK(ecode3)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12420 }
12421 arg3 = static_cast< int >(val3);
12422 }
12423 if (obj3) {
12424 {
12425 arg4 = &temp4;
12426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12427 }
12428 }
12429 if (obj4) {
12430 {
12431 arg5 = &temp5;
12432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12433 }
12434 }
12435 if (obj5) {
12436 ecode6 = SWIG_AsVal_long(obj5, &val6);
12437 if (!SWIG_IsOK(ecode6)) {
12438 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12439 }
12440 arg6 = static_cast< long >(val6);
12441 }
12442 if (obj6) {
12443 {
12444 arg7 = wxString_in_helper(obj6);
12445 if (arg7 == NULL) SWIG_fail;
12446 temp7 = true;
12447 }
12448 }
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 {
12456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12457 }
12458 {
12459 if (temp7)
12460 delete arg7;
12461 }
12462 return resultobj;
12463 fail:
12464 {
12465 if (temp7)
12466 delete arg7;
12467 }
12468 return NULL;
12469 }
12470
12471
12472 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12473 PyObject *resultobj = 0;
12474 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12475 wxLayoutAlignment result;
12476 void *argp1 = 0 ;
12477 int res1 = 0 ;
12478 PyObject *swig_obj[1] ;
12479
12480 if (!args) SWIG_fail;
12481 swig_obj[0] = args;
12482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12483 if (!SWIG_IsOK(res1)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12485 }
12486 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = SWIG_From_int(static_cast< int >(result));
12494 return resultobj;
12495 fail:
12496 return NULL;
12497 }
12498
12499
12500 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12501 PyObject *resultobj = 0;
12502 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12503 wxLayoutOrientation result;
12504 void *argp1 = 0 ;
12505 int res1 = 0 ;
12506 PyObject *swig_obj[1] ;
12507
12508 if (!args) SWIG_fail;
12509 swig_obj[0] = args;
12510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12511 if (!SWIG_IsOK(res1)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12513 }
12514 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12515 {
12516 PyThreadState* __tstate = wxPyBeginAllowThreads();
12517 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12518 wxPyEndAllowThreads(__tstate);
12519 if (PyErr_Occurred()) SWIG_fail;
12520 }
12521 resultobj = SWIG_From_int(static_cast< int >(result));
12522 return resultobj;
12523 fail:
12524 return NULL;
12525 }
12526
12527
12528 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12529 PyObject *resultobj = 0;
12530 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12531 wxLayoutAlignment arg2 ;
12532 void *argp1 = 0 ;
12533 int res1 = 0 ;
12534 int val2 ;
12535 int ecode2 = 0 ;
12536 PyObject * obj0 = 0 ;
12537 PyObject * obj1 = 0 ;
12538 char * kwnames[] = {
12539 (char *) "self",(char *) "alignment", NULL
12540 };
12541
12542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12544 if (!SWIG_IsOK(res1)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12546 }
12547 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12548 ecode2 = SWIG_AsVal_int(obj1, &val2);
12549 if (!SWIG_IsOK(ecode2)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12551 }
12552 arg2 = static_cast< wxLayoutAlignment >(val2);
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->SetAlignment(arg2);
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = SWIG_Py_Void();
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj = 0;
12568 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12569 wxSize *arg2 = 0 ;
12570 void *argp1 = 0 ;
12571 int res1 = 0 ;
12572 wxSize temp2 ;
12573 PyObject * obj0 = 0 ;
12574 PyObject * obj1 = 0 ;
12575 char * kwnames[] = {
12576 (char *) "self",(char *) "size", NULL
12577 };
12578
12579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12581 if (!SWIG_IsOK(res1)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12583 }
12584 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12585 {
12586 arg2 = &temp2;
12587 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12588 }
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 resultobj = SWIG_Py_Void();
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj = 0;
12604 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12605 wxLayoutOrientation arg2 ;
12606 void *argp1 = 0 ;
12607 int res1 = 0 ;
12608 int val2 ;
12609 int ecode2 = 0 ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 char * kwnames[] = {
12613 (char *) "self",(char *) "orientation", NULL
12614 };
12615
12616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12620 }
12621 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12622 ecode2 = SWIG_AsVal_int(obj1, &val2);
12623 if (!SWIG_IsOK(ecode2)) {
12624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12625 }
12626 arg2 = static_cast< wxLayoutOrientation >(val2);
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->SetOrientation(arg2);
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 resultobj = SWIG_Py_Void();
12634 return resultobj;
12635 fail:
12636 return NULL;
12637 }
12638
12639
12640 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12641 PyObject *obj;
12642 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12643 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12644 return SWIG_Py_Void();
12645 }
12646
12647 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12648 return SWIG_Python_InitShadowInstance(args);
12649 }
12650
12651 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12652 PyObject *resultobj = 0;
12653 wxLayoutAlgorithm *result = 0 ;
12654
12655 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12663 return resultobj;
12664 fail:
12665 return NULL;
12666 }
12667
12668
12669 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12670 PyObject *resultobj = 0;
12671 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12672 void *argp1 = 0 ;
12673 int res1 = 0 ;
12674 PyObject *swig_obj[1] ;
12675
12676 if (!args) SWIG_fail;
12677 swig_obj[0] = args;
12678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12679 if (!SWIG_IsOK(res1)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12681 }
12682 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 delete arg1;
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 resultobj = SWIG_Py_Void();
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj = 0;
12699 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12700 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12701 wxRect *arg3 = (wxRect *) NULL ;
12702 bool result;
12703 void *argp1 = 0 ;
12704 int res1 = 0 ;
12705 void *argp2 = 0 ;
12706 int res2 = 0 ;
12707 void *argp3 = 0 ;
12708 int res3 = 0 ;
12709 PyObject * obj0 = 0 ;
12710 PyObject * obj1 = 0 ;
12711 PyObject * obj2 = 0 ;
12712 char * kwnames[] = {
12713 (char *) "self",(char *) "frame",(char *) "rect", NULL
12714 };
12715
12716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12718 if (!SWIG_IsOK(res1)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12720 }
12721 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12723 if (!SWIG_IsOK(res2)) {
12724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12725 }
12726 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12727 if (obj2) {
12728 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12729 if (!SWIG_IsOK(res3)) {
12730 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12731 }
12732 arg3 = reinterpret_cast< wxRect * >(argp3);
12733 }
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 {
12741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12742 }
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj = 0;
12751 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12752 wxFrame *arg2 = (wxFrame *) 0 ;
12753 wxWindow *arg3 = (wxWindow *) NULL ;
12754 bool result;
12755 void *argp1 = 0 ;
12756 int res1 = 0 ;
12757 void *argp2 = 0 ;
12758 int res2 = 0 ;
12759 void *argp3 = 0 ;
12760 int res3 = 0 ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 PyObject * obj2 = 0 ;
12764 char * kwnames[] = {
12765 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12766 };
12767
12768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12770 if (!SWIG_IsOK(res1)) {
12771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12772 }
12773 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12774 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12775 if (!SWIG_IsOK(res2)) {
12776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12777 }
12778 arg2 = reinterpret_cast< wxFrame * >(argp2);
12779 if (obj2) {
12780 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12781 if (!SWIG_IsOK(res3)) {
12782 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12783 }
12784 arg3 = reinterpret_cast< wxWindow * >(argp3);
12785 }
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 {
12793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12794 }
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj = 0;
12803 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12804 wxWindow *arg2 = (wxWindow *) 0 ;
12805 wxWindow *arg3 = (wxWindow *) NULL ;
12806 bool result;
12807 void *argp1 = 0 ;
12808 int res1 = 0 ;
12809 void *argp2 = 0 ;
12810 int res2 = 0 ;
12811 void *argp3 = 0 ;
12812 int res3 = 0 ;
12813 PyObject * obj0 = 0 ;
12814 PyObject * obj1 = 0 ;
12815 PyObject * obj2 = 0 ;
12816 char * kwnames[] = {
12817 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12818 };
12819
12820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12822 if (!SWIG_IsOK(res1)) {
12823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12824 }
12825 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12826 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12827 if (!SWIG_IsOK(res2)) {
12828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12829 }
12830 arg2 = reinterpret_cast< wxWindow * >(argp2);
12831 if (obj2) {
12832 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12833 if (!SWIG_IsOK(res3)) {
12834 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12835 }
12836 arg3 = reinterpret_cast< wxWindow * >(argp3);
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 {
12845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12846 }
12847 return resultobj;
12848 fail:
12849 return NULL;
12850 }
12851
12852
12853 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12854 PyObject *obj;
12855 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12856 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12857 return SWIG_Py_Void();
12858 }
12859
12860 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12861 return SWIG_Python_InitShadowInstance(args);
12862 }
12863
12864 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj = 0;
12866 wxWindow *arg1 = (wxWindow *) 0 ;
12867 int arg2 = (int) wxBORDER_NONE ;
12868 wxPopupWindow *result = 0 ;
12869 void *argp1 = 0 ;
12870 int res1 = 0 ;
12871 int val2 ;
12872 int ecode2 = 0 ;
12873 PyObject * obj0 = 0 ;
12874 PyObject * obj1 = 0 ;
12875 char * kwnames[] = {
12876 (char *) "parent",(char *) "flags", NULL
12877 };
12878
12879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12881 if (!SWIG_IsOK(res1)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12883 }
12884 arg1 = reinterpret_cast< wxWindow * >(argp1);
12885 if (obj1) {
12886 ecode2 = SWIG_AsVal_int(obj1, &val2);
12887 if (!SWIG_IsOK(ecode2)) {
12888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12889 }
12890 arg2 = static_cast< int >(val2);
12891 }
12892 {
12893 if (!wxPyCheckForApp()) SWIG_fail;
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12900 return resultobj;
12901 fail:
12902 return NULL;
12903 }
12904
12905
12906 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12907 PyObject *resultobj = 0;
12908 wxPopupWindow *result = 0 ;
12909
12910 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12911 {
12912 if (!wxPyCheckForApp()) SWIG_fail;
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (wxPopupWindow *)new wxPopupWindow();
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj = 0;
12927 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12928 wxWindow *arg2 = (wxWindow *) 0 ;
12929 int arg3 = (int) wxBORDER_NONE ;
12930 bool result;
12931 void *argp1 = 0 ;
12932 int res1 = 0 ;
12933 void *argp2 = 0 ;
12934 int res2 = 0 ;
12935 int val3 ;
12936 int ecode3 = 0 ;
12937 PyObject * obj0 = 0 ;
12938 PyObject * obj1 = 0 ;
12939 PyObject * obj2 = 0 ;
12940 char * kwnames[] = {
12941 (char *) "self",(char *) "parent",(char *) "flags", NULL
12942 };
12943
12944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12946 if (!SWIG_IsOK(res1)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12948 }
12949 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12950 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12951 if (!SWIG_IsOK(res2)) {
12952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12953 }
12954 arg2 = reinterpret_cast< wxWindow * >(argp2);
12955 if (obj2) {
12956 ecode3 = SWIG_AsVal_int(obj2, &val3);
12957 if (!SWIG_IsOK(ecode3)) {
12958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12959 }
12960 arg3 = static_cast< int >(val3);
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 result = (bool)(arg1)->Create(arg2,arg3);
12965 wxPyEndAllowThreads(__tstate);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
12968 {
12969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12970 }
12971 return resultobj;
12972 fail:
12973 return NULL;
12974 }
12975
12976
12977 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12978 PyObject *resultobj = 0;
12979 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12980 wxPoint *arg2 = 0 ;
12981 wxSize *arg3 = 0 ;
12982 void *argp1 = 0 ;
12983 int res1 = 0 ;
12984 wxPoint temp2 ;
12985 wxSize temp3 ;
12986 PyObject * obj0 = 0 ;
12987 PyObject * obj1 = 0 ;
12988 PyObject * obj2 = 0 ;
12989 char * kwnames[] = {
12990 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
12991 };
12992
12993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12995 if (!SWIG_IsOK(res1)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12997 }
12998 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12999 {
13000 arg2 = &temp2;
13001 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13002 }
13003 {
13004 arg3 = &temp3;
13005 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13006 }
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 resultobj = SWIG_Py_Void();
13014 return resultobj;
13015 fail:
13016 return NULL;
13017 }
13018
13019
13020 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13021 PyObject *obj;
13022 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13023 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13024 return SWIG_Py_Void();
13025 }
13026
13027 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13028 return SWIG_Python_InitShadowInstance(args);
13029 }
13030
13031 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13032 PyObject *resultobj = 0;
13033 wxWindow *arg1 = (wxWindow *) 0 ;
13034 int arg2 = (int) wxBORDER_NONE ;
13035 wxPyPopupTransientWindow *result = 0 ;
13036 void *argp1 = 0 ;
13037 int res1 = 0 ;
13038 int val2 ;
13039 int ecode2 = 0 ;
13040 PyObject * obj0 = 0 ;
13041 PyObject * obj1 = 0 ;
13042 char * kwnames[] = {
13043 (char *) "parent",(char *) "style", NULL
13044 };
13045
13046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13048 if (!SWIG_IsOK(res1)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13050 }
13051 arg1 = reinterpret_cast< wxWindow * >(argp1);
13052 if (obj1) {
13053 ecode2 = SWIG_AsVal_int(obj1, &val2);
13054 if (!SWIG_IsOK(ecode2)) {
13055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13056 }
13057 arg2 = static_cast< int >(val2);
13058 }
13059 {
13060 if (!wxPyCheckForApp()) SWIG_fail;
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13067 return resultobj;
13068 fail:
13069 return NULL;
13070 }
13071
13072
13073 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13074 PyObject *resultobj = 0;
13075 wxPyPopupTransientWindow *result = 0 ;
13076
13077 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13078 {
13079 if (!wxPyCheckForApp()) SWIG_fail;
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13086 return resultobj;
13087 fail:
13088 return NULL;
13089 }
13090
13091
13092 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13093 PyObject *resultobj = 0;
13094 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13095 PyObject *arg2 = (PyObject *) 0 ;
13096 PyObject *arg3 = (PyObject *) 0 ;
13097 void *argp1 = 0 ;
13098 int res1 = 0 ;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 PyObject * obj2 = 0 ;
13102 char * kwnames[] = {
13103 (char *) "self",(char *) "self",(char *) "_class", NULL
13104 };
13105
13106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13108 if (!SWIG_IsOK(res1)) {
13109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13110 }
13111 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13112 arg2 = obj1;
13113 arg3 = obj2;
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 (arg1)->_setCallbackInfo(arg2,arg3);
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 resultobj = SWIG_Py_Void();
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj = 0;
13129 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13130 wxWindow *arg2 = (wxWindow *) NULL ;
13131 void *argp1 = 0 ;
13132 int res1 = 0 ;
13133 void *argp2 = 0 ;
13134 int res2 = 0 ;
13135 PyObject * obj0 = 0 ;
13136 PyObject * obj1 = 0 ;
13137 char * kwnames[] = {
13138 (char *) "self",(char *) "focus", NULL
13139 };
13140
13141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13143 if (!SWIG_IsOK(res1)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13145 }
13146 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13147 if (obj1) {
13148 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13149 if (!SWIG_IsOK(res2)) {
13150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13151 }
13152 arg2 = reinterpret_cast< wxWindow * >(argp2);
13153 }
13154 {
13155 PyThreadState* __tstate = wxPyBeginAllowThreads();
13156 (arg1)->Popup(arg2);
13157 wxPyEndAllowThreads(__tstate);
13158 if (PyErr_Occurred()) SWIG_fail;
13159 }
13160 resultobj = SWIG_Py_Void();
13161 return resultobj;
13162 fail:
13163 return NULL;
13164 }
13165
13166
13167 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13168 PyObject *resultobj = 0;
13169 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13170 void *argp1 = 0 ;
13171 int res1 = 0 ;
13172 PyObject *swig_obj[1] ;
13173
13174 if (!args) SWIG_fail;
13175 swig_obj[0] = args;
13176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13177 if (!SWIG_IsOK(res1)) {
13178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13179 }
13180 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 (arg1)->Dismiss();
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 resultobj = SWIG_Py_Void();
13188 return resultobj;
13189 fail:
13190 return NULL;
13191 }
13192
13193
13194 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13195 PyObject *obj;
13196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13198 return SWIG_Py_Void();
13199 }
13200
13201 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13202 return SWIG_Python_InitShadowInstance(args);
13203 }
13204
13205 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj = 0;
13207 wxWindow *arg1 = (wxWindow *) 0 ;
13208 wxString *arg2 = 0 ;
13209 int arg3 = (int) 100 ;
13210 wxRect *arg4 = (wxRect *) NULL ;
13211 wxTipWindow *result = 0 ;
13212 void *argp1 = 0 ;
13213 int res1 = 0 ;
13214 bool temp2 = false ;
13215 int val3 ;
13216 int ecode3 = 0 ;
13217 void *argp4 = 0 ;
13218 int res4 = 0 ;
13219 PyObject * obj0 = 0 ;
13220 PyObject * obj1 = 0 ;
13221 PyObject * obj2 = 0 ;
13222 PyObject * obj3 = 0 ;
13223 char * kwnames[] = {
13224 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13225 };
13226
13227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13229 if (!SWIG_IsOK(res1)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13231 }
13232 arg1 = reinterpret_cast< wxWindow * >(argp1);
13233 {
13234 arg2 = wxString_in_helper(obj1);
13235 if (arg2 == NULL) SWIG_fail;
13236 temp2 = true;
13237 }
13238 if (obj2) {
13239 ecode3 = SWIG_AsVal_int(obj2, &val3);
13240 if (!SWIG_IsOK(ecode3)) {
13241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13242 }
13243 arg3 = static_cast< int >(val3);
13244 }
13245 if (obj3) {
13246 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13247 if (!SWIG_IsOK(res4)) {
13248 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13249 }
13250 arg4 = reinterpret_cast< wxRect * >(argp4);
13251 }
13252 {
13253 if (!wxPyCheckForApp()) SWIG_fail;
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13260 {
13261 if (temp2)
13262 delete arg2;
13263 }
13264 return resultobj;
13265 fail:
13266 {
13267 if (temp2)
13268 delete arg2;
13269 }
13270 return NULL;
13271 }
13272
13273
13274 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13275 PyObject *resultobj = 0;
13276 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13277 wxRect *arg2 = 0 ;
13278 void *argp1 = 0 ;
13279 int res1 = 0 ;
13280 wxRect temp2 ;
13281 PyObject * obj0 = 0 ;
13282 PyObject * obj1 = 0 ;
13283 char * kwnames[] = {
13284 (char *) "self",(char *) "rectBound", NULL
13285 };
13286
13287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13289 if (!SWIG_IsOK(res1)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13291 }
13292 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13293 {
13294 arg2 = &temp2;
13295 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13296 }
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_Py_Void();
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13311 PyObject *resultobj = 0;
13312 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13313 void *argp1 = 0 ;
13314 int res1 = 0 ;
13315 PyObject *swig_obj[1] ;
13316
13317 if (!args) SWIG_fail;
13318 swig_obj[0] = args;
13319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13320 if (!SWIG_IsOK(res1)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13322 }
13323 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 (arg1)->Close();
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_Py_Void();
13331 return resultobj;
13332 fail:
13333 return NULL;
13334 }
13335
13336
13337 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13338 PyObject *obj;
13339 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13340 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13341 return SWIG_Py_Void();
13342 }
13343
13344 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13345 return SWIG_Python_InitShadowInstance(args);
13346 }
13347
13348 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj = 0;
13350 wxWindow *arg1 = (wxWindow *) 0 ;
13351 int arg2 = (int) wxID_ANY ;
13352 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13353 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13354 wxSize const &arg4_defvalue = wxDefaultSize ;
13355 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13356 long arg5 = (long) 0 ;
13357 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13358 wxString *arg6 = (wxString *) &arg6_defvalue ;
13359 wxPyVScrolledWindow *result = 0 ;
13360 void *argp1 = 0 ;
13361 int res1 = 0 ;
13362 int val2 ;
13363 int ecode2 = 0 ;
13364 wxPoint temp3 ;
13365 wxSize temp4 ;
13366 long val5 ;
13367 int ecode5 = 0 ;
13368 bool temp6 = false ;
13369 PyObject * obj0 = 0 ;
13370 PyObject * obj1 = 0 ;
13371 PyObject * obj2 = 0 ;
13372 PyObject * obj3 = 0 ;
13373 PyObject * obj4 = 0 ;
13374 PyObject * obj5 = 0 ;
13375 char * kwnames[] = {
13376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13377 };
13378
13379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13381 if (!SWIG_IsOK(res1)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13383 }
13384 arg1 = reinterpret_cast< wxWindow * >(argp1);
13385 if (obj1) {
13386 ecode2 = SWIG_AsVal_int(obj1, &val2);
13387 if (!SWIG_IsOK(ecode2)) {
13388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13389 }
13390 arg2 = static_cast< int >(val2);
13391 }
13392 if (obj2) {
13393 {
13394 arg3 = &temp3;
13395 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13396 }
13397 }
13398 if (obj3) {
13399 {
13400 arg4 = &temp4;
13401 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13402 }
13403 }
13404 if (obj4) {
13405 ecode5 = SWIG_AsVal_long(obj4, &val5);
13406 if (!SWIG_IsOK(ecode5)) {
13407 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13408 }
13409 arg5 = static_cast< long >(val5);
13410 }
13411 if (obj5) {
13412 {
13413 arg6 = wxString_in_helper(obj5);
13414 if (arg6 == NULL) SWIG_fail;
13415 temp6 = true;
13416 }
13417 }
13418 {
13419 if (!wxPyCheckForApp()) SWIG_fail;
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13422 wxPyEndAllowThreads(__tstate);
13423 if (PyErr_Occurred()) SWIG_fail;
13424 }
13425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13426 {
13427 if (temp6)
13428 delete arg6;
13429 }
13430 return resultobj;
13431 fail:
13432 {
13433 if (temp6)
13434 delete arg6;
13435 }
13436 return NULL;
13437 }
13438
13439
13440 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13441 PyObject *resultobj = 0;
13442 wxPyVScrolledWindow *result = 0 ;
13443
13444 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13445 {
13446 if (!wxPyCheckForApp()) SWIG_fail;
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13453 return resultobj;
13454 fail:
13455 return NULL;
13456 }
13457
13458
13459 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj = 0;
13461 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13462 PyObject *arg2 = (PyObject *) 0 ;
13463 PyObject *arg3 = (PyObject *) 0 ;
13464 void *argp1 = 0 ;
13465 int res1 = 0 ;
13466 PyObject * obj0 = 0 ;
13467 PyObject * obj1 = 0 ;
13468 PyObject * obj2 = 0 ;
13469 char * kwnames[] = {
13470 (char *) "self",(char *) "self",(char *) "_class", NULL
13471 };
13472
13473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13475 if (!SWIG_IsOK(res1)) {
13476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13477 }
13478 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13479 arg2 = obj1;
13480 arg3 = obj2;
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->_setCallbackInfo(arg2,arg3);
13484 wxPyEndAllowThreads(__tstate);
13485 if (PyErr_Occurred()) SWIG_fail;
13486 }
13487 resultobj = SWIG_Py_Void();
13488 return resultobj;
13489 fail:
13490 return NULL;
13491 }
13492
13493
13494 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13495 PyObject *resultobj = 0;
13496 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13497 wxWindow *arg2 = (wxWindow *) 0 ;
13498 int arg3 = (int) wxID_ANY ;
13499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13501 wxSize const &arg5_defvalue = wxDefaultSize ;
13502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13503 long arg6 = (long) 0 ;
13504 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13505 wxString *arg7 = (wxString *) &arg7_defvalue ;
13506 bool result;
13507 void *argp1 = 0 ;
13508 int res1 = 0 ;
13509 void *argp2 = 0 ;
13510 int res2 = 0 ;
13511 int val3 ;
13512 int ecode3 = 0 ;
13513 wxPoint temp4 ;
13514 wxSize temp5 ;
13515 long val6 ;
13516 int ecode6 = 0 ;
13517 bool temp7 = false ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 PyObject * obj2 = 0 ;
13521 PyObject * obj3 = 0 ;
13522 PyObject * obj4 = 0 ;
13523 PyObject * obj5 = 0 ;
13524 PyObject * obj6 = 0 ;
13525 char * kwnames[] = {
13526 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13527 };
13528
13529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13531 if (!SWIG_IsOK(res1)) {
13532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13533 }
13534 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13535 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13536 if (!SWIG_IsOK(res2)) {
13537 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13538 }
13539 arg2 = reinterpret_cast< wxWindow * >(argp2);
13540 if (obj2) {
13541 ecode3 = SWIG_AsVal_int(obj2, &val3);
13542 if (!SWIG_IsOK(ecode3)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13544 }
13545 arg3 = static_cast< int >(val3);
13546 }
13547 if (obj3) {
13548 {
13549 arg4 = &temp4;
13550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13551 }
13552 }
13553 if (obj4) {
13554 {
13555 arg5 = &temp5;
13556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13557 }
13558 }
13559 if (obj5) {
13560 ecode6 = SWIG_AsVal_long(obj5, &val6);
13561 if (!SWIG_IsOK(ecode6)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13563 }
13564 arg6 = static_cast< long >(val6);
13565 }
13566 if (obj6) {
13567 {
13568 arg7 = wxString_in_helper(obj6);
13569 if (arg7 == NULL) SWIG_fail;
13570 temp7 = true;
13571 }
13572 }
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 {
13580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13581 }
13582 {
13583 if (temp7)
13584 delete arg7;
13585 }
13586 return resultobj;
13587 fail:
13588 {
13589 if (temp7)
13590 delete arg7;
13591 }
13592 return NULL;
13593 }
13594
13595
13596 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj = 0;
13598 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13599 size_t arg2 ;
13600 void *argp1 = 0 ;
13601 int res1 = 0 ;
13602 size_t val2 ;
13603 int ecode2 = 0 ;
13604 PyObject * obj0 = 0 ;
13605 PyObject * obj1 = 0 ;
13606 char * kwnames[] = {
13607 (char *) "self",(char *) "count", NULL
13608 };
13609
13610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13612 if (!SWIG_IsOK(res1)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13614 }
13615 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13616 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13617 if (!SWIG_IsOK(ecode2)) {
13618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13619 }
13620 arg2 = static_cast< size_t >(val2);
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 (arg1)->SetLineCount(arg2);
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
13627 resultobj = SWIG_Py_Void();
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj = 0;
13636 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13637 size_t arg2 ;
13638 bool result;
13639 void *argp1 = 0 ;
13640 int res1 = 0 ;
13641 size_t val2 ;
13642 int ecode2 = 0 ;
13643 PyObject * obj0 = 0 ;
13644 PyObject * obj1 = 0 ;
13645 char * kwnames[] = {
13646 (char *) "self",(char *) "line", NULL
13647 };
13648
13649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13651 if (!SWIG_IsOK(res1)) {
13652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13653 }
13654 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13655 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13656 if (!SWIG_IsOK(ecode2)) {
13657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13658 }
13659 arg2 = static_cast< size_t >(val2);
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 result = (bool)(arg1)->ScrollToLine(arg2);
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 {
13667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13668 }
13669 return resultobj;
13670 fail:
13671 return NULL;
13672 }
13673
13674
13675 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13676 PyObject *resultobj = 0;
13677 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13678 size_t arg2 ;
13679 void *argp1 = 0 ;
13680 int res1 = 0 ;
13681 size_t val2 ;
13682 int ecode2 = 0 ;
13683 PyObject * obj0 = 0 ;
13684 PyObject * obj1 = 0 ;
13685 char * kwnames[] = {
13686 (char *) "self",(char *) "line", NULL
13687 };
13688
13689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13691 if (!SWIG_IsOK(res1)) {
13692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13693 }
13694 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13695 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13696 if (!SWIG_IsOK(ecode2)) {
13697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13698 }
13699 arg2 = static_cast< size_t >(val2);
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->RefreshLine(arg2);
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 resultobj = SWIG_Py_Void();
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj = 0;
13715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13716 size_t arg2 ;
13717 size_t arg3 ;
13718 void *argp1 = 0 ;
13719 int res1 = 0 ;
13720 size_t val2 ;
13721 int ecode2 = 0 ;
13722 size_t val3 ;
13723 int ecode3 = 0 ;
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 PyObject * obj2 = 0 ;
13727 char * kwnames[] = {
13728 (char *) "self",(char *) "_from",(char *) "to", NULL
13729 };
13730
13731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13733 if (!SWIG_IsOK(res1)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13735 }
13736 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13737 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13738 if (!SWIG_IsOK(ecode2)) {
13739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13740 }
13741 arg2 = static_cast< size_t >(val2);
13742 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13743 if (!SWIG_IsOK(ecode3)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13745 }
13746 arg3 = static_cast< size_t >(val3);
13747 {
13748 PyThreadState* __tstate = wxPyBeginAllowThreads();
13749 (arg1)->RefreshLines(arg2,arg3);
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 resultobj = SWIG_Py_Void();
13754 return resultobj;
13755 fail:
13756 return NULL;
13757 }
13758
13759
13760 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13761 PyObject *resultobj = 0;
13762 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13763 int arg2 ;
13764 int arg3 ;
13765 int result;
13766 void *argp1 = 0 ;
13767 int res1 = 0 ;
13768 int val2 ;
13769 int ecode2 = 0 ;
13770 int val3 ;
13771 int ecode3 = 0 ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 PyObject * obj2 = 0 ;
13775 char * kwnames[] = {
13776 (char *) "self",(char *) "x",(char *) "y", NULL
13777 };
13778
13779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13781 if (!SWIG_IsOK(res1)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13783 }
13784 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13785 ecode2 = SWIG_AsVal_int(obj1, &val2);
13786 if (!SWIG_IsOK(ecode2)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13788 }
13789 arg2 = static_cast< int >(val2);
13790 ecode3 = SWIG_AsVal_int(obj2, &val3);
13791 if (!SWIG_IsOK(ecode3)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13793 }
13794 arg3 = static_cast< int >(val3);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_From_int(static_cast< int >(result));
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj = 0;
13810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13811 wxPoint *arg2 = 0 ;
13812 int result;
13813 void *argp1 = 0 ;
13814 int res1 = 0 ;
13815 wxPoint temp2 ;
13816 PyObject * obj0 = 0 ;
13817 PyObject * obj1 = 0 ;
13818 char * kwnames[] = {
13819 (char *) "self",(char *) "pt", NULL
13820 };
13821
13822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13824 if (!SWIG_IsOK(res1)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13826 }
13827 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13828 {
13829 arg2 = &temp2;
13830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13831 }
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = SWIG_From_int(static_cast< int >(result));
13839 return resultobj;
13840 fail:
13841 return NULL;
13842 }
13843
13844
13845 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13846 PyObject *resultobj = 0;
13847 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13848 void *argp1 = 0 ;
13849 int res1 = 0 ;
13850 PyObject *swig_obj[1] ;
13851
13852 if (!args) SWIG_fail;
13853 swig_obj[0] = args;
13854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13855 if (!SWIG_IsOK(res1)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13857 }
13858 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 (arg1)->RefreshAll();
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 resultobj = SWIG_Py_Void();
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13873 PyObject *resultobj = 0;
13874 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13875 size_t result;
13876 void *argp1 = 0 ;
13877 int res1 = 0 ;
13878 PyObject *swig_obj[1] ;
13879
13880 if (!args) SWIG_fail;
13881 swig_obj[0] = args;
13882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13883 if (!SWIG_IsOK(res1)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13885 }
13886 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13901 PyObject *resultobj = 0;
13902 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13903 size_t result;
13904 void *argp1 = 0 ;
13905 int res1 = 0 ;
13906 PyObject *swig_obj[1] ;
13907
13908 if (!args) SWIG_fail;
13909 swig_obj[0] = args;
13910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13911 if (!SWIG_IsOK(res1)) {
13912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13913 }
13914 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13929 PyObject *resultobj = 0;
13930 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13931 size_t result;
13932 void *argp1 = 0 ;
13933 int res1 = 0 ;
13934 PyObject *swig_obj[1] ;
13935
13936 if (!args) SWIG_fail;
13937 swig_obj[0] = args;
13938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13939 if (!SWIG_IsOK(res1)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13941 }
13942 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13950 return resultobj;
13951 fail:
13952 return NULL;
13953 }
13954
13955
13956 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13957 PyObject *resultobj = 0;
13958 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13959 size_t arg2 ;
13960 bool result;
13961 void *argp1 = 0 ;
13962 int res1 = 0 ;
13963 size_t val2 ;
13964 int ecode2 = 0 ;
13965 PyObject * obj0 = 0 ;
13966 PyObject * obj1 = 0 ;
13967 char * kwnames[] = {
13968 (char *) "self",(char *) "line", NULL
13969 };
13970
13971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13973 if (!SWIG_IsOK(res1)) {
13974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13975 }
13976 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13977 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13978 if (!SWIG_IsOK(ecode2)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13980 }
13981 arg2 = static_cast< size_t >(val2);
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 {
13989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13990 }
13991 return resultobj;
13992 fail:
13993 return NULL;
13994 }
13995
13996
13997 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13998 PyObject *resultobj = 0;
13999 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14000 size_t result;
14001 void *argp1 = 0 ;
14002 int res1 = 0 ;
14003 PyObject *swig_obj[1] ;
14004
14005 if (!args) SWIG_fail;
14006 swig_obj[0] = args;
14007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14008 if (!SWIG_IsOK(res1)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14010 }
14011 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14012 {
14013 PyThreadState* __tstate = wxPyBeginAllowThreads();
14014 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14019 return resultobj;
14020 fail:
14021 return NULL;
14022 }
14023
14024
14025 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14026 PyObject *resultobj = 0;
14027 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14028 size_t result;
14029 void *argp1 = 0 ;
14030 int res1 = 0 ;
14031 PyObject *swig_obj[1] ;
14032
14033 if (!args) SWIG_fail;
14034 swig_obj[0] = args;
14035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14036 if (!SWIG_IsOK(res1)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14038 }
14039 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14047 return resultobj;
14048 fail:
14049 return NULL;
14050 }
14051
14052
14053 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj = 0;
14055 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14056 size_t arg2 ;
14057 bool arg3 = (bool) false ;
14058 size_t result;
14059 void *argp1 = 0 ;
14060 int res1 = 0 ;
14061 size_t val2 ;
14062 int ecode2 = 0 ;
14063 bool val3 ;
14064 int ecode3 = 0 ;
14065 PyObject * obj0 = 0 ;
14066 PyObject * obj1 = 0 ;
14067 PyObject * obj2 = 0 ;
14068 char * kwnames[] = {
14069 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14070 };
14071
14072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14074 if (!SWIG_IsOK(res1)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14076 }
14077 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14079 if (!SWIG_IsOK(ecode2)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14081 }
14082 arg2 = static_cast< size_t >(val2);
14083 if (obj2) {
14084 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14085 if (!SWIG_IsOK(ecode3)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14087 }
14088 arg3 = static_cast< bool >(val3);
14089 }
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14097 return resultobj;
14098 fail:
14099 return NULL;
14100 }
14101
14102
14103 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14104 PyObject *resultobj = 0;
14105 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14106 size_t arg2 ;
14107 size_t arg3 ;
14108 int result;
14109 void *argp1 = 0 ;
14110 int res1 = 0 ;
14111 size_t val2 ;
14112 int ecode2 = 0 ;
14113 size_t val3 ;
14114 int ecode3 = 0 ;
14115 PyObject * obj0 = 0 ;
14116 PyObject * obj1 = 0 ;
14117 PyObject * obj2 = 0 ;
14118 char * kwnames[] = {
14119 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14120 };
14121
14122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14124 if (!SWIG_IsOK(res1)) {
14125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14126 }
14127 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14128 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14129 if (!SWIG_IsOK(ecode2)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14131 }
14132 arg2 = static_cast< size_t >(val2);
14133 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14134 if (!SWIG_IsOK(ecode3)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14136 }
14137 arg3 = static_cast< size_t >(val3);
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = SWIG_From_int(static_cast< int >(result));
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14152 PyObject *obj;
14153 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14154 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14155 return SWIG_Py_Void();
14156 }
14157
14158 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14159 return SWIG_Python_InitShadowInstance(args);
14160 }
14161
14162 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14163 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14164 return 1;
14165 }
14166
14167
14168 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14169 PyObject *pyobj = 0;
14170
14171 {
14172 #if wxUSE_UNICODE
14173 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14174 #else
14175 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14176 #endif
14177 }
14178 return pyobj;
14179 }
14180
14181
14182 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj = 0;
14184 wxWindow *arg1 = (wxWindow *) 0 ;
14185 int arg2 = (int) wxID_ANY ;
14186 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14187 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14188 wxSize const &arg4_defvalue = wxDefaultSize ;
14189 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14190 long arg5 = (long) 0 ;
14191 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14192 wxString *arg6 = (wxString *) &arg6_defvalue ;
14193 wxPyVListBox *result = 0 ;
14194 void *argp1 = 0 ;
14195 int res1 = 0 ;
14196 int val2 ;
14197 int ecode2 = 0 ;
14198 wxPoint temp3 ;
14199 wxSize temp4 ;
14200 long val5 ;
14201 int ecode5 = 0 ;
14202 bool temp6 = false ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 PyObject * obj2 = 0 ;
14206 PyObject * obj3 = 0 ;
14207 PyObject * obj4 = 0 ;
14208 PyObject * obj5 = 0 ;
14209 char * kwnames[] = {
14210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14211 };
14212
14213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14215 if (!SWIG_IsOK(res1)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14217 }
14218 arg1 = reinterpret_cast< wxWindow * >(argp1);
14219 if (obj1) {
14220 ecode2 = SWIG_AsVal_int(obj1, &val2);
14221 if (!SWIG_IsOK(ecode2)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14223 }
14224 arg2 = static_cast< int >(val2);
14225 }
14226 if (obj2) {
14227 {
14228 arg3 = &temp3;
14229 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14230 }
14231 }
14232 if (obj3) {
14233 {
14234 arg4 = &temp4;
14235 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14236 }
14237 }
14238 if (obj4) {
14239 ecode5 = SWIG_AsVal_long(obj4, &val5);
14240 if (!SWIG_IsOK(ecode5)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14242 }
14243 arg5 = static_cast< long >(val5);
14244 }
14245 if (obj5) {
14246 {
14247 arg6 = wxString_in_helper(obj5);
14248 if (arg6 == NULL) SWIG_fail;
14249 temp6 = true;
14250 }
14251 }
14252 {
14253 if (!wxPyCheckForApp()) SWIG_fail;
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14256 wxPyEndAllowThreads(__tstate);
14257 if (PyErr_Occurred()) SWIG_fail;
14258 }
14259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14260 {
14261 if (temp6)
14262 delete arg6;
14263 }
14264 return resultobj;
14265 fail:
14266 {
14267 if (temp6)
14268 delete arg6;
14269 }
14270 return NULL;
14271 }
14272
14273
14274 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14275 PyObject *resultobj = 0;
14276 wxPyVListBox *result = 0 ;
14277
14278 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14279 {
14280 if (!wxPyCheckForApp()) SWIG_fail;
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 result = (wxPyVListBox *)new wxPyVListBox();
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14287 return resultobj;
14288 fail:
14289 return NULL;
14290 }
14291
14292
14293 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj = 0;
14295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14296 PyObject *arg2 = (PyObject *) 0 ;
14297 PyObject *arg3 = (PyObject *) 0 ;
14298 void *argp1 = 0 ;
14299 int res1 = 0 ;
14300 PyObject * obj0 = 0 ;
14301 PyObject * obj1 = 0 ;
14302 PyObject * obj2 = 0 ;
14303 char * kwnames[] = {
14304 (char *) "self",(char *) "self",(char *) "_class", NULL
14305 };
14306
14307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14309 if (!SWIG_IsOK(res1)) {
14310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14311 }
14312 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14313 arg2 = obj1;
14314 arg3 = obj2;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 (arg1)->_setCallbackInfo(arg2,arg3);
14318 wxPyEndAllowThreads(__tstate);
14319 if (PyErr_Occurred()) SWIG_fail;
14320 }
14321 resultobj = SWIG_Py_Void();
14322 return resultobj;
14323 fail:
14324 return NULL;
14325 }
14326
14327
14328 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14329 PyObject *resultobj = 0;
14330 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14331 wxWindow *arg2 = (wxWindow *) 0 ;
14332 int arg3 = (int) wxID_ANY ;
14333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14335 wxSize const &arg5_defvalue = wxDefaultSize ;
14336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14337 long arg6 = (long) 0 ;
14338 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14339 wxString *arg7 = (wxString *) &arg7_defvalue ;
14340 bool result;
14341 void *argp1 = 0 ;
14342 int res1 = 0 ;
14343 void *argp2 = 0 ;
14344 int res2 = 0 ;
14345 int val3 ;
14346 int ecode3 = 0 ;
14347 wxPoint temp4 ;
14348 wxSize temp5 ;
14349 long val6 ;
14350 int ecode6 = 0 ;
14351 bool temp7 = false ;
14352 PyObject * obj0 = 0 ;
14353 PyObject * obj1 = 0 ;
14354 PyObject * obj2 = 0 ;
14355 PyObject * obj3 = 0 ;
14356 PyObject * obj4 = 0 ;
14357 PyObject * obj5 = 0 ;
14358 PyObject * obj6 = 0 ;
14359 char * kwnames[] = {
14360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14361 };
14362
14363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14365 if (!SWIG_IsOK(res1)) {
14366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14367 }
14368 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14369 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14370 if (!SWIG_IsOK(res2)) {
14371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14372 }
14373 arg2 = reinterpret_cast< wxWindow * >(argp2);
14374 if (obj2) {
14375 ecode3 = SWIG_AsVal_int(obj2, &val3);
14376 if (!SWIG_IsOK(ecode3)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14378 }
14379 arg3 = static_cast< int >(val3);
14380 }
14381 if (obj3) {
14382 {
14383 arg4 = &temp4;
14384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14385 }
14386 }
14387 if (obj4) {
14388 {
14389 arg5 = &temp5;
14390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14391 }
14392 }
14393 if (obj5) {
14394 ecode6 = SWIG_AsVal_long(obj5, &val6);
14395 if (!SWIG_IsOK(ecode6)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14397 }
14398 arg6 = static_cast< long >(val6);
14399 }
14400 if (obj6) {
14401 {
14402 arg7 = wxString_in_helper(obj6);
14403 if (arg7 == NULL) SWIG_fail;
14404 temp7 = true;
14405 }
14406 }
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 {
14414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14415 }
14416 {
14417 if (temp7)
14418 delete arg7;
14419 }
14420 return resultobj;
14421 fail:
14422 {
14423 if (temp7)
14424 delete arg7;
14425 }
14426 return NULL;
14427 }
14428
14429
14430 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14431 PyObject *resultobj = 0;
14432 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14433 size_t result;
14434 void *argp1 = 0 ;
14435 int res1 = 0 ;
14436 PyObject *swig_obj[1] ;
14437
14438 if (!args) SWIG_fail;
14439 swig_obj[0] = args;
14440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14441 if (!SWIG_IsOK(res1)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14443 }
14444 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14459 PyObject *resultobj = 0;
14460 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14461 bool result;
14462 void *argp1 = 0 ;
14463 int res1 = 0 ;
14464 PyObject *swig_obj[1] ;
14465
14466 if (!args) SWIG_fail;
14467 swig_obj[0] = args;
14468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14469 if (!SWIG_IsOK(res1)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14471 }
14472 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 {
14480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14481 }
14482 return resultobj;
14483 fail:
14484 return NULL;
14485 }
14486
14487
14488 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14489 PyObject *resultobj = 0;
14490 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14491 int result;
14492 void *argp1 = 0 ;
14493 int res1 = 0 ;
14494 PyObject *swig_obj[1] ;
14495
14496 if (!args) SWIG_fail;
14497 swig_obj[0] = args;
14498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14499 if (!SWIG_IsOK(res1)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14501 }
14502 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 resultobj = SWIG_From_int(static_cast< int >(result));
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj = 0;
14518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14519 size_t arg2 ;
14520 bool result;
14521 void *argp1 = 0 ;
14522 int res1 = 0 ;
14523 size_t val2 ;
14524 int ecode2 = 0 ;
14525 PyObject * obj0 = 0 ;
14526 PyObject * obj1 = 0 ;
14527 char * kwnames[] = {
14528 (char *) "self",(char *) "item", NULL
14529 };
14530
14531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14533 if (!SWIG_IsOK(res1)) {
14534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14535 }
14536 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14537 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14538 if (!SWIG_IsOK(ecode2)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14540 }
14541 arg2 = static_cast< size_t >(val2);
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 {
14549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14550 }
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj = 0;
14559 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14560 size_t arg2 ;
14561 bool result;
14562 void *argp1 = 0 ;
14563 int res1 = 0 ;
14564 size_t val2 ;
14565 int ecode2 = 0 ;
14566 PyObject * obj0 = 0 ;
14567 PyObject * obj1 = 0 ;
14568 char * kwnames[] = {
14569 (char *) "self",(char *) "item", NULL
14570 };
14571
14572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14574 if (!SWIG_IsOK(res1)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14576 }
14577 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14578 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14579 if (!SWIG_IsOK(ecode2)) {
14580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14581 }
14582 arg2 = static_cast< size_t >(val2);
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 {
14590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14591 }
14592 return resultobj;
14593 fail:
14594 return NULL;
14595 }
14596
14597
14598 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14599 PyObject *resultobj = 0;
14600 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14601 size_t result;
14602 void *argp1 = 0 ;
14603 int res1 = 0 ;
14604 PyObject *swig_obj[1] ;
14605
14606 if (!args) SWIG_fail;
14607 swig_obj[0] = args;
14608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14609 if (!SWIG_IsOK(res1)) {
14610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14611 }
14612 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14620 return resultobj;
14621 fail:
14622 return NULL;
14623 }
14624
14625
14626 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14627 PyObject *resultobj = 0;
14628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14629 PyObject *result = 0 ;
14630 void *argp1 = 0 ;
14631 int res1 = 0 ;
14632 PyObject *swig_obj[1] ;
14633
14634 if (!args) SWIG_fail;
14635 swig_obj[0] = args;
14636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14637 if (!SWIG_IsOK(res1)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14639 }
14640 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 resultobj = result;
14648 return resultobj;
14649 fail:
14650 return NULL;
14651 }
14652
14653
14654 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj = 0;
14656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14657 unsigned long arg2 ;
14658 PyObject *result = 0 ;
14659 void *argp1 = 0 ;
14660 int res1 = 0 ;
14661 unsigned long val2 ;
14662 int ecode2 = 0 ;
14663 PyObject * obj0 = 0 ;
14664 PyObject * obj1 = 0 ;
14665 char * kwnames[] = {
14666 (char *) "self",(char *) "cookie", NULL
14667 };
14668
14669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14671 if (!SWIG_IsOK(res1)) {
14672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14673 }
14674 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14675 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14676 if (!SWIG_IsOK(ecode2)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14678 }
14679 arg2 = static_cast< unsigned long >(val2);
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 resultobj = result;
14687 return resultobj;
14688 fail:
14689 return NULL;
14690 }
14691
14692
14693 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14694 PyObject *resultobj = 0;
14695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14696 wxPoint result;
14697 void *argp1 = 0 ;
14698 int res1 = 0 ;
14699 PyObject *swig_obj[1] ;
14700
14701 if (!args) SWIG_fail;
14702 swig_obj[0] = args;
14703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14704 if (!SWIG_IsOK(res1)) {
14705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14706 }
14707 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = ((wxPyVListBox const *)arg1)->GetMargins();
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14722 PyObject *resultobj = 0;
14723 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14724 wxColour *result = 0 ;
14725 void *argp1 = 0 ;
14726 int res1 = 0 ;
14727 PyObject *swig_obj[1] ;
14728
14729 if (!args) SWIG_fail;
14730 swig_obj[0] = args;
14731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14732 if (!SWIG_IsOK(res1)) {
14733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14734 }
14735 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 {
14739 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14740 result = (wxColour *) &_result_ref;
14741 }
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14746 return resultobj;
14747 fail:
14748 return NULL;
14749 }
14750
14751
14752 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj = 0;
14754 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14755 size_t arg2 ;
14756 void *argp1 = 0 ;
14757 int res1 = 0 ;
14758 size_t val2 ;
14759 int ecode2 = 0 ;
14760 PyObject * obj0 = 0 ;
14761 PyObject * obj1 = 0 ;
14762 char * kwnames[] = {
14763 (char *) "self",(char *) "count", NULL
14764 };
14765
14766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14768 if (!SWIG_IsOK(res1)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14770 }
14771 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14772 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14773 if (!SWIG_IsOK(ecode2)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14775 }
14776 arg2 = static_cast< size_t >(val2);
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 (arg1)->SetItemCount(arg2);
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 resultobj = SWIG_Py_Void();
14784 return resultobj;
14785 fail:
14786 return NULL;
14787 }
14788
14789
14790 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14791 PyObject *resultobj = 0;
14792 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14793 void *argp1 = 0 ;
14794 int res1 = 0 ;
14795 PyObject *swig_obj[1] ;
14796
14797 if (!args) SWIG_fail;
14798 swig_obj[0] = args;
14799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14800 if (!SWIG_IsOK(res1)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14802 }
14803 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 (arg1)->Clear();
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_Py_Void();
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj = 0;
14819 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14820 int arg2 ;
14821 void *argp1 = 0 ;
14822 int res1 = 0 ;
14823 int val2 ;
14824 int ecode2 = 0 ;
14825 PyObject * obj0 = 0 ;
14826 PyObject * obj1 = 0 ;
14827 char * kwnames[] = {
14828 (char *) "self",(char *) "selection", NULL
14829 };
14830
14831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14833 if (!SWIG_IsOK(res1)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14835 }
14836 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14837 ecode2 = SWIG_AsVal_int(obj1, &val2);
14838 if (!SWIG_IsOK(ecode2)) {
14839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14840 }
14841 arg2 = static_cast< int >(val2);
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 (arg1)->SetSelection(arg2);
14845 wxPyEndAllowThreads(__tstate);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 }
14848 resultobj = SWIG_Py_Void();
14849 return resultobj;
14850 fail:
14851 return NULL;
14852 }
14853
14854
14855 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14856 PyObject *resultobj = 0;
14857 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14858 size_t arg2 ;
14859 bool arg3 = (bool) true ;
14860 bool result;
14861 void *argp1 = 0 ;
14862 int res1 = 0 ;
14863 size_t val2 ;
14864 int ecode2 = 0 ;
14865 bool val3 ;
14866 int ecode3 = 0 ;
14867 PyObject * obj0 = 0 ;
14868 PyObject * obj1 = 0 ;
14869 PyObject * obj2 = 0 ;
14870 char * kwnames[] = {
14871 (char *) "self",(char *) "item",(char *) "select", NULL
14872 };
14873
14874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14876 if (!SWIG_IsOK(res1)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14878 }
14879 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14880 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14881 if (!SWIG_IsOK(ecode2)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14883 }
14884 arg2 = static_cast< size_t >(val2);
14885 if (obj2) {
14886 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14887 if (!SWIG_IsOK(ecode3)) {
14888 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14889 }
14890 arg3 = static_cast< bool >(val3);
14891 }
14892 {
14893 PyThreadState* __tstate = wxPyBeginAllowThreads();
14894 result = (bool)(arg1)->Select(arg2,arg3);
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 {
14899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14900 }
14901 return resultobj;
14902 fail:
14903 return NULL;
14904 }
14905
14906
14907 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj = 0;
14909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14910 size_t arg2 ;
14911 size_t arg3 ;
14912 bool result;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 size_t val2 ;
14916 int ecode2 = 0 ;
14917 size_t val3 ;
14918 int ecode3 = 0 ;
14919 PyObject * obj0 = 0 ;
14920 PyObject * obj1 = 0 ;
14921 PyObject * obj2 = 0 ;
14922 char * kwnames[] = {
14923 (char *) "self",(char *) "_from",(char *) "to", NULL
14924 };
14925
14926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14928 if (!SWIG_IsOK(res1)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14930 }
14931 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14932 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14933 if (!SWIG_IsOK(ecode2)) {
14934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14935 }
14936 arg2 = static_cast< size_t >(val2);
14937 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14938 if (!SWIG_IsOK(ecode3)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14940 }
14941 arg3 = static_cast< size_t >(val3);
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (bool)(arg1)->SelectRange(arg2,arg3);
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14950 }
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj = 0;
14959 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14960 size_t arg2 ;
14961 void *argp1 = 0 ;
14962 int res1 = 0 ;
14963 size_t val2 ;
14964 int ecode2 = 0 ;
14965 PyObject * obj0 = 0 ;
14966 PyObject * obj1 = 0 ;
14967 char * kwnames[] = {
14968 (char *) "self",(char *) "item", NULL
14969 };
14970
14971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14973 if (!SWIG_IsOK(res1)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14975 }
14976 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14977 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14978 if (!SWIG_IsOK(ecode2)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14980 }
14981 arg2 = static_cast< size_t >(val2);
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 (arg1)->Toggle(arg2);
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 resultobj = SWIG_Py_Void();
14989 return resultobj;
14990 fail:
14991 return NULL;
14992 }
14993
14994
14995 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14996 PyObject *resultobj = 0;
14997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14998 bool result;
14999 void *argp1 = 0 ;
15000 int res1 = 0 ;
15001 PyObject *swig_obj[1] ;
15002
15003 if (!args) SWIG_fail;
15004 swig_obj[0] = args;
15005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15006 if (!SWIG_IsOK(res1)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15008 }
15009 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 result = (bool)(arg1)->SelectAll();
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 {
15017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15018 }
15019 return resultobj;
15020 fail:
15021 return NULL;
15022 }
15023
15024
15025 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15026 PyObject *resultobj = 0;
15027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15028 bool result;
15029 void *argp1 = 0 ;
15030 int res1 = 0 ;
15031 PyObject *swig_obj[1] ;
15032
15033 if (!args) SWIG_fail;
15034 swig_obj[0] = args;
15035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15036 if (!SWIG_IsOK(res1)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15038 }
15039 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (bool)(arg1)->DeselectAll();
15043 wxPyEndAllowThreads(__tstate);
15044 if (PyErr_Occurred()) SWIG_fail;
15045 }
15046 {
15047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15048 }
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj = 0;
15057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15058 wxPoint *arg2 = 0 ;
15059 void *argp1 = 0 ;
15060 int res1 = 0 ;
15061 wxPoint temp2 ;
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 char * kwnames[] = {
15065 (char *) "self",(char *) "pt", NULL
15066 };
15067
15068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15070 if (!SWIG_IsOK(res1)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15072 }
15073 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15074 {
15075 arg2 = &temp2;
15076 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->SetMargins((wxPoint const &)*arg2);
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 resultobj = SWIG_Py_Void();
15085 return resultobj;
15086 fail:
15087 return NULL;
15088 }
15089
15090
15091 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj = 0;
15093 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15094 int arg2 ;
15095 int arg3 ;
15096 void *argp1 = 0 ;
15097 int res1 = 0 ;
15098 int val2 ;
15099 int ecode2 = 0 ;
15100 int val3 ;
15101 int ecode3 = 0 ;
15102 PyObject * obj0 = 0 ;
15103 PyObject * obj1 = 0 ;
15104 PyObject * obj2 = 0 ;
15105 char * kwnames[] = {
15106 (char *) "self",(char *) "x",(char *) "y", NULL
15107 };
15108
15109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15111 if (!SWIG_IsOK(res1)) {
15112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15113 }
15114 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15115 ecode2 = SWIG_AsVal_int(obj1, &val2);
15116 if (!SWIG_IsOK(ecode2)) {
15117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15118 }
15119 arg2 = static_cast< int >(val2);
15120 ecode3 = SWIG_AsVal_int(obj2, &val3);
15121 if (!SWIG_IsOK(ecode3)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15123 }
15124 arg3 = static_cast< int >(val3);
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 (arg1)->SetMargins(arg2,arg3);
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 resultobj = SWIG_Py_Void();
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj = 0;
15140 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15141 wxColour *arg2 = 0 ;
15142 void *argp1 = 0 ;
15143 int res1 = 0 ;
15144 wxColour temp2 ;
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
15147 char * kwnames[] = {
15148 (char *) "self",(char *) "col", NULL
15149 };
15150
15151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15153 if (!SWIG_IsOK(res1)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15155 }
15156 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15157 {
15158 arg2 = &temp2;
15159 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15160 }
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 resultobj = SWIG_Py_Void();
15168 return resultobj;
15169 fail:
15170 return NULL;
15171 }
15172
15173
15174 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj = 0;
15176 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15177 wxDC *arg2 = 0 ;
15178 wxRect *arg3 = 0 ;
15179 size_t arg4 ;
15180 void *argp1 = 0 ;
15181 int res1 = 0 ;
15182 void *argp2 = 0 ;
15183 int res2 = 0 ;
15184 wxRect temp3 ;
15185 size_t val4 ;
15186 int ecode4 = 0 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 PyObject * obj2 = 0 ;
15190 PyObject * obj3 = 0 ;
15191 char * kwnames[] = {
15192 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15193 };
15194
15195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15197 if (!SWIG_IsOK(res1)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15199 }
15200 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15202 if (!SWIG_IsOK(res2)) {
15203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15204 }
15205 if (!argp2) {
15206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15207 }
15208 arg2 = reinterpret_cast< wxDC * >(argp2);
15209 {
15210 arg3 = &temp3;
15211 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15212 }
15213 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15214 if (!SWIG_IsOK(ecode4)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15216 }
15217 arg4 = static_cast< size_t >(val4);
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 resultobj = SWIG_Py_Void();
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj = 0;
15233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15234 wxDC *arg2 = 0 ;
15235 wxRect *arg3 = 0 ;
15236 size_t arg4 ;
15237 void *argp1 = 0 ;
15238 int res1 = 0 ;
15239 void *argp2 = 0 ;
15240 int res2 = 0 ;
15241 wxRect temp3 ;
15242 size_t val4 ;
15243 int ecode4 = 0 ;
15244 PyObject * obj0 = 0 ;
15245 PyObject * obj1 = 0 ;
15246 PyObject * obj2 = 0 ;
15247 PyObject * obj3 = 0 ;
15248 char * kwnames[] = {
15249 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15250 };
15251
15252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15254 if (!SWIG_IsOK(res1)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15256 }
15257 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15259 if (!SWIG_IsOK(res2)) {
15260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15261 }
15262 if (!argp2) {
15263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15264 }
15265 arg2 = reinterpret_cast< wxDC * >(argp2);
15266 {
15267 arg3 = &temp3;
15268 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15269 }
15270 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15271 if (!SWIG_IsOK(ecode4)) {
15272 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15273 }
15274 arg4 = static_cast< size_t >(val4);
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = SWIG_Py_Void();
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15289 PyObject *obj;
15290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15291 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15292 return SWIG_Py_Void();
15293 }
15294
15295 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15296 return SWIG_Python_InitShadowInstance(args);
15297 }
15298
15299 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj = 0;
15301 wxWindow *arg1 = (wxWindow *) 0 ;
15302 int arg2 = (int) wxID_ANY ;
15303 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15304 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15305 wxSize const &arg4_defvalue = wxDefaultSize ;
15306 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15307 long arg5 = (long) 0 ;
15308 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15309 wxString *arg6 = (wxString *) &arg6_defvalue ;
15310 wxPyHtmlListBox *result = 0 ;
15311 void *argp1 = 0 ;
15312 int res1 = 0 ;
15313 int val2 ;
15314 int ecode2 = 0 ;
15315 wxPoint temp3 ;
15316 wxSize temp4 ;
15317 long val5 ;
15318 int ecode5 = 0 ;
15319 bool temp6 = false ;
15320 PyObject * obj0 = 0 ;
15321 PyObject * obj1 = 0 ;
15322 PyObject * obj2 = 0 ;
15323 PyObject * obj3 = 0 ;
15324 PyObject * obj4 = 0 ;
15325 PyObject * obj5 = 0 ;
15326 char * kwnames[] = {
15327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15328 };
15329
15330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15332 if (!SWIG_IsOK(res1)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15334 }
15335 arg1 = reinterpret_cast< wxWindow * >(argp1);
15336 if (obj1) {
15337 ecode2 = SWIG_AsVal_int(obj1, &val2);
15338 if (!SWIG_IsOK(ecode2)) {
15339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15340 }
15341 arg2 = static_cast< int >(val2);
15342 }
15343 if (obj2) {
15344 {
15345 arg3 = &temp3;
15346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15347 }
15348 }
15349 if (obj3) {
15350 {
15351 arg4 = &temp4;
15352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15353 }
15354 }
15355 if (obj4) {
15356 ecode5 = SWIG_AsVal_long(obj4, &val5);
15357 if (!SWIG_IsOK(ecode5)) {
15358 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15359 }
15360 arg5 = static_cast< long >(val5);
15361 }
15362 if (obj5) {
15363 {
15364 arg6 = wxString_in_helper(obj5);
15365 if (arg6 == NULL) SWIG_fail;
15366 temp6 = true;
15367 }
15368 }
15369 {
15370 if (!wxPyCheckForApp()) SWIG_fail;
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15377 {
15378 if (temp6)
15379 delete arg6;
15380 }
15381 return resultobj;
15382 fail:
15383 {
15384 if (temp6)
15385 delete arg6;
15386 }
15387 return NULL;
15388 }
15389
15390
15391 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15392 PyObject *resultobj = 0;
15393 wxPyHtmlListBox *result = 0 ;
15394
15395 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15396 {
15397 if (!wxPyCheckForApp()) SWIG_fail;
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15404 return resultobj;
15405 fail:
15406 return NULL;
15407 }
15408
15409
15410 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj = 0;
15412 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15413 PyObject *arg2 = (PyObject *) 0 ;
15414 PyObject *arg3 = (PyObject *) 0 ;
15415 void *argp1 = 0 ;
15416 int res1 = 0 ;
15417 PyObject * obj0 = 0 ;
15418 PyObject * obj1 = 0 ;
15419 PyObject * obj2 = 0 ;
15420 char * kwnames[] = {
15421 (char *) "self",(char *) "self",(char *) "_class", NULL
15422 };
15423
15424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15426 if (!SWIG_IsOK(res1)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15428 }
15429 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15430 arg2 = obj1;
15431 arg3 = obj2;
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 (arg1)->_setCallbackInfo(arg2,arg3);
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 resultobj = SWIG_Py_Void();
15439 return resultobj;
15440 fail:
15441 return NULL;
15442 }
15443
15444
15445 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15446 PyObject *resultobj = 0;
15447 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15448 wxWindow *arg2 = (wxWindow *) 0 ;
15449 int arg3 = (int) wxID_ANY ;
15450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15452 wxSize const &arg5_defvalue = wxDefaultSize ;
15453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15454 long arg6 = (long) 0 ;
15455 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15456 wxString *arg7 = (wxString *) &arg7_defvalue ;
15457 bool result;
15458 void *argp1 = 0 ;
15459 int res1 = 0 ;
15460 void *argp2 = 0 ;
15461 int res2 = 0 ;
15462 int val3 ;
15463 int ecode3 = 0 ;
15464 wxPoint temp4 ;
15465 wxSize temp5 ;
15466 long val6 ;
15467 int ecode6 = 0 ;
15468 bool temp7 = false ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 PyObject * obj2 = 0 ;
15472 PyObject * obj3 = 0 ;
15473 PyObject * obj4 = 0 ;
15474 PyObject * obj5 = 0 ;
15475 PyObject * obj6 = 0 ;
15476 char * kwnames[] = {
15477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15478 };
15479
15480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15482 if (!SWIG_IsOK(res1)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15484 }
15485 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15487 if (!SWIG_IsOK(res2)) {
15488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15489 }
15490 arg2 = reinterpret_cast< wxWindow * >(argp2);
15491 if (obj2) {
15492 ecode3 = SWIG_AsVal_int(obj2, &val3);
15493 if (!SWIG_IsOK(ecode3)) {
15494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15495 }
15496 arg3 = static_cast< int >(val3);
15497 }
15498 if (obj3) {
15499 {
15500 arg4 = &temp4;
15501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15502 }
15503 }
15504 if (obj4) {
15505 {
15506 arg5 = &temp5;
15507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15508 }
15509 }
15510 if (obj5) {
15511 ecode6 = SWIG_AsVal_long(obj5, &val6);
15512 if (!SWIG_IsOK(ecode6)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15514 }
15515 arg6 = static_cast< long >(val6);
15516 }
15517 if (obj6) {
15518 {
15519 arg7 = wxString_in_helper(obj6);
15520 if (arg7 == NULL) SWIG_fail;
15521 temp7 = true;
15522 }
15523 }
15524 {
15525 PyThreadState* __tstate = wxPyBeginAllowThreads();
15526 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 {
15531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15532 }
15533 {
15534 if (temp7)
15535 delete arg7;
15536 }
15537 return resultobj;
15538 fail:
15539 {
15540 if (temp7)
15541 delete arg7;
15542 }
15543 return NULL;
15544 }
15545
15546
15547 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj = 0;
15549 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15550 size_t arg2 ;
15551 void *argp1 = 0 ;
15552 int res1 = 0 ;
15553 size_t val2 ;
15554 int ecode2 = 0 ;
15555 PyObject * obj0 = 0 ;
15556 PyObject * obj1 = 0 ;
15557 char * kwnames[] = {
15558 (char *) "self",(char *) "count", NULL
15559 };
15560
15561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15563 if (!SWIG_IsOK(res1)) {
15564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15565 }
15566 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15567 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15568 if (!SWIG_IsOK(ecode2)) {
15569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15570 }
15571 arg2 = static_cast< size_t >(val2);
15572 {
15573 PyThreadState* __tstate = wxPyBeginAllowThreads();
15574 (arg1)->SetItemCount(arg2);
15575 wxPyEndAllowThreads(__tstate);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 }
15578 resultobj = SWIG_Py_Void();
15579 return resultobj;
15580 fail:
15581 return NULL;
15582 }
15583
15584
15585 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15586 PyObject *resultobj = 0;
15587 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15588 wxFileSystem *result = 0 ;
15589 void *argp1 = 0 ;
15590 int res1 = 0 ;
15591 PyObject *swig_obj[1] ;
15592
15593 if (!args) SWIG_fail;
15594 swig_obj[0] = args;
15595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15596 if (!SWIG_IsOK(res1)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15598 }
15599 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 {
15603 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15604 result = (wxFileSystem *) &_result_ref;
15605 }
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15610 return resultobj;
15611 fail:
15612 return NULL;
15613 }
15614
15615
15616 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj = 0;
15618 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15619 size_t arg2 ;
15620 wxHtmlLinkInfo *arg3 = 0 ;
15621 void *argp1 = 0 ;
15622 int res1 = 0 ;
15623 size_t val2 ;
15624 int ecode2 = 0 ;
15625 void *argp3 = 0 ;
15626 int res3 = 0 ;
15627 PyObject * obj0 = 0 ;
15628 PyObject * obj1 = 0 ;
15629 PyObject * obj2 = 0 ;
15630 char * kwnames[] = {
15631 (char *) "self",(char *) "n",(char *) "link", NULL
15632 };
15633
15634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15636 if (!SWIG_IsOK(res1)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15638 }
15639 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15640 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15641 if (!SWIG_IsOK(ecode2)) {
15642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15643 }
15644 arg2 = static_cast< size_t >(val2);
15645 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15646 if (!SWIG_IsOK(res3)) {
15647 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15648 }
15649 if (!argp3) {
15650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15651 }
15652 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15653 {
15654 PyThreadState* __tstate = wxPyBeginAllowThreads();
15655 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 resultobj = SWIG_Py_Void();
15660 return resultobj;
15661 fail:
15662 return NULL;
15663 }
15664
15665
15666 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15667 PyObject *obj;
15668 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15670 return SWIG_Py_Void();
15671 }
15672
15673 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15674 return SWIG_Python_InitShadowInstance(args);
15675 }
15676
15677 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15678 PyObject *resultobj = 0;
15679 wxPyTaskBarIcon *result = 0 ;
15680
15681 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15682 {
15683 if (!wxPyCheckForApp()) SWIG_fail;
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15690 return resultobj;
15691 fail:
15692 return NULL;
15693 }
15694
15695
15696 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15697 PyObject *resultobj = 0;
15698 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15699 void *argp1 = 0 ;
15700 int res1 = 0 ;
15701 PyObject *swig_obj[1] ;
15702
15703 if (!args) SWIG_fail;
15704 swig_obj[0] = args;
15705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15706 if (!SWIG_IsOK(res1)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15708 }
15709 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 delete arg1;
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_Py_Void();
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj = 0;
15726 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15727 PyObject *arg2 = (PyObject *) 0 ;
15728 PyObject *arg3 = (PyObject *) 0 ;
15729 int arg4 ;
15730 void *argp1 = 0 ;
15731 int res1 = 0 ;
15732 int val4 ;
15733 int ecode4 = 0 ;
15734 PyObject * obj0 = 0 ;
15735 PyObject * obj1 = 0 ;
15736 PyObject * obj2 = 0 ;
15737 PyObject * obj3 = 0 ;
15738 char * kwnames[] = {
15739 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15740 };
15741
15742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15746 }
15747 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15748 arg2 = obj1;
15749 arg3 = obj2;
15750 ecode4 = SWIG_AsVal_int(obj3, &val4);
15751 if (!SWIG_IsOK(ecode4)) {
15752 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15753 }
15754 arg4 = static_cast< int >(val4);
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15758 wxPyEndAllowThreads(__tstate);
15759 if (PyErr_Occurred()) SWIG_fail;
15760 }
15761 resultobj = SWIG_Py_Void();
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15769 PyObject *resultobj = 0;
15770 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15771 void *argp1 = 0 ;
15772 int res1 = 0 ;
15773 PyObject *swig_obj[1] ;
15774
15775 if (!args) SWIG_fail;
15776 swig_obj[0] = args;
15777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15778 if (!SWIG_IsOK(res1)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15780 }
15781 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 wxPyTaskBarIcon_Destroy(arg1);
15785 wxPyEndAllowThreads(__tstate);
15786 if (PyErr_Occurred()) SWIG_fail;
15787 }
15788 resultobj = SWIG_Py_Void();
15789 return resultobj;
15790 fail:
15791 return NULL;
15792 }
15793
15794
15795 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15796 PyObject *resultobj = 0;
15797 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15798 bool result;
15799 void *argp1 = 0 ;
15800 int res1 = 0 ;
15801 PyObject *swig_obj[1] ;
15802
15803 if (!args) SWIG_fail;
15804 swig_obj[0] = args;
15805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15806 if (!SWIG_IsOK(res1)) {
15807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15808 }
15809 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 {
15817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15818 }
15819 return resultobj;
15820 fail:
15821 return NULL;
15822 }
15823
15824
15825 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15826 PyObject *resultobj = 0;
15827 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15828 bool result;
15829 void *argp1 = 0 ;
15830 int res1 = 0 ;
15831 PyObject *swig_obj[1] ;
15832
15833 if (!args) SWIG_fail;
15834 swig_obj[0] = args;
15835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15836 if (!SWIG_IsOK(res1)) {
15837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15838 }
15839 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15848 }
15849 return resultobj;
15850 fail:
15851 return NULL;
15852 }
15853
15854
15855 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15856 PyObject *resultobj = 0;
15857 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15858 wxIcon *arg2 = 0 ;
15859 wxString const &arg3_defvalue = wxPyEmptyString ;
15860 wxString *arg3 = (wxString *) &arg3_defvalue ;
15861 bool result;
15862 void *argp1 = 0 ;
15863 int res1 = 0 ;
15864 void *argp2 = 0 ;
15865 int res2 = 0 ;
15866 bool temp3 = false ;
15867 PyObject * obj0 = 0 ;
15868 PyObject * obj1 = 0 ;
15869 PyObject * obj2 = 0 ;
15870 char * kwnames[] = {
15871 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15872 };
15873
15874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15876 if (!SWIG_IsOK(res1)) {
15877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15878 }
15879 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15880 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15881 if (!SWIG_IsOK(res2)) {
15882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15883 }
15884 if (!argp2) {
15885 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15886 }
15887 arg2 = reinterpret_cast< wxIcon * >(argp2);
15888 if (obj2) {
15889 {
15890 arg3 = wxString_in_helper(obj2);
15891 if (arg3 == NULL) SWIG_fail;
15892 temp3 = true;
15893 }
15894 }
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 {
15902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15903 }
15904 {
15905 if (temp3)
15906 delete arg3;
15907 }
15908 return resultobj;
15909 fail:
15910 {
15911 if (temp3)
15912 delete arg3;
15913 }
15914 return NULL;
15915 }
15916
15917
15918 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15919 PyObject *resultobj = 0;
15920 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15921 bool result;
15922 void *argp1 = 0 ;
15923 int res1 = 0 ;
15924 PyObject *swig_obj[1] ;
15925
15926 if (!args) SWIG_fail;
15927 swig_obj[0] = args;
15928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15929 if (!SWIG_IsOK(res1)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15931 }
15932 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (bool)(arg1)->RemoveIcon();
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 {
15940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15941 }
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj = 0;
15950 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15951 wxMenu *arg2 = (wxMenu *) 0 ;
15952 bool result;
15953 void *argp1 = 0 ;
15954 int res1 = 0 ;
15955 void *argp2 = 0 ;
15956 int res2 = 0 ;
15957 PyObject * obj0 = 0 ;
15958 PyObject * obj1 = 0 ;
15959 char * kwnames[] = {
15960 (char *) "self",(char *) "menu", NULL
15961 };
15962
15963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15965 if (!SWIG_IsOK(res1)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15967 }
15968 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15970 if (!SWIG_IsOK(res2)) {
15971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15972 }
15973 arg2 = reinterpret_cast< wxMenu * >(argp2);
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 result = (bool)(arg1)->PopupMenu(arg2);
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 {
15981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15982 }
15983 return resultobj;
15984 fail:
15985 return NULL;
15986 }
15987
15988
15989 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15990 PyObject *obj;
15991 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15992 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15993 return SWIG_Py_Void();
15994 }
15995
15996 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15997 return SWIG_Python_InitShadowInstance(args);
15998 }
15999
16000 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16001 PyObject *resultobj = 0;
16002 wxEventType arg1 ;
16003 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16004 wxTaskBarIconEvent *result = 0 ;
16005 int val1 ;
16006 int ecode1 = 0 ;
16007 void *argp2 = 0 ;
16008 int res2 = 0 ;
16009 PyObject * obj0 = 0 ;
16010 PyObject * obj1 = 0 ;
16011 char * kwnames[] = {
16012 (char *) "evtType",(char *) "tbIcon", NULL
16013 };
16014
16015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16016 ecode1 = SWIG_AsVal_int(obj0, &val1);
16017 if (!SWIG_IsOK(ecode1)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16019 }
16020 arg1 = static_cast< wxEventType >(val1);
16021 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16022 if (!SWIG_IsOK(res2)) {
16023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16024 }
16025 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16033 return resultobj;
16034 fail:
16035 return NULL;
16036 }
16037
16038
16039 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16040 PyObject *obj;
16041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16042 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16043 return SWIG_Py_Void();
16044 }
16045
16046 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16047 return SWIG_Python_InitShadowInstance(args);
16048 }
16049
16050 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16051 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16052 return 1;
16053 }
16054
16055
16056 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16057 PyObject *pyobj = 0;
16058
16059 {
16060 #if wxUSE_UNICODE
16061 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16062 #else
16063 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16064 #endif
16065 }
16066 return pyobj;
16067 }
16068
16069
16070 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16071 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16072 return 1;
16073 }
16074
16075
16076 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16077 PyObject *pyobj = 0;
16078
16079 {
16080 #if wxUSE_UNICODE
16081 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16082 #else
16083 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16084 #endif
16085 }
16086 return pyobj;
16087 }
16088
16089
16090 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16091 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16092 return 1;
16093 }
16094
16095
16096 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16097 PyObject *pyobj = 0;
16098
16099 {
16100 #if wxUSE_UNICODE
16101 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16102 #else
16103 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16104 #endif
16105 }
16106 return pyobj;
16107 }
16108
16109
16110 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16111 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16112 return 1;
16113 }
16114
16115
16116 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16117 PyObject *pyobj = 0;
16118
16119 {
16120 #if wxUSE_UNICODE
16121 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16122 #else
16123 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16124 #endif
16125 }
16126 return pyobj;
16127 }
16128
16129
16130 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16131 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16132 return 1;
16133 }
16134
16135
16136 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16137 PyObject *pyobj = 0;
16138
16139 {
16140 #if wxUSE_UNICODE
16141 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16142 #else
16143 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16144 #endif
16145 }
16146 return pyobj;
16147 }
16148
16149
16150 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16151 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16152 return 1;
16153 }
16154
16155
16156 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16157 PyObject *pyobj = 0;
16158
16159 {
16160 #if wxUSE_UNICODE
16161 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16162 #else
16163 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16164 #endif
16165 }
16166 return pyobj;
16167 }
16168
16169
16170 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16171 PyObject *resultobj = 0;
16172 wxColourData *result = 0 ;
16173
16174 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 result = (wxColourData *)new wxColourData();
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16189 PyObject *resultobj = 0;
16190 wxColourData *arg1 = (wxColourData *) 0 ;
16191 void *argp1 = 0 ;
16192 int res1 = 0 ;
16193 PyObject *swig_obj[1] ;
16194
16195 if (!args) SWIG_fail;
16196 swig_obj[0] = args;
16197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16198 if (!SWIG_IsOK(res1)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16200 }
16201 arg1 = reinterpret_cast< wxColourData * >(argp1);
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 delete arg1;
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 resultobj = SWIG_Py_Void();
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16217 PyObject *resultobj = 0;
16218 wxColourData *arg1 = (wxColourData *) 0 ;
16219 bool result;
16220 void *argp1 = 0 ;
16221 int res1 = 0 ;
16222 PyObject *swig_obj[1] ;
16223
16224 if (!args) SWIG_fail;
16225 swig_obj[0] = args;
16226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16227 if (!SWIG_IsOK(res1)) {
16228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16229 }
16230 arg1 = reinterpret_cast< wxColourData * >(argp1);
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 result = (bool)(arg1)->GetChooseFull();
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16239 }
16240 return resultobj;
16241 fail:
16242 return NULL;
16243 }
16244
16245
16246 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16247 PyObject *resultobj = 0;
16248 wxColourData *arg1 = (wxColourData *) 0 ;
16249 wxColour result;
16250 void *argp1 = 0 ;
16251 int res1 = 0 ;
16252 PyObject *swig_obj[1] ;
16253
16254 if (!args) SWIG_fail;
16255 swig_obj[0] = args;
16256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16257 if (!SWIG_IsOK(res1)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16259 }
16260 arg1 = reinterpret_cast< wxColourData * >(argp1);
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = (arg1)->GetColour();
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj = 0;
16276 wxColourData *arg1 = (wxColourData *) 0 ;
16277 int arg2 ;
16278 wxColour result;
16279 void *argp1 = 0 ;
16280 int res1 = 0 ;
16281 int val2 ;
16282 int ecode2 = 0 ;
16283 PyObject * obj0 = 0 ;
16284 PyObject * obj1 = 0 ;
16285 char * kwnames[] = {
16286 (char *) "self",(char *) "i", NULL
16287 };
16288
16289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16291 if (!SWIG_IsOK(res1)) {
16292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16293 }
16294 arg1 = reinterpret_cast< wxColourData * >(argp1);
16295 ecode2 = SWIG_AsVal_int(obj1, &val2);
16296 if (!SWIG_IsOK(ecode2)) {
16297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16298 }
16299 arg2 = static_cast< int >(val2);
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 result = (arg1)->GetCustomColour(arg2);
16303 wxPyEndAllowThreads(__tstate);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj = 0;
16315 wxColourData *arg1 = (wxColourData *) 0 ;
16316 int arg2 ;
16317 void *argp1 = 0 ;
16318 int res1 = 0 ;
16319 int val2 ;
16320 int ecode2 = 0 ;
16321 PyObject * obj0 = 0 ;
16322 PyObject * obj1 = 0 ;
16323 char * kwnames[] = {
16324 (char *) "self",(char *) "flag", NULL
16325 };
16326
16327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16329 if (!SWIG_IsOK(res1)) {
16330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16331 }
16332 arg1 = reinterpret_cast< wxColourData * >(argp1);
16333 ecode2 = SWIG_AsVal_int(obj1, &val2);
16334 if (!SWIG_IsOK(ecode2)) {
16335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16336 }
16337 arg2 = static_cast< int >(val2);
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->SetChooseFull(arg2);
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 resultobj = SWIG_Py_Void();
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj = 0;
16353 wxColourData *arg1 = (wxColourData *) 0 ;
16354 wxColour *arg2 = 0 ;
16355 void *argp1 = 0 ;
16356 int res1 = 0 ;
16357 wxColour temp2 ;
16358 PyObject * obj0 = 0 ;
16359 PyObject * obj1 = 0 ;
16360 char * kwnames[] = {
16361 (char *) "self",(char *) "colour", NULL
16362 };
16363
16364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16366 if (!SWIG_IsOK(res1)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16368 }
16369 arg1 = reinterpret_cast< wxColourData * >(argp1);
16370 {
16371 arg2 = &temp2;
16372 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16373 }
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 (arg1)->SetColour((wxColour const &)*arg2);
16377 wxPyEndAllowThreads(__tstate);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 }
16380 resultobj = SWIG_Py_Void();
16381 return resultobj;
16382 fail:
16383 return NULL;
16384 }
16385
16386
16387 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj = 0;
16389 wxColourData *arg1 = (wxColourData *) 0 ;
16390 int arg2 ;
16391 wxColour *arg3 = 0 ;
16392 void *argp1 = 0 ;
16393 int res1 = 0 ;
16394 int val2 ;
16395 int ecode2 = 0 ;
16396 wxColour temp3 ;
16397 PyObject * obj0 = 0 ;
16398 PyObject * obj1 = 0 ;
16399 PyObject * obj2 = 0 ;
16400 char * kwnames[] = {
16401 (char *) "self",(char *) "i",(char *) "colour", NULL
16402 };
16403
16404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16406 if (!SWIG_IsOK(res1)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16408 }
16409 arg1 = reinterpret_cast< wxColourData * >(argp1);
16410 ecode2 = SWIG_AsVal_int(obj1, &val2);
16411 if (!SWIG_IsOK(ecode2)) {
16412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16413 }
16414 arg2 = static_cast< int >(val2);
16415 {
16416 arg3 = &temp3;
16417 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16418 }
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 resultobj = SWIG_Py_Void();
16426 return resultobj;
16427 fail:
16428 return NULL;
16429 }
16430
16431
16432 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16433 PyObject *obj;
16434 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16435 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16436 return SWIG_Py_Void();
16437 }
16438
16439 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16440 return SWIG_Python_InitShadowInstance(args);
16441 }
16442
16443 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj = 0;
16445 wxWindow *arg1 = (wxWindow *) 0 ;
16446 wxColourData *arg2 = (wxColourData *) NULL ;
16447 wxColourDialog *result = 0 ;
16448 void *argp1 = 0 ;
16449 int res1 = 0 ;
16450 void *argp2 = 0 ;
16451 int res2 = 0 ;
16452 PyObject * obj0 = 0 ;
16453 PyObject * obj1 = 0 ;
16454 char * kwnames[] = {
16455 (char *) "parent",(char *) "data", NULL
16456 };
16457
16458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16460 if (!SWIG_IsOK(res1)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16462 }
16463 arg1 = reinterpret_cast< wxWindow * >(argp1);
16464 if (obj1) {
16465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16466 if (!SWIG_IsOK(res2)) {
16467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16468 }
16469 arg2 = reinterpret_cast< wxColourData * >(argp2);
16470 }
16471 {
16472 if (!wxPyCheckForApp()) SWIG_fail;
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16486 PyObject *resultobj = 0;
16487 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16488 wxColourData *result = 0 ;
16489 void *argp1 = 0 ;
16490 int res1 = 0 ;
16491 PyObject *swig_obj[1] ;
16492
16493 if (!args) SWIG_fail;
16494 swig_obj[0] = args;
16495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16496 if (!SWIG_IsOK(res1)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16498 }
16499 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 {
16503 wxColourData &_result_ref = (arg1)->GetColourData();
16504 result = (wxColourData *) &_result_ref;
16505 }
16506 wxPyEndAllowThreads(__tstate);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16510 return resultobj;
16511 fail:
16512 return NULL;
16513 }
16514
16515
16516 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16517 PyObject *obj;
16518 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16519 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16520 return SWIG_Py_Void();
16521 }
16522
16523 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16524 return SWIG_Python_InitShadowInstance(args);
16525 }
16526
16527 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj = 0;
16529 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16530 wxColour const &arg2_defvalue = wxNullColour ;
16531 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16532 wxString const &arg3_defvalue = wxPyEmptyString ;
16533 wxString *arg3 = (wxString *) &arg3_defvalue ;
16534 wxColour result;
16535 void *argp1 = 0 ;
16536 int res1 = 0 ;
16537 wxColour temp2 ;
16538 bool temp3 = false ;
16539 PyObject * obj0 = 0 ;
16540 PyObject * obj1 = 0 ;
16541 PyObject * obj2 = 0 ;
16542 char * kwnames[] = {
16543 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16544 };
16545
16546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16547 if (obj0) {
16548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16549 if (!SWIG_IsOK(res1)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16551 }
16552 arg1 = reinterpret_cast< wxWindow * >(argp1);
16553 }
16554 if (obj1) {
16555 {
16556 arg2 = &temp2;
16557 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16558 }
16559 }
16560 if (obj2) {
16561 {
16562 arg3 = wxString_in_helper(obj2);
16563 if (arg3 == NULL) SWIG_fail;
16564 temp3 = true;
16565 }
16566 }
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16574 {
16575 if (temp3)
16576 delete arg3;
16577 }
16578 return resultobj;
16579 fail:
16580 {
16581 if (temp3)
16582 delete arg3;
16583 }
16584 return NULL;
16585 }
16586
16587
16588 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj = 0;
16590 wxWindow *arg1 = (wxWindow *) 0 ;
16591 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16592 wxString *arg2 = (wxString *) &arg2_defvalue ;
16593 wxString const &arg3_defvalue = wxPyEmptyString ;
16594 wxString *arg3 = (wxString *) &arg3_defvalue ;
16595 long arg4 = (long) 0 ;
16596 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16597 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16598 wxSize const &arg6_defvalue = wxDefaultSize ;
16599 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16600 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16601 wxString *arg7 = (wxString *) &arg7_defvalue ;
16602 wxDirDialog *result = 0 ;
16603 void *argp1 = 0 ;
16604 int res1 = 0 ;
16605 bool temp2 = false ;
16606 bool temp3 = false ;
16607 long val4 ;
16608 int ecode4 = 0 ;
16609 wxPoint temp5 ;
16610 wxSize temp6 ;
16611 bool temp7 = false ;
16612 PyObject * obj0 = 0 ;
16613 PyObject * obj1 = 0 ;
16614 PyObject * obj2 = 0 ;
16615 PyObject * obj3 = 0 ;
16616 PyObject * obj4 = 0 ;
16617 PyObject * obj5 = 0 ;
16618 PyObject * obj6 = 0 ;
16619 char * kwnames[] = {
16620 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16621 };
16622
16623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16625 if (!SWIG_IsOK(res1)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16627 }
16628 arg1 = reinterpret_cast< wxWindow * >(argp1);
16629 if (obj1) {
16630 {
16631 arg2 = wxString_in_helper(obj1);
16632 if (arg2 == NULL) SWIG_fail;
16633 temp2 = true;
16634 }
16635 }
16636 if (obj2) {
16637 {
16638 arg3 = wxString_in_helper(obj2);
16639 if (arg3 == NULL) SWIG_fail;
16640 temp3 = true;
16641 }
16642 }
16643 if (obj3) {
16644 ecode4 = SWIG_AsVal_long(obj3, &val4);
16645 if (!SWIG_IsOK(ecode4)) {
16646 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16647 }
16648 arg4 = static_cast< long >(val4);
16649 }
16650 if (obj4) {
16651 {
16652 arg5 = &temp5;
16653 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16654 }
16655 }
16656 if (obj5) {
16657 {
16658 arg6 = &temp6;
16659 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16660 }
16661 }
16662 if (obj6) {
16663 {
16664 arg7 = wxString_in_helper(obj6);
16665 if (arg7 == NULL) SWIG_fail;
16666 temp7 = true;
16667 }
16668 }
16669 {
16670 if (!wxPyCheckForApp()) SWIG_fail;
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16677 {
16678 if (temp2)
16679 delete arg2;
16680 }
16681 {
16682 if (temp3)
16683 delete arg3;
16684 }
16685 {
16686 if (temp7)
16687 delete arg7;
16688 }
16689 return resultobj;
16690 fail:
16691 {
16692 if (temp2)
16693 delete arg2;
16694 }
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 {
16700 if (temp7)
16701 delete arg7;
16702 }
16703 return NULL;
16704 }
16705
16706
16707 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16708 PyObject *resultobj = 0;
16709 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16710 wxString result;
16711 void *argp1 = 0 ;
16712 int res1 = 0 ;
16713 PyObject *swig_obj[1] ;
16714
16715 if (!args) SWIG_fail;
16716 swig_obj[0] = args;
16717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16718 if (!SWIG_IsOK(res1)) {
16719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16720 }
16721 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = (arg1)->GetPath();
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 {
16729 #if wxUSE_UNICODE
16730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16731 #else
16732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16733 #endif
16734 }
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16742 PyObject *resultobj = 0;
16743 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16744 wxString result;
16745 void *argp1 = 0 ;
16746 int res1 = 0 ;
16747 PyObject *swig_obj[1] ;
16748
16749 if (!args) SWIG_fail;
16750 swig_obj[0] = args;
16751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16752 if (!SWIG_IsOK(res1)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16754 }
16755 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (arg1)->GetMessage();
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 {
16763 #if wxUSE_UNICODE
16764 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16765 #else
16766 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16767 #endif
16768 }
16769 return resultobj;
16770 fail:
16771 return NULL;
16772 }
16773
16774
16775 SWIGINTERN PyObject *_wrap_DirDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16776 PyObject *resultobj = 0;
16777 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16778 long result;
16779 void *argp1 = 0 ;
16780 int res1 = 0 ;
16781 PyObject *swig_obj[1] ;
16782
16783 if (!args) SWIG_fail;
16784 swig_obj[0] = args;
16785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16786 if (!SWIG_IsOK(res1)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16788 }
16789 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (long)(arg1)->GetStyle();
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 resultobj = SWIG_From_long(static_cast< long >(result));
16797 return resultobj;
16798 fail:
16799 return NULL;
16800 }
16801
16802
16803 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16804 PyObject *resultobj = 0;
16805 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16806 wxString *arg2 = 0 ;
16807 void *argp1 = 0 ;
16808 int res1 = 0 ;
16809 bool temp2 = false ;
16810 PyObject * obj0 = 0 ;
16811 PyObject * obj1 = 0 ;
16812 char * kwnames[] = {
16813 (char *) "self",(char *) "message", NULL
16814 };
16815
16816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16818 if (!SWIG_IsOK(res1)) {
16819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16820 }
16821 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16822 {
16823 arg2 = wxString_in_helper(obj1);
16824 if (arg2 == NULL) SWIG_fail;
16825 temp2 = true;
16826 }
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 (arg1)->SetMessage((wxString const &)*arg2);
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 resultobj = SWIG_Py_Void();
16834 {
16835 if (temp2)
16836 delete arg2;
16837 }
16838 return resultobj;
16839 fail:
16840 {
16841 if (temp2)
16842 delete arg2;
16843 }
16844 return NULL;
16845 }
16846
16847
16848 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj = 0;
16850 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16851 wxString *arg2 = 0 ;
16852 void *argp1 = 0 ;
16853 int res1 = 0 ;
16854 bool temp2 = false ;
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 char * kwnames[] = {
16858 (char *) "self",(char *) "path", NULL
16859 };
16860
16861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16863 if (!SWIG_IsOK(res1)) {
16864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16865 }
16866 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16867 {
16868 arg2 = wxString_in_helper(obj1);
16869 if (arg2 == NULL) SWIG_fail;
16870 temp2 = true;
16871 }
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 (arg1)->SetPath((wxString const &)*arg2);
16875 wxPyEndAllowThreads(__tstate);
16876 if (PyErr_Occurred()) SWIG_fail;
16877 }
16878 resultobj = SWIG_Py_Void();
16879 {
16880 if (temp2)
16881 delete arg2;
16882 }
16883 return resultobj;
16884 fail:
16885 {
16886 if (temp2)
16887 delete arg2;
16888 }
16889 return NULL;
16890 }
16891
16892
16893 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16894 PyObject *obj;
16895 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16896 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16897 return SWIG_Py_Void();
16898 }
16899
16900 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16901 return SWIG_Python_InitShadowInstance(args);
16902 }
16903
16904 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj = 0;
16906 wxWindow *arg1 = (wxWindow *) 0 ;
16907 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16908 wxString *arg2 = (wxString *) &arg2_defvalue ;
16909 wxString const &arg3_defvalue = wxPyEmptyString ;
16910 wxString *arg3 = (wxString *) &arg3_defvalue ;
16911 wxString const &arg4_defvalue = wxPyEmptyString ;
16912 wxString *arg4 = (wxString *) &arg4_defvalue ;
16913 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16914 wxString *arg5 = (wxString *) &arg5_defvalue ;
16915 long arg6 = (long) 0 ;
16916 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16917 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16918 wxFileDialog *result = 0 ;
16919 void *argp1 = 0 ;
16920 int res1 = 0 ;
16921 bool temp2 = false ;
16922 bool temp3 = false ;
16923 bool temp4 = false ;
16924 bool temp5 = false ;
16925 long val6 ;
16926 int ecode6 = 0 ;
16927 wxPoint temp7 ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 PyObject * obj2 = 0 ;
16931 PyObject * obj3 = 0 ;
16932 PyObject * obj4 = 0 ;
16933 PyObject * obj5 = 0 ;
16934 PyObject * obj6 = 0 ;
16935 char * kwnames[] = {
16936 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16937 };
16938
16939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16941 if (!SWIG_IsOK(res1)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16943 }
16944 arg1 = reinterpret_cast< wxWindow * >(argp1);
16945 if (obj1) {
16946 {
16947 arg2 = wxString_in_helper(obj1);
16948 if (arg2 == NULL) SWIG_fail;
16949 temp2 = true;
16950 }
16951 }
16952 if (obj2) {
16953 {
16954 arg3 = wxString_in_helper(obj2);
16955 if (arg3 == NULL) SWIG_fail;
16956 temp3 = true;
16957 }
16958 }
16959 if (obj3) {
16960 {
16961 arg4 = wxString_in_helper(obj3);
16962 if (arg4 == NULL) SWIG_fail;
16963 temp4 = true;
16964 }
16965 }
16966 if (obj4) {
16967 {
16968 arg5 = wxString_in_helper(obj4);
16969 if (arg5 == NULL) SWIG_fail;
16970 temp5 = true;
16971 }
16972 }
16973 if (obj5) {
16974 ecode6 = SWIG_AsVal_long(obj5, &val6);
16975 if (!SWIG_IsOK(ecode6)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16977 }
16978 arg6 = static_cast< long >(val6);
16979 }
16980 if (obj6) {
16981 {
16982 arg7 = &temp7;
16983 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
16984 }
16985 }
16986 {
16987 if (!wxPyCheckForApp()) SWIG_fail;
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 {
16999 if (temp3)
17000 delete arg3;
17001 }
17002 {
17003 if (temp4)
17004 delete arg4;
17005 }
17006 {
17007 if (temp5)
17008 delete arg5;
17009 }
17010 return resultobj;
17011 fail:
17012 {
17013 if (temp2)
17014 delete arg2;
17015 }
17016 {
17017 if (temp3)
17018 delete arg3;
17019 }
17020 {
17021 if (temp4)
17022 delete arg4;
17023 }
17024 {
17025 if (temp5)
17026 delete arg5;
17027 }
17028 return NULL;
17029 }
17030
17031
17032 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj = 0;
17034 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17035 wxString *arg2 = 0 ;
17036 void *argp1 = 0 ;
17037 int res1 = 0 ;
17038 bool temp2 = false ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char * kwnames[] = {
17042 (char *) "self",(char *) "message", NULL
17043 };
17044
17045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17047 if (!SWIG_IsOK(res1)) {
17048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17049 }
17050 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17051 {
17052 arg2 = wxString_in_helper(obj1);
17053 if (arg2 == NULL) SWIG_fail;
17054 temp2 = true;
17055 }
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 (arg1)->SetMessage((wxString const &)*arg2);
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
17062 resultobj = SWIG_Py_Void();
17063 {
17064 if (temp2)
17065 delete arg2;
17066 }
17067 return resultobj;
17068 fail:
17069 {
17070 if (temp2)
17071 delete arg2;
17072 }
17073 return NULL;
17074 }
17075
17076
17077 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj = 0;
17079 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17080 wxString *arg2 = 0 ;
17081 void *argp1 = 0 ;
17082 int res1 = 0 ;
17083 bool temp2 = false ;
17084 PyObject * obj0 = 0 ;
17085 PyObject * obj1 = 0 ;
17086 char * kwnames[] = {
17087 (char *) "self",(char *) "path", NULL
17088 };
17089
17090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17092 if (!SWIG_IsOK(res1)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17094 }
17095 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17096 {
17097 arg2 = wxString_in_helper(obj1);
17098 if (arg2 == NULL) SWIG_fail;
17099 temp2 = true;
17100 }
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 (arg1)->SetPath((wxString const &)*arg2);
17104 wxPyEndAllowThreads(__tstate);
17105 if (PyErr_Occurred()) SWIG_fail;
17106 }
17107 resultobj = SWIG_Py_Void();
17108 {
17109 if (temp2)
17110 delete arg2;
17111 }
17112 return resultobj;
17113 fail:
17114 {
17115 if (temp2)
17116 delete arg2;
17117 }
17118 return NULL;
17119 }
17120
17121
17122 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17123 PyObject *resultobj = 0;
17124 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17125 wxString *arg2 = 0 ;
17126 void *argp1 = 0 ;
17127 int res1 = 0 ;
17128 bool temp2 = false ;
17129 PyObject * obj0 = 0 ;
17130 PyObject * obj1 = 0 ;
17131 char * kwnames[] = {
17132 (char *) "self",(char *) "dir", NULL
17133 };
17134
17135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17137 if (!SWIG_IsOK(res1)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17139 }
17140 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17141 {
17142 arg2 = wxString_in_helper(obj1);
17143 if (arg2 == NULL) SWIG_fail;
17144 temp2 = true;
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->SetDirectory((wxString const &)*arg2);
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 resultobj = SWIG_Py_Void();
17153 {
17154 if (temp2)
17155 delete arg2;
17156 }
17157 return resultobj;
17158 fail:
17159 {
17160 if (temp2)
17161 delete arg2;
17162 }
17163 return NULL;
17164 }
17165
17166
17167 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj = 0;
17169 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17170 wxString *arg2 = 0 ;
17171 void *argp1 = 0 ;
17172 int res1 = 0 ;
17173 bool temp2 = false ;
17174 PyObject * obj0 = 0 ;
17175 PyObject * obj1 = 0 ;
17176 char * kwnames[] = {
17177 (char *) "self",(char *) "name", NULL
17178 };
17179
17180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17182 if (!SWIG_IsOK(res1)) {
17183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17184 }
17185 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17186 {
17187 arg2 = wxString_in_helper(obj1);
17188 if (arg2 == NULL) SWIG_fail;
17189 temp2 = true;
17190 }
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 (arg1)->SetFilename((wxString const &)*arg2);
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 resultobj = SWIG_Py_Void();
17198 {
17199 if (temp2)
17200 delete arg2;
17201 }
17202 return resultobj;
17203 fail:
17204 {
17205 if (temp2)
17206 delete arg2;
17207 }
17208 return NULL;
17209 }
17210
17211
17212 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17213 PyObject *resultobj = 0;
17214 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17215 wxString *arg2 = 0 ;
17216 void *argp1 = 0 ;
17217 int res1 = 0 ;
17218 bool temp2 = false ;
17219 PyObject * obj0 = 0 ;
17220 PyObject * obj1 = 0 ;
17221 char * kwnames[] = {
17222 (char *) "self",(char *) "wildCard", NULL
17223 };
17224
17225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17227 if (!SWIG_IsOK(res1)) {
17228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17229 }
17230 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17231 {
17232 arg2 = wxString_in_helper(obj1);
17233 if (arg2 == NULL) SWIG_fail;
17234 temp2 = true;
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 (arg1)->SetWildcard((wxString const &)*arg2);
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 resultobj = SWIG_Py_Void();
17243 {
17244 if (temp2)
17245 delete arg2;
17246 }
17247 return resultobj;
17248 fail:
17249 {
17250 if (temp2)
17251 delete arg2;
17252 }
17253 return NULL;
17254 }
17255
17256
17257 SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj = 0;
17259 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17260 long arg2 ;
17261 void *argp1 = 0 ;
17262 int res1 = 0 ;
17263 long val2 ;
17264 int ecode2 = 0 ;
17265 PyObject * obj0 = 0 ;
17266 PyObject * obj1 = 0 ;
17267 char * kwnames[] = {
17268 (char *) "self",(char *) "style", NULL
17269 };
17270
17271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17273 if (!SWIG_IsOK(res1)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17275 }
17276 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17277 ecode2 = SWIG_AsVal_long(obj1, &val2);
17278 if (!SWIG_IsOK(ecode2)) {
17279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17280 }
17281 arg2 = static_cast< long >(val2);
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 (arg1)->SetStyle(arg2);
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 resultobj = SWIG_Py_Void();
17289 return resultobj;
17290 fail:
17291 return NULL;
17292 }
17293
17294
17295 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17296 PyObject *resultobj = 0;
17297 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17298 int arg2 ;
17299 void *argp1 = 0 ;
17300 int res1 = 0 ;
17301 int val2 ;
17302 int ecode2 = 0 ;
17303 PyObject * obj0 = 0 ;
17304 PyObject * obj1 = 0 ;
17305 char * kwnames[] = {
17306 (char *) "self",(char *) "filterIndex", NULL
17307 };
17308
17309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17311 if (!SWIG_IsOK(res1)) {
17312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17313 }
17314 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17315 ecode2 = SWIG_AsVal_int(obj1, &val2);
17316 if (!SWIG_IsOK(ecode2)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17318 }
17319 arg2 = static_cast< int >(val2);
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 (arg1)->SetFilterIndex(arg2);
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 resultobj = SWIG_Py_Void();
17327 return resultobj;
17328 fail:
17329 return NULL;
17330 }
17331
17332
17333 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17334 PyObject *resultobj = 0;
17335 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17336 wxString result;
17337 void *argp1 = 0 ;
17338 int res1 = 0 ;
17339 PyObject *swig_obj[1] ;
17340
17341 if (!args) SWIG_fail;
17342 swig_obj[0] = args;
17343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17344 if (!SWIG_IsOK(res1)) {
17345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17346 }
17347 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 result = ((wxFileDialog const *)arg1)->GetMessage();
17351 wxPyEndAllowThreads(__tstate);
17352 if (PyErr_Occurred()) SWIG_fail;
17353 }
17354 {
17355 #if wxUSE_UNICODE
17356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17357 #else
17358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17359 #endif
17360 }
17361 return resultobj;
17362 fail:
17363 return NULL;
17364 }
17365
17366
17367 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17368 PyObject *resultobj = 0;
17369 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17370 wxString result;
17371 void *argp1 = 0 ;
17372 int res1 = 0 ;
17373 PyObject *swig_obj[1] ;
17374
17375 if (!args) SWIG_fail;
17376 swig_obj[0] = args;
17377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17378 if (!SWIG_IsOK(res1)) {
17379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17380 }
17381 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 result = ((wxFileDialog const *)arg1)->GetPath();
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 {
17389 #if wxUSE_UNICODE
17390 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17391 #else
17392 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17393 #endif
17394 }
17395 return resultobj;
17396 fail:
17397 return NULL;
17398 }
17399
17400
17401 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17402 PyObject *resultobj = 0;
17403 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17404 wxString result;
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_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17414 }
17415 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = ((wxFileDialog const *)arg1)->GetDirectory();
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 {
17423 #if wxUSE_UNICODE
17424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17425 #else
17426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17427 #endif
17428 }
17429 return resultobj;
17430 fail:
17431 return NULL;
17432 }
17433
17434
17435 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17436 PyObject *resultobj = 0;
17437 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17438 wxString result;
17439 void *argp1 = 0 ;
17440 int res1 = 0 ;
17441 PyObject *swig_obj[1] ;
17442
17443 if (!args) SWIG_fail;
17444 swig_obj[0] = args;
17445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17446 if (!SWIG_IsOK(res1)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17448 }
17449 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = ((wxFileDialog const *)arg1)->GetFilename();
17453 wxPyEndAllowThreads(__tstate);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 }
17456 {
17457 #if wxUSE_UNICODE
17458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17459 #else
17460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17461 #endif
17462 }
17463 return resultobj;
17464 fail:
17465 return NULL;
17466 }
17467
17468
17469 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17470 PyObject *resultobj = 0;
17471 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17472 wxString result;
17473 void *argp1 = 0 ;
17474 int res1 = 0 ;
17475 PyObject *swig_obj[1] ;
17476
17477 if (!args) SWIG_fail;
17478 swig_obj[0] = args;
17479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17480 if (!SWIG_IsOK(res1)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17482 }
17483 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17484 {
17485 PyThreadState* __tstate = wxPyBeginAllowThreads();
17486 result = ((wxFileDialog const *)arg1)->GetWildcard();
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 {
17491 #if wxUSE_UNICODE
17492 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17493 #else
17494 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17495 #endif
17496 }
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17504 PyObject *resultobj = 0;
17505 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17506 long result;
17507 void *argp1 = 0 ;
17508 int res1 = 0 ;
17509 PyObject *swig_obj[1] ;
17510
17511 if (!args) SWIG_fail;
17512 swig_obj[0] = args;
17513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17514 if (!SWIG_IsOK(res1)) {
17515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17516 }
17517 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 resultobj = SWIG_From_long(static_cast< long >(result));
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17532 PyObject *resultobj = 0;
17533 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17534 int result;
17535 void *argp1 = 0 ;
17536 int res1 = 0 ;
17537 PyObject *swig_obj[1] ;
17538
17539 if (!args) SWIG_fail;
17540 swig_obj[0] = args;
17541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17542 if (!SWIG_IsOK(res1)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17544 }
17545 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 resultobj = SWIG_From_int(static_cast< int >(result));
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17560 PyObject *resultobj = 0;
17561 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17562 PyObject *result = 0 ;
17563 void *argp1 = 0 ;
17564 int res1 = 0 ;
17565 PyObject *swig_obj[1] ;
17566
17567 if (!args) SWIG_fail;
17568 swig_obj[0] = args;
17569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17570 if (!SWIG_IsOK(res1)) {
17571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17572 }
17573 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = result;
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17588 PyObject *resultobj = 0;
17589 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17590 PyObject *result = 0 ;
17591 void *argp1 = 0 ;
17592 int res1 = 0 ;
17593 PyObject *swig_obj[1] ;
17594
17595 if (!args) SWIG_fail;
17596 swig_obj[0] = args;
17597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17598 if (!SWIG_IsOK(res1)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17600 }
17601 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 resultobj = result;
17609 return resultobj;
17610 fail:
17611 return NULL;
17612 }
17613
17614
17615 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17616 PyObject *obj;
17617 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17618 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17619 return SWIG_Py_Void();
17620 }
17621
17622 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 return SWIG_Python_InitShadowInstance(args);
17624 }
17625
17626 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17627 PyObject *resultobj = 0;
17628 wxWindow *arg1 = (wxWindow *) 0 ;
17629 wxString *arg2 = 0 ;
17630 wxString *arg3 = 0 ;
17631 int arg4 = (int) 0 ;
17632 wxString *arg5 = (wxString *) NULL ;
17633 long arg6 = (long) wxCHOICEDLG_STYLE ;
17634 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17635 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17636 wxMultiChoiceDialog *result = 0 ;
17637 void *argp1 = 0 ;
17638 int res1 = 0 ;
17639 bool temp2 = false ;
17640 bool temp3 = false ;
17641 long val6 ;
17642 int ecode6 = 0 ;
17643 wxPoint temp7 ;
17644 PyObject * obj0 = 0 ;
17645 PyObject * obj1 = 0 ;
17646 PyObject * obj2 = 0 ;
17647 PyObject * obj3 = 0 ;
17648 PyObject * obj4 = 0 ;
17649 PyObject * obj5 = 0 ;
17650 char * kwnames[] = {
17651 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17652 };
17653
17654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17656 if (!SWIG_IsOK(res1)) {
17657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17658 }
17659 arg1 = reinterpret_cast< wxWindow * >(argp1);
17660 {
17661 arg2 = wxString_in_helper(obj1);
17662 if (arg2 == NULL) SWIG_fail;
17663 temp2 = true;
17664 }
17665 {
17666 arg3 = wxString_in_helper(obj2);
17667 if (arg3 == NULL) SWIG_fail;
17668 temp3 = true;
17669 }
17670 if (obj3) {
17671 {
17672 arg4 = PyList_Size(obj3);
17673 arg5 = wxString_LIST_helper(obj3);
17674 if (arg5 == NULL) SWIG_fail;
17675 }
17676 }
17677 if (obj4) {
17678 ecode6 = SWIG_AsVal_long(obj4, &val6);
17679 if (!SWIG_IsOK(ecode6)) {
17680 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17681 }
17682 arg6 = static_cast< long >(val6);
17683 }
17684 if (obj5) {
17685 {
17686 arg7 = &temp7;
17687 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17688 }
17689 }
17690 {
17691 if (!wxPyCheckForApp()) SWIG_fail;
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17694 wxPyEndAllowThreads(__tstate);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 }
17697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17698 {
17699 if (temp2)
17700 delete arg2;
17701 }
17702 {
17703 if (temp3)
17704 delete arg3;
17705 }
17706 {
17707 if (arg5) delete [] arg5;
17708 }
17709 return resultobj;
17710 fail:
17711 {
17712 if (temp2)
17713 delete arg2;
17714 }
17715 {
17716 if (temp3)
17717 delete arg3;
17718 }
17719 {
17720 if (arg5) delete [] arg5;
17721 }
17722 return NULL;
17723 }
17724
17725
17726 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj = 0;
17728 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17729 wxArrayInt *arg2 = 0 ;
17730 void *argp1 = 0 ;
17731 int res1 = 0 ;
17732 bool temp2 = false ;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 char * kwnames[] = {
17736 (char *) "self",(char *) "selections", NULL
17737 };
17738
17739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17741 if (!SWIG_IsOK(res1)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17743 }
17744 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17745 {
17746 if (! PySequence_Check(obj1)) {
17747 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17748 SWIG_fail;
17749 }
17750 arg2 = new wxArrayInt;
17751 temp2 = true;
17752 int i, len=PySequence_Length(obj1);
17753 for (i=0; i<len; i++) {
17754 PyObject* item = PySequence_GetItem(obj1, i);
17755 PyObject* number = PyNumber_Int(item);
17756 arg2->Add(PyInt_AS_LONG(number));
17757 Py_DECREF(item);
17758 Py_DECREF(number);
17759 }
17760 }
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17764 wxPyEndAllowThreads(__tstate);
17765 if (PyErr_Occurred()) SWIG_fail;
17766 }
17767 resultobj = SWIG_Py_Void();
17768 {
17769 if (temp2) delete arg2;
17770 }
17771 return resultobj;
17772 fail:
17773 {
17774 if (temp2) delete arg2;
17775 }
17776 return NULL;
17777 }
17778
17779
17780 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17781 PyObject *resultobj = 0;
17782 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17783 PyObject *result = 0 ;
17784 void *argp1 = 0 ;
17785 int res1 = 0 ;
17786 PyObject *swig_obj[1] ;
17787
17788 if (!args) SWIG_fail;
17789 swig_obj[0] = args;
17790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17791 if (!SWIG_IsOK(res1)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17793 }
17794 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = result;
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17809 PyObject *obj;
17810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17811 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17812 return SWIG_Py_Void();
17813 }
17814
17815 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17816 return SWIG_Python_InitShadowInstance(args);
17817 }
17818
17819 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj = 0;
17821 wxWindow *arg1 = (wxWindow *) 0 ;
17822 wxString *arg2 = 0 ;
17823 wxString *arg3 = 0 ;
17824 int arg4 ;
17825 wxString *arg5 = (wxString *) 0 ;
17826 long arg6 = (long) wxCHOICEDLG_STYLE ;
17827 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17828 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17829 wxSingleChoiceDialog *result = 0 ;
17830 void *argp1 = 0 ;
17831 int res1 = 0 ;
17832 bool temp2 = false ;
17833 bool temp3 = false ;
17834 long val6 ;
17835 int ecode6 = 0 ;
17836 wxPoint temp7 ;
17837 PyObject * obj0 = 0 ;
17838 PyObject * obj1 = 0 ;
17839 PyObject * obj2 = 0 ;
17840 PyObject * obj3 = 0 ;
17841 PyObject * obj4 = 0 ;
17842 PyObject * obj5 = 0 ;
17843 char * kwnames[] = {
17844 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17845 };
17846
17847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17849 if (!SWIG_IsOK(res1)) {
17850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17851 }
17852 arg1 = reinterpret_cast< wxWindow * >(argp1);
17853 {
17854 arg2 = wxString_in_helper(obj1);
17855 if (arg2 == NULL) SWIG_fail;
17856 temp2 = true;
17857 }
17858 {
17859 arg3 = wxString_in_helper(obj2);
17860 if (arg3 == NULL) SWIG_fail;
17861 temp3 = true;
17862 }
17863 {
17864 arg4 = PyList_Size(obj3);
17865 arg5 = wxString_LIST_helper(obj3);
17866 if (arg5 == NULL) SWIG_fail;
17867 }
17868 if (obj4) {
17869 ecode6 = SWIG_AsVal_long(obj4, &val6);
17870 if (!SWIG_IsOK(ecode6)) {
17871 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17872 }
17873 arg6 = static_cast< long >(val6);
17874 }
17875 if (obj5) {
17876 {
17877 arg7 = &temp7;
17878 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17879 }
17880 }
17881 {
17882 if (!wxPyCheckForApp()) SWIG_fail;
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17889 {
17890 if (temp2)
17891 delete arg2;
17892 }
17893 {
17894 if (temp3)
17895 delete arg3;
17896 }
17897 {
17898 if (arg5) delete [] arg5;
17899 }
17900 return resultobj;
17901 fail:
17902 {
17903 if (temp2)
17904 delete arg2;
17905 }
17906 {
17907 if (temp3)
17908 delete arg3;
17909 }
17910 {
17911 if (arg5) delete [] arg5;
17912 }
17913 return NULL;
17914 }
17915
17916
17917 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17918 PyObject *resultobj = 0;
17919 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17920 int result;
17921 void *argp1 = 0 ;
17922 int res1 = 0 ;
17923 PyObject *swig_obj[1] ;
17924
17925 if (!args) SWIG_fail;
17926 swig_obj[0] = args;
17927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17928 if (!SWIG_IsOK(res1)) {
17929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17930 }
17931 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (int)(arg1)->GetSelection();
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 resultobj = SWIG_From_int(static_cast< int >(result));
17939 return resultobj;
17940 fail:
17941 return NULL;
17942 }
17943
17944
17945 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17946 PyObject *resultobj = 0;
17947 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17948 wxString result;
17949 void *argp1 = 0 ;
17950 int res1 = 0 ;
17951 PyObject *swig_obj[1] ;
17952
17953 if (!args) SWIG_fail;
17954 swig_obj[0] = args;
17955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17956 if (!SWIG_IsOK(res1)) {
17957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17958 }
17959 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = (arg1)->GetStringSelection();
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 {
17967 #if wxUSE_UNICODE
17968 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17969 #else
17970 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17971 #endif
17972 }
17973 return resultobj;
17974 fail:
17975 return NULL;
17976 }
17977
17978
17979 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj = 0;
17981 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17982 int arg2 ;
17983 void *argp1 = 0 ;
17984 int res1 = 0 ;
17985 int val2 ;
17986 int ecode2 = 0 ;
17987 PyObject * obj0 = 0 ;
17988 PyObject * obj1 = 0 ;
17989 char * kwnames[] = {
17990 (char *) "self",(char *) "sel", NULL
17991 };
17992
17993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17995 if (!SWIG_IsOK(res1)) {
17996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17997 }
17998 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17999 ecode2 = SWIG_AsVal_int(obj1, &val2);
18000 if (!SWIG_IsOK(ecode2)) {
18001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18002 }
18003 arg2 = static_cast< int >(val2);
18004 {
18005 PyThreadState* __tstate = wxPyBeginAllowThreads();
18006 (arg1)->SetSelection(arg2);
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = SWIG_Py_Void();
18011 return resultobj;
18012 fail:
18013 return NULL;
18014 }
18015
18016
18017 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18018 PyObject *obj;
18019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18020 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18021 return SWIG_Py_Void();
18022 }
18023
18024 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18025 return SWIG_Python_InitShadowInstance(args);
18026 }
18027
18028 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj = 0;
18030 wxWindow *arg1 = (wxWindow *) 0 ;
18031 wxString *arg2 = 0 ;
18032 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18033 wxString *arg3 = (wxString *) &arg3_defvalue ;
18034 wxString const &arg4_defvalue = wxPyEmptyString ;
18035 wxString *arg4 = (wxString *) &arg4_defvalue ;
18036 long arg5 = (long) wxTextEntryDialogStyle ;
18037 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18038 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18039 wxTextEntryDialog *result = 0 ;
18040 void *argp1 = 0 ;
18041 int res1 = 0 ;
18042 bool temp2 = false ;
18043 bool temp3 = false ;
18044 bool temp4 = false ;
18045 long val5 ;
18046 int ecode5 = 0 ;
18047 wxPoint temp6 ;
18048 PyObject * obj0 = 0 ;
18049 PyObject * obj1 = 0 ;
18050 PyObject * obj2 = 0 ;
18051 PyObject * obj3 = 0 ;
18052 PyObject * obj4 = 0 ;
18053 PyObject * obj5 = 0 ;
18054 char * kwnames[] = {
18055 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18056 };
18057
18058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18060 if (!SWIG_IsOK(res1)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18062 }
18063 arg1 = reinterpret_cast< wxWindow * >(argp1);
18064 {
18065 arg2 = wxString_in_helper(obj1);
18066 if (arg2 == NULL) SWIG_fail;
18067 temp2 = true;
18068 }
18069 if (obj2) {
18070 {
18071 arg3 = wxString_in_helper(obj2);
18072 if (arg3 == NULL) SWIG_fail;
18073 temp3 = true;
18074 }
18075 }
18076 if (obj3) {
18077 {
18078 arg4 = wxString_in_helper(obj3);
18079 if (arg4 == NULL) SWIG_fail;
18080 temp4 = true;
18081 }
18082 }
18083 if (obj4) {
18084 ecode5 = SWIG_AsVal_long(obj4, &val5);
18085 if (!SWIG_IsOK(ecode5)) {
18086 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18087 }
18088 arg5 = static_cast< long >(val5);
18089 }
18090 if (obj5) {
18091 {
18092 arg6 = &temp6;
18093 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18094 }
18095 }
18096 {
18097 if (!wxPyCheckForApp()) SWIG_fail;
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18104 {
18105 if (temp2)
18106 delete arg2;
18107 }
18108 {
18109 if (temp3)
18110 delete arg3;
18111 }
18112 {
18113 if (temp4)
18114 delete arg4;
18115 }
18116 return resultobj;
18117 fail:
18118 {
18119 if (temp2)
18120 delete arg2;
18121 }
18122 {
18123 if (temp3)
18124 delete arg3;
18125 }
18126 {
18127 if (temp4)
18128 delete arg4;
18129 }
18130 return NULL;
18131 }
18132
18133
18134 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18135 PyObject *resultobj = 0;
18136 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18137 wxString result;
18138 void *argp1 = 0 ;
18139 int res1 = 0 ;
18140 PyObject *swig_obj[1] ;
18141
18142 if (!args) SWIG_fail;
18143 swig_obj[0] = args;
18144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18145 if (!SWIG_IsOK(res1)) {
18146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18147 }
18148 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (arg1)->GetValue();
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 #if wxUSE_UNICODE
18157 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18158 #else
18159 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18160 #endif
18161 }
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18169 PyObject *resultobj = 0;
18170 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18171 wxString *arg2 = 0 ;
18172 void *argp1 = 0 ;
18173 int res1 = 0 ;
18174 bool temp2 = false ;
18175 PyObject * obj0 = 0 ;
18176 PyObject * obj1 = 0 ;
18177 char * kwnames[] = {
18178 (char *) "self",(char *) "value", NULL
18179 };
18180
18181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18183 if (!SWIG_IsOK(res1)) {
18184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18185 }
18186 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18187 {
18188 arg2 = wxString_in_helper(obj1);
18189 if (arg2 == NULL) SWIG_fail;
18190 temp2 = true;
18191 }
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 (arg1)->SetValue((wxString const &)*arg2);
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 resultobj = SWIG_Py_Void();
18199 {
18200 if (temp2)
18201 delete arg2;
18202 }
18203 return resultobj;
18204 fail:
18205 {
18206 if (temp2)
18207 delete arg2;
18208 }
18209 return NULL;
18210 }
18211
18212
18213 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18214 PyObject *obj;
18215 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18216 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18217 return SWIG_Py_Void();
18218 }
18219
18220 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18221 return SWIG_Python_InitShadowInstance(args);
18222 }
18223
18224 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18225 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18226 return 1;
18227 }
18228
18229
18230 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18231 PyObject *pyobj = 0;
18232
18233 {
18234 #if wxUSE_UNICODE
18235 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18236 #else
18237 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18238 #endif
18239 }
18240 return pyobj;
18241 }
18242
18243
18244 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj = 0;
18246 wxWindow *arg1 = (wxWindow *) 0 ;
18247 wxString *arg2 = 0 ;
18248 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18249 wxString *arg3 = (wxString *) &arg3_defvalue ;
18250 wxString const &arg4_defvalue = wxPyEmptyString ;
18251 wxString *arg4 = (wxString *) &arg4_defvalue ;
18252 long arg5 = (long) wxTextEntryDialogStyle ;
18253 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18254 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18255 wxPasswordEntryDialog *result = 0 ;
18256 void *argp1 = 0 ;
18257 int res1 = 0 ;
18258 bool temp2 = false ;
18259 bool temp3 = false ;
18260 bool temp4 = false ;
18261 long val5 ;
18262 int ecode5 = 0 ;
18263 wxPoint temp6 ;
18264 PyObject * obj0 = 0 ;
18265 PyObject * obj1 = 0 ;
18266 PyObject * obj2 = 0 ;
18267 PyObject * obj3 = 0 ;
18268 PyObject * obj4 = 0 ;
18269 PyObject * obj5 = 0 ;
18270 char * kwnames[] = {
18271 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18272 };
18273
18274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18276 if (!SWIG_IsOK(res1)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18278 }
18279 arg1 = reinterpret_cast< wxWindow * >(argp1);
18280 {
18281 arg2 = wxString_in_helper(obj1);
18282 if (arg2 == NULL) SWIG_fail;
18283 temp2 = true;
18284 }
18285 if (obj2) {
18286 {
18287 arg3 = wxString_in_helper(obj2);
18288 if (arg3 == NULL) SWIG_fail;
18289 temp3 = true;
18290 }
18291 }
18292 if (obj3) {
18293 {
18294 arg4 = wxString_in_helper(obj3);
18295 if (arg4 == NULL) SWIG_fail;
18296 temp4 = true;
18297 }
18298 }
18299 if (obj4) {
18300 ecode5 = SWIG_AsVal_long(obj4, &val5);
18301 if (!SWIG_IsOK(ecode5)) {
18302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18303 }
18304 arg5 = static_cast< long >(val5);
18305 }
18306 if (obj5) {
18307 {
18308 arg6 = &temp6;
18309 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18310 }
18311 }
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18319 {
18320 if (temp2)
18321 delete arg2;
18322 }
18323 {
18324 if (temp3)
18325 delete arg3;
18326 }
18327 {
18328 if (temp4)
18329 delete arg4;
18330 }
18331 return resultobj;
18332 fail:
18333 {
18334 if (temp2)
18335 delete arg2;
18336 }
18337 {
18338 if (temp3)
18339 delete arg3;
18340 }
18341 {
18342 if (temp4)
18343 delete arg4;
18344 }
18345 return NULL;
18346 }
18347
18348
18349 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18350 PyObject *obj;
18351 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18352 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18353 return SWIG_Py_Void();
18354 }
18355
18356 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18357 return SWIG_Python_InitShadowInstance(args);
18358 }
18359
18360 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18361 PyObject *resultobj = 0;
18362 wxFontData *result = 0 ;
18363
18364 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (wxFontData *)new wxFontData();
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18379 PyObject *resultobj = 0;
18380 wxFontData *arg1 = (wxFontData *) 0 ;
18381 void *argp1 = 0 ;
18382 int res1 = 0 ;
18383 PyObject *swig_obj[1] ;
18384
18385 if (!args) SWIG_fail;
18386 swig_obj[0] = args;
18387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18388 if (!SWIG_IsOK(res1)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18390 }
18391 arg1 = reinterpret_cast< wxFontData * >(argp1);
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 delete arg1;
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 resultobj = SWIG_Py_Void();
18400 return resultobj;
18401 fail:
18402 return NULL;
18403 }
18404
18405
18406 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18407 PyObject *resultobj = 0;
18408 wxFontData *arg1 = (wxFontData *) 0 ;
18409 bool arg2 ;
18410 void *argp1 = 0 ;
18411 int res1 = 0 ;
18412 bool val2 ;
18413 int ecode2 = 0 ;
18414 PyObject * obj0 = 0 ;
18415 PyObject * obj1 = 0 ;
18416 char * kwnames[] = {
18417 (char *) "self",(char *) "enable", NULL
18418 };
18419
18420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18422 if (!SWIG_IsOK(res1)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18424 }
18425 arg1 = reinterpret_cast< wxFontData * >(argp1);
18426 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18427 if (!SWIG_IsOK(ecode2)) {
18428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18429 }
18430 arg2 = static_cast< bool >(val2);
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 (arg1)->EnableEffects(arg2);
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 resultobj = SWIG_Py_Void();
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18445 PyObject *resultobj = 0;
18446 wxFontData *arg1 = (wxFontData *) 0 ;
18447 bool result;
18448 void *argp1 = 0 ;
18449 int res1 = 0 ;
18450 PyObject *swig_obj[1] ;
18451
18452 if (!args) SWIG_fail;
18453 swig_obj[0] = args;
18454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18455 if (!SWIG_IsOK(res1)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18457 }
18458 arg1 = reinterpret_cast< wxFontData * >(argp1);
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (bool)(arg1)->GetAllowSymbols();
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 {
18466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18475 PyObject *resultobj = 0;
18476 wxFontData *arg1 = (wxFontData *) 0 ;
18477 wxColour result;
18478 void *argp1 = 0 ;
18479 int res1 = 0 ;
18480 PyObject *swig_obj[1] ;
18481
18482 if (!args) SWIG_fail;
18483 swig_obj[0] = args;
18484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18485 if (!SWIG_IsOK(res1)) {
18486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18487 }
18488 arg1 = reinterpret_cast< wxFontData * >(argp1);
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 result = (arg1)->GetColour();
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18496 return resultobj;
18497 fail:
18498 return NULL;
18499 }
18500
18501
18502 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18503 PyObject *resultobj = 0;
18504 wxFontData *arg1 = (wxFontData *) 0 ;
18505 wxFont result;
18506 void *argp1 = 0 ;
18507 int res1 = 0 ;
18508 PyObject *swig_obj[1] ;
18509
18510 if (!args) SWIG_fail;
18511 swig_obj[0] = args;
18512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18513 if (!SWIG_IsOK(res1)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18515 }
18516 arg1 = reinterpret_cast< wxFontData * >(argp1);
18517 {
18518 PyThreadState* __tstate = wxPyBeginAllowThreads();
18519 result = (arg1)->GetChosenFont();
18520 wxPyEndAllowThreads(__tstate);
18521 if (PyErr_Occurred()) SWIG_fail;
18522 }
18523 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18531 PyObject *resultobj = 0;
18532 wxFontData *arg1 = (wxFontData *) 0 ;
18533 bool result;
18534 void *argp1 = 0 ;
18535 int res1 = 0 ;
18536 PyObject *swig_obj[1] ;
18537
18538 if (!args) SWIG_fail;
18539 swig_obj[0] = args;
18540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18541 if (!SWIG_IsOK(res1)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18543 }
18544 arg1 = reinterpret_cast< wxFontData * >(argp1);
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 result = (bool)(arg1)->GetEnableEffects();
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 {
18552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18553 }
18554 return resultobj;
18555 fail:
18556 return NULL;
18557 }
18558
18559
18560 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18561 PyObject *resultobj = 0;
18562 wxFontData *arg1 = (wxFontData *) 0 ;
18563 wxFont result;
18564 void *argp1 = 0 ;
18565 int res1 = 0 ;
18566 PyObject *swig_obj[1] ;
18567
18568 if (!args) SWIG_fail;
18569 swig_obj[0] = args;
18570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18571 if (!SWIG_IsOK(res1)) {
18572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18573 }
18574 arg1 = reinterpret_cast< wxFontData * >(argp1);
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (arg1)->GetInitialFont();
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18589 PyObject *resultobj = 0;
18590 wxFontData *arg1 = (wxFontData *) 0 ;
18591 bool result;
18592 void *argp1 = 0 ;
18593 int res1 = 0 ;
18594 PyObject *swig_obj[1] ;
18595
18596 if (!args) SWIG_fail;
18597 swig_obj[0] = args;
18598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18599 if (!SWIG_IsOK(res1)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18601 }
18602 arg1 = reinterpret_cast< wxFontData * >(argp1);
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (bool)(arg1)->GetShowHelp();
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 {
18610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18611 }
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj = 0;
18620 wxFontData *arg1 = (wxFontData *) 0 ;
18621 bool arg2 ;
18622 void *argp1 = 0 ;
18623 int res1 = 0 ;
18624 bool val2 ;
18625 int ecode2 = 0 ;
18626 PyObject * obj0 = 0 ;
18627 PyObject * obj1 = 0 ;
18628 char * kwnames[] = {
18629 (char *) "self",(char *) "allowSymbols", NULL
18630 };
18631
18632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18634 if (!SWIG_IsOK(res1)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18636 }
18637 arg1 = reinterpret_cast< wxFontData * >(argp1);
18638 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18639 if (!SWIG_IsOK(ecode2)) {
18640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18641 }
18642 arg2 = static_cast< bool >(val2);
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 (arg1)->SetAllowSymbols(arg2);
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 resultobj = SWIG_Py_Void();
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj = 0;
18658 wxFontData *arg1 = (wxFontData *) 0 ;
18659 wxFont *arg2 = 0 ;
18660 void *argp1 = 0 ;
18661 int res1 = 0 ;
18662 void *argp2 = 0 ;
18663 int res2 = 0 ;
18664 PyObject * obj0 = 0 ;
18665 PyObject * obj1 = 0 ;
18666 char * kwnames[] = {
18667 (char *) "self",(char *) "font", NULL
18668 };
18669
18670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18672 if (!SWIG_IsOK(res1)) {
18673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18674 }
18675 arg1 = reinterpret_cast< wxFontData * >(argp1);
18676 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18677 if (!SWIG_IsOK(res2)) {
18678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18679 }
18680 if (!argp2) {
18681 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18682 }
18683 arg2 = reinterpret_cast< wxFont * >(argp2);
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 (arg1)->SetChosenFont((wxFont const &)*arg2);
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_Py_Void();
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj = 0;
18699 wxFontData *arg1 = (wxFontData *) 0 ;
18700 wxColour *arg2 = 0 ;
18701 void *argp1 = 0 ;
18702 int res1 = 0 ;
18703 wxColour temp2 ;
18704 PyObject * obj0 = 0 ;
18705 PyObject * obj1 = 0 ;
18706 char * kwnames[] = {
18707 (char *) "self",(char *) "colour", NULL
18708 };
18709
18710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18712 if (!SWIG_IsOK(res1)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18714 }
18715 arg1 = reinterpret_cast< wxFontData * >(argp1);
18716 {
18717 arg2 = &temp2;
18718 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18719 }
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 (arg1)->SetColour((wxColour const &)*arg2);
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 resultobj = SWIG_Py_Void();
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj = 0;
18735 wxFontData *arg1 = (wxFontData *) 0 ;
18736 wxFont *arg2 = 0 ;
18737 void *argp1 = 0 ;
18738 int res1 = 0 ;
18739 void *argp2 = 0 ;
18740 int res2 = 0 ;
18741 PyObject * obj0 = 0 ;
18742 PyObject * obj1 = 0 ;
18743 char * kwnames[] = {
18744 (char *) "self",(char *) "font", NULL
18745 };
18746
18747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18749 if (!SWIG_IsOK(res1)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18751 }
18752 arg1 = reinterpret_cast< wxFontData * >(argp1);
18753 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18754 if (!SWIG_IsOK(res2)) {
18755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18756 }
18757 if (!argp2) {
18758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18759 }
18760 arg2 = reinterpret_cast< wxFont * >(argp2);
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->SetInitialFont((wxFont const &)*arg2);
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_Py_Void();
18768 return resultobj;
18769 fail:
18770 return NULL;
18771 }
18772
18773
18774 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj = 0;
18776 wxFontData *arg1 = (wxFontData *) 0 ;
18777 int arg2 ;
18778 int arg3 ;
18779 void *argp1 = 0 ;
18780 int res1 = 0 ;
18781 int val2 ;
18782 int ecode2 = 0 ;
18783 int val3 ;
18784 int ecode3 = 0 ;
18785 PyObject * obj0 = 0 ;
18786 PyObject * obj1 = 0 ;
18787 PyObject * obj2 = 0 ;
18788 char * kwnames[] = {
18789 (char *) "self",(char *) "min",(char *) "max", NULL
18790 };
18791
18792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18794 if (!SWIG_IsOK(res1)) {
18795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18796 }
18797 arg1 = reinterpret_cast< wxFontData * >(argp1);
18798 ecode2 = SWIG_AsVal_int(obj1, &val2);
18799 if (!SWIG_IsOK(ecode2)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18801 }
18802 arg2 = static_cast< int >(val2);
18803 ecode3 = SWIG_AsVal_int(obj2, &val3);
18804 if (!SWIG_IsOK(ecode3)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18806 }
18807 arg3 = static_cast< int >(val3);
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 (arg1)->SetRange(arg2,arg3);
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 resultobj = SWIG_Py_Void();
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj = 0;
18823 wxFontData *arg1 = (wxFontData *) 0 ;
18824 bool arg2 ;
18825 void *argp1 = 0 ;
18826 int res1 = 0 ;
18827 bool val2 ;
18828 int ecode2 = 0 ;
18829 PyObject * obj0 = 0 ;
18830 PyObject * obj1 = 0 ;
18831 char * kwnames[] = {
18832 (char *) "self",(char *) "showHelp", NULL
18833 };
18834
18835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18837 if (!SWIG_IsOK(res1)) {
18838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18839 }
18840 arg1 = reinterpret_cast< wxFontData * >(argp1);
18841 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18842 if (!SWIG_IsOK(ecode2)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18844 }
18845 arg2 = static_cast< bool >(val2);
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 (arg1)->SetShowHelp(arg2);
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 resultobj = SWIG_Py_Void();
18853 return resultobj;
18854 fail:
18855 return NULL;
18856 }
18857
18858
18859 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18860 PyObject *obj;
18861 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18862 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18863 return SWIG_Py_Void();
18864 }
18865
18866 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18867 return SWIG_Python_InitShadowInstance(args);
18868 }
18869
18870 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj = 0;
18872 wxWindow *arg1 = (wxWindow *) 0 ;
18873 wxFontData *arg2 = 0 ;
18874 wxFontDialog *result = 0 ;
18875 void *argp1 = 0 ;
18876 int res1 = 0 ;
18877 void *argp2 = 0 ;
18878 int res2 = 0 ;
18879 PyObject * obj0 = 0 ;
18880 PyObject * obj1 = 0 ;
18881 char * kwnames[] = {
18882 (char *) "parent",(char *) "data", NULL
18883 };
18884
18885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18887 if (!SWIG_IsOK(res1)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18889 }
18890 arg1 = reinterpret_cast< wxWindow * >(argp1);
18891 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18892 if (!SWIG_IsOK(res2)) {
18893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18894 }
18895 if (!argp2) {
18896 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18897 }
18898 arg2 = reinterpret_cast< wxFontData * >(argp2);
18899 {
18900 if (!wxPyCheckForApp()) SWIG_fail;
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18914 PyObject *resultobj = 0;
18915 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18916 wxFontData *result = 0 ;
18917 void *argp1 = 0 ;
18918 int res1 = 0 ;
18919 PyObject *swig_obj[1] ;
18920
18921 if (!args) SWIG_fail;
18922 swig_obj[0] = args;
18923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18924 if (!SWIG_IsOK(res1)) {
18925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18926 }
18927 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 {
18931 wxFontData &_result_ref = (arg1)->GetFontData();
18932 result = (wxFontData *) &_result_ref;
18933 }
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18938 return resultobj;
18939 fail:
18940 return NULL;
18941 }
18942
18943
18944 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18945 PyObject *obj;
18946 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18947 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18948 return SWIG_Py_Void();
18949 }
18950
18951 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18952 return SWIG_Python_InitShadowInstance(args);
18953 }
18954
18955 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj = 0;
18957 wxWindow *arg1 = (wxWindow *) NULL ;
18958 wxFont const &arg2_defvalue = wxNullFont ;
18959 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18960 wxString const &arg3_defvalue = wxPyEmptyString ;
18961 wxString *arg3 = (wxString *) &arg3_defvalue ;
18962 wxFont result;
18963 void *argp1 = 0 ;
18964 int res1 = 0 ;
18965 void *argp2 = 0 ;
18966 int res2 = 0 ;
18967 bool temp3 = false ;
18968 PyObject * obj0 = 0 ;
18969 PyObject * obj1 = 0 ;
18970 PyObject * obj2 = 0 ;
18971 char * kwnames[] = {
18972 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18973 };
18974
18975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18976 if (obj0) {
18977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18978 if (!SWIG_IsOK(res1)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18980 }
18981 arg1 = reinterpret_cast< wxWindow * >(argp1);
18982 }
18983 if (obj1) {
18984 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18985 if (!SWIG_IsOK(res2)) {
18986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18987 }
18988 if (!argp2) {
18989 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18990 }
18991 arg2 = reinterpret_cast< wxFont * >(argp2);
18992 }
18993 if (obj2) {
18994 {
18995 arg3 = wxString_in_helper(obj2);
18996 if (arg3 == NULL) SWIG_fail;
18997 temp3 = true;
18998 }
18999 }
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19007 {
19008 if (temp3)
19009 delete arg3;
19010 }
19011 return resultobj;
19012 fail:
19013 {
19014 if (temp3)
19015 delete arg3;
19016 }
19017 return NULL;
19018 }
19019
19020
19021 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj = 0;
19023 wxWindow *arg1 = (wxWindow *) 0 ;
19024 wxString *arg2 = 0 ;
19025 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19026 wxString *arg3 = (wxString *) &arg3_defvalue ;
19027 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19028 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19029 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19030 wxMessageDialog *result = 0 ;
19031 void *argp1 = 0 ;
19032 int res1 = 0 ;
19033 bool temp2 = false ;
19034 bool temp3 = false ;
19035 long val4 ;
19036 int ecode4 = 0 ;
19037 wxPoint temp5 ;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj1 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 PyObject * obj3 = 0 ;
19042 PyObject * obj4 = 0 ;
19043 char * kwnames[] = {
19044 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19045 };
19046
19047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19049 if (!SWIG_IsOK(res1)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19051 }
19052 arg1 = reinterpret_cast< wxWindow * >(argp1);
19053 {
19054 arg2 = wxString_in_helper(obj1);
19055 if (arg2 == NULL) SWIG_fail;
19056 temp2 = true;
19057 }
19058 if (obj2) {
19059 {
19060 arg3 = wxString_in_helper(obj2);
19061 if (arg3 == NULL) SWIG_fail;
19062 temp3 = true;
19063 }
19064 }
19065 if (obj3) {
19066 ecode4 = SWIG_AsVal_long(obj3, &val4);
19067 if (!SWIG_IsOK(ecode4)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19069 }
19070 arg4 = static_cast< long >(val4);
19071 }
19072 if (obj4) {
19073 {
19074 arg5 = &temp5;
19075 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19076 }
19077 }
19078 {
19079 if (!wxPyCheckForApp()) SWIG_fail;
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19086 {
19087 if (temp2)
19088 delete arg2;
19089 }
19090 {
19091 if (temp3)
19092 delete arg3;
19093 }
19094 return resultobj;
19095 fail:
19096 {
19097 if (temp2)
19098 delete arg2;
19099 }
19100 {
19101 if (temp3)
19102 delete arg3;
19103 }
19104 return NULL;
19105 }
19106
19107
19108 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19109 PyObject *obj;
19110 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19111 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19112 return SWIG_Py_Void();
19113 }
19114
19115 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19116 return SWIG_Python_InitShadowInstance(args);
19117 }
19118
19119 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj = 0;
19121 wxString *arg1 = 0 ;
19122 wxString *arg2 = 0 ;
19123 int arg3 = (int) 100 ;
19124 wxWindow *arg4 = (wxWindow *) NULL ;
19125 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19126 wxProgressDialog *result = 0 ;
19127 bool temp1 = false ;
19128 bool temp2 = false ;
19129 int val3 ;
19130 int ecode3 = 0 ;
19131 void *argp4 = 0 ;
19132 int res4 = 0 ;
19133 int val5 ;
19134 int ecode5 = 0 ;
19135 PyObject * obj0 = 0 ;
19136 PyObject * obj1 = 0 ;
19137 PyObject * obj2 = 0 ;
19138 PyObject * obj3 = 0 ;
19139 PyObject * obj4 = 0 ;
19140 char * kwnames[] = {
19141 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19142 };
19143
19144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19145 {
19146 arg1 = wxString_in_helper(obj0);
19147 if (arg1 == NULL) SWIG_fail;
19148 temp1 = true;
19149 }
19150 {
19151 arg2 = wxString_in_helper(obj1);
19152 if (arg2 == NULL) SWIG_fail;
19153 temp2 = true;
19154 }
19155 if (obj2) {
19156 ecode3 = SWIG_AsVal_int(obj2, &val3);
19157 if (!SWIG_IsOK(ecode3)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19159 }
19160 arg3 = static_cast< int >(val3);
19161 }
19162 if (obj3) {
19163 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19164 if (!SWIG_IsOK(res4)) {
19165 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19166 }
19167 arg4 = reinterpret_cast< wxWindow * >(argp4);
19168 }
19169 if (obj4) {
19170 ecode5 = SWIG_AsVal_int(obj4, &val5);
19171 if (!SWIG_IsOK(ecode5)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19173 }
19174 arg5 = static_cast< int >(val5);
19175 }
19176 {
19177 if (!wxPyCheckForApp()) SWIG_fail;
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19184 {
19185 if (temp1)
19186 delete arg1;
19187 }
19188 {
19189 if (temp2)
19190 delete arg2;
19191 }
19192 return resultobj;
19193 fail:
19194 {
19195 if (temp1)
19196 delete arg1;
19197 }
19198 {
19199 if (temp2)
19200 delete arg2;
19201 }
19202 return NULL;
19203 }
19204
19205
19206 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj = 0;
19208 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19209 int arg2 ;
19210 wxString const &arg3_defvalue = wxPyEmptyString ;
19211 wxString *arg3 = (wxString *) &arg3_defvalue ;
19212 bool result;
19213 void *argp1 = 0 ;
19214 int res1 = 0 ;
19215 int val2 ;
19216 int ecode2 = 0 ;
19217 bool temp3 = false ;
19218 PyObject * obj0 = 0 ;
19219 PyObject * obj1 = 0 ;
19220 PyObject * obj2 = 0 ;
19221 char * kwnames[] = {
19222 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19223 };
19224
19225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19227 if (!SWIG_IsOK(res1)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19229 }
19230 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19231 ecode2 = SWIG_AsVal_int(obj1, &val2);
19232 if (!SWIG_IsOK(ecode2)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19234 }
19235 arg2 = static_cast< int >(val2);
19236 if (obj2) {
19237 {
19238 arg3 = wxString_in_helper(obj2);
19239 if (arg3 == NULL) SWIG_fail;
19240 temp3 = true;
19241 }
19242 }
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 {
19250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19251 }
19252 {
19253 if (temp3)
19254 delete arg3;
19255 }
19256 return resultobj;
19257 fail:
19258 {
19259 if (temp3)
19260 delete arg3;
19261 }
19262 return NULL;
19263 }
19264
19265
19266 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19267 PyObject *resultobj = 0;
19268 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19269 void *argp1 = 0 ;
19270 int res1 = 0 ;
19271 PyObject *swig_obj[1] ;
19272
19273 if (!args) SWIG_fail;
19274 swig_obj[0] = args;
19275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19276 if (!SWIG_IsOK(res1)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19278 }
19279 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 (arg1)->Resume();
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 resultobj = SWIG_Py_Void();
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19294 PyObject *obj;
19295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19296 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19297 return SWIG_Py_Void();
19298 }
19299
19300 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19301 return SWIG_Python_InitShadowInstance(args);
19302 }
19303
19304 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj = 0;
19306 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19307 int arg2 = (int) 0 ;
19308 wxFindDialogEvent *result = 0 ;
19309 int val1 ;
19310 int ecode1 = 0 ;
19311 int val2 ;
19312 int ecode2 = 0 ;
19313 PyObject * obj0 = 0 ;
19314 PyObject * obj1 = 0 ;
19315 char * kwnames[] = {
19316 (char *) "commandType",(char *) "id", NULL
19317 };
19318
19319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19320 if (obj0) {
19321 ecode1 = SWIG_AsVal_int(obj0, &val1);
19322 if (!SWIG_IsOK(ecode1)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19324 }
19325 arg1 = static_cast< wxEventType >(val1);
19326 }
19327 if (obj1) {
19328 ecode2 = SWIG_AsVal_int(obj1, &val2);
19329 if (!SWIG_IsOK(ecode2)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19331 }
19332 arg2 = static_cast< int >(val2);
19333 }
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19348 PyObject *resultobj = 0;
19349 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19350 int result;
19351 void *argp1 = 0 ;
19352 int res1 = 0 ;
19353 PyObject *swig_obj[1] ;
19354
19355 if (!args) SWIG_fail;
19356 swig_obj[0] = args;
19357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19358 if (!SWIG_IsOK(res1)) {
19359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19360 }
19361 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (int)(arg1)->GetFlags();
19365 wxPyEndAllowThreads(__tstate);
19366 if (PyErr_Occurred()) SWIG_fail;
19367 }
19368 resultobj = SWIG_From_int(static_cast< int >(result));
19369 return resultobj;
19370 fail:
19371 return NULL;
19372 }
19373
19374
19375 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19376 PyObject *resultobj = 0;
19377 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19378 wxString *result = 0 ;
19379 void *argp1 = 0 ;
19380 int res1 = 0 ;
19381 PyObject *swig_obj[1] ;
19382
19383 if (!args) SWIG_fail;
19384 swig_obj[0] = args;
19385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19386 if (!SWIG_IsOK(res1)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19388 }
19389 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 {
19393 wxString const &_result_ref = (arg1)->GetFindString();
19394 result = (wxString *) &_result_ref;
19395 }
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 {
19400 #if wxUSE_UNICODE
19401 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19402 #else
19403 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19404 #endif
19405 }
19406 return resultobj;
19407 fail:
19408 return NULL;
19409 }
19410
19411
19412 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19413 PyObject *resultobj = 0;
19414 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19415 wxString *result = 0 ;
19416 void *argp1 = 0 ;
19417 int res1 = 0 ;
19418 PyObject *swig_obj[1] ;
19419
19420 if (!args) SWIG_fail;
19421 swig_obj[0] = args;
19422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19423 if (!SWIG_IsOK(res1)) {
19424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19425 }
19426 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 {
19430 wxString const &_result_ref = (arg1)->GetReplaceString();
19431 result = (wxString *) &_result_ref;
19432 }
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 {
19437 #if wxUSE_UNICODE
19438 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19439 #else
19440 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19441 #endif
19442 }
19443 return resultobj;
19444 fail:
19445 return NULL;
19446 }
19447
19448
19449 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19450 PyObject *resultobj = 0;
19451 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19452 wxFindReplaceDialog *result = 0 ;
19453 void *argp1 = 0 ;
19454 int res1 = 0 ;
19455 PyObject *swig_obj[1] ;
19456
19457 if (!args) SWIG_fail;
19458 swig_obj[0] = args;
19459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19460 if (!SWIG_IsOK(res1)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19462 }
19463 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19467 wxPyEndAllowThreads(__tstate);
19468 if (PyErr_Occurred()) SWIG_fail;
19469 }
19470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19471 return resultobj;
19472 fail:
19473 return NULL;
19474 }
19475
19476
19477 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj = 0;
19479 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19480 int arg2 ;
19481 void *argp1 = 0 ;
19482 int res1 = 0 ;
19483 int val2 ;
19484 int ecode2 = 0 ;
19485 PyObject * obj0 = 0 ;
19486 PyObject * obj1 = 0 ;
19487 char * kwnames[] = {
19488 (char *) "self",(char *) "flags", NULL
19489 };
19490
19491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19493 if (!SWIG_IsOK(res1)) {
19494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19495 }
19496 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19497 ecode2 = SWIG_AsVal_int(obj1, &val2);
19498 if (!SWIG_IsOK(ecode2)) {
19499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19500 }
19501 arg2 = static_cast< int >(val2);
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 (arg1)->SetFlags(arg2);
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 resultobj = SWIG_Py_Void();
19509 return resultobj;
19510 fail:
19511 return NULL;
19512 }
19513
19514
19515 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19516 PyObject *resultobj = 0;
19517 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19518 wxString *arg2 = 0 ;
19519 void *argp1 = 0 ;
19520 int res1 = 0 ;
19521 bool temp2 = false ;
19522 PyObject * obj0 = 0 ;
19523 PyObject * obj1 = 0 ;
19524 char * kwnames[] = {
19525 (char *) "self",(char *) "str", NULL
19526 };
19527
19528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19530 if (!SWIG_IsOK(res1)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19532 }
19533 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19534 {
19535 arg2 = wxString_in_helper(obj1);
19536 if (arg2 == NULL) SWIG_fail;
19537 temp2 = true;
19538 }
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 (arg1)->SetFindString((wxString const &)*arg2);
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 resultobj = SWIG_Py_Void();
19546 {
19547 if (temp2)
19548 delete arg2;
19549 }
19550 return resultobj;
19551 fail:
19552 {
19553 if (temp2)
19554 delete arg2;
19555 }
19556 return NULL;
19557 }
19558
19559
19560 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj = 0;
19562 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19563 wxString *arg2 = 0 ;
19564 void *argp1 = 0 ;
19565 int res1 = 0 ;
19566 bool temp2 = false ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 char * kwnames[] = {
19570 (char *) "self",(char *) "str", NULL
19571 };
19572
19573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19575 if (!SWIG_IsOK(res1)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19577 }
19578 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19579 {
19580 arg2 = wxString_in_helper(obj1);
19581 if (arg2 == NULL) SWIG_fail;
19582 temp2 = true;
19583 }
19584 {
19585 PyThreadState* __tstate = wxPyBeginAllowThreads();
19586 (arg1)->SetReplaceString((wxString const &)*arg2);
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 resultobj = SWIG_Py_Void();
19591 {
19592 if (temp2)
19593 delete arg2;
19594 }
19595 return resultobj;
19596 fail:
19597 {
19598 if (temp2)
19599 delete arg2;
19600 }
19601 return NULL;
19602 }
19603
19604
19605 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19606 PyObject *obj;
19607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19608 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19609 return SWIG_Py_Void();
19610 }
19611
19612 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19613 return SWIG_Python_InitShadowInstance(args);
19614 }
19615
19616 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj = 0;
19618 int arg1 = (int) 0 ;
19619 wxFindReplaceData *result = 0 ;
19620 int val1 ;
19621 int ecode1 = 0 ;
19622 PyObject * obj0 = 0 ;
19623 char * kwnames[] = {
19624 (char *) "flags", NULL
19625 };
19626
19627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19628 if (obj0) {
19629 ecode1 = SWIG_AsVal_int(obj0, &val1);
19630 if (!SWIG_IsOK(ecode1)) {
19631 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19632 }
19633 arg1 = static_cast< int >(val1);
19634 }
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19649 PyObject *resultobj = 0;
19650 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19651 void *argp1 = 0 ;
19652 int res1 = 0 ;
19653 PyObject *swig_obj[1] ;
19654
19655 if (!args) SWIG_fail;
19656 swig_obj[0] = args;
19657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19658 if (!SWIG_IsOK(res1)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19660 }
19661 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 delete arg1;
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 resultobj = SWIG_Py_Void();
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19677 PyObject *resultobj = 0;
19678 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19679 wxString *result = 0 ;
19680 void *argp1 = 0 ;
19681 int res1 = 0 ;
19682 PyObject *swig_obj[1] ;
19683
19684 if (!args) SWIG_fail;
19685 swig_obj[0] = args;
19686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19687 if (!SWIG_IsOK(res1)) {
19688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19689 }
19690 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 {
19694 wxString const &_result_ref = (arg1)->GetFindString();
19695 result = (wxString *) &_result_ref;
19696 }
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 {
19701 #if wxUSE_UNICODE
19702 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19703 #else
19704 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19705 #endif
19706 }
19707 return resultobj;
19708 fail:
19709 return NULL;
19710 }
19711
19712
19713 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19714 PyObject *resultobj = 0;
19715 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19716 wxString *result = 0 ;
19717 void *argp1 = 0 ;
19718 int res1 = 0 ;
19719 PyObject *swig_obj[1] ;
19720
19721 if (!args) SWIG_fail;
19722 swig_obj[0] = args;
19723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19724 if (!SWIG_IsOK(res1)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19726 }
19727 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 {
19731 wxString const &_result_ref = (arg1)->GetReplaceString();
19732 result = (wxString *) &_result_ref;
19733 }
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 {
19738 #if wxUSE_UNICODE
19739 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19740 #else
19741 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19742 #endif
19743 }
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19751 PyObject *resultobj = 0;
19752 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19753 int result;
19754 void *argp1 = 0 ;
19755 int res1 = 0 ;
19756 PyObject *swig_obj[1] ;
19757
19758 if (!args) SWIG_fail;
19759 swig_obj[0] = args;
19760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19761 if (!SWIG_IsOK(res1)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19763 }
19764 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = (int)(arg1)->GetFlags();
19768 wxPyEndAllowThreads(__tstate);
19769 if (PyErr_Occurred()) SWIG_fail;
19770 }
19771 resultobj = SWIG_From_int(static_cast< int >(result));
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj = 0;
19780 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19781 int arg2 ;
19782 void *argp1 = 0 ;
19783 int res1 = 0 ;
19784 int val2 ;
19785 int ecode2 = 0 ;
19786 PyObject * obj0 = 0 ;
19787 PyObject * obj1 = 0 ;
19788 char * kwnames[] = {
19789 (char *) "self",(char *) "flags", NULL
19790 };
19791
19792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19794 if (!SWIG_IsOK(res1)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19796 }
19797 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19798 ecode2 = SWIG_AsVal_int(obj1, &val2);
19799 if (!SWIG_IsOK(ecode2)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19801 }
19802 arg2 = static_cast< int >(val2);
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 (arg1)->SetFlags(arg2);
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 resultobj = SWIG_Py_Void();
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj = 0;
19818 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19819 wxString *arg2 = 0 ;
19820 void *argp1 = 0 ;
19821 int res1 = 0 ;
19822 bool temp2 = false ;
19823 PyObject * obj0 = 0 ;
19824 PyObject * obj1 = 0 ;
19825 char * kwnames[] = {
19826 (char *) "self",(char *) "str", NULL
19827 };
19828
19829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19831 if (!SWIG_IsOK(res1)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19833 }
19834 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19835 {
19836 arg2 = wxString_in_helper(obj1);
19837 if (arg2 == NULL) SWIG_fail;
19838 temp2 = true;
19839 }
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 (arg1)->SetFindString((wxString const &)*arg2);
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 resultobj = SWIG_Py_Void();
19847 {
19848 if (temp2)
19849 delete arg2;
19850 }
19851 return resultobj;
19852 fail:
19853 {
19854 if (temp2)
19855 delete arg2;
19856 }
19857 return NULL;
19858 }
19859
19860
19861 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj = 0;
19863 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19864 wxString *arg2 = 0 ;
19865 void *argp1 = 0 ;
19866 int res1 = 0 ;
19867 bool temp2 = false ;
19868 PyObject * obj0 = 0 ;
19869 PyObject * obj1 = 0 ;
19870 char * kwnames[] = {
19871 (char *) "self",(char *) "str", NULL
19872 };
19873
19874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19876 if (!SWIG_IsOK(res1)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19878 }
19879 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19880 {
19881 arg2 = wxString_in_helper(obj1);
19882 if (arg2 == NULL) SWIG_fail;
19883 temp2 = true;
19884 }
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 (arg1)->SetReplaceString((wxString const &)*arg2);
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 resultobj = SWIG_Py_Void();
19892 {
19893 if (temp2)
19894 delete arg2;
19895 }
19896 return resultobj;
19897 fail:
19898 {
19899 if (temp2)
19900 delete arg2;
19901 }
19902 return NULL;
19903 }
19904
19905
19906 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19907 PyObject *obj;
19908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19909 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19910 return SWIG_Py_Void();
19911 }
19912
19913 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19914 return SWIG_Python_InitShadowInstance(args);
19915 }
19916
19917 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19918 PyObject *resultobj = 0;
19919 wxWindow *arg1 = (wxWindow *) 0 ;
19920 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19921 wxString *arg3 = 0 ;
19922 int arg4 = (int) 0 ;
19923 wxFindReplaceDialog *result = 0 ;
19924 void *argp1 = 0 ;
19925 int res1 = 0 ;
19926 void *argp2 = 0 ;
19927 int res2 = 0 ;
19928 bool temp3 = false ;
19929 int val4 ;
19930 int ecode4 = 0 ;
19931 PyObject * obj0 = 0 ;
19932 PyObject * obj1 = 0 ;
19933 PyObject * obj2 = 0 ;
19934 PyObject * obj3 = 0 ;
19935 char * kwnames[] = {
19936 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19937 };
19938
19939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19941 if (!SWIG_IsOK(res1)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19943 }
19944 arg1 = reinterpret_cast< wxWindow * >(argp1);
19945 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19946 if (!SWIG_IsOK(res2)) {
19947 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19948 }
19949 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19950 {
19951 arg3 = wxString_in_helper(obj2);
19952 if (arg3 == NULL) SWIG_fail;
19953 temp3 = true;
19954 }
19955 if (obj3) {
19956 ecode4 = SWIG_AsVal_int(obj3, &val4);
19957 if (!SWIG_IsOK(ecode4)) {
19958 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19959 }
19960 arg4 = static_cast< int >(val4);
19961 }
19962 {
19963 if (!wxPyCheckForApp()) SWIG_fail;
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19970 {
19971 if (temp3)
19972 delete arg3;
19973 }
19974 return resultobj;
19975 fail:
19976 {
19977 if (temp3)
19978 delete arg3;
19979 }
19980 return NULL;
19981 }
19982
19983
19984 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19985 PyObject *resultobj = 0;
19986 wxFindReplaceDialog *result = 0 ;
19987
19988 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19989 {
19990 if (!wxPyCheckForApp()) SWIG_fail;
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19997 return resultobj;
19998 fail:
19999 return NULL;
20000 }
20001
20002
20003 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj = 0;
20005 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20006 wxWindow *arg2 = (wxWindow *) 0 ;
20007 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20008 wxString *arg4 = 0 ;
20009 int arg5 = (int) 0 ;
20010 bool result;
20011 void *argp1 = 0 ;
20012 int res1 = 0 ;
20013 void *argp2 = 0 ;
20014 int res2 = 0 ;
20015 void *argp3 = 0 ;
20016 int res3 = 0 ;
20017 bool temp4 = false ;
20018 int val5 ;
20019 int ecode5 = 0 ;
20020 PyObject * obj0 = 0 ;
20021 PyObject * obj1 = 0 ;
20022 PyObject * obj2 = 0 ;
20023 PyObject * obj3 = 0 ;
20024 PyObject * obj4 = 0 ;
20025 char * kwnames[] = {
20026 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20027 };
20028
20029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20031 if (!SWIG_IsOK(res1)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20033 }
20034 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20036 if (!SWIG_IsOK(res2)) {
20037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20038 }
20039 arg2 = reinterpret_cast< wxWindow * >(argp2);
20040 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20041 if (!SWIG_IsOK(res3)) {
20042 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20043 }
20044 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20045 {
20046 arg4 = wxString_in_helper(obj3);
20047 if (arg4 == NULL) SWIG_fail;
20048 temp4 = true;
20049 }
20050 if (obj4) {
20051 ecode5 = SWIG_AsVal_int(obj4, &val5);
20052 if (!SWIG_IsOK(ecode5)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20054 }
20055 arg5 = static_cast< int >(val5);
20056 }
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20060 wxPyEndAllowThreads(__tstate);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 {
20064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20065 }
20066 {
20067 if (temp4)
20068 delete arg4;
20069 }
20070 return resultobj;
20071 fail:
20072 {
20073 if (temp4)
20074 delete arg4;
20075 }
20076 return NULL;
20077 }
20078
20079
20080 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20081 PyObject *resultobj = 0;
20082 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20083 wxFindReplaceData *result = 0 ;
20084 void *argp1 = 0 ;
20085 int res1 = 0 ;
20086 PyObject *swig_obj[1] ;
20087
20088 if (!args) SWIG_fail;
20089 swig_obj[0] = args;
20090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20091 if (!SWIG_IsOK(res1)) {
20092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20093 }
20094 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 result = (wxFindReplaceData *)(arg1)->GetData();
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj = 0;
20110 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20111 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 void *argp2 = 0 ;
20115 int res2 = 0 ;
20116 PyObject * obj0 = 0 ;
20117 PyObject * obj1 = 0 ;
20118 char * kwnames[] = {
20119 (char *) "self",(char *) "data", NULL
20120 };
20121
20122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20124 if (!SWIG_IsOK(res1)) {
20125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20126 }
20127 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20128 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20129 if (!SWIG_IsOK(res2)) {
20130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20131 }
20132 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 (arg1)->SetData(arg2);
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 resultobj = SWIG_Py_Void();
20140 return resultobj;
20141 fail:
20142 return NULL;
20143 }
20144
20145
20146 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20147 PyObject *obj;
20148 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20149 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20150 return SWIG_Py_Void();
20151 }
20152
20153 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20154 return SWIG_Python_InitShadowInstance(args);
20155 }
20156
20157 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20158 PyObject *resultobj = 0;
20159 wxWindow *arg1 = (wxWindow *) 0 ;
20160 int arg2 = (int) (int)-1 ;
20161 wxString const &arg3_defvalue = wxPyEmptyString ;
20162 wxString *arg3 = (wxString *) &arg3_defvalue ;
20163 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20164 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20165 wxSize const &arg5_defvalue = wxDefaultSize ;
20166 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20167 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20168 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20169 wxString *arg7 = (wxString *) &arg7_defvalue ;
20170 wxMDIParentFrame *result = 0 ;
20171 void *argp1 = 0 ;
20172 int res1 = 0 ;
20173 int val2 ;
20174 int ecode2 = 0 ;
20175 bool temp3 = false ;
20176 wxPoint temp4 ;
20177 wxSize temp5 ;
20178 long val6 ;
20179 int ecode6 = 0 ;
20180 bool temp7 = false ;
20181 PyObject * obj0 = 0 ;
20182 PyObject * obj1 = 0 ;
20183 PyObject * obj2 = 0 ;
20184 PyObject * obj3 = 0 ;
20185 PyObject * obj4 = 0 ;
20186 PyObject * obj5 = 0 ;
20187 PyObject * obj6 = 0 ;
20188 char * kwnames[] = {
20189 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20190 };
20191
20192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20194 if (!SWIG_IsOK(res1)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20196 }
20197 arg1 = reinterpret_cast< wxWindow * >(argp1);
20198 if (obj1) {
20199 ecode2 = SWIG_AsVal_int(obj1, &val2);
20200 if (!SWIG_IsOK(ecode2)) {
20201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20202 }
20203 arg2 = static_cast< int >(val2);
20204 }
20205 if (obj2) {
20206 {
20207 arg3 = wxString_in_helper(obj2);
20208 if (arg3 == NULL) SWIG_fail;
20209 temp3 = true;
20210 }
20211 }
20212 if (obj3) {
20213 {
20214 arg4 = &temp4;
20215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20216 }
20217 }
20218 if (obj4) {
20219 {
20220 arg5 = &temp5;
20221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20222 }
20223 }
20224 if (obj5) {
20225 ecode6 = SWIG_AsVal_long(obj5, &val6);
20226 if (!SWIG_IsOK(ecode6)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20228 }
20229 arg6 = static_cast< long >(val6);
20230 }
20231 if (obj6) {
20232 {
20233 arg7 = wxString_in_helper(obj6);
20234 if (arg7 == NULL) SWIG_fail;
20235 temp7 = true;
20236 }
20237 }
20238 {
20239 if (!wxPyCheckForApp()) SWIG_fail;
20240 PyThreadState* __tstate = wxPyBeginAllowThreads();
20241 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20246 {
20247 if (temp3)
20248 delete arg3;
20249 }
20250 {
20251 if (temp7)
20252 delete arg7;
20253 }
20254 return resultobj;
20255 fail:
20256 {
20257 if (temp3)
20258 delete arg3;
20259 }
20260 {
20261 if (temp7)
20262 delete arg7;
20263 }
20264 return NULL;
20265 }
20266
20267
20268 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20269 PyObject *resultobj = 0;
20270 wxMDIParentFrame *result = 0 ;
20271
20272 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20273 {
20274 if (!wxPyCheckForApp()) SWIG_fail;
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20281 return resultobj;
20282 fail:
20283 return NULL;
20284 }
20285
20286
20287 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj = 0;
20289 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20290 wxWindow *arg2 = (wxWindow *) 0 ;
20291 int arg3 = (int) (int)-1 ;
20292 wxString const &arg4_defvalue = wxPyEmptyString ;
20293 wxString *arg4 = (wxString *) &arg4_defvalue ;
20294 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20295 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20296 wxSize const &arg6_defvalue = wxDefaultSize ;
20297 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20298 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20299 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20300 wxString *arg8 = (wxString *) &arg8_defvalue ;
20301 bool result;
20302 void *argp1 = 0 ;
20303 int res1 = 0 ;
20304 void *argp2 = 0 ;
20305 int res2 = 0 ;
20306 int val3 ;
20307 int ecode3 = 0 ;
20308 bool temp4 = false ;
20309 wxPoint temp5 ;
20310 wxSize temp6 ;
20311 long val7 ;
20312 int ecode7 = 0 ;
20313 bool temp8 = false ;
20314 PyObject * obj0 = 0 ;
20315 PyObject * obj1 = 0 ;
20316 PyObject * obj2 = 0 ;
20317 PyObject * obj3 = 0 ;
20318 PyObject * obj4 = 0 ;
20319 PyObject * obj5 = 0 ;
20320 PyObject * obj6 = 0 ;
20321 PyObject * obj7 = 0 ;
20322 char * kwnames[] = {
20323 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20324 };
20325
20326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20328 if (!SWIG_IsOK(res1)) {
20329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20330 }
20331 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20332 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20333 if (!SWIG_IsOK(res2)) {
20334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20335 }
20336 arg2 = reinterpret_cast< wxWindow * >(argp2);
20337 if (obj2) {
20338 ecode3 = SWIG_AsVal_int(obj2, &val3);
20339 if (!SWIG_IsOK(ecode3)) {
20340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20341 }
20342 arg3 = static_cast< int >(val3);
20343 }
20344 if (obj3) {
20345 {
20346 arg4 = wxString_in_helper(obj3);
20347 if (arg4 == NULL) SWIG_fail;
20348 temp4 = true;
20349 }
20350 }
20351 if (obj4) {
20352 {
20353 arg5 = &temp5;
20354 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20355 }
20356 }
20357 if (obj5) {
20358 {
20359 arg6 = &temp6;
20360 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20361 }
20362 }
20363 if (obj6) {
20364 ecode7 = SWIG_AsVal_long(obj6, &val7);
20365 if (!SWIG_IsOK(ecode7)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20367 }
20368 arg7 = static_cast< long >(val7);
20369 }
20370 if (obj7) {
20371 {
20372 arg8 = wxString_in_helper(obj7);
20373 if (arg8 == NULL) SWIG_fail;
20374 temp8 = true;
20375 }
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 {
20384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20385 }
20386 {
20387 if (temp4)
20388 delete arg4;
20389 }
20390 {
20391 if (temp8)
20392 delete arg8;
20393 }
20394 return resultobj;
20395 fail:
20396 {
20397 if (temp4)
20398 delete arg4;
20399 }
20400 {
20401 if (temp8)
20402 delete arg8;
20403 }
20404 return NULL;
20405 }
20406
20407
20408 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20409 PyObject *resultobj = 0;
20410 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20411 void *argp1 = 0 ;
20412 int res1 = 0 ;
20413 PyObject *swig_obj[1] ;
20414
20415 if (!args) SWIG_fail;
20416 swig_obj[0] = args;
20417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20418 if (!SWIG_IsOK(res1)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20420 }
20421 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 (arg1)->ActivateNext();
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 resultobj = SWIG_Py_Void();
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20436 PyObject *resultobj = 0;
20437 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20438 void *argp1 = 0 ;
20439 int res1 = 0 ;
20440 PyObject *swig_obj[1] ;
20441
20442 if (!args) SWIG_fail;
20443 swig_obj[0] = args;
20444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20445 if (!SWIG_IsOK(res1)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20447 }
20448 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 (arg1)->ActivatePrevious();
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 resultobj = SWIG_Py_Void();
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20463 PyObject *resultobj = 0;
20464 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20465 void *argp1 = 0 ;
20466 int res1 = 0 ;
20467 PyObject *swig_obj[1] ;
20468
20469 if (!args) SWIG_fail;
20470 swig_obj[0] = args;
20471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20472 if (!SWIG_IsOK(res1)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20474 }
20475 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 (arg1)->ArrangeIcons();
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 resultobj = SWIG_Py_Void();
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20490 PyObject *resultobj = 0;
20491 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20492 void *argp1 = 0 ;
20493 int res1 = 0 ;
20494 PyObject *swig_obj[1] ;
20495
20496 if (!args) SWIG_fail;
20497 swig_obj[0] = args;
20498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20499 if (!SWIG_IsOK(res1)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20501 }
20502 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 (arg1)->Cascade();
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 resultobj = SWIG_Py_Void();
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20517 PyObject *resultobj = 0;
20518 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20519 wxMDIChildFrame *result = 0 ;
20520 void *argp1 = 0 ;
20521 int res1 = 0 ;
20522 PyObject *swig_obj[1] ;
20523
20524 if (!args) SWIG_fail;
20525 swig_obj[0] = args;
20526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20527 if (!SWIG_IsOK(res1)) {
20528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20529 }
20530 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20534 wxPyEndAllowThreads(__tstate);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 {
20538 resultobj = wxPyMake_wxObject(result, (bool)0);
20539 }
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20547 PyObject *resultobj = 0;
20548 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20549 wxMDIClientWindow *result = 0 ;
20550 void *argp1 = 0 ;
20551 int res1 = 0 ;
20552 PyObject *swig_obj[1] ;
20553
20554 if (!args) SWIG_fail;
20555 swig_obj[0] = args;
20556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20557 if (!SWIG_IsOK(res1)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20559 }
20560 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 {
20568 resultobj = wxPyMake_wxObject(result, (bool)0);
20569 }
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20577 PyObject *resultobj = 0;
20578 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20579 wxWindow *result = 0 ;
20580 void *argp1 = 0 ;
20581 int res1 = 0 ;
20582 PyObject *swig_obj[1] ;
20583
20584 if (!args) SWIG_fail;
20585 swig_obj[0] = args;
20586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20587 if (!SWIG_IsOK(res1)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20589 }
20590 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (wxWindow *)(arg1)->GetToolBar();
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 resultobj = wxPyMake_wxObject(result, 0);
20599 }
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj = 0;
20608 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20609 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20610 void *argp1 = 0 ;
20611 int res1 = 0 ;
20612 int val2 ;
20613 int ecode2 = 0 ;
20614 PyObject * obj0 = 0 ;
20615 PyObject * obj1 = 0 ;
20616 char * kwnames[] = {
20617 (char *) "self",(char *) "orient", NULL
20618 };
20619
20620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20622 if (!SWIG_IsOK(res1)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20624 }
20625 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20626 if (obj1) {
20627 ecode2 = SWIG_AsVal_int(obj1, &val2);
20628 if (!SWIG_IsOK(ecode2)) {
20629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20630 }
20631 arg2 = static_cast< wxOrientation >(val2);
20632 }
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 (arg1)->Tile(arg2);
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 resultobj = SWIG_Py_Void();
20640 return resultobj;
20641 fail:
20642 return NULL;
20643 }
20644
20645
20646 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20647 PyObject *obj;
20648 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20649 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20650 return SWIG_Py_Void();
20651 }
20652
20653 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20654 return SWIG_Python_InitShadowInstance(args);
20655 }
20656
20657 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20658 PyObject *resultobj = 0;
20659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20660 int arg2 = (int) (int)-1 ;
20661 wxString const &arg3_defvalue = wxPyEmptyString ;
20662 wxString *arg3 = (wxString *) &arg3_defvalue ;
20663 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20664 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20665 wxSize const &arg5_defvalue = wxDefaultSize ;
20666 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20667 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20668 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20669 wxString *arg7 = (wxString *) &arg7_defvalue ;
20670 wxMDIChildFrame *result = 0 ;
20671 void *argp1 = 0 ;
20672 int res1 = 0 ;
20673 int val2 ;
20674 int ecode2 = 0 ;
20675 bool temp3 = false ;
20676 wxPoint temp4 ;
20677 wxSize temp5 ;
20678 long val6 ;
20679 int ecode6 = 0 ;
20680 bool temp7 = false ;
20681 PyObject * obj0 = 0 ;
20682 PyObject * obj1 = 0 ;
20683 PyObject * obj2 = 0 ;
20684 PyObject * obj3 = 0 ;
20685 PyObject * obj4 = 0 ;
20686 PyObject * obj5 = 0 ;
20687 PyObject * obj6 = 0 ;
20688 char * kwnames[] = {
20689 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20690 };
20691
20692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20694 if (!SWIG_IsOK(res1)) {
20695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20696 }
20697 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20698 if (obj1) {
20699 ecode2 = SWIG_AsVal_int(obj1, &val2);
20700 if (!SWIG_IsOK(ecode2)) {
20701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20702 }
20703 arg2 = static_cast< int >(val2);
20704 }
20705 if (obj2) {
20706 {
20707 arg3 = wxString_in_helper(obj2);
20708 if (arg3 == NULL) SWIG_fail;
20709 temp3 = true;
20710 }
20711 }
20712 if (obj3) {
20713 {
20714 arg4 = &temp4;
20715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20716 }
20717 }
20718 if (obj4) {
20719 {
20720 arg5 = &temp5;
20721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20722 }
20723 }
20724 if (obj5) {
20725 ecode6 = SWIG_AsVal_long(obj5, &val6);
20726 if (!SWIG_IsOK(ecode6)) {
20727 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20728 }
20729 arg6 = static_cast< long >(val6);
20730 }
20731 if (obj6) {
20732 {
20733 arg7 = wxString_in_helper(obj6);
20734 if (arg7 == NULL) SWIG_fail;
20735 temp7 = true;
20736 }
20737 }
20738 {
20739 if (!wxPyCheckForApp()) SWIG_fail;
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20742 wxPyEndAllowThreads(__tstate);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 }
20745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20746 {
20747 if (temp3)
20748 delete arg3;
20749 }
20750 {
20751 if (temp7)
20752 delete arg7;
20753 }
20754 return resultobj;
20755 fail:
20756 {
20757 if (temp3)
20758 delete arg3;
20759 }
20760 {
20761 if (temp7)
20762 delete arg7;
20763 }
20764 return NULL;
20765 }
20766
20767
20768 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20769 PyObject *resultobj = 0;
20770 wxMDIChildFrame *result = 0 ;
20771
20772 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20773 {
20774 if (!wxPyCheckForApp()) SWIG_fail;
20775 PyThreadState* __tstate = wxPyBeginAllowThreads();
20776 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20781 return resultobj;
20782 fail:
20783 return NULL;
20784 }
20785
20786
20787 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj = 0;
20789 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20790 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20791 int arg3 = (int) (int)-1 ;
20792 wxString const &arg4_defvalue = wxPyEmptyString ;
20793 wxString *arg4 = (wxString *) &arg4_defvalue ;
20794 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20795 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20796 wxSize const &arg6_defvalue = wxDefaultSize ;
20797 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20798 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20799 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20800 wxString *arg8 = (wxString *) &arg8_defvalue ;
20801 bool result;
20802 void *argp1 = 0 ;
20803 int res1 = 0 ;
20804 void *argp2 = 0 ;
20805 int res2 = 0 ;
20806 int val3 ;
20807 int ecode3 = 0 ;
20808 bool temp4 = false ;
20809 wxPoint temp5 ;
20810 wxSize temp6 ;
20811 long val7 ;
20812 int ecode7 = 0 ;
20813 bool temp8 = false ;
20814 PyObject * obj0 = 0 ;
20815 PyObject * obj1 = 0 ;
20816 PyObject * obj2 = 0 ;
20817 PyObject * obj3 = 0 ;
20818 PyObject * obj4 = 0 ;
20819 PyObject * obj5 = 0 ;
20820 PyObject * obj6 = 0 ;
20821 PyObject * obj7 = 0 ;
20822 char * kwnames[] = {
20823 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20824 };
20825
20826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20828 if (!SWIG_IsOK(res1)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20830 }
20831 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20832 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20833 if (!SWIG_IsOK(res2)) {
20834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20835 }
20836 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20837 if (obj2) {
20838 ecode3 = SWIG_AsVal_int(obj2, &val3);
20839 if (!SWIG_IsOK(ecode3)) {
20840 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20841 }
20842 arg3 = static_cast< int >(val3);
20843 }
20844 if (obj3) {
20845 {
20846 arg4 = wxString_in_helper(obj3);
20847 if (arg4 == NULL) SWIG_fail;
20848 temp4 = true;
20849 }
20850 }
20851 if (obj4) {
20852 {
20853 arg5 = &temp5;
20854 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20855 }
20856 }
20857 if (obj5) {
20858 {
20859 arg6 = &temp6;
20860 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20861 }
20862 }
20863 if (obj6) {
20864 ecode7 = SWIG_AsVal_long(obj6, &val7);
20865 if (!SWIG_IsOK(ecode7)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20867 }
20868 arg7 = static_cast< long >(val7);
20869 }
20870 if (obj7) {
20871 {
20872 arg8 = wxString_in_helper(obj7);
20873 if (arg8 == NULL) SWIG_fail;
20874 temp8 = true;
20875 }
20876 }
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 {
20884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20885 }
20886 {
20887 if (temp4)
20888 delete arg4;
20889 }
20890 {
20891 if (temp8)
20892 delete arg8;
20893 }
20894 return resultobj;
20895 fail:
20896 {
20897 if (temp4)
20898 delete arg4;
20899 }
20900 {
20901 if (temp8)
20902 delete arg8;
20903 }
20904 return NULL;
20905 }
20906
20907
20908 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20909 PyObject *resultobj = 0;
20910 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20911 void *argp1 = 0 ;
20912 int res1 = 0 ;
20913 PyObject *swig_obj[1] ;
20914
20915 if (!args) SWIG_fail;
20916 swig_obj[0] = args;
20917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20918 if (!SWIG_IsOK(res1)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20920 }
20921 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20922 {
20923 PyThreadState* __tstate = wxPyBeginAllowThreads();
20924 (arg1)->Activate();
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 resultobj = SWIG_Py_Void();
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20936 PyObject *obj;
20937 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20938 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20939 return SWIG_Py_Void();
20940 }
20941
20942 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20943 return SWIG_Python_InitShadowInstance(args);
20944 }
20945
20946 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj = 0;
20948 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20949 long arg2 = (long) 0 ;
20950 wxMDIClientWindow *result = 0 ;
20951 void *argp1 = 0 ;
20952 int res1 = 0 ;
20953 long val2 ;
20954 int ecode2 = 0 ;
20955 PyObject * obj0 = 0 ;
20956 PyObject * obj1 = 0 ;
20957 char * kwnames[] = {
20958 (char *) "parent",(char *) "style", NULL
20959 };
20960
20961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20963 if (!SWIG_IsOK(res1)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20965 }
20966 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20967 if (obj1) {
20968 ecode2 = SWIG_AsVal_long(obj1, &val2);
20969 if (!SWIG_IsOK(ecode2)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20971 }
20972 arg2 = static_cast< long >(val2);
20973 }
20974 {
20975 if (!wxPyCheckForApp()) SWIG_fail;
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20978 wxPyEndAllowThreads(__tstate);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 }
20981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20982 return resultobj;
20983 fail:
20984 return NULL;
20985 }
20986
20987
20988 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20989 PyObject *resultobj = 0;
20990 wxMDIClientWindow *result = 0 ;
20991
20992 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20993 {
20994 if (!wxPyCheckForApp()) SWIG_fail;
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20997 wxPyEndAllowThreads(__tstate);
20998 if (PyErr_Occurred()) SWIG_fail;
20999 }
21000 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj = 0;
21009 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21010 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21011 long arg3 = (long) 0 ;
21012 bool result;
21013 void *argp1 = 0 ;
21014 int res1 = 0 ;
21015 void *argp2 = 0 ;
21016 int res2 = 0 ;
21017 long val3 ;
21018 int ecode3 = 0 ;
21019 PyObject * obj0 = 0 ;
21020 PyObject * obj1 = 0 ;
21021 PyObject * obj2 = 0 ;
21022 char * kwnames[] = {
21023 (char *) "self",(char *) "parent",(char *) "style", NULL
21024 };
21025
21026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21028 if (!SWIG_IsOK(res1)) {
21029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21030 }
21031 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21033 if (!SWIG_IsOK(res2)) {
21034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21035 }
21036 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21037 if (obj2) {
21038 ecode3 = SWIG_AsVal_long(obj2, &val3);
21039 if (!SWIG_IsOK(ecode3)) {
21040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21041 }
21042 arg3 = static_cast< long >(val3);
21043 }
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 result = (bool)(arg1)->Create(arg2,arg3);
21047 wxPyEndAllowThreads(__tstate);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 }
21050 {
21051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21052 }
21053 return resultobj;
21054 fail:
21055 return NULL;
21056 }
21057
21058
21059 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21060 PyObject *obj;
21061 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21062 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21063 return SWIG_Py_Void();
21064 }
21065
21066 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21067 return SWIG_Python_InitShadowInstance(args);
21068 }
21069
21070 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21071 PyObject *resultobj = 0;
21072 wxWindow *arg1 = (wxWindow *) 0 ;
21073 int arg2 = (int) (int)-1 ;
21074 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21075 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21076 wxSize const &arg4_defvalue = wxDefaultSize ;
21077 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21078 long arg5 = (long) 0 ;
21079 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21080 wxString *arg6 = (wxString *) &arg6_defvalue ;
21081 wxPyWindow *result = 0 ;
21082 void *argp1 = 0 ;
21083 int res1 = 0 ;
21084 int val2 ;
21085 int ecode2 = 0 ;
21086 wxPoint temp3 ;
21087 wxSize temp4 ;
21088 long val5 ;
21089 int ecode5 = 0 ;
21090 bool temp6 = false ;
21091 PyObject * obj0 = 0 ;
21092 PyObject * obj1 = 0 ;
21093 PyObject * obj2 = 0 ;
21094 PyObject * obj3 = 0 ;
21095 PyObject * obj4 = 0 ;
21096 PyObject * obj5 = 0 ;
21097 char * kwnames[] = {
21098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21099 };
21100
21101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21103 if (!SWIG_IsOK(res1)) {
21104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21105 }
21106 arg1 = reinterpret_cast< wxWindow * >(argp1);
21107 if (obj1) {
21108 ecode2 = SWIG_AsVal_int(obj1, &val2);
21109 if (!SWIG_IsOK(ecode2)) {
21110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21111 }
21112 arg2 = static_cast< int >(val2);
21113 }
21114 if (obj2) {
21115 {
21116 arg3 = &temp3;
21117 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21118 }
21119 }
21120 if (obj3) {
21121 {
21122 arg4 = &temp4;
21123 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21124 }
21125 }
21126 if (obj4) {
21127 ecode5 = SWIG_AsVal_long(obj4, &val5);
21128 if (!SWIG_IsOK(ecode5)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21130 }
21131 arg5 = static_cast< long >(val5);
21132 }
21133 if (obj5) {
21134 {
21135 arg6 = wxString_in_helper(obj5);
21136 if (arg6 == NULL) SWIG_fail;
21137 temp6 = true;
21138 }
21139 }
21140 {
21141 if (!wxPyCheckForApp()) SWIG_fail;
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21144 wxPyEndAllowThreads(__tstate);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21148 {
21149 if (temp6)
21150 delete arg6;
21151 }
21152 return resultobj;
21153 fail:
21154 {
21155 if (temp6)
21156 delete arg6;
21157 }
21158 return NULL;
21159 }
21160
21161
21162 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21163 PyObject *resultobj = 0;
21164 wxPyWindow *result = 0 ;
21165
21166 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21167 {
21168 if (!wxPyCheckForApp()) SWIG_fail;
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 result = (wxPyWindow *)new wxPyWindow();
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj = 0;
21183 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21184 PyObject *arg2 = (PyObject *) 0 ;
21185 PyObject *arg3 = (PyObject *) 0 ;
21186 void *argp1 = 0 ;
21187 int res1 = 0 ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 PyObject * obj2 = 0 ;
21191 char * kwnames[] = {
21192 (char *) "self",(char *) "self",(char *) "_class", NULL
21193 };
21194
21195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21197 if (!SWIG_IsOK(res1)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21199 }
21200 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21201 arg2 = obj1;
21202 arg3 = obj2;
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 (arg1)->_setCallbackInfo(arg2,arg3);
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 resultobj = SWIG_Py_Void();
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj = 0;
21218 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21219 wxSize *arg2 = 0 ;
21220 void *argp1 = 0 ;
21221 int res1 = 0 ;
21222 wxSize temp2 ;
21223 PyObject * obj0 = 0 ;
21224 PyObject * obj1 = 0 ;
21225 char * kwnames[] = {
21226 (char *) "self",(char *) "size", NULL
21227 };
21228
21229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21231 if (!SWIG_IsOK(res1)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21233 }
21234 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21235 {
21236 arg2 = &temp2;
21237 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21238 }
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 (arg1)->SetBestSize((wxSize const &)*arg2);
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = SWIG_Py_Void();
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj = 0;
21254 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21255 wxDC *arg2 = (wxDC *) 0 ;
21256 bool result;
21257 void *argp1 = 0 ;
21258 int res1 = 0 ;
21259 void *argp2 = 0 ;
21260 int res2 = 0 ;
21261 PyObject * obj0 = 0 ;
21262 PyObject * obj1 = 0 ;
21263 char * kwnames[] = {
21264 (char *) "self",(char *) "dc", NULL
21265 };
21266
21267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21269 if (!SWIG_IsOK(res1)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21271 }
21272 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21273 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21274 if (!SWIG_IsOK(res2)) {
21275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21276 }
21277 arg2 = reinterpret_cast< wxDC * >(argp2);
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 result = (bool)(arg1)->DoEraseBackground(arg2);
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 {
21285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21286 }
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj = 0;
21295 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21296 int arg2 ;
21297 int arg3 ;
21298 int arg4 ;
21299 int arg5 ;
21300 void *argp1 = 0 ;
21301 int res1 = 0 ;
21302 int val2 ;
21303 int ecode2 = 0 ;
21304 int val3 ;
21305 int ecode3 = 0 ;
21306 int val4 ;
21307 int ecode4 = 0 ;
21308 int val5 ;
21309 int ecode5 = 0 ;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 PyObject * obj2 = 0 ;
21313 PyObject * obj3 = 0 ;
21314 PyObject * obj4 = 0 ;
21315 char * kwnames[] = {
21316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21317 };
21318
21319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21321 if (!SWIG_IsOK(res1)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21323 }
21324 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21325 ecode2 = SWIG_AsVal_int(obj1, &val2);
21326 if (!SWIG_IsOK(ecode2)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21328 }
21329 arg2 = static_cast< int >(val2);
21330 ecode3 = SWIG_AsVal_int(obj2, &val3);
21331 if (!SWIG_IsOK(ecode3)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21333 }
21334 arg3 = static_cast< int >(val3);
21335 ecode4 = SWIG_AsVal_int(obj3, &val4);
21336 if (!SWIG_IsOK(ecode4)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21338 }
21339 arg4 = static_cast< int >(val4);
21340 ecode5 = SWIG_AsVal_int(obj4, &val5);
21341 if (!SWIG_IsOK(ecode5)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21343 }
21344 arg5 = static_cast< int >(val5);
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 resultobj = SWIG_Py_Void();
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj = 0;
21360 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21361 int arg2 ;
21362 int arg3 ;
21363 int arg4 ;
21364 int arg5 ;
21365 int arg6 = (int) wxSIZE_AUTO ;
21366 void *argp1 = 0 ;
21367 int res1 = 0 ;
21368 int val2 ;
21369 int ecode2 = 0 ;
21370 int val3 ;
21371 int ecode3 = 0 ;
21372 int val4 ;
21373 int ecode4 = 0 ;
21374 int val5 ;
21375 int ecode5 = 0 ;
21376 int val6 ;
21377 int ecode6 = 0 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 PyObject * obj2 = 0 ;
21381 PyObject * obj3 = 0 ;
21382 PyObject * obj4 = 0 ;
21383 PyObject * obj5 = 0 ;
21384 char * kwnames[] = {
21385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21386 };
21387
21388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21390 if (!SWIG_IsOK(res1)) {
21391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21392 }
21393 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21394 ecode2 = SWIG_AsVal_int(obj1, &val2);
21395 if (!SWIG_IsOK(ecode2)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21397 }
21398 arg2 = static_cast< int >(val2);
21399 ecode3 = SWIG_AsVal_int(obj2, &val3);
21400 if (!SWIG_IsOK(ecode3)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21402 }
21403 arg3 = static_cast< int >(val3);
21404 ecode4 = SWIG_AsVal_int(obj3, &val4);
21405 if (!SWIG_IsOK(ecode4)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21407 }
21408 arg4 = static_cast< int >(val4);
21409 ecode5 = SWIG_AsVal_int(obj4, &val5);
21410 if (!SWIG_IsOK(ecode5)) {
21411 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21412 }
21413 arg5 = static_cast< int >(val5);
21414 if (obj5) {
21415 ecode6 = SWIG_AsVal_int(obj5, &val6);
21416 if (!SWIG_IsOK(ecode6)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21418 }
21419 arg6 = static_cast< int >(val6);
21420 }
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 resultobj = SWIG_Py_Void();
21428 return resultobj;
21429 fail:
21430 return NULL;
21431 }
21432
21433
21434 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj = 0;
21436 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21437 int arg2 ;
21438 int arg3 ;
21439 void *argp1 = 0 ;
21440 int res1 = 0 ;
21441 int val2 ;
21442 int ecode2 = 0 ;
21443 int val3 ;
21444 int ecode3 = 0 ;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 PyObject * obj2 = 0 ;
21448 char * kwnames[] = {
21449 (char *) "self",(char *) "width",(char *) "height", NULL
21450 };
21451
21452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21454 if (!SWIG_IsOK(res1)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21456 }
21457 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21458 ecode2 = SWIG_AsVal_int(obj1, &val2);
21459 if (!SWIG_IsOK(ecode2)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21461 }
21462 arg2 = static_cast< int >(val2);
21463 ecode3 = SWIG_AsVal_int(obj2, &val3);
21464 if (!SWIG_IsOK(ecode3)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21466 }
21467 arg3 = static_cast< int >(val3);
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 (arg1)->DoSetClientSize(arg2,arg3);
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 resultobj = SWIG_Py_Void();
21475 return resultobj;
21476 fail:
21477 return NULL;
21478 }
21479
21480
21481 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj = 0;
21483 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21484 int arg2 ;
21485 int arg3 ;
21486 void *argp1 = 0 ;
21487 int res1 = 0 ;
21488 int val2 ;
21489 int ecode2 = 0 ;
21490 int val3 ;
21491 int ecode3 = 0 ;
21492 PyObject * obj0 = 0 ;
21493 PyObject * obj1 = 0 ;
21494 PyObject * obj2 = 0 ;
21495 char * kwnames[] = {
21496 (char *) "self",(char *) "x",(char *) "y", NULL
21497 };
21498
21499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21501 if (!SWIG_IsOK(res1)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21503 }
21504 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21505 ecode2 = SWIG_AsVal_int(obj1, &val2);
21506 if (!SWIG_IsOK(ecode2)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21508 }
21509 arg2 = static_cast< int >(val2);
21510 ecode3 = SWIG_AsVal_int(obj2, &val3);
21511 if (!SWIG_IsOK(ecode3)) {
21512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21513 }
21514 arg3 = static_cast< int >(val3);
21515 {
21516 PyThreadState* __tstate = wxPyBeginAllowThreads();
21517 (arg1)->DoSetVirtualSize(arg2,arg3);
21518 wxPyEndAllowThreads(__tstate);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 resultobj = SWIG_Py_Void();
21522 return resultobj;
21523 fail:
21524 return NULL;
21525 }
21526
21527
21528 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21529 PyObject *resultobj = 0;
21530 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21531 int *arg2 = (int *) 0 ;
21532 int *arg3 = (int *) 0 ;
21533 void *argp1 = 0 ;
21534 int res1 = 0 ;
21535 int temp2 ;
21536 int res2 = SWIG_TMPOBJ ;
21537 int temp3 ;
21538 int res3 = SWIG_TMPOBJ ;
21539 PyObject *swig_obj[1] ;
21540
21541 arg2 = &temp2;
21542 arg3 = &temp3;
21543 if (!args) SWIG_fail;
21544 swig_obj[0] = args;
21545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21546 if (!SWIG_IsOK(res1)) {
21547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21548 }
21549 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21550 {
21551 PyThreadState* __tstate = wxPyBeginAllowThreads();
21552 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 resultobj = SWIG_Py_Void();
21557 if (SWIG_IsTmpObj(res2)) {
21558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21559 } else {
21560 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21562 }
21563 if (SWIG_IsTmpObj(res3)) {
21564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21565 } else {
21566 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21568 }
21569 return resultobj;
21570 fail:
21571 return NULL;
21572 }
21573
21574
21575 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21576 PyObject *resultobj = 0;
21577 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21578 int *arg2 = (int *) 0 ;
21579 int *arg3 = (int *) 0 ;
21580 void *argp1 = 0 ;
21581 int res1 = 0 ;
21582 int temp2 ;
21583 int res2 = SWIG_TMPOBJ ;
21584 int temp3 ;
21585 int res3 = SWIG_TMPOBJ ;
21586 PyObject *swig_obj[1] ;
21587
21588 arg2 = &temp2;
21589 arg3 = &temp3;
21590 if (!args) SWIG_fail;
21591 swig_obj[0] = args;
21592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21593 if (!SWIG_IsOK(res1)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21595 }
21596 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 resultobj = SWIG_Py_Void();
21604 if (SWIG_IsTmpObj(res2)) {
21605 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21606 } else {
21607 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21608 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21609 }
21610 if (SWIG_IsTmpObj(res3)) {
21611 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21612 } else {
21613 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21615 }
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21623 PyObject *resultobj = 0;
21624 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21625 int *arg2 = (int *) 0 ;
21626 int *arg3 = (int *) 0 ;
21627 void *argp1 = 0 ;
21628 int res1 = 0 ;
21629 int temp2 ;
21630 int res2 = SWIG_TMPOBJ ;
21631 int temp3 ;
21632 int res3 = SWIG_TMPOBJ ;
21633 PyObject *swig_obj[1] ;
21634
21635 arg2 = &temp2;
21636 arg3 = &temp3;
21637 if (!args) SWIG_fail;
21638 swig_obj[0] = args;
21639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21640 if (!SWIG_IsOK(res1)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21642 }
21643 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 resultobj = SWIG_Py_Void();
21651 if (SWIG_IsTmpObj(res2)) {
21652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21653 } else {
21654 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21656 }
21657 if (SWIG_IsTmpObj(res3)) {
21658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21659 } else {
21660 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21662 }
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21670 PyObject *resultobj = 0;
21671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21672 wxSize result;
21673 void *argp1 = 0 ;
21674 int res1 = 0 ;
21675 PyObject *swig_obj[1] ;
21676
21677 if (!args) SWIG_fail;
21678 swig_obj[0] = args;
21679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21680 if (!SWIG_IsOK(res1)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21682 }
21683 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21687 wxPyEndAllowThreads(__tstate);
21688 if (PyErr_Occurred()) SWIG_fail;
21689 }
21690 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21691 return resultobj;
21692 fail:
21693 return NULL;
21694 }
21695
21696
21697 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21698 PyObject *resultobj = 0;
21699 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21700 wxSize result;
21701 void *argp1 = 0 ;
21702 int res1 = 0 ;
21703 PyObject *swig_obj[1] ;
21704
21705 if (!args) SWIG_fail;
21706 swig_obj[0] = args;
21707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21708 if (!SWIG_IsOK(res1)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21710 }
21711 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21719 return resultobj;
21720 fail:
21721 return NULL;
21722 }
21723
21724
21725 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21726 PyObject *resultobj = 0;
21727 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21728 SwigValueWrapper<wxVisualAttributes > result;
21729 void *argp1 = 0 ;
21730 int res1 = 0 ;
21731 PyObject *swig_obj[1] ;
21732
21733 if (!args) SWIG_fail;
21734 swig_obj[0] = args;
21735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21736 if (!SWIG_IsOK(res1)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21738 }
21739 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21740 {
21741 PyThreadState* __tstate = wxPyBeginAllowThreads();
21742 result = (arg1)->GetDefaultAttributes();
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21754 PyObject *resultobj = 0;
21755 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21756 void *argp1 = 0 ;
21757 int res1 = 0 ;
21758 PyObject *swig_obj[1] ;
21759
21760 if (!args) SWIG_fail;
21761 swig_obj[0] = args;
21762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21763 if (!SWIG_IsOK(res1)) {
21764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21765 }
21766 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->OnInternalIdle();
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 resultobj = SWIG_Py_Void();
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21781 PyObject *obj;
21782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21783 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21784 return SWIG_Py_Void();
21785 }
21786
21787 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21788 return SWIG_Python_InitShadowInstance(args);
21789 }
21790
21791 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj = 0;
21793 wxWindow *arg1 = (wxWindow *) 0 ;
21794 int arg2 = (int) (int)-1 ;
21795 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21796 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21797 wxSize const &arg4_defvalue = wxDefaultSize ;
21798 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21799 long arg5 = (long) 0 ;
21800 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21801 wxString *arg6 = (wxString *) &arg6_defvalue ;
21802 wxPyPanel *result = 0 ;
21803 void *argp1 = 0 ;
21804 int res1 = 0 ;
21805 int val2 ;
21806 int ecode2 = 0 ;
21807 wxPoint temp3 ;
21808 wxSize temp4 ;
21809 long val5 ;
21810 int ecode5 = 0 ;
21811 bool temp6 = false ;
21812 PyObject * obj0 = 0 ;
21813 PyObject * obj1 = 0 ;
21814 PyObject * obj2 = 0 ;
21815 PyObject * obj3 = 0 ;
21816 PyObject * obj4 = 0 ;
21817 PyObject * obj5 = 0 ;
21818 char * kwnames[] = {
21819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21820 };
21821
21822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21824 if (!SWIG_IsOK(res1)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21826 }
21827 arg1 = reinterpret_cast< wxWindow * >(argp1);
21828 if (obj1) {
21829 ecode2 = SWIG_AsVal_int(obj1, &val2);
21830 if (!SWIG_IsOK(ecode2)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21832 }
21833 arg2 = static_cast< int >(val2);
21834 }
21835 if (obj2) {
21836 {
21837 arg3 = &temp3;
21838 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21839 }
21840 }
21841 if (obj3) {
21842 {
21843 arg4 = &temp4;
21844 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21845 }
21846 }
21847 if (obj4) {
21848 ecode5 = SWIG_AsVal_long(obj4, &val5);
21849 if (!SWIG_IsOK(ecode5)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21851 }
21852 arg5 = static_cast< long >(val5);
21853 }
21854 if (obj5) {
21855 {
21856 arg6 = wxString_in_helper(obj5);
21857 if (arg6 == NULL) SWIG_fail;
21858 temp6 = true;
21859 }
21860 }
21861 {
21862 if (!wxPyCheckForApp()) SWIG_fail;
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21865 wxPyEndAllowThreads(__tstate);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 }
21868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21869 {
21870 if (temp6)
21871 delete arg6;
21872 }
21873 return resultobj;
21874 fail:
21875 {
21876 if (temp6)
21877 delete arg6;
21878 }
21879 return NULL;
21880 }
21881
21882
21883 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21884 PyObject *resultobj = 0;
21885 wxPyPanel *result = 0 ;
21886
21887 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21888 {
21889 if (!wxPyCheckForApp()) SWIG_fail;
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (wxPyPanel *)new wxPyPanel();
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21896 return resultobj;
21897 fail:
21898 return NULL;
21899 }
21900
21901
21902 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21903 PyObject *resultobj = 0;
21904 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21905 PyObject *arg2 = (PyObject *) 0 ;
21906 PyObject *arg3 = (PyObject *) 0 ;
21907 void *argp1 = 0 ;
21908 int res1 = 0 ;
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 PyObject * obj2 = 0 ;
21912 char * kwnames[] = {
21913 (char *) "self",(char *) "self",(char *) "_class", NULL
21914 };
21915
21916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21918 if (!SWIG_IsOK(res1)) {
21919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21920 }
21921 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21922 arg2 = obj1;
21923 arg3 = obj2;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 (arg1)->_setCallbackInfo(arg2,arg3);
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 resultobj = SWIG_Py_Void();
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj = 0;
21939 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21940 wxSize *arg2 = 0 ;
21941 void *argp1 = 0 ;
21942 int res1 = 0 ;
21943 wxSize temp2 ;
21944 PyObject * obj0 = 0 ;
21945 PyObject * obj1 = 0 ;
21946 char * kwnames[] = {
21947 (char *) "self",(char *) "size", NULL
21948 };
21949
21950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21952 if (!SWIG_IsOK(res1)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21954 }
21955 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21956 {
21957 arg2 = &temp2;
21958 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 (arg1)->SetBestSize((wxSize const &)*arg2);
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 resultobj = SWIG_Py_Void();
21967 return resultobj;
21968 fail:
21969 return NULL;
21970 }
21971
21972
21973 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21974 PyObject *resultobj = 0;
21975 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21976 wxDC *arg2 = (wxDC *) 0 ;
21977 bool result;
21978 void *argp1 = 0 ;
21979 int res1 = 0 ;
21980 void *argp2 = 0 ;
21981 int res2 = 0 ;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 char * kwnames[] = {
21985 (char *) "self",(char *) "dc", NULL
21986 };
21987
21988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21990 if (!SWIG_IsOK(res1)) {
21991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21992 }
21993 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21995 if (!SWIG_IsOK(res2)) {
21996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21997 }
21998 arg2 = reinterpret_cast< wxDC * >(argp2);
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 result = (bool)(arg1)->DoEraseBackground(arg2);
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 {
22006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22007 }
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj = 0;
22016 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22017 int arg2 ;
22018 int arg3 ;
22019 int arg4 ;
22020 int arg5 ;
22021 void *argp1 = 0 ;
22022 int res1 = 0 ;
22023 int val2 ;
22024 int ecode2 = 0 ;
22025 int val3 ;
22026 int ecode3 = 0 ;
22027 int val4 ;
22028 int ecode4 = 0 ;
22029 int val5 ;
22030 int ecode5 = 0 ;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 PyObject * obj2 = 0 ;
22034 PyObject * obj3 = 0 ;
22035 PyObject * obj4 = 0 ;
22036 char * kwnames[] = {
22037 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22038 };
22039
22040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22042 if (!SWIG_IsOK(res1)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22044 }
22045 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22046 ecode2 = SWIG_AsVal_int(obj1, &val2);
22047 if (!SWIG_IsOK(ecode2)) {
22048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22049 }
22050 arg2 = static_cast< int >(val2);
22051 ecode3 = SWIG_AsVal_int(obj2, &val3);
22052 if (!SWIG_IsOK(ecode3)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22054 }
22055 arg3 = static_cast< int >(val3);
22056 ecode4 = SWIG_AsVal_int(obj3, &val4);
22057 if (!SWIG_IsOK(ecode4)) {
22058 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22059 }
22060 arg4 = static_cast< int >(val4);
22061 ecode5 = SWIG_AsVal_int(obj4, &val5);
22062 if (!SWIG_IsOK(ecode5)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22064 }
22065 arg5 = static_cast< int >(val5);
22066 {
22067 PyThreadState* __tstate = wxPyBeginAllowThreads();
22068 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 resultobj = SWIG_Py_Void();
22073 return resultobj;
22074 fail:
22075 return NULL;
22076 }
22077
22078
22079 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj = 0;
22081 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22082 int arg2 ;
22083 int arg3 ;
22084 int arg4 ;
22085 int arg5 ;
22086 int arg6 = (int) wxSIZE_AUTO ;
22087 void *argp1 = 0 ;
22088 int res1 = 0 ;
22089 int val2 ;
22090 int ecode2 = 0 ;
22091 int val3 ;
22092 int ecode3 = 0 ;
22093 int val4 ;
22094 int ecode4 = 0 ;
22095 int val5 ;
22096 int ecode5 = 0 ;
22097 int val6 ;
22098 int ecode6 = 0 ;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 PyObject * obj2 = 0 ;
22102 PyObject * obj3 = 0 ;
22103 PyObject * obj4 = 0 ;
22104 PyObject * obj5 = 0 ;
22105 char * kwnames[] = {
22106 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22107 };
22108
22109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22111 if (!SWIG_IsOK(res1)) {
22112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22113 }
22114 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22115 ecode2 = SWIG_AsVal_int(obj1, &val2);
22116 if (!SWIG_IsOK(ecode2)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22118 }
22119 arg2 = static_cast< int >(val2);
22120 ecode3 = SWIG_AsVal_int(obj2, &val3);
22121 if (!SWIG_IsOK(ecode3)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22123 }
22124 arg3 = static_cast< int >(val3);
22125 ecode4 = SWIG_AsVal_int(obj3, &val4);
22126 if (!SWIG_IsOK(ecode4)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22128 }
22129 arg4 = static_cast< int >(val4);
22130 ecode5 = SWIG_AsVal_int(obj4, &val5);
22131 if (!SWIG_IsOK(ecode5)) {
22132 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22133 }
22134 arg5 = static_cast< int >(val5);
22135 if (obj5) {
22136 ecode6 = SWIG_AsVal_int(obj5, &val6);
22137 if (!SWIG_IsOK(ecode6)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22139 }
22140 arg6 = static_cast< int >(val6);
22141 }
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 resultobj = SWIG_Py_Void();
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj = 0;
22157 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22158 int arg2 ;
22159 int arg3 ;
22160 void *argp1 = 0 ;
22161 int res1 = 0 ;
22162 int val2 ;
22163 int ecode2 = 0 ;
22164 int val3 ;
22165 int ecode3 = 0 ;
22166 PyObject * obj0 = 0 ;
22167 PyObject * obj1 = 0 ;
22168 PyObject * obj2 = 0 ;
22169 char * kwnames[] = {
22170 (char *) "self",(char *) "width",(char *) "height", NULL
22171 };
22172
22173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22175 if (!SWIG_IsOK(res1)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22177 }
22178 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22179 ecode2 = SWIG_AsVal_int(obj1, &val2);
22180 if (!SWIG_IsOK(ecode2)) {
22181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22182 }
22183 arg2 = static_cast< int >(val2);
22184 ecode3 = SWIG_AsVal_int(obj2, &val3);
22185 if (!SWIG_IsOK(ecode3)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22187 }
22188 arg3 = static_cast< int >(val3);
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 (arg1)->DoSetClientSize(arg2,arg3);
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 resultobj = SWIG_Py_Void();
22196 return resultobj;
22197 fail:
22198 return NULL;
22199 }
22200
22201
22202 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj = 0;
22204 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22205 int arg2 ;
22206 int arg3 ;
22207 void *argp1 = 0 ;
22208 int res1 = 0 ;
22209 int val2 ;
22210 int ecode2 = 0 ;
22211 int val3 ;
22212 int ecode3 = 0 ;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 PyObject * obj2 = 0 ;
22216 char * kwnames[] = {
22217 (char *) "self",(char *) "x",(char *) "y", NULL
22218 };
22219
22220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22222 if (!SWIG_IsOK(res1)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22224 }
22225 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22226 ecode2 = SWIG_AsVal_int(obj1, &val2);
22227 if (!SWIG_IsOK(ecode2)) {
22228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22229 }
22230 arg2 = static_cast< int >(val2);
22231 ecode3 = SWIG_AsVal_int(obj2, &val3);
22232 if (!SWIG_IsOK(ecode3)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22234 }
22235 arg3 = static_cast< int >(val3);
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 (arg1)->DoSetVirtualSize(arg2,arg3);
22239 wxPyEndAllowThreads(__tstate);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 resultobj = SWIG_Py_Void();
22243 return resultobj;
22244 fail:
22245 return NULL;
22246 }
22247
22248
22249 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22250 PyObject *resultobj = 0;
22251 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22252 int *arg2 = (int *) 0 ;
22253 int *arg3 = (int *) 0 ;
22254 void *argp1 = 0 ;
22255 int res1 = 0 ;
22256 int temp2 ;
22257 int res2 = SWIG_TMPOBJ ;
22258 int temp3 ;
22259 int res3 = SWIG_TMPOBJ ;
22260 PyObject *swig_obj[1] ;
22261
22262 arg2 = &temp2;
22263 arg3 = &temp3;
22264 if (!args) SWIG_fail;
22265 swig_obj[0] = args;
22266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22267 if (!SWIG_IsOK(res1)) {
22268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22269 }
22270 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 resultobj = SWIG_Py_Void();
22278 if (SWIG_IsTmpObj(res2)) {
22279 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22280 } else {
22281 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22282 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22283 }
22284 if (SWIG_IsTmpObj(res3)) {
22285 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22286 } else {
22287 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22288 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22289 }
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22297 PyObject *resultobj = 0;
22298 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22299 int *arg2 = (int *) 0 ;
22300 int *arg3 = (int *) 0 ;
22301 void *argp1 = 0 ;
22302 int res1 = 0 ;
22303 int temp2 ;
22304 int res2 = SWIG_TMPOBJ ;
22305 int temp3 ;
22306 int res3 = SWIG_TMPOBJ ;
22307 PyObject *swig_obj[1] ;
22308
22309 arg2 = &temp2;
22310 arg3 = &temp3;
22311 if (!args) SWIG_fail;
22312 swig_obj[0] = args;
22313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22314 if (!SWIG_IsOK(res1)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22316 }
22317 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 resultobj = SWIG_Py_Void();
22325 if (SWIG_IsTmpObj(res2)) {
22326 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22327 } else {
22328 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22329 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22330 }
22331 if (SWIG_IsTmpObj(res3)) {
22332 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22333 } else {
22334 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22335 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22336 }
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22344 PyObject *resultobj = 0;
22345 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22346 int *arg2 = (int *) 0 ;
22347 int *arg3 = (int *) 0 ;
22348 void *argp1 = 0 ;
22349 int res1 = 0 ;
22350 int temp2 ;
22351 int res2 = SWIG_TMPOBJ ;
22352 int temp3 ;
22353 int res3 = SWIG_TMPOBJ ;
22354 PyObject *swig_obj[1] ;
22355
22356 arg2 = &temp2;
22357 arg3 = &temp3;
22358 if (!args) SWIG_fail;
22359 swig_obj[0] = args;
22360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22361 if (!SWIG_IsOK(res1)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22363 }
22364 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22365 {
22366 PyThreadState* __tstate = wxPyBeginAllowThreads();
22367 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 resultobj = SWIG_Py_Void();
22372 if (SWIG_IsTmpObj(res2)) {
22373 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22374 } else {
22375 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22376 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22377 }
22378 if (SWIG_IsTmpObj(res3)) {
22379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22380 } else {
22381 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22383 }
22384 return resultobj;
22385 fail:
22386 return NULL;
22387 }
22388
22389
22390 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22391 PyObject *resultobj = 0;
22392 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22393 wxSize result;
22394 void *argp1 = 0 ;
22395 int res1 = 0 ;
22396 PyObject *swig_obj[1] ;
22397
22398 if (!args) SWIG_fail;
22399 swig_obj[0] = args;
22400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22401 if (!SWIG_IsOK(res1)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22403 }
22404 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22412 return resultobj;
22413 fail:
22414 return NULL;
22415 }
22416
22417
22418 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22419 PyObject *resultobj = 0;
22420 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22421 wxSize result;
22422 void *argp1 = 0 ;
22423 int res1 = 0 ;
22424 PyObject *swig_obj[1] ;
22425
22426 if (!args) SWIG_fail;
22427 swig_obj[0] = args;
22428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22429 if (!SWIG_IsOK(res1)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22431 }
22432 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22440 return resultobj;
22441 fail:
22442 return NULL;
22443 }
22444
22445
22446 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22447 PyObject *resultobj = 0;
22448 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22449 SwigValueWrapper<wxVisualAttributes > result;
22450 void *argp1 = 0 ;
22451 int res1 = 0 ;
22452 PyObject *swig_obj[1] ;
22453
22454 if (!args) SWIG_fail;
22455 swig_obj[0] = args;
22456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22457 if (!SWIG_IsOK(res1)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22459 }
22460 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = (arg1)->GetDefaultAttributes();
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22468 return resultobj;
22469 fail:
22470 return NULL;
22471 }
22472
22473
22474 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22475 PyObject *resultobj = 0;
22476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22477 void *argp1 = 0 ;
22478 int res1 = 0 ;
22479 PyObject *swig_obj[1] ;
22480
22481 if (!args) SWIG_fail;
22482 swig_obj[0] = args;
22483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22484 if (!SWIG_IsOK(res1)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22486 }
22487 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 (arg1)->OnInternalIdle();
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 resultobj = SWIG_Py_Void();
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22502 PyObject *obj;
22503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22504 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22505 return SWIG_Py_Void();
22506 }
22507
22508 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22509 return SWIG_Python_InitShadowInstance(args);
22510 }
22511
22512 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22513 PyObject *resultobj = 0;
22514 wxWindow *arg1 = (wxWindow *) 0 ;
22515 int arg2 = (int) (int)-1 ;
22516 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22517 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22518 wxSize const &arg4_defvalue = wxDefaultSize ;
22519 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22520 long arg5 = (long) 0 ;
22521 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22522 wxString *arg6 = (wxString *) &arg6_defvalue ;
22523 wxPyScrolledWindow *result = 0 ;
22524 void *argp1 = 0 ;
22525 int res1 = 0 ;
22526 int val2 ;
22527 int ecode2 = 0 ;
22528 wxPoint temp3 ;
22529 wxSize temp4 ;
22530 long val5 ;
22531 int ecode5 = 0 ;
22532 bool temp6 = false ;
22533 PyObject * obj0 = 0 ;
22534 PyObject * obj1 = 0 ;
22535 PyObject * obj2 = 0 ;
22536 PyObject * obj3 = 0 ;
22537 PyObject * obj4 = 0 ;
22538 PyObject * obj5 = 0 ;
22539 char * kwnames[] = {
22540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22541 };
22542
22543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22545 if (!SWIG_IsOK(res1)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22547 }
22548 arg1 = reinterpret_cast< wxWindow * >(argp1);
22549 if (obj1) {
22550 ecode2 = SWIG_AsVal_int(obj1, &val2);
22551 if (!SWIG_IsOK(ecode2)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22553 }
22554 arg2 = static_cast< int >(val2);
22555 }
22556 if (obj2) {
22557 {
22558 arg3 = &temp3;
22559 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22560 }
22561 }
22562 if (obj3) {
22563 {
22564 arg4 = &temp4;
22565 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22566 }
22567 }
22568 if (obj4) {
22569 ecode5 = SWIG_AsVal_long(obj4, &val5);
22570 if (!SWIG_IsOK(ecode5)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22572 }
22573 arg5 = static_cast< long >(val5);
22574 }
22575 if (obj5) {
22576 {
22577 arg6 = wxString_in_helper(obj5);
22578 if (arg6 == NULL) SWIG_fail;
22579 temp6 = true;
22580 }
22581 }
22582 {
22583 if (!wxPyCheckForApp()) SWIG_fail;
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22590 {
22591 if (temp6)
22592 delete arg6;
22593 }
22594 return resultobj;
22595 fail:
22596 {
22597 if (temp6)
22598 delete arg6;
22599 }
22600 return NULL;
22601 }
22602
22603
22604 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22605 PyObject *resultobj = 0;
22606 wxPyScrolledWindow *result = 0 ;
22607
22608 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22609 {
22610 if (!wxPyCheckForApp()) SWIG_fail;
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22624 PyObject *resultobj = 0;
22625 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22626 PyObject *arg2 = (PyObject *) 0 ;
22627 PyObject *arg3 = (PyObject *) 0 ;
22628 void *argp1 = 0 ;
22629 int res1 = 0 ;
22630 PyObject * obj0 = 0 ;
22631 PyObject * obj1 = 0 ;
22632 PyObject * obj2 = 0 ;
22633 char * kwnames[] = {
22634 (char *) "self",(char *) "self",(char *) "_class", NULL
22635 };
22636
22637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22639 if (!SWIG_IsOK(res1)) {
22640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22641 }
22642 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22643 arg2 = obj1;
22644 arg3 = obj2;
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 (arg1)->_setCallbackInfo(arg2,arg3);
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 resultobj = SWIG_Py_Void();
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj = 0;
22660 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22661 wxSize *arg2 = 0 ;
22662 void *argp1 = 0 ;
22663 int res1 = 0 ;
22664 wxSize temp2 ;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char * kwnames[] = {
22668 (char *) "self",(char *) "size", NULL
22669 };
22670
22671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22673 if (!SWIG_IsOK(res1)) {
22674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22675 }
22676 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22677 {
22678 arg2 = &temp2;
22679 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22680 }
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 (arg1)->SetBestSize((wxSize const &)*arg2);
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 resultobj = SWIG_Py_Void();
22688 return resultobj;
22689 fail:
22690 return NULL;
22691 }
22692
22693
22694 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22695 PyObject *resultobj = 0;
22696 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22697 wxDC *arg2 = (wxDC *) 0 ;
22698 bool result;
22699 void *argp1 = 0 ;
22700 int res1 = 0 ;
22701 void *argp2 = 0 ;
22702 int res2 = 0 ;
22703 PyObject * obj0 = 0 ;
22704 PyObject * obj1 = 0 ;
22705 char * kwnames[] = {
22706 (char *) "self",(char *) "dc", NULL
22707 };
22708
22709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22711 if (!SWIG_IsOK(res1)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22713 }
22714 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22716 if (!SWIG_IsOK(res2)) {
22717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22718 }
22719 arg2 = reinterpret_cast< wxDC * >(argp2);
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 result = (bool)(arg1)->DoEraseBackground(arg2);
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 {
22727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22728 }
22729 return resultobj;
22730 fail:
22731 return NULL;
22732 }
22733
22734
22735 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj = 0;
22737 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22738 int arg2 ;
22739 int arg3 ;
22740 int arg4 ;
22741 int arg5 ;
22742 void *argp1 = 0 ;
22743 int res1 = 0 ;
22744 int val2 ;
22745 int ecode2 = 0 ;
22746 int val3 ;
22747 int ecode3 = 0 ;
22748 int val4 ;
22749 int ecode4 = 0 ;
22750 int val5 ;
22751 int ecode5 = 0 ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj1 = 0 ;
22754 PyObject * obj2 = 0 ;
22755 PyObject * obj3 = 0 ;
22756 PyObject * obj4 = 0 ;
22757 char * kwnames[] = {
22758 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22759 };
22760
22761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22763 if (!SWIG_IsOK(res1)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22765 }
22766 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22767 ecode2 = SWIG_AsVal_int(obj1, &val2);
22768 if (!SWIG_IsOK(ecode2)) {
22769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22770 }
22771 arg2 = static_cast< int >(val2);
22772 ecode3 = SWIG_AsVal_int(obj2, &val3);
22773 if (!SWIG_IsOK(ecode3)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22775 }
22776 arg3 = static_cast< int >(val3);
22777 ecode4 = SWIG_AsVal_int(obj3, &val4);
22778 if (!SWIG_IsOK(ecode4)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22780 }
22781 arg4 = static_cast< int >(val4);
22782 ecode5 = SWIG_AsVal_int(obj4, &val5);
22783 if (!SWIG_IsOK(ecode5)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22785 }
22786 arg5 = static_cast< int >(val5);
22787 {
22788 PyThreadState* __tstate = wxPyBeginAllowThreads();
22789 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22790 wxPyEndAllowThreads(__tstate);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 resultobj = SWIG_Py_Void();
22794 return resultobj;
22795 fail:
22796 return NULL;
22797 }
22798
22799
22800 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj = 0;
22802 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22803 int arg2 ;
22804 int arg3 ;
22805 int arg4 ;
22806 int arg5 ;
22807 int arg6 = (int) wxSIZE_AUTO ;
22808 void *argp1 = 0 ;
22809 int res1 = 0 ;
22810 int val2 ;
22811 int ecode2 = 0 ;
22812 int val3 ;
22813 int ecode3 = 0 ;
22814 int val4 ;
22815 int ecode4 = 0 ;
22816 int val5 ;
22817 int ecode5 = 0 ;
22818 int val6 ;
22819 int ecode6 = 0 ;
22820 PyObject * obj0 = 0 ;
22821 PyObject * obj1 = 0 ;
22822 PyObject * obj2 = 0 ;
22823 PyObject * obj3 = 0 ;
22824 PyObject * obj4 = 0 ;
22825 PyObject * obj5 = 0 ;
22826 char * kwnames[] = {
22827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22828 };
22829
22830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22832 if (!SWIG_IsOK(res1)) {
22833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22834 }
22835 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22836 ecode2 = SWIG_AsVal_int(obj1, &val2);
22837 if (!SWIG_IsOK(ecode2)) {
22838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22839 }
22840 arg2 = static_cast< int >(val2);
22841 ecode3 = SWIG_AsVal_int(obj2, &val3);
22842 if (!SWIG_IsOK(ecode3)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22844 }
22845 arg3 = static_cast< int >(val3);
22846 ecode4 = SWIG_AsVal_int(obj3, &val4);
22847 if (!SWIG_IsOK(ecode4)) {
22848 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22849 }
22850 arg4 = static_cast< int >(val4);
22851 ecode5 = SWIG_AsVal_int(obj4, &val5);
22852 if (!SWIG_IsOK(ecode5)) {
22853 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22854 }
22855 arg5 = static_cast< int >(val5);
22856 if (obj5) {
22857 ecode6 = SWIG_AsVal_int(obj5, &val6);
22858 if (!SWIG_IsOK(ecode6)) {
22859 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22860 }
22861 arg6 = static_cast< int >(val6);
22862 }
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 resultobj = SWIG_Py_Void();
22870 return resultobj;
22871 fail:
22872 return NULL;
22873 }
22874
22875
22876 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj = 0;
22878 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22879 int arg2 ;
22880 int arg3 ;
22881 void *argp1 = 0 ;
22882 int res1 = 0 ;
22883 int val2 ;
22884 int ecode2 = 0 ;
22885 int val3 ;
22886 int ecode3 = 0 ;
22887 PyObject * obj0 = 0 ;
22888 PyObject * obj1 = 0 ;
22889 PyObject * obj2 = 0 ;
22890 char * kwnames[] = {
22891 (char *) "self",(char *) "width",(char *) "height", NULL
22892 };
22893
22894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22896 if (!SWIG_IsOK(res1)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22898 }
22899 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22900 ecode2 = SWIG_AsVal_int(obj1, &val2);
22901 if (!SWIG_IsOK(ecode2)) {
22902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22903 }
22904 arg2 = static_cast< int >(val2);
22905 ecode3 = SWIG_AsVal_int(obj2, &val3);
22906 if (!SWIG_IsOK(ecode3)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22908 }
22909 arg3 = static_cast< int >(val3);
22910 {
22911 PyThreadState* __tstate = wxPyBeginAllowThreads();
22912 (arg1)->DoSetClientSize(arg2,arg3);
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
22916 resultobj = SWIG_Py_Void();
22917 return resultobj;
22918 fail:
22919 return NULL;
22920 }
22921
22922
22923 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22924 PyObject *resultobj = 0;
22925 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22926 int arg2 ;
22927 int arg3 ;
22928 void *argp1 = 0 ;
22929 int res1 = 0 ;
22930 int val2 ;
22931 int ecode2 = 0 ;
22932 int val3 ;
22933 int ecode3 = 0 ;
22934 PyObject * obj0 = 0 ;
22935 PyObject * obj1 = 0 ;
22936 PyObject * obj2 = 0 ;
22937 char * kwnames[] = {
22938 (char *) "self",(char *) "x",(char *) "y", NULL
22939 };
22940
22941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22943 if (!SWIG_IsOK(res1)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22945 }
22946 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22947 ecode2 = SWIG_AsVal_int(obj1, &val2);
22948 if (!SWIG_IsOK(ecode2)) {
22949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22950 }
22951 arg2 = static_cast< int >(val2);
22952 ecode3 = SWIG_AsVal_int(obj2, &val3);
22953 if (!SWIG_IsOK(ecode3)) {
22954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22955 }
22956 arg3 = static_cast< int >(val3);
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->DoSetVirtualSize(arg2,arg3);
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 resultobj = SWIG_Py_Void();
22964 return resultobj;
22965 fail:
22966 return NULL;
22967 }
22968
22969
22970 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22971 PyObject *resultobj = 0;
22972 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22973 int *arg2 = (int *) 0 ;
22974 int *arg3 = (int *) 0 ;
22975 void *argp1 = 0 ;
22976 int res1 = 0 ;
22977 int temp2 ;
22978 int res2 = SWIG_TMPOBJ ;
22979 int temp3 ;
22980 int res3 = SWIG_TMPOBJ ;
22981 PyObject *swig_obj[1] ;
22982
22983 arg2 = &temp2;
22984 arg3 = &temp3;
22985 if (!args) SWIG_fail;
22986 swig_obj[0] = args;
22987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22988 if (!SWIG_IsOK(res1)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22990 }
22991 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 resultobj = SWIG_Py_Void();
22999 if (SWIG_IsTmpObj(res2)) {
23000 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23001 } else {
23002 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23003 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23004 }
23005 if (SWIG_IsTmpObj(res3)) {
23006 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23007 } else {
23008 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23009 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23010 }
23011 return resultobj;
23012 fail:
23013 return NULL;
23014 }
23015
23016
23017 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23018 PyObject *resultobj = 0;
23019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23020 int *arg2 = (int *) 0 ;
23021 int *arg3 = (int *) 0 ;
23022 void *argp1 = 0 ;
23023 int res1 = 0 ;
23024 int temp2 ;
23025 int res2 = SWIG_TMPOBJ ;
23026 int temp3 ;
23027 int res3 = SWIG_TMPOBJ ;
23028 PyObject *swig_obj[1] ;
23029
23030 arg2 = &temp2;
23031 arg3 = &temp3;
23032 if (!args) SWIG_fail;
23033 swig_obj[0] = args;
23034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23035 if (!SWIG_IsOK(res1)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23037 }
23038 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = SWIG_Py_Void();
23046 if (SWIG_IsTmpObj(res2)) {
23047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23048 } else {
23049 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23051 }
23052 if (SWIG_IsTmpObj(res3)) {
23053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23054 } else {
23055 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23057 }
23058 return resultobj;
23059 fail:
23060 return NULL;
23061 }
23062
23063
23064 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23065 PyObject *resultobj = 0;
23066 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23067 int *arg2 = (int *) 0 ;
23068 int *arg3 = (int *) 0 ;
23069 void *argp1 = 0 ;
23070 int res1 = 0 ;
23071 int temp2 ;
23072 int res2 = SWIG_TMPOBJ ;
23073 int temp3 ;
23074 int res3 = SWIG_TMPOBJ ;
23075 PyObject *swig_obj[1] ;
23076
23077 arg2 = &temp2;
23078 arg3 = &temp3;
23079 if (!args) SWIG_fail;
23080 swig_obj[0] = args;
23081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23082 if (!SWIG_IsOK(res1)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23084 }
23085 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23086 {
23087 PyThreadState* __tstate = wxPyBeginAllowThreads();
23088 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 resultobj = SWIG_Py_Void();
23093 if (SWIG_IsTmpObj(res2)) {
23094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23095 } else {
23096 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23098 }
23099 if (SWIG_IsTmpObj(res3)) {
23100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23101 } else {
23102 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23104 }
23105 return resultobj;
23106 fail:
23107 return NULL;
23108 }
23109
23110
23111 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23112 PyObject *resultobj = 0;
23113 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23114 wxSize result;
23115 void *argp1 = 0 ;
23116 int res1 = 0 ;
23117 PyObject *swig_obj[1] ;
23118
23119 if (!args) SWIG_fail;
23120 swig_obj[0] = args;
23121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23122 if (!SWIG_IsOK(res1)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23124 }
23125 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23140 PyObject *resultobj = 0;
23141 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23142 wxSize result;
23143 void *argp1 = 0 ;
23144 int res1 = 0 ;
23145 PyObject *swig_obj[1] ;
23146
23147 if (!args) SWIG_fail;
23148 swig_obj[0] = args;
23149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23150 if (!SWIG_IsOK(res1)) {
23151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23152 }
23153 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23154 {
23155 PyThreadState* __tstate = wxPyBeginAllowThreads();
23156 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23168 PyObject *resultobj = 0;
23169 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23170 SwigValueWrapper<wxVisualAttributes > result;
23171 void *argp1 = 0 ;
23172 int res1 = 0 ;
23173 PyObject *swig_obj[1] ;
23174
23175 if (!args) SWIG_fail;
23176 swig_obj[0] = args;
23177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23178 if (!SWIG_IsOK(res1)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23180 }
23181 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 result = (arg1)->GetDefaultAttributes();
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23189 return resultobj;
23190 fail:
23191 return NULL;
23192 }
23193
23194
23195 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23196 PyObject *resultobj = 0;
23197 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23198 void *argp1 = 0 ;
23199 int res1 = 0 ;
23200 PyObject *swig_obj[1] ;
23201
23202 if (!args) SWIG_fail;
23203 swig_obj[0] = args;
23204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23205 if (!SWIG_IsOK(res1)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23207 }
23208 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 (arg1)->OnInternalIdle();
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = SWIG_Py_Void();
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23223 PyObject *obj;
23224 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23226 return SWIG_Py_Void();
23227 }
23228
23229 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23230 return SWIG_Python_InitShadowInstance(args);
23231 }
23232
23233 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23234 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23235 return 1;
23236 }
23237
23238
23239 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23240 PyObject *pyobj = 0;
23241
23242 {
23243 #if wxUSE_UNICODE
23244 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23245 #else
23246 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23247 #endif
23248 }
23249 return pyobj;
23250 }
23251
23252
23253 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23254 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23255 return 1;
23256 }
23257
23258
23259 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23260 PyObject *pyobj = 0;
23261
23262 {
23263 #if wxUSE_UNICODE
23264 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23265 #else
23266 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23267 #endif
23268 }
23269 return pyobj;
23270 }
23271
23272
23273 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23274 PyObject *resultobj = 0;
23275 wxPrintData *result = 0 ;
23276
23277 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 result = (wxPrintData *)new wxPrintData();
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23285 return resultobj;
23286 fail:
23287 return NULL;
23288 }
23289
23290
23291 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23292 PyObject *resultobj = 0;
23293 wxPrintData *arg1 = 0 ;
23294 wxPrintData *result = 0 ;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297
23298 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23300 if (!SWIG_IsOK(res1)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23302 }
23303 if (!argp1) {
23304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23305 }
23306 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23314 return resultobj;
23315 fail:
23316 return NULL;
23317 }
23318
23319
23320 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23321 int argc;
23322 PyObject *argv[2];
23323
23324 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23325 --argc;
23326 if (argc == 0) {
23327 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23328 }
23329 if (argc == 1) {
23330 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23331 }
23332
23333 fail:
23334 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23335 return NULL;
23336 }
23337
23338
23339 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23340 PyObject *resultobj = 0;
23341 wxPrintData *arg1 = (wxPrintData *) 0 ;
23342 void *argp1 = 0 ;
23343 int res1 = 0 ;
23344 PyObject *swig_obj[1] ;
23345
23346 if (!args) SWIG_fail;
23347 swig_obj[0] = args;
23348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23349 if (!SWIG_IsOK(res1)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23351 }
23352 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 delete arg1;
23356
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 resultobj = SWIG_Py_Void();
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23368 PyObject *resultobj = 0;
23369 wxPrintData *arg1 = (wxPrintData *) 0 ;
23370 int result;
23371 void *argp1 = 0 ;
23372 int res1 = 0 ;
23373 PyObject *swig_obj[1] ;
23374
23375 if (!args) SWIG_fail;
23376 swig_obj[0] = args;
23377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23378 if (!SWIG_IsOK(res1)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23380 }
23381 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (int)(arg1)->GetNoCopies();
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 resultobj = SWIG_From_int(static_cast< int >(result));
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23396 PyObject *resultobj = 0;
23397 wxPrintData *arg1 = (wxPrintData *) 0 ;
23398 bool result;
23399 void *argp1 = 0 ;
23400 int res1 = 0 ;
23401 PyObject *swig_obj[1] ;
23402
23403 if (!args) SWIG_fail;
23404 swig_obj[0] = args;
23405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23406 if (!SWIG_IsOK(res1)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23408 }
23409 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23410 {
23411 PyThreadState* __tstate = wxPyBeginAllowThreads();
23412 result = (bool)(arg1)->GetCollate();
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 {
23417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23418 }
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23426 PyObject *resultobj = 0;
23427 wxPrintData *arg1 = (wxPrintData *) 0 ;
23428 int result;
23429 void *argp1 = 0 ;
23430 int res1 = 0 ;
23431 PyObject *swig_obj[1] ;
23432
23433 if (!args) SWIG_fail;
23434 swig_obj[0] = args;
23435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23436 if (!SWIG_IsOK(res1)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23438 }
23439 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23440 {
23441 PyThreadState* __tstate = wxPyBeginAllowThreads();
23442 result = (int)(arg1)->GetOrientation();
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 resultobj = SWIG_From_int(static_cast< int >(result));
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23454 PyObject *resultobj = 0;
23455 wxPrintData *arg1 = (wxPrintData *) 0 ;
23456 bool result;
23457 void *argp1 = 0 ;
23458 int res1 = 0 ;
23459 PyObject *swig_obj[1] ;
23460
23461 if (!args) SWIG_fail;
23462 swig_obj[0] = args;
23463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23464 if (!SWIG_IsOK(res1)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23466 }
23467 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 result = (bool)(arg1)->Ok();
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 {
23475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23476 }
23477 return resultobj;
23478 fail:
23479 return NULL;
23480 }
23481
23482
23483 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23484 PyObject *resultobj = 0;
23485 wxPrintData *arg1 = (wxPrintData *) 0 ;
23486 wxString *result = 0 ;
23487 void *argp1 = 0 ;
23488 int res1 = 0 ;
23489 PyObject *swig_obj[1] ;
23490
23491 if (!args) SWIG_fail;
23492 swig_obj[0] = args;
23493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23494 if (!SWIG_IsOK(res1)) {
23495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23496 }
23497 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 {
23501 wxString const &_result_ref = (arg1)->GetPrinterName();
23502 result = (wxString *) &_result_ref;
23503 }
23504 wxPyEndAllowThreads(__tstate);
23505 if (PyErr_Occurred()) SWIG_fail;
23506 }
23507 {
23508 #if wxUSE_UNICODE
23509 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23510 #else
23511 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23512 #endif
23513 }
23514 return resultobj;
23515 fail:
23516 return NULL;
23517 }
23518
23519
23520 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23521 PyObject *resultobj = 0;
23522 wxPrintData *arg1 = (wxPrintData *) 0 ;
23523 bool result;
23524 void *argp1 = 0 ;
23525 int res1 = 0 ;
23526 PyObject *swig_obj[1] ;
23527
23528 if (!args) SWIG_fail;
23529 swig_obj[0] = args;
23530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23531 if (!SWIG_IsOK(res1)) {
23532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23533 }
23534 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 result = (bool)(arg1)->GetColour();
23538 wxPyEndAllowThreads(__tstate);
23539 if (PyErr_Occurred()) SWIG_fail;
23540 }
23541 {
23542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23543 }
23544 return resultobj;
23545 fail:
23546 return NULL;
23547 }
23548
23549
23550 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23551 PyObject *resultobj = 0;
23552 wxPrintData *arg1 = (wxPrintData *) 0 ;
23553 wxDuplexMode result;
23554 void *argp1 = 0 ;
23555 int res1 = 0 ;
23556 PyObject *swig_obj[1] ;
23557
23558 if (!args) SWIG_fail;
23559 swig_obj[0] = args;
23560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23561 if (!SWIG_IsOK(res1)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23563 }
23564 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 result = (wxDuplexMode)(arg1)->GetDuplex();
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 resultobj = SWIG_From_int(static_cast< int >(result));
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23579 PyObject *resultobj = 0;
23580 wxPrintData *arg1 = (wxPrintData *) 0 ;
23581 wxPaperSize result;
23582 void *argp1 = 0 ;
23583 int res1 = 0 ;
23584 PyObject *swig_obj[1] ;
23585
23586 if (!args) SWIG_fail;
23587 swig_obj[0] = args;
23588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23589 if (!SWIG_IsOK(res1)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23591 }
23592 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = (wxPaperSize)(arg1)->GetPaperId();
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 resultobj = SWIG_From_int(static_cast< int >(result));
23600 return resultobj;
23601 fail:
23602 return NULL;
23603 }
23604
23605
23606 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23607 PyObject *resultobj = 0;
23608 wxPrintData *arg1 = (wxPrintData *) 0 ;
23609 wxSize *result = 0 ;
23610 void *argp1 = 0 ;
23611 int res1 = 0 ;
23612 PyObject *swig_obj[1] ;
23613
23614 if (!args) SWIG_fail;
23615 swig_obj[0] = args;
23616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23617 if (!SWIG_IsOK(res1)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23619 }
23620 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
23623 {
23624 wxSize const &_result_ref = (arg1)->GetPaperSize();
23625 result = (wxSize *) &_result_ref;
23626 }
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
23630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23631 return resultobj;
23632 fail:
23633 return NULL;
23634 }
23635
23636
23637 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23638 PyObject *resultobj = 0;
23639 wxPrintData *arg1 = (wxPrintData *) 0 ;
23640 int result;
23641 void *argp1 = 0 ;
23642 int res1 = 0 ;
23643 PyObject *swig_obj[1] ;
23644
23645 if (!args) SWIG_fail;
23646 swig_obj[0] = args;
23647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23648 if (!SWIG_IsOK(res1)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23650 }
23651 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = (int)(arg1)->GetQuality();
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 resultobj = SWIG_From_int(static_cast< int >(result));
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23666 PyObject *resultobj = 0;
23667 wxPrintData *arg1 = (wxPrintData *) 0 ;
23668 wxPrintBin result;
23669 void *argp1 = 0 ;
23670 int res1 = 0 ;
23671 PyObject *swig_obj[1] ;
23672
23673 if (!args) SWIG_fail;
23674 swig_obj[0] = args;
23675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23676 if (!SWIG_IsOK(res1)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23678 }
23679 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 result = (wxPrintBin)(arg1)->GetBin();
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = SWIG_From_int(static_cast< int >(result));
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23694 PyObject *resultobj = 0;
23695 wxPrintData *arg1 = (wxPrintData *) 0 ;
23696 wxPrintMode result;
23697 void *argp1 = 0 ;
23698 int res1 = 0 ;
23699 PyObject *swig_obj[1] ;
23700
23701 if (!args) SWIG_fail;
23702 swig_obj[0] = args;
23703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23704 if (!SWIG_IsOK(res1)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23706 }
23707 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 resultobj = SWIG_From_int(static_cast< int >(result));
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj = 0;
23723 wxPrintData *arg1 = (wxPrintData *) 0 ;
23724 int arg2 ;
23725 void *argp1 = 0 ;
23726 int res1 = 0 ;
23727 int val2 ;
23728 int ecode2 = 0 ;
23729 PyObject * obj0 = 0 ;
23730 PyObject * obj1 = 0 ;
23731 char * kwnames[] = {
23732 (char *) "self",(char *) "v", NULL
23733 };
23734
23735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23737 if (!SWIG_IsOK(res1)) {
23738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23739 }
23740 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23741 ecode2 = SWIG_AsVal_int(obj1, &val2);
23742 if (!SWIG_IsOK(ecode2)) {
23743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23744 }
23745 arg2 = static_cast< int >(val2);
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 (arg1)->SetNoCopies(arg2);
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 resultobj = SWIG_Py_Void();
23753 return resultobj;
23754 fail:
23755 return NULL;
23756 }
23757
23758
23759 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj = 0;
23761 wxPrintData *arg1 = (wxPrintData *) 0 ;
23762 bool arg2 ;
23763 void *argp1 = 0 ;
23764 int res1 = 0 ;
23765 bool val2 ;
23766 int ecode2 = 0 ;
23767 PyObject * obj0 = 0 ;
23768 PyObject * obj1 = 0 ;
23769 char * kwnames[] = {
23770 (char *) "self",(char *) "flag", NULL
23771 };
23772
23773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23777 }
23778 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23779 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23780 if (!SWIG_IsOK(ecode2)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23782 }
23783 arg2 = static_cast< bool >(val2);
23784 {
23785 PyThreadState* __tstate = wxPyBeginAllowThreads();
23786 (arg1)->SetCollate(arg2);
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = SWIG_Py_Void();
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23798 PyObject *resultobj = 0;
23799 wxPrintData *arg1 = (wxPrintData *) 0 ;
23800 int arg2 ;
23801 void *argp1 = 0 ;
23802 int res1 = 0 ;
23803 int val2 ;
23804 int ecode2 = 0 ;
23805 PyObject * obj0 = 0 ;
23806 PyObject * obj1 = 0 ;
23807 char * kwnames[] = {
23808 (char *) "self",(char *) "orient", NULL
23809 };
23810
23811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23813 if (!SWIG_IsOK(res1)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23815 }
23816 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23817 ecode2 = SWIG_AsVal_int(obj1, &val2);
23818 if (!SWIG_IsOK(ecode2)) {
23819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23820 }
23821 arg2 = static_cast< int >(val2);
23822 {
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 (arg1)->SetOrientation(arg2);
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
23828 resultobj = SWIG_Py_Void();
23829 return resultobj;
23830 fail:
23831 return NULL;
23832 }
23833
23834
23835 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj = 0;
23837 wxPrintData *arg1 = (wxPrintData *) 0 ;
23838 wxString *arg2 = 0 ;
23839 void *argp1 = 0 ;
23840 int res1 = 0 ;
23841 bool temp2 = false ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 char * kwnames[] = {
23845 (char *) "self",(char *) "name", NULL
23846 };
23847
23848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23850 if (!SWIG_IsOK(res1)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23852 }
23853 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23854 {
23855 arg2 = wxString_in_helper(obj1);
23856 if (arg2 == NULL) SWIG_fail;
23857 temp2 = true;
23858 }
23859 {
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 (arg1)->SetPrinterName((wxString const &)*arg2);
23862 wxPyEndAllowThreads(__tstate);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 resultobj = SWIG_Py_Void();
23866 {
23867 if (temp2)
23868 delete arg2;
23869 }
23870 return resultobj;
23871 fail:
23872 {
23873 if (temp2)
23874 delete arg2;
23875 }
23876 return NULL;
23877 }
23878
23879
23880 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23881 PyObject *resultobj = 0;
23882 wxPrintData *arg1 = (wxPrintData *) 0 ;
23883 bool arg2 ;
23884 void *argp1 = 0 ;
23885 int res1 = 0 ;
23886 bool val2 ;
23887 int ecode2 = 0 ;
23888 PyObject * obj0 = 0 ;
23889 PyObject * obj1 = 0 ;
23890 char * kwnames[] = {
23891 (char *) "self",(char *) "colour", NULL
23892 };
23893
23894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23896 if (!SWIG_IsOK(res1)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23898 }
23899 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23900 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23901 if (!SWIG_IsOK(ecode2)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23903 }
23904 arg2 = static_cast< bool >(val2);
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 (arg1)->SetColour(arg2);
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
23911 resultobj = SWIG_Py_Void();
23912 return resultobj;
23913 fail:
23914 return NULL;
23915 }
23916
23917
23918 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj = 0;
23920 wxPrintData *arg1 = (wxPrintData *) 0 ;
23921 wxDuplexMode arg2 ;
23922 void *argp1 = 0 ;
23923 int res1 = 0 ;
23924 int val2 ;
23925 int ecode2 = 0 ;
23926 PyObject * obj0 = 0 ;
23927 PyObject * obj1 = 0 ;
23928 char * kwnames[] = {
23929 (char *) "self",(char *) "duplex", NULL
23930 };
23931
23932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23934 if (!SWIG_IsOK(res1)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23936 }
23937 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23938 ecode2 = SWIG_AsVal_int(obj1, &val2);
23939 if (!SWIG_IsOK(ecode2)) {
23940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23941 }
23942 arg2 = static_cast< wxDuplexMode >(val2);
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 (arg1)->SetDuplex(arg2);
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 resultobj = SWIG_Py_Void();
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj = 0;
23958 wxPrintData *arg1 = (wxPrintData *) 0 ;
23959 wxPaperSize arg2 ;
23960 void *argp1 = 0 ;
23961 int res1 = 0 ;
23962 int val2 ;
23963 int ecode2 = 0 ;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 char * kwnames[] = {
23967 (char *) "self",(char *) "sizeId", NULL
23968 };
23969
23970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23972 if (!SWIG_IsOK(res1)) {
23973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23974 }
23975 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23976 ecode2 = SWIG_AsVal_int(obj1, &val2);
23977 if (!SWIG_IsOK(ecode2)) {
23978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23979 }
23980 arg2 = static_cast< wxPaperSize >(val2);
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->SetPaperId(arg2);
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 resultobj = SWIG_Py_Void();
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj = 0;
23996 wxPrintData *arg1 = (wxPrintData *) 0 ;
23997 wxSize *arg2 = 0 ;
23998 void *argp1 = 0 ;
23999 int res1 = 0 ;
24000 wxSize temp2 ;
24001 PyObject * obj0 = 0 ;
24002 PyObject * obj1 = 0 ;
24003 char * kwnames[] = {
24004 (char *) "self",(char *) "sz", NULL
24005 };
24006
24007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24009 if (!SWIG_IsOK(res1)) {
24010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24011 }
24012 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24013 {
24014 arg2 = &temp2;
24015 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24016 }
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 (arg1)->SetPaperSize((wxSize const &)*arg2);
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 resultobj = SWIG_Py_Void();
24024 return resultobj;
24025 fail:
24026 return NULL;
24027 }
24028
24029
24030 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24031 PyObject *resultobj = 0;
24032 wxPrintData *arg1 = (wxPrintData *) 0 ;
24033 int arg2 ;
24034 void *argp1 = 0 ;
24035 int res1 = 0 ;
24036 int val2 ;
24037 int ecode2 = 0 ;
24038 PyObject * obj0 = 0 ;
24039 PyObject * obj1 = 0 ;
24040 char * kwnames[] = {
24041 (char *) "self",(char *) "quality", NULL
24042 };
24043
24044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24046 if (!SWIG_IsOK(res1)) {
24047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24048 }
24049 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24050 ecode2 = SWIG_AsVal_int(obj1, &val2);
24051 if (!SWIG_IsOK(ecode2)) {
24052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24053 }
24054 arg2 = static_cast< int >(val2);
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 (arg1)->SetQuality(arg2);
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 resultobj = SWIG_Py_Void();
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj = 0;
24070 wxPrintData *arg1 = (wxPrintData *) 0 ;
24071 wxPrintBin arg2 ;
24072 void *argp1 = 0 ;
24073 int res1 = 0 ;
24074 int val2 ;
24075 int ecode2 = 0 ;
24076 PyObject * obj0 = 0 ;
24077 PyObject * obj1 = 0 ;
24078 char * kwnames[] = {
24079 (char *) "self",(char *) "bin", NULL
24080 };
24081
24082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24084 if (!SWIG_IsOK(res1)) {
24085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24086 }
24087 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24088 ecode2 = SWIG_AsVal_int(obj1, &val2);
24089 if (!SWIG_IsOK(ecode2)) {
24090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24091 }
24092 arg2 = static_cast< wxPrintBin >(val2);
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 (arg1)->SetBin(arg2);
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
24099 resultobj = SWIG_Py_Void();
24100 return resultobj;
24101 fail:
24102 return NULL;
24103 }
24104
24105
24106 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj = 0;
24108 wxPrintData *arg1 = (wxPrintData *) 0 ;
24109 wxPrintMode arg2 ;
24110 void *argp1 = 0 ;
24111 int res1 = 0 ;
24112 int val2 ;
24113 int ecode2 = 0 ;
24114 PyObject * obj0 = 0 ;
24115 PyObject * obj1 = 0 ;
24116 char * kwnames[] = {
24117 (char *) "self",(char *) "printMode", NULL
24118 };
24119
24120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24122 if (!SWIG_IsOK(res1)) {
24123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24124 }
24125 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24126 ecode2 = SWIG_AsVal_int(obj1, &val2);
24127 if (!SWIG_IsOK(ecode2)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24129 }
24130 arg2 = static_cast< wxPrintMode >(val2);
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 (arg1)->SetPrintMode(arg2);
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 resultobj = SWIG_Py_Void();
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24145 PyObject *resultobj = 0;
24146 wxPrintData *arg1 = (wxPrintData *) 0 ;
24147 wxString result;
24148 void *argp1 = 0 ;
24149 int res1 = 0 ;
24150 PyObject *swig_obj[1] ;
24151
24152 if (!args) SWIG_fail;
24153 swig_obj[0] = args;
24154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24157 }
24158 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 result = ((wxPrintData const *)arg1)->GetFilename();
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 {
24166 #if wxUSE_UNICODE
24167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24168 #else
24169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24170 #endif
24171 }
24172 return resultobj;
24173 fail:
24174 return NULL;
24175 }
24176
24177
24178 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24179 PyObject *resultobj = 0;
24180 wxPrintData *arg1 = (wxPrintData *) 0 ;
24181 wxString *arg2 = 0 ;
24182 void *argp1 = 0 ;
24183 int res1 = 0 ;
24184 bool temp2 = false ;
24185 PyObject * obj0 = 0 ;
24186 PyObject * obj1 = 0 ;
24187 char * kwnames[] = {
24188 (char *) "self",(char *) "filename", NULL
24189 };
24190
24191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24193 if (!SWIG_IsOK(res1)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24195 }
24196 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24197 {
24198 arg2 = wxString_in_helper(obj1);
24199 if (arg2 == NULL) SWIG_fail;
24200 temp2 = true;
24201 }
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->SetFilename((wxString const &)*arg2);
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 resultobj = SWIG_Py_Void();
24209 {
24210 if (temp2)
24211 delete arg2;
24212 }
24213 return resultobj;
24214 fail:
24215 {
24216 if (temp2)
24217 delete arg2;
24218 }
24219 return NULL;
24220 }
24221
24222
24223 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24224 PyObject *resultobj = 0;
24225 wxPrintData *arg1 = (wxPrintData *) 0 ;
24226 PyObject *result = 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_wxPrintData, 0 | 0 );
24234 if (!SWIG_IsOK(res1)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24236 }
24237 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 resultobj = result;
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj = 0;
24253 wxPrintData *arg1 = (wxPrintData *) 0 ;
24254 PyObject *arg2 = (PyObject *) 0 ;
24255 void *argp1 = 0 ;
24256 int res1 = 0 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 char * kwnames[] = {
24260 (char *) "self",(char *) "data", NULL
24261 };
24262
24263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24265 if (!SWIG_IsOK(res1)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24267 }
24268 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24269 arg2 = obj1;
24270 {
24271 PyThreadState* __tstate = wxPyBeginAllowThreads();
24272 wxPrintData_SetPrivData(arg1,arg2);
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 resultobj = SWIG_Py_Void();
24277 return resultobj;
24278 fail:
24279 return NULL;
24280 }
24281
24282
24283 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24284 PyObject *obj;
24285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24287 return SWIG_Py_Void();
24288 }
24289
24290 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24291 return SWIG_Python_InitShadowInstance(args);
24292 }
24293
24294 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24295 PyObject *resultobj = 0;
24296 wxPageSetupDialogData *result = 0 ;
24297
24298 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24313 PyObject *resultobj = 0;
24314 wxPageSetupDialogData *arg1 = 0 ;
24315 wxPageSetupDialogData *result = 0 ;
24316 void *argp1 = 0 ;
24317 int res1 = 0 ;
24318
24319 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24321 if (!SWIG_IsOK(res1)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24323 }
24324 if (!argp1) {
24325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24326 }
24327 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24342 PyObject *resultobj = 0;
24343 wxPrintData *arg1 = 0 ;
24344 wxPageSetupDialogData *result = 0 ;
24345 void *argp1 = 0 ;
24346 int res1 = 0 ;
24347
24348 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24350 if (!SWIG_IsOK(res1)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24352 }
24353 if (!argp1) {
24354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24355 }
24356 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24364 return resultobj;
24365 fail:
24366 return NULL;
24367 }
24368
24369
24370 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24371 int argc;
24372 PyObject *argv[2];
24373
24374 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24375 --argc;
24376 if (argc == 0) {
24377 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24378 }
24379 if (argc == 1) {
24380 int _v = 0;
24381 {
24382 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24383 _v = SWIG_CheckState(res);
24384 }
24385 if (!_v) goto check_2;
24386 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24387 }
24388 check_2:
24389
24390 if (argc == 1) {
24391 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24392 }
24393
24394 fail:
24395 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24396 return NULL;
24397 }
24398
24399
24400 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24401 PyObject *resultobj = 0;
24402 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24403 void *argp1 = 0 ;
24404 int res1 = 0 ;
24405 PyObject *swig_obj[1] ;
24406
24407 if (!args) SWIG_fail;
24408 swig_obj[0] = args;
24409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24410 if (!SWIG_IsOK(res1)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24412 }
24413 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 delete arg1;
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 resultobj = SWIG_Py_Void();
24422 return resultobj;
24423 fail:
24424 return NULL;
24425 }
24426
24427
24428 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj = 0;
24430 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24431 bool arg2 ;
24432 void *argp1 = 0 ;
24433 int res1 = 0 ;
24434 bool val2 ;
24435 int ecode2 = 0 ;
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj1 = 0 ;
24438 char * kwnames[] = {
24439 (char *) "self",(char *) "flag", NULL
24440 };
24441
24442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24444 if (!SWIG_IsOK(res1)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24446 }
24447 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24448 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24449 if (!SWIG_IsOK(ecode2)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24451 }
24452 arg2 = static_cast< bool >(val2);
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 (arg1)->EnableHelp(arg2);
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 resultobj = SWIG_Py_Void();
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj = 0;
24468 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24469 bool arg2 ;
24470 void *argp1 = 0 ;
24471 int res1 = 0 ;
24472 bool val2 ;
24473 int ecode2 = 0 ;
24474 PyObject * obj0 = 0 ;
24475 PyObject * obj1 = 0 ;
24476 char * kwnames[] = {
24477 (char *) "self",(char *) "flag", NULL
24478 };
24479
24480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24482 if (!SWIG_IsOK(res1)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24484 }
24485 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24486 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24487 if (!SWIG_IsOK(ecode2)) {
24488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24489 }
24490 arg2 = static_cast< bool >(val2);
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 (arg1)->EnableMargins(arg2);
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 resultobj = SWIG_Py_Void();
24498 return resultobj;
24499 fail:
24500 return NULL;
24501 }
24502
24503
24504 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24505 PyObject *resultobj = 0;
24506 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24507 bool arg2 ;
24508 void *argp1 = 0 ;
24509 int res1 = 0 ;
24510 bool val2 ;
24511 int ecode2 = 0 ;
24512 PyObject * obj0 = 0 ;
24513 PyObject * obj1 = 0 ;
24514 char * kwnames[] = {
24515 (char *) "self",(char *) "flag", NULL
24516 };
24517
24518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24520 if (!SWIG_IsOK(res1)) {
24521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24522 }
24523 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24524 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24525 if (!SWIG_IsOK(ecode2)) {
24526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24527 }
24528 arg2 = static_cast< bool >(val2);
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 (arg1)->EnableOrientation(arg2);
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 resultobj = SWIG_Py_Void();
24536 return resultobj;
24537 fail:
24538 return NULL;
24539 }
24540
24541
24542 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24543 PyObject *resultobj = 0;
24544 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24545 bool arg2 ;
24546 void *argp1 = 0 ;
24547 int res1 = 0 ;
24548 bool val2 ;
24549 int ecode2 = 0 ;
24550 PyObject * obj0 = 0 ;
24551 PyObject * obj1 = 0 ;
24552 char * kwnames[] = {
24553 (char *) "self",(char *) "flag", NULL
24554 };
24555
24556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24558 if (!SWIG_IsOK(res1)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24560 }
24561 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24562 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24563 if (!SWIG_IsOK(ecode2)) {
24564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24565 }
24566 arg2 = static_cast< bool >(val2);
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->EnablePaper(arg2);
24570 wxPyEndAllowThreads(__tstate);
24571 if (PyErr_Occurred()) SWIG_fail;
24572 }
24573 resultobj = SWIG_Py_Void();
24574 return resultobj;
24575 fail:
24576 return NULL;
24577 }
24578
24579
24580 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24581 PyObject *resultobj = 0;
24582 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24583 bool arg2 ;
24584 void *argp1 = 0 ;
24585 int res1 = 0 ;
24586 bool val2 ;
24587 int ecode2 = 0 ;
24588 PyObject * obj0 = 0 ;
24589 PyObject * obj1 = 0 ;
24590 char * kwnames[] = {
24591 (char *) "self",(char *) "flag", NULL
24592 };
24593
24594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24596 if (!SWIG_IsOK(res1)) {
24597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24598 }
24599 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24600 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24601 if (!SWIG_IsOK(ecode2)) {
24602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24603 }
24604 arg2 = static_cast< bool >(val2);
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 (arg1)->EnablePrinter(arg2);
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 resultobj = SWIG_Py_Void();
24612 return resultobj;
24613 fail:
24614 return NULL;
24615 }
24616
24617
24618 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24619 PyObject *resultobj = 0;
24620 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24621 bool result;
24622 void *argp1 = 0 ;
24623 int res1 = 0 ;
24624 PyObject *swig_obj[1] ;
24625
24626 if (!args) SWIG_fail;
24627 swig_obj[0] = args;
24628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24631 }
24632 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 result = (bool)(arg1)->GetDefaultMinMargins();
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 {
24640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24641 }
24642 return resultobj;
24643 fail:
24644 return NULL;
24645 }
24646
24647
24648 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24649 PyObject *resultobj = 0;
24650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24651 bool result;
24652 void *argp1 = 0 ;
24653 int res1 = 0 ;
24654 PyObject *swig_obj[1] ;
24655
24656 if (!args) SWIG_fail;
24657 swig_obj[0] = args;
24658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24659 if (!SWIG_IsOK(res1)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24661 }
24662 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 result = (bool)(arg1)->GetEnableMargins();
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 {
24670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24671 }
24672 return resultobj;
24673 fail:
24674 return NULL;
24675 }
24676
24677
24678 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24679 PyObject *resultobj = 0;
24680 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24681 bool result;
24682 void *argp1 = 0 ;
24683 int res1 = 0 ;
24684 PyObject *swig_obj[1] ;
24685
24686 if (!args) SWIG_fail;
24687 swig_obj[0] = args;
24688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24689 if (!SWIG_IsOK(res1)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24691 }
24692 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = (bool)(arg1)->GetEnableOrientation();
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 {
24700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24701 }
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24709 PyObject *resultobj = 0;
24710 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24711 bool 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_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24721 }
24722 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 result = (bool)(arg1)->GetEnablePaper();
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 {
24730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24731 }
24732 return resultobj;
24733 fail:
24734 return NULL;
24735 }
24736
24737
24738 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24739 PyObject *resultobj = 0;
24740 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24741 bool result;
24742 void *argp1 = 0 ;
24743 int res1 = 0 ;
24744 PyObject *swig_obj[1] ;
24745
24746 if (!args) SWIG_fail;
24747 swig_obj[0] = args;
24748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24749 if (!SWIG_IsOK(res1)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24751 }
24752 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 result = (bool)(arg1)->GetEnablePrinter();
24756 wxPyEndAllowThreads(__tstate);
24757 if (PyErr_Occurred()) SWIG_fail;
24758 }
24759 {
24760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24761 }
24762 return resultobj;
24763 fail:
24764 return NULL;
24765 }
24766
24767
24768 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24769 PyObject *resultobj = 0;
24770 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24771 bool result;
24772 void *argp1 = 0 ;
24773 int res1 = 0 ;
24774 PyObject *swig_obj[1] ;
24775
24776 if (!args) SWIG_fail;
24777 swig_obj[0] = args;
24778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24779 if (!SWIG_IsOK(res1)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24781 }
24782 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24783 {
24784 PyThreadState* __tstate = wxPyBeginAllowThreads();
24785 result = (bool)(arg1)->GetEnableHelp();
24786 wxPyEndAllowThreads(__tstate);
24787 if (PyErr_Occurred()) SWIG_fail;
24788 }
24789 {
24790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24791 }
24792 return resultobj;
24793 fail:
24794 return NULL;
24795 }
24796
24797
24798 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24799 PyObject *resultobj = 0;
24800 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24801 bool result;
24802 void *argp1 = 0 ;
24803 int res1 = 0 ;
24804 PyObject *swig_obj[1] ;
24805
24806 if (!args) SWIG_fail;
24807 swig_obj[0] = args;
24808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24809 if (!SWIG_IsOK(res1)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24811 }
24812 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (bool)(arg1)->GetDefaultInfo();
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 {
24820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24821 }
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24829 PyObject *resultobj = 0;
24830 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24831 wxPoint result;
24832 void *argp1 = 0 ;
24833 int res1 = 0 ;
24834 PyObject *swig_obj[1] ;
24835
24836 if (!args) SWIG_fail;
24837 swig_obj[0] = args;
24838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24839 if (!SWIG_IsOK(res1)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24841 }
24842 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 result = (arg1)->GetMarginTopLeft();
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24850 return resultobj;
24851 fail:
24852 return NULL;
24853 }
24854
24855
24856 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24857 PyObject *resultobj = 0;
24858 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24859 wxPoint result;
24860 void *argp1 = 0 ;
24861 int res1 = 0 ;
24862 PyObject *swig_obj[1] ;
24863
24864 if (!args) SWIG_fail;
24865 swig_obj[0] = args;
24866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24867 if (!SWIG_IsOK(res1)) {
24868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24869 }
24870 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24871 {
24872 PyThreadState* __tstate = wxPyBeginAllowThreads();
24873 result = (arg1)->GetMarginBottomRight();
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24878 return resultobj;
24879 fail:
24880 return NULL;
24881 }
24882
24883
24884 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24885 PyObject *resultobj = 0;
24886 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24887 wxPoint result;
24888 void *argp1 = 0 ;
24889 int res1 = 0 ;
24890 PyObject *swig_obj[1] ;
24891
24892 if (!args) SWIG_fail;
24893 swig_obj[0] = args;
24894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24895 if (!SWIG_IsOK(res1)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24897 }
24898 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24899 {
24900 PyThreadState* __tstate = wxPyBeginAllowThreads();
24901 result = (arg1)->GetMinMarginTopLeft();
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24906 return resultobj;
24907 fail:
24908 return NULL;
24909 }
24910
24911
24912 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24913 PyObject *resultobj = 0;
24914 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24915 wxPoint result;
24916 void *argp1 = 0 ;
24917 int res1 = 0 ;
24918 PyObject *swig_obj[1] ;
24919
24920 if (!args) SWIG_fail;
24921 swig_obj[0] = args;
24922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24923 if (!SWIG_IsOK(res1)) {
24924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24925 }
24926 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 result = (arg1)->GetMinMarginBottomRight();
24930 wxPyEndAllowThreads(__tstate);
24931 if (PyErr_Occurred()) SWIG_fail;
24932 }
24933 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24934 return resultobj;
24935 fail:
24936 return NULL;
24937 }
24938
24939
24940 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24941 PyObject *resultobj = 0;
24942 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24943 wxPaperSize result;
24944 void *argp1 = 0 ;
24945 int res1 = 0 ;
24946 PyObject *swig_obj[1] ;
24947
24948 if (!args) SWIG_fail;
24949 swig_obj[0] = args;
24950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24951 if (!SWIG_IsOK(res1)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24953 }
24954 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24955 {
24956 PyThreadState* __tstate = wxPyBeginAllowThreads();
24957 result = (wxPaperSize)(arg1)->GetPaperId();
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 resultobj = SWIG_From_int(static_cast< int >(result));
24962 return resultobj;
24963 fail:
24964 return NULL;
24965 }
24966
24967
24968 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24969 PyObject *resultobj = 0;
24970 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24971 wxSize result;
24972 void *argp1 = 0 ;
24973 int res1 = 0 ;
24974 PyObject *swig_obj[1] ;
24975
24976 if (!args) SWIG_fail;
24977 swig_obj[0] = args;
24978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24979 if (!SWIG_IsOK(res1)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24981 }
24982 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (arg1)->GetPaperSize();
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24997 PyObject *resultobj = 0;
24998 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24999 wxPrintData *result = 0 ;
25000 void *argp1 = 0 ;
25001 int res1 = 0 ;
25002 PyObject *swig_obj[1] ;
25003
25004 if (!args) SWIG_fail;
25005 swig_obj[0] = args;
25006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25007 if (!SWIG_IsOK(res1)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25009 }
25010 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 {
25014 wxPrintData &_result_ref = (arg1)->GetPrintData();
25015 result = (wxPrintData *) &_result_ref;
25016 }
25017 wxPyEndAllowThreads(__tstate);
25018 if (PyErr_Occurred()) SWIG_fail;
25019 }
25020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25021 return resultobj;
25022 fail:
25023 return NULL;
25024 }
25025
25026
25027 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25028 PyObject *resultobj = 0;
25029 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25030 bool result;
25031 void *argp1 = 0 ;
25032 int res1 = 0 ;
25033 PyObject *swig_obj[1] ;
25034
25035 if (!args) SWIG_fail;
25036 swig_obj[0] = args;
25037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25038 if (!SWIG_IsOK(res1)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25040 }
25041 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 result = (bool)(arg1)->Ok();
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 {
25049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25050 }
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj = 0;
25059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25060 bool arg2 ;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 bool val2 ;
25064 int ecode2 = 0 ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 char * kwnames[] = {
25068 (char *) "self",(char *) "flag", NULL
25069 };
25070
25071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25073 if (!SWIG_IsOK(res1)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25075 }
25076 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25077 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25078 if (!SWIG_IsOK(ecode2)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25080 }
25081 arg2 = static_cast< bool >(val2);
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 (arg1)->SetDefaultInfo(arg2);
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_Py_Void();
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj = 0;
25097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25098 bool arg2 ;
25099 void *argp1 = 0 ;
25100 int res1 = 0 ;
25101 bool val2 ;
25102 int ecode2 = 0 ;
25103 PyObject * obj0 = 0 ;
25104 PyObject * obj1 = 0 ;
25105 char * kwnames[] = {
25106 (char *) "self",(char *) "flag", NULL
25107 };
25108
25109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25111 if (!SWIG_IsOK(res1)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25113 }
25114 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25115 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25116 if (!SWIG_IsOK(ecode2)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25118 }
25119 arg2 = static_cast< bool >(val2);
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->SetDefaultMinMargins(arg2);
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 resultobj = SWIG_Py_Void();
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj = 0;
25135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25136 wxPoint *arg2 = 0 ;
25137 void *argp1 = 0 ;
25138 int res1 = 0 ;
25139 wxPoint temp2 ;
25140 PyObject * obj0 = 0 ;
25141 PyObject * obj1 = 0 ;
25142 char * kwnames[] = {
25143 (char *) "self",(char *) "pt", NULL
25144 };
25145
25146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25148 if (!SWIG_IsOK(res1)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 }
25151 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25152 {
25153 arg2 = &temp2;
25154 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25155 }
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_Py_Void();
25163 return resultobj;
25164 fail:
25165 return NULL;
25166 }
25167
25168
25169 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj = 0;
25171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25172 wxPoint *arg2 = 0 ;
25173 void *argp1 = 0 ;
25174 int res1 = 0 ;
25175 wxPoint temp2 ;
25176 PyObject * obj0 = 0 ;
25177 PyObject * obj1 = 0 ;
25178 char * kwnames[] = {
25179 (char *) "self",(char *) "pt", NULL
25180 };
25181
25182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25184 if (!SWIG_IsOK(res1)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25186 }
25187 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25188 {
25189 arg2 = &temp2;
25190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25191 }
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25195 wxPyEndAllowThreads(__tstate);
25196 if (PyErr_Occurred()) SWIG_fail;
25197 }
25198 resultobj = SWIG_Py_Void();
25199 return resultobj;
25200 fail:
25201 return NULL;
25202 }
25203
25204
25205 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25206 PyObject *resultobj = 0;
25207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25208 wxPoint *arg2 = 0 ;
25209 void *argp1 = 0 ;
25210 int res1 = 0 ;
25211 wxPoint temp2 ;
25212 PyObject * obj0 = 0 ;
25213 PyObject * obj1 = 0 ;
25214 char * kwnames[] = {
25215 (char *) "self",(char *) "pt", NULL
25216 };
25217
25218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25222 }
25223 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25224 {
25225 arg2 = &temp2;
25226 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25227 }
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 resultobj = SWIG_Py_Void();
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25242 PyObject *resultobj = 0;
25243 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25244 wxPoint *arg2 = 0 ;
25245 void *argp1 = 0 ;
25246 int res1 = 0 ;
25247 wxPoint temp2 ;
25248 PyObject * obj0 = 0 ;
25249 PyObject * obj1 = 0 ;
25250 char * kwnames[] = {
25251 (char *) "self",(char *) "pt", NULL
25252 };
25253
25254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25256 if (!SWIG_IsOK(res1)) {
25257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25258 }
25259 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25260 {
25261 arg2 = &temp2;
25262 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25263 }
25264 {
25265 PyThreadState* __tstate = wxPyBeginAllowThreads();
25266 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25267 wxPyEndAllowThreads(__tstate);
25268 if (PyErr_Occurred()) SWIG_fail;
25269 }
25270 resultobj = SWIG_Py_Void();
25271 return resultobj;
25272 fail:
25273 return NULL;
25274 }
25275
25276
25277 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25278 PyObject *resultobj = 0;
25279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25280 wxPaperSize arg2 ;
25281 void *argp1 = 0 ;
25282 int res1 = 0 ;
25283 int val2 ;
25284 int ecode2 = 0 ;
25285 PyObject * obj0 = 0 ;
25286 PyObject * obj1 = 0 ;
25287 char * kwnames[] = {
25288 (char *) "self",(char *) "id", NULL
25289 };
25290
25291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25293 if (!SWIG_IsOK(res1)) {
25294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25295 }
25296 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25297 ecode2 = SWIG_AsVal_int(obj1, &val2);
25298 if (!SWIG_IsOK(ecode2)) {
25299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25300 }
25301 arg2 = static_cast< wxPaperSize >(val2);
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 (arg1)->SetPaperId(arg2);
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 resultobj = SWIG_Py_Void();
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj = 0;
25317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25318 wxSize *arg2 = 0 ;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 wxSize temp2 ;
25322 PyObject * obj0 = 0 ;
25323 PyObject * obj1 = 0 ;
25324 char * kwnames[] = {
25325 (char *) "self",(char *) "size", NULL
25326 };
25327
25328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25330 if (!SWIG_IsOK(res1)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25332 }
25333 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25334 {
25335 arg2 = &temp2;
25336 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25337 }
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 (arg1)->SetPaperSize((wxSize const &)*arg2);
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_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25352 PyObject *resultobj = 0;
25353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25354 wxPrintData *arg2 = 0 ;
25355 void *argp1 = 0 ;
25356 int res1 = 0 ;
25357 void *argp2 = 0 ;
25358 int res2 = 0 ;
25359 PyObject * obj0 = 0 ;
25360 PyObject * obj1 = 0 ;
25361 char * kwnames[] = {
25362 (char *) "self",(char *) "printData", NULL
25363 };
25364
25365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25367 if (!SWIG_IsOK(res1)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25369 }
25370 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25371 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25372 if (!SWIG_IsOK(res2)) {
25373 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25374 }
25375 if (!argp2) {
25376 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25377 }
25378 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 resultobj = SWIG_Py_Void();
25386 return resultobj;
25387 fail:
25388 return NULL;
25389 }
25390
25391
25392 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25393 PyObject *resultobj = 0;
25394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25395 void *argp1 = 0 ;
25396 int res1 = 0 ;
25397 PyObject *swig_obj[1] ;
25398
25399 if (!args) SWIG_fail;
25400 swig_obj[0] = args;
25401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25402 if (!SWIG_IsOK(res1)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25404 }
25405 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 (arg1)->CalculateIdFromPaperSize();
25409 wxPyEndAllowThreads(__tstate);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 resultobj = SWIG_Py_Void();
25413 return resultobj;
25414 fail:
25415 return NULL;
25416 }
25417
25418
25419 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25420 PyObject *resultobj = 0;
25421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25422 void *argp1 = 0 ;
25423 int res1 = 0 ;
25424 PyObject *swig_obj[1] ;
25425
25426 if (!args) SWIG_fail;
25427 swig_obj[0] = args;
25428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25429 if (!SWIG_IsOK(res1)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 }
25432 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25433 {
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 (arg1)->CalculatePaperSizeFromId();
25436 wxPyEndAllowThreads(__tstate);
25437 if (PyErr_Occurred()) SWIG_fail;
25438 }
25439 resultobj = SWIG_Py_Void();
25440 return resultobj;
25441 fail:
25442 return NULL;
25443 }
25444
25445
25446 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25447 PyObject *obj;
25448 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25450 return SWIG_Py_Void();
25451 }
25452
25453 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25454 return SWIG_Python_InitShadowInstance(args);
25455 }
25456
25457 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25458 PyObject *resultobj = 0;
25459 wxWindow *arg1 = (wxWindow *) 0 ;
25460 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25461 wxPageSetupDialog *result = 0 ;
25462 void *argp1 = 0 ;
25463 int res1 = 0 ;
25464 void *argp2 = 0 ;
25465 int res2 = 0 ;
25466 PyObject * obj0 = 0 ;
25467 PyObject * obj1 = 0 ;
25468 char * kwnames[] = {
25469 (char *) "parent",(char *) "data", NULL
25470 };
25471
25472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25474 if (!SWIG_IsOK(res1)) {
25475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25476 }
25477 arg1 = reinterpret_cast< wxWindow * >(argp1);
25478 if (obj1) {
25479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25480 if (!SWIG_IsOK(res2)) {
25481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25482 }
25483 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25484 }
25485 {
25486 if (!wxPyCheckForApp()) SWIG_fail;
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25493 return resultobj;
25494 fail:
25495 return NULL;
25496 }
25497
25498
25499 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25500 PyObject *resultobj = 0;
25501 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25502 wxPageSetupDialogData *result = 0 ;
25503 void *argp1 = 0 ;
25504 int res1 = 0 ;
25505 PyObject *swig_obj[1] ;
25506
25507 if (!args) SWIG_fail;
25508 swig_obj[0] = args;
25509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25510 if (!SWIG_IsOK(res1)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25512 }
25513 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 {
25517 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25518 result = (wxPageSetupDialogData *) &_result_ref;
25519 }
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25531 PyObject *resultobj = 0;
25532 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25533 wxPageSetupDialogData *result = 0 ;
25534 void *argp1 = 0 ;
25535 int res1 = 0 ;
25536 PyObject *swig_obj[1] ;
25537
25538 if (!args) SWIG_fail;
25539 swig_obj[0] = args;
25540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25541 if (!SWIG_IsOK(res1)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25543 }
25544 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25545 {
25546 PyThreadState* __tstate = wxPyBeginAllowThreads();
25547 {
25548 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25549 result = (wxPageSetupDialogData *) &_result_ref;
25550 }
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25555 return resultobj;
25556 fail:
25557 return NULL;
25558 }
25559
25560
25561 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25562 PyObject *resultobj = 0;
25563 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25564 int result;
25565 void *argp1 = 0 ;
25566 int res1 = 0 ;
25567 PyObject *swig_obj[1] ;
25568
25569 if (!args) SWIG_fail;
25570 swig_obj[0] = args;
25571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25572 if (!SWIG_IsOK(res1)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25574 }
25575 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 result = (int)(arg1)->ShowModal();
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 resultobj = SWIG_From_int(static_cast< int >(result));
25583 return resultobj;
25584 fail:
25585 return NULL;
25586 }
25587
25588
25589 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25590 PyObject *obj;
25591 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25592 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25593 return SWIG_Py_Void();
25594 }
25595
25596 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25597 return SWIG_Python_InitShadowInstance(args);
25598 }
25599
25600 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25601 PyObject *resultobj = 0;
25602 wxPrintDialogData *result = 0 ;
25603
25604 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 result = (wxPrintDialogData *)new wxPrintDialogData();
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25612 return resultobj;
25613 fail:
25614 return NULL;
25615 }
25616
25617
25618 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25619 PyObject *resultobj = 0;
25620 wxPrintData *arg1 = 0 ;
25621 wxPrintDialogData *result = 0 ;
25622 void *argp1 = 0 ;
25623 int res1 = 0 ;
25624
25625 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25627 if (!SWIG_IsOK(res1)) {
25628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25629 }
25630 if (!argp1) {
25631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25632 }
25633 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25637 wxPyEndAllowThreads(__tstate);
25638 if (PyErr_Occurred()) SWIG_fail;
25639 }
25640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25641 return resultobj;
25642 fail:
25643 return NULL;
25644 }
25645
25646
25647 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25648 PyObject *resultobj = 0;
25649 wxPrintDialogData *arg1 = 0 ;
25650 wxPrintDialogData *result = 0 ;
25651 void *argp1 = 0 ;
25652 int res1 = 0 ;
25653
25654 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25656 if (!SWIG_IsOK(res1)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25658 }
25659 if (!argp1) {
25660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25661 }
25662 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25663 {
25664 PyThreadState* __tstate = wxPyBeginAllowThreads();
25665 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25670 return resultobj;
25671 fail:
25672 return NULL;
25673 }
25674
25675
25676 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25677 int argc;
25678 PyObject *argv[2];
25679
25680 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25681 --argc;
25682 if (argc == 0) {
25683 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25684 }
25685 if (argc == 1) {
25686 int _v = 0;
25687 {
25688 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25689 _v = SWIG_CheckState(res);
25690 }
25691 if (!_v) goto check_2;
25692 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25693 }
25694 check_2:
25695
25696 if (argc == 1) {
25697 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25698 }
25699
25700 fail:
25701 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25702 return NULL;
25703 }
25704
25705
25706 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25707 PyObject *resultobj = 0;
25708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25709 void *argp1 = 0 ;
25710 int res1 = 0 ;
25711 PyObject *swig_obj[1] ;
25712
25713 if (!args) SWIG_fail;
25714 swig_obj[0] = args;
25715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25716 if (!SWIG_IsOK(res1)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25718 }
25719 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 delete arg1;
25723
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 resultobj = SWIG_Py_Void();
25728 return resultobj;
25729 fail:
25730 return NULL;
25731 }
25732
25733
25734 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25735 PyObject *resultobj = 0;
25736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25737 int result;
25738 void *argp1 = 0 ;
25739 int res1 = 0 ;
25740 PyObject *swig_obj[1] ;
25741
25742 if (!args) SWIG_fail;
25743 swig_obj[0] = args;
25744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25745 if (!SWIG_IsOK(res1)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25747 }
25748 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 resultobj = SWIG_From_int(static_cast< int >(result));
25756 return resultobj;
25757 fail:
25758 return NULL;
25759 }
25760
25761
25762 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25763 PyObject *resultobj = 0;
25764 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25765 int result;
25766 void *argp1 = 0 ;
25767 int res1 = 0 ;
25768 PyObject *swig_obj[1] ;
25769
25770 if (!args) SWIG_fail;
25771 swig_obj[0] = args;
25772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25773 if (!SWIG_IsOK(res1)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25775 }
25776 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25777 {
25778 PyThreadState* __tstate = wxPyBeginAllowThreads();
25779 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 resultobj = SWIG_From_int(static_cast< int >(result));
25784 return resultobj;
25785 fail:
25786 return NULL;
25787 }
25788
25789
25790 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25791 PyObject *resultobj = 0;
25792 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25793 int result;
25794 void *argp1 = 0 ;
25795 int res1 = 0 ;
25796 PyObject *swig_obj[1] ;
25797
25798 if (!args) SWIG_fail;
25799 swig_obj[0] = args;
25800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25801 if (!SWIG_IsOK(res1)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25803 }
25804 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25805 {
25806 PyThreadState* __tstate = wxPyBeginAllowThreads();
25807 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 resultobj = SWIG_From_int(static_cast< int >(result));
25812 return resultobj;
25813 fail:
25814 return NULL;
25815 }
25816
25817
25818 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25819 PyObject *resultobj = 0;
25820 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25821 int result;
25822 void *argp1 = 0 ;
25823 int res1 = 0 ;
25824 PyObject *swig_obj[1] ;
25825
25826 if (!args) SWIG_fail;
25827 swig_obj[0] = args;
25828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25829 if (!SWIG_IsOK(res1)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25831 }
25832 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25833 {
25834 PyThreadState* __tstate = wxPyBeginAllowThreads();
25835 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25836 wxPyEndAllowThreads(__tstate);
25837 if (PyErr_Occurred()) SWIG_fail;
25838 }
25839 resultobj = SWIG_From_int(static_cast< int >(result));
25840 return resultobj;
25841 fail:
25842 return NULL;
25843 }
25844
25845
25846 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25847 PyObject *resultobj = 0;
25848 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25849 int result;
25850 void *argp1 = 0 ;
25851 int res1 = 0 ;
25852 PyObject *swig_obj[1] ;
25853
25854 if (!args) SWIG_fail;
25855 swig_obj[0] = args;
25856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25857 if (!SWIG_IsOK(res1)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25859 }
25860 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25861 {
25862 PyThreadState* __tstate = wxPyBeginAllowThreads();
25863 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 resultobj = SWIG_From_int(static_cast< int >(result));
25868 return resultobj;
25869 fail:
25870 return NULL;
25871 }
25872
25873
25874 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25875 PyObject *resultobj = 0;
25876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25877 bool result;
25878 void *argp1 = 0 ;
25879 int res1 = 0 ;
25880 PyObject *swig_obj[1] ;
25881
25882 if (!args) SWIG_fail;
25883 swig_obj[0] = args;
25884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25885 if (!SWIG_IsOK(res1)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25887 }
25888 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 {
25896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25897 }
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25905 PyObject *resultobj = 0;
25906 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25907 bool result;
25908 void *argp1 = 0 ;
25909 int res1 = 0 ;
25910 PyObject *swig_obj[1] ;
25911
25912 if (!args) SWIG_fail;
25913 swig_obj[0] = args;
25914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25915 if (!SWIG_IsOK(res1)) {
25916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25917 }
25918 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25919 {
25920 PyThreadState* __tstate = wxPyBeginAllowThreads();
25921 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 {
25926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25927 }
25928 return resultobj;
25929 fail:
25930 return NULL;
25931 }
25932
25933
25934 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25935 PyObject *resultobj = 0;
25936 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25937 bool result;
25938 void *argp1 = 0 ;
25939 int res1 = 0 ;
25940 PyObject *swig_obj[1] ;
25941
25942 if (!args) SWIG_fail;
25943 swig_obj[0] = args;
25944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25945 if (!SWIG_IsOK(res1)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25947 }
25948 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 {
25956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25957 }
25958 return resultobj;
25959 fail:
25960 return NULL;
25961 }
25962
25963
25964 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25965 PyObject *resultobj = 0;
25966 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25967 bool result;
25968 void *argp1 = 0 ;
25969 int res1 = 0 ;
25970 PyObject *swig_obj[1] ;
25971
25972 if (!args) SWIG_fail;
25973 swig_obj[0] = args;
25974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25975 if (!SWIG_IsOK(res1)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25977 }
25978 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25979 {
25980 PyThreadState* __tstate = wxPyBeginAllowThreads();
25981 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 {
25986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25987 }
25988 return resultobj;
25989 fail:
25990 return NULL;
25991 }
25992
25993
25994 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25995 PyObject *resultobj = 0;
25996 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25997 int arg2 ;
25998 void *argp1 = 0 ;
25999 int res1 = 0 ;
26000 int val2 ;
26001 int ecode2 = 0 ;
26002 PyObject * obj0 = 0 ;
26003 PyObject * obj1 = 0 ;
26004 char * kwnames[] = {
26005 (char *) "self",(char *) "v", NULL
26006 };
26007
26008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26010 if (!SWIG_IsOK(res1)) {
26011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26012 }
26013 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26014 ecode2 = SWIG_AsVal_int(obj1, &val2);
26015 if (!SWIG_IsOK(ecode2)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26017 }
26018 arg2 = static_cast< int >(val2);
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 (arg1)->SetFromPage(arg2);
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 resultobj = SWIG_Py_Void();
26026 return resultobj;
26027 fail:
26028 return NULL;
26029 }
26030
26031
26032 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26033 PyObject *resultobj = 0;
26034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26035 int arg2 ;
26036 void *argp1 = 0 ;
26037 int res1 = 0 ;
26038 int val2 ;
26039 int ecode2 = 0 ;
26040 PyObject * obj0 = 0 ;
26041 PyObject * obj1 = 0 ;
26042 char * kwnames[] = {
26043 (char *) "self",(char *) "v", NULL
26044 };
26045
26046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26048 if (!SWIG_IsOK(res1)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26050 }
26051 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26052 ecode2 = SWIG_AsVal_int(obj1, &val2);
26053 if (!SWIG_IsOK(ecode2)) {
26054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26055 }
26056 arg2 = static_cast< int >(val2);
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 (arg1)->SetToPage(arg2);
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 resultobj = SWIG_Py_Void();
26064 return resultobj;
26065 fail:
26066 return NULL;
26067 }
26068
26069
26070 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj = 0;
26072 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26073 int arg2 ;
26074 void *argp1 = 0 ;
26075 int res1 = 0 ;
26076 int val2 ;
26077 int ecode2 = 0 ;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 char * kwnames[] = {
26081 (char *) "self",(char *) "v", NULL
26082 };
26083
26084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26086 if (!SWIG_IsOK(res1)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26088 }
26089 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26090 ecode2 = SWIG_AsVal_int(obj1, &val2);
26091 if (!SWIG_IsOK(ecode2)) {
26092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26093 }
26094 arg2 = static_cast< int >(val2);
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 (arg1)->SetMinPage(arg2);
26098 wxPyEndAllowThreads(__tstate);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 }
26101 resultobj = SWIG_Py_Void();
26102 return resultobj;
26103 fail:
26104 return NULL;
26105 }
26106
26107
26108 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26109 PyObject *resultobj = 0;
26110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26111 int arg2 ;
26112 void *argp1 = 0 ;
26113 int res1 = 0 ;
26114 int val2 ;
26115 int ecode2 = 0 ;
26116 PyObject * obj0 = 0 ;
26117 PyObject * obj1 = 0 ;
26118 char * kwnames[] = {
26119 (char *) "self",(char *) "v", NULL
26120 };
26121
26122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26124 if (!SWIG_IsOK(res1)) {
26125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26126 }
26127 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26128 ecode2 = SWIG_AsVal_int(obj1, &val2);
26129 if (!SWIG_IsOK(ecode2)) {
26130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26131 }
26132 arg2 = static_cast< int >(val2);
26133 {
26134 PyThreadState* __tstate = wxPyBeginAllowThreads();
26135 (arg1)->SetMaxPage(arg2);
26136 wxPyEndAllowThreads(__tstate);
26137 if (PyErr_Occurred()) SWIG_fail;
26138 }
26139 resultobj = SWIG_Py_Void();
26140 return resultobj;
26141 fail:
26142 return NULL;
26143 }
26144
26145
26146 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26147 PyObject *resultobj = 0;
26148 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26149 int arg2 ;
26150 void *argp1 = 0 ;
26151 int res1 = 0 ;
26152 int val2 ;
26153 int ecode2 = 0 ;
26154 PyObject * obj0 = 0 ;
26155 PyObject * obj1 = 0 ;
26156 char * kwnames[] = {
26157 (char *) "self",(char *) "v", NULL
26158 };
26159
26160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26162 if (!SWIG_IsOK(res1)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26164 }
26165 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26166 ecode2 = SWIG_AsVal_int(obj1, &val2);
26167 if (!SWIG_IsOK(ecode2)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26169 }
26170 arg2 = static_cast< int >(val2);
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 (arg1)->SetNoCopies(arg2);
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 resultobj = SWIG_Py_Void();
26178 return resultobj;
26179 fail:
26180 return NULL;
26181 }
26182
26183
26184 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26185 PyObject *resultobj = 0;
26186 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26187 bool arg2 ;
26188 void *argp1 = 0 ;
26189 int res1 = 0 ;
26190 bool val2 ;
26191 int ecode2 = 0 ;
26192 PyObject * obj0 = 0 ;
26193 PyObject * obj1 = 0 ;
26194 char * kwnames[] = {
26195 (char *) "self",(char *) "flag", NULL
26196 };
26197
26198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26200 if (!SWIG_IsOK(res1)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26202 }
26203 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26204 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26205 if (!SWIG_IsOK(ecode2)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26207 }
26208 arg2 = static_cast< bool >(val2);
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 (arg1)->SetAllPages(arg2);
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = SWIG_Py_Void();
26216 return resultobj;
26217 fail:
26218 return NULL;
26219 }
26220
26221
26222 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj = 0;
26224 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26225 bool arg2 ;
26226 void *argp1 = 0 ;
26227 int res1 = 0 ;
26228 bool val2 ;
26229 int ecode2 = 0 ;
26230 PyObject * obj0 = 0 ;
26231 PyObject * obj1 = 0 ;
26232 char * kwnames[] = {
26233 (char *) "self",(char *) "flag", NULL
26234 };
26235
26236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26238 if (!SWIG_IsOK(res1)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26240 }
26241 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26242 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26243 if (!SWIG_IsOK(ecode2)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26245 }
26246 arg2 = static_cast< bool >(val2);
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 (arg1)->SetSelection(arg2);
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 resultobj = SWIG_Py_Void();
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj = 0;
26262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26263 bool arg2 ;
26264 void *argp1 = 0 ;
26265 int res1 = 0 ;
26266 bool val2 ;
26267 int ecode2 = 0 ;
26268 PyObject * obj0 = 0 ;
26269 PyObject * obj1 = 0 ;
26270 char * kwnames[] = {
26271 (char *) "self",(char *) "flag", NULL
26272 };
26273
26274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26276 if (!SWIG_IsOK(res1)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26278 }
26279 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26280 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26281 if (!SWIG_IsOK(ecode2)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26283 }
26284 arg2 = static_cast< bool >(val2);
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 (arg1)->SetCollate(arg2);
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 resultobj = SWIG_Py_Void();
26292 return resultobj;
26293 fail:
26294 return NULL;
26295 }
26296
26297
26298 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26299 PyObject *resultobj = 0;
26300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26301 bool arg2 ;
26302 void *argp1 = 0 ;
26303 int res1 = 0 ;
26304 bool val2 ;
26305 int ecode2 = 0 ;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 char * kwnames[] = {
26309 (char *) "self",(char *) "flag", NULL
26310 };
26311
26312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26314 if (!SWIG_IsOK(res1)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26316 }
26317 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26318 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26319 if (!SWIG_IsOK(ecode2)) {
26320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26321 }
26322 arg2 = static_cast< bool >(val2);
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 (arg1)->SetPrintToFile(arg2);
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 resultobj = SWIG_Py_Void();
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj = 0;
26338 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26339 bool arg2 ;
26340 void *argp1 = 0 ;
26341 int res1 = 0 ;
26342 bool val2 ;
26343 int ecode2 = 0 ;
26344 PyObject * obj0 = 0 ;
26345 PyObject * obj1 = 0 ;
26346 char * kwnames[] = {
26347 (char *) "self",(char *) "flag", NULL
26348 };
26349
26350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26352 if (!SWIG_IsOK(res1)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26354 }
26355 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26356 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26357 if (!SWIG_IsOK(ecode2)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26359 }
26360 arg2 = static_cast< bool >(val2);
26361 {
26362 PyThreadState* __tstate = wxPyBeginAllowThreads();
26363 (arg1)->EnablePrintToFile(arg2);
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 resultobj = SWIG_Py_Void();
26368 return resultobj;
26369 fail:
26370 return NULL;
26371 }
26372
26373
26374 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26375 PyObject *resultobj = 0;
26376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26377 bool arg2 ;
26378 void *argp1 = 0 ;
26379 int res1 = 0 ;
26380 bool val2 ;
26381 int ecode2 = 0 ;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char * kwnames[] = {
26385 (char *) "self",(char *) "flag", NULL
26386 };
26387
26388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26390 if (!SWIG_IsOK(res1)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26392 }
26393 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26394 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26395 if (!SWIG_IsOK(ecode2)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26397 }
26398 arg2 = static_cast< bool >(val2);
26399 {
26400 PyThreadState* __tstate = wxPyBeginAllowThreads();
26401 (arg1)->EnableSelection(arg2);
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 resultobj = SWIG_Py_Void();
26406 return resultobj;
26407 fail:
26408 return NULL;
26409 }
26410
26411
26412 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26413 PyObject *resultobj = 0;
26414 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26415 bool arg2 ;
26416 void *argp1 = 0 ;
26417 int res1 = 0 ;
26418 bool val2 ;
26419 int ecode2 = 0 ;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 char * kwnames[] = {
26423 (char *) "self",(char *) "flag", NULL
26424 };
26425
26426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26428 if (!SWIG_IsOK(res1)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26430 }
26431 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26432 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26433 if (!SWIG_IsOK(ecode2)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26435 }
26436 arg2 = static_cast< bool >(val2);
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 (arg1)->EnablePageNumbers(arg2);
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 resultobj = SWIG_Py_Void();
26444 return resultobj;
26445 fail:
26446 return NULL;
26447 }
26448
26449
26450 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26451 PyObject *resultobj = 0;
26452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26453 bool arg2 ;
26454 void *argp1 = 0 ;
26455 int res1 = 0 ;
26456 bool val2 ;
26457 int ecode2 = 0 ;
26458 PyObject * obj0 = 0 ;
26459 PyObject * obj1 = 0 ;
26460 char * kwnames[] = {
26461 (char *) "self",(char *) "flag", NULL
26462 };
26463
26464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26466 if (!SWIG_IsOK(res1)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26468 }
26469 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26470 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26471 if (!SWIG_IsOK(ecode2)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26473 }
26474 arg2 = static_cast< bool >(val2);
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 (arg1)->EnableHelp(arg2);
26478 wxPyEndAllowThreads(__tstate);
26479 if (PyErr_Occurred()) SWIG_fail;
26480 }
26481 resultobj = SWIG_Py_Void();
26482 return resultobj;
26483 fail:
26484 return NULL;
26485 }
26486
26487
26488 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26489 PyObject *resultobj = 0;
26490 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26491 bool result;
26492 void *argp1 = 0 ;
26493 int res1 = 0 ;
26494 PyObject *swig_obj[1] ;
26495
26496 if (!args) SWIG_fail;
26497 swig_obj[0] = args;
26498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26499 if (!SWIG_IsOK(res1)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26501 }
26502 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 {
26510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26511 }
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26519 PyObject *resultobj = 0;
26520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26521 bool result;
26522 void *argp1 = 0 ;
26523 int res1 = 0 ;
26524 PyObject *swig_obj[1] ;
26525
26526 if (!args) SWIG_fail;
26527 swig_obj[0] = args;
26528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26529 if (!SWIG_IsOK(res1)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26531 }
26532 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 {
26540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26541 }
26542 return resultobj;
26543 fail:
26544 return NULL;
26545 }
26546
26547
26548 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26549 PyObject *resultobj = 0;
26550 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26551 bool result;
26552 void *argp1 = 0 ;
26553 int res1 = 0 ;
26554 PyObject *swig_obj[1] ;
26555
26556 if (!args) SWIG_fail;
26557 swig_obj[0] = args;
26558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26559 if (!SWIG_IsOK(res1)) {
26560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26561 }
26562 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26563 {
26564 PyThreadState* __tstate = wxPyBeginAllowThreads();
26565 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26566 wxPyEndAllowThreads(__tstate);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 }
26569 {
26570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26571 }
26572 return resultobj;
26573 fail:
26574 return NULL;
26575 }
26576
26577
26578 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26579 PyObject *resultobj = 0;
26580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26581 bool result;
26582 void *argp1 = 0 ;
26583 int res1 = 0 ;
26584 PyObject *swig_obj[1] ;
26585
26586 if (!args) SWIG_fail;
26587 swig_obj[0] = args;
26588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26589 if (!SWIG_IsOK(res1)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26591 }
26592 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26593 {
26594 PyThreadState* __tstate = wxPyBeginAllowThreads();
26595 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26596 wxPyEndAllowThreads(__tstate);
26597 if (PyErr_Occurred()) SWIG_fail;
26598 }
26599 {
26600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26601 }
26602 return resultobj;
26603 fail:
26604 return NULL;
26605 }
26606
26607
26608 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26609 PyObject *resultobj = 0;
26610 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26611 bool result;
26612 void *argp1 = 0 ;
26613 int res1 = 0 ;
26614 PyObject *swig_obj[1] ;
26615
26616 if (!args) SWIG_fail;
26617 swig_obj[0] = args;
26618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26619 if (!SWIG_IsOK(res1)) {
26620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26621 }
26622 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 {
26630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26631 }
26632 return resultobj;
26633 fail:
26634 return NULL;
26635 }
26636
26637
26638 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26639 PyObject *resultobj = 0;
26640 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26641 wxPrintData *result = 0 ;
26642 void *argp1 = 0 ;
26643 int res1 = 0 ;
26644 PyObject *swig_obj[1] ;
26645
26646 if (!args) SWIG_fail;
26647 swig_obj[0] = args;
26648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26649 if (!SWIG_IsOK(res1)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26651 }
26652 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26653 {
26654 PyThreadState* __tstate = wxPyBeginAllowThreads();
26655 {
26656 wxPrintData &_result_ref = (arg1)->GetPrintData();
26657 result = (wxPrintData *) &_result_ref;
26658 }
26659 wxPyEndAllowThreads(__tstate);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 }
26662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26663 return resultobj;
26664 fail:
26665 return NULL;
26666 }
26667
26668
26669 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26670 PyObject *resultobj = 0;
26671 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26672 wxPrintData *arg2 = 0 ;
26673 void *argp1 = 0 ;
26674 int res1 = 0 ;
26675 void *argp2 = 0 ;
26676 int res2 = 0 ;
26677 PyObject * obj0 = 0 ;
26678 PyObject * obj1 = 0 ;
26679 char * kwnames[] = {
26680 (char *) "self",(char *) "printData", NULL
26681 };
26682
26683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26685 if (!SWIG_IsOK(res1)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26687 }
26688 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26689 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26690 if (!SWIG_IsOK(res2)) {
26691 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26692 }
26693 if (!argp2) {
26694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26695 }
26696 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26697 {
26698 PyThreadState* __tstate = wxPyBeginAllowThreads();
26699 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26700 wxPyEndAllowThreads(__tstate);
26701 if (PyErr_Occurred()) SWIG_fail;
26702 }
26703 resultobj = SWIG_Py_Void();
26704 return resultobj;
26705 fail:
26706 return NULL;
26707 }
26708
26709
26710 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26711 PyObject *obj;
26712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26714 return SWIG_Py_Void();
26715 }
26716
26717 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26718 return SWIG_Python_InitShadowInstance(args);
26719 }
26720
26721 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26722 PyObject *resultobj = 0;
26723 wxWindow *arg1 = (wxWindow *) 0 ;
26724 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26725 wxPrintDialog *result = 0 ;
26726 void *argp1 = 0 ;
26727 int res1 = 0 ;
26728 void *argp2 = 0 ;
26729 int res2 = 0 ;
26730 PyObject * obj0 = 0 ;
26731 PyObject * obj1 = 0 ;
26732 char * kwnames[] = {
26733 (char *) "parent",(char *) "data", NULL
26734 };
26735
26736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26738 if (!SWIG_IsOK(res1)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26740 }
26741 arg1 = reinterpret_cast< wxWindow * >(argp1);
26742 if (obj1) {
26743 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26744 if (!SWIG_IsOK(res2)) {
26745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26746 }
26747 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26748 }
26749 {
26750 if (!wxPyCheckForApp()) SWIG_fail;
26751 PyThreadState* __tstate = wxPyBeginAllowThreads();
26752 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26764 PyObject *resultobj = 0;
26765 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26766 int result;
26767 void *argp1 = 0 ;
26768 int res1 = 0 ;
26769 PyObject *swig_obj[1] ;
26770
26771 if (!args) SWIG_fail;
26772 swig_obj[0] = args;
26773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26774 if (!SWIG_IsOK(res1)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26776 }
26777 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 result = (int)(arg1)->ShowModal();
26781 wxPyEndAllowThreads(__tstate);
26782 if (PyErr_Occurred()) SWIG_fail;
26783 }
26784 resultobj = SWIG_From_int(static_cast< int >(result));
26785 return resultobj;
26786 fail:
26787 return NULL;
26788 }
26789
26790
26791 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26792 PyObject *resultobj = 0;
26793 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26794 wxPrintDialogData *result = 0 ;
26795 void *argp1 = 0 ;
26796 int res1 = 0 ;
26797 PyObject *swig_obj[1] ;
26798
26799 if (!args) SWIG_fail;
26800 swig_obj[0] = args;
26801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26802 if (!SWIG_IsOK(res1)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26804 }
26805 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26806 {
26807 PyThreadState* __tstate = wxPyBeginAllowThreads();
26808 {
26809 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26810 result = (wxPrintDialogData *) &_result_ref;
26811 }
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26816 return resultobj;
26817 fail:
26818 return NULL;
26819 }
26820
26821
26822 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26823 PyObject *resultobj = 0;
26824 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26825 wxPrintData *result = 0 ;
26826 void *argp1 = 0 ;
26827 int res1 = 0 ;
26828 PyObject *swig_obj[1] ;
26829
26830 if (!args) SWIG_fail;
26831 swig_obj[0] = args;
26832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26833 if (!SWIG_IsOK(res1)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26835 }
26836 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26837 {
26838 PyThreadState* __tstate = wxPyBeginAllowThreads();
26839 {
26840 wxPrintData &_result_ref = (arg1)->GetPrintData();
26841 result = (wxPrintData *) &_result_ref;
26842 }
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26847 return resultobj;
26848 fail:
26849 return NULL;
26850 }
26851
26852
26853 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26854 PyObject *resultobj = 0;
26855 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26856 wxDC *result = 0 ;
26857 void *argp1 = 0 ;
26858 int res1 = 0 ;
26859 PyObject *swig_obj[1] ;
26860
26861 if (!args) SWIG_fail;
26862 swig_obj[0] = args;
26863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26864 if (!SWIG_IsOK(res1)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26866 }
26867 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26868 {
26869 PyThreadState* __tstate = wxPyBeginAllowThreads();
26870 result = (wxDC *)(arg1)->GetPrintDC();
26871 wxPyEndAllowThreads(__tstate);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 }
26874 {
26875 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26876 }
26877 return resultobj;
26878 fail:
26879 return NULL;
26880 }
26881
26882
26883 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26884 PyObject *obj;
26885 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26887 return SWIG_Py_Void();
26888 }
26889
26890 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26891 return SWIG_Python_InitShadowInstance(args);
26892 }
26893
26894 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj = 0;
26896 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26897 wxPrinter *result = 0 ;
26898 void *argp1 = 0 ;
26899 int res1 = 0 ;
26900 PyObject * obj0 = 0 ;
26901 char * kwnames[] = {
26902 (char *) "data", NULL
26903 };
26904
26905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26906 if (obj0) {
26907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26908 if (!SWIG_IsOK(res1)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26910 }
26911 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26912 }
26913 {
26914 if (!wxPyCheckForApp()) SWIG_fail;
26915 PyThreadState* __tstate = wxPyBeginAllowThreads();
26916 result = (wxPrinter *)new wxPrinter(arg1);
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26921 return resultobj;
26922 fail:
26923 return NULL;
26924 }
26925
26926
26927 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26928 PyObject *resultobj = 0;
26929 wxPrinter *arg1 = (wxPrinter *) 0 ;
26930 void *argp1 = 0 ;
26931 int res1 = 0 ;
26932 PyObject *swig_obj[1] ;
26933
26934 if (!args) SWIG_fail;
26935 swig_obj[0] = args;
26936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26937 if (!SWIG_IsOK(res1)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26939 }
26940 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 delete arg1;
26944
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_Py_Void();
26949 return resultobj;
26950 fail:
26951 return NULL;
26952 }
26953
26954
26955 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrinter *arg1 = (wxPrinter *) 0 ;
26958 wxWindow *arg2 = (wxWindow *) 0 ;
26959 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
26960 wxWindow *result = 0 ;
26961 void *argp1 = 0 ;
26962 int res1 = 0 ;
26963 void *argp2 = 0 ;
26964 int res2 = 0 ;
26965 void *argp3 = 0 ;
26966 int res3 = 0 ;
26967 PyObject * obj0 = 0 ;
26968 PyObject * obj1 = 0 ;
26969 PyObject * obj2 = 0 ;
26970 char * kwnames[] = {
26971 (char *) "self",(char *) "parent",(char *) "printout", NULL
26972 };
26973
26974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
26976 if (!SWIG_IsOK(res1)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26978 }
26979 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26980 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26981 if (!SWIG_IsOK(res2)) {
26982 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26983 }
26984 arg2 = reinterpret_cast< wxWindow * >(argp2);
26985 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
26986 if (!SWIG_IsOK(res3)) {
26987 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26988 }
26989 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
26990 {
26991 PyThreadState* __tstate = wxPyBeginAllowThreads();
26992 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
26993 wxPyEndAllowThreads(__tstate);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 {
26997 resultobj = wxPyMake_wxObject(result, 0);
26998 }
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj = 0;
27007 wxPrinter *arg1 = (wxPrinter *) 0 ;
27008 wxWindow *arg2 = (wxWindow *) 0 ;
27009 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27010 wxString *arg4 = 0 ;
27011 void *argp1 = 0 ;
27012 int res1 = 0 ;
27013 void *argp2 = 0 ;
27014 int res2 = 0 ;
27015 void *argp3 = 0 ;
27016 int res3 = 0 ;
27017 bool temp4 = false ;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 PyObject * obj2 = 0 ;
27021 PyObject * obj3 = 0 ;
27022 char * kwnames[] = {
27023 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27024 };
27025
27026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27028 if (!SWIG_IsOK(res1)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27030 }
27031 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27032 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27033 if (!SWIG_IsOK(res2)) {
27034 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27035 }
27036 arg2 = reinterpret_cast< wxWindow * >(argp2);
27037 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27038 if (!SWIG_IsOK(res3)) {
27039 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27040 }
27041 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27042 {
27043 arg4 = wxString_in_helper(obj3);
27044 if (arg4 == NULL) SWIG_fail;
27045 temp4 = true;
27046 }
27047 {
27048 PyThreadState* __tstate = wxPyBeginAllowThreads();
27049 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27050 wxPyEndAllowThreads(__tstate);
27051 if (PyErr_Occurred()) SWIG_fail;
27052 }
27053 resultobj = SWIG_Py_Void();
27054 {
27055 if (temp4)
27056 delete arg4;
27057 }
27058 return resultobj;
27059 fail:
27060 {
27061 if (temp4)
27062 delete arg4;
27063 }
27064 return NULL;
27065 }
27066
27067
27068 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj = 0;
27070 wxPrinter *arg1 = (wxPrinter *) 0 ;
27071 wxWindow *arg2 = (wxWindow *) 0 ;
27072 bool result;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 void *argp2 = 0 ;
27076 int res2 = 0 ;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079 char * kwnames[] = {
27080 (char *) "self",(char *) "parent", NULL
27081 };
27082
27083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27085 if (!SWIG_IsOK(res1)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27087 }
27088 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27089 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27090 if (!SWIG_IsOK(res2)) {
27091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27092 }
27093 arg2 = reinterpret_cast< wxWindow * >(argp2);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 result = (bool)(arg1)->Setup(arg2);
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 {
27101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27102 }
27103 return resultobj;
27104 fail:
27105 return NULL;
27106 }
27107
27108
27109 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27110 PyObject *resultobj = 0;
27111 wxPrinter *arg1 = (wxPrinter *) 0 ;
27112 wxWindow *arg2 = (wxWindow *) 0 ;
27113 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27114 bool arg4 = (bool) true ;
27115 bool result;
27116 void *argp1 = 0 ;
27117 int res1 = 0 ;
27118 void *argp2 = 0 ;
27119 int res2 = 0 ;
27120 void *argp3 = 0 ;
27121 int res3 = 0 ;
27122 bool val4 ;
27123 int ecode4 = 0 ;
27124 PyObject * obj0 = 0 ;
27125 PyObject * obj1 = 0 ;
27126 PyObject * obj2 = 0 ;
27127 PyObject * obj3 = 0 ;
27128 char * kwnames[] = {
27129 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27130 };
27131
27132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27134 if (!SWIG_IsOK(res1)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27136 }
27137 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27139 if (!SWIG_IsOK(res2)) {
27140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27141 }
27142 arg2 = reinterpret_cast< wxWindow * >(argp2);
27143 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27144 if (!SWIG_IsOK(res3)) {
27145 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27146 }
27147 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27148 if (obj3) {
27149 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27150 if (!SWIG_IsOK(ecode4)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27152 }
27153 arg4 = static_cast< bool >(val4);
27154 }
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 {
27162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27163 }
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj = 0;
27172 wxPrinter *arg1 = (wxPrinter *) 0 ;
27173 wxWindow *arg2 = (wxWindow *) 0 ;
27174 wxDC *result = 0 ;
27175 void *argp1 = 0 ;
27176 int res1 = 0 ;
27177 void *argp2 = 0 ;
27178 int res2 = 0 ;
27179 PyObject * obj0 = 0 ;
27180 PyObject * obj1 = 0 ;
27181 char * kwnames[] = {
27182 (char *) "self",(char *) "parent", NULL
27183 };
27184
27185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27187 if (!SWIG_IsOK(res1)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27189 }
27190 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27192 if (!SWIG_IsOK(res2)) {
27193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27194 }
27195 arg2 = reinterpret_cast< wxWindow * >(argp2);
27196 {
27197 PyThreadState* __tstate = wxPyBeginAllowThreads();
27198 result = (wxDC *)(arg1)->PrintDialog(arg2);
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 {
27203 resultobj = wxPyMake_wxObject(result, (bool)0);
27204 }
27205 return resultobj;
27206 fail:
27207 return NULL;
27208 }
27209
27210
27211 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27212 PyObject *resultobj = 0;
27213 wxPrinter *arg1 = (wxPrinter *) 0 ;
27214 wxPrintDialogData *result = 0 ;
27215 void *argp1 = 0 ;
27216 int res1 = 0 ;
27217 PyObject *swig_obj[1] ;
27218
27219 if (!args) SWIG_fail;
27220 swig_obj[0] = args;
27221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27222 if (!SWIG_IsOK(res1)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27224 }
27225 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 {
27229 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27230 result = (wxPrintDialogData *) &_result_ref;
27231 }
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27243 PyObject *resultobj = 0;
27244 wxPrinter *arg1 = (wxPrinter *) 0 ;
27245 bool result;
27246 void *argp1 = 0 ;
27247 int res1 = 0 ;
27248 PyObject *swig_obj[1] ;
27249
27250 if (!args) SWIG_fail;
27251 swig_obj[0] = args;
27252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27253 if (!SWIG_IsOK(res1)) {
27254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27255 }
27256 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 result = (bool)(arg1)->GetAbort();
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 {
27264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27265 }
27266 return resultobj;
27267 fail:
27268 return NULL;
27269 }
27270
27271
27272 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27273 PyObject *resultobj = 0;
27274 wxPrinterError result;
27275
27276 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 result = (wxPrinterError)wxPrinter::GetLastError();
27280 wxPyEndAllowThreads(__tstate);
27281 if (PyErr_Occurred()) SWIG_fail;
27282 }
27283 resultobj = SWIG_From_int(static_cast< int >(result));
27284 return resultobj;
27285 fail:
27286 return NULL;
27287 }
27288
27289
27290 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27291 PyObject *obj;
27292 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27293 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27294 return SWIG_Py_Void();
27295 }
27296
27297 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27298 return SWIG_Python_InitShadowInstance(args);
27299 }
27300
27301 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27302 PyObject *resultobj = 0;
27303 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27304 wxString *arg1 = (wxString *) &arg1_defvalue ;
27305 wxPyPrintout *result = 0 ;
27306 bool temp1 = false ;
27307 PyObject * obj0 = 0 ;
27308 char * kwnames[] = {
27309 (char *) "title", NULL
27310 };
27311
27312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27313 if (obj0) {
27314 {
27315 arg1 = wxString_in_helper(obj0);
27316 if (arg1 == NULL) SWIG_fail;
27317 temp1 = true;
27318 }
27319 }
27320 {
27321 if (!wxPyCheckForApp()) SWIG_fail;
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27328 {
27329 if (temp1)
27330 delete arg1;
27331 }
27332 return resultobj;
27333 fail:
27334 {
27335 if (temp1)
27336 delete arg1;
27337 }
27338 return NULL;
27339 }
27340
27341
27342 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27343 PyObject *resultobj = 0;
27344 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27345 void *argp1 = 0 ;
27346 int res1 = 0 ;
27347 PyObject *swig_obj[1] ;
27348
27349 if (!args) SWIG_fail;
27350 swig_obj[0] = args;
27351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27352 if (!SWIG_IsOK(res1)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27354 }
27355 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27356 {
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 delete arg1;
27359
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 resultobj = SWIG_Py_Void();
27364 return resultobj;
27365 fail:
27366 return NULL;
27367 }
27368
27369
27370 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27371 PyObject *resultobj = 0;
27372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27373 PyObject *arg2 = (PyObject *) 0 ;
27374 PyObject *arg3 = (PyObject *) 0 ;
27375 void *argp1 = 0 ;
27376 int res1 = 0 ;
27377 PyObject * obj0 = 0 ;
27378 PyObject * obj1 = 0 ;
27379 PyObject * obj2 = 0 ;
27380 char * kwnames[] = {
27381 (char *) "self",(char *) "self",(char *) "_class", NULL
27382 };
27383
27384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27386 if (!SWIG_IsOK(res1)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27388 }
27389 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27390 arg2 = obj1;
27391 arg3 = obj2;
27392 {
27393 PyThreadState* __tstate = wxPyBeginAllowThreads();
27394 (arg1)->_setCallbackInfo(arg2,arg3);
27395 wxPyEndAllowThreads(__tstate);
27396 if (PyErr_Occurred()) SWIG_fail;
27397 }
27398 resultobj = SWIG_Py_Void();
27399 return resultobj;
27400 fail:
27401 return NULL;
27402 }
27403
27404
27405 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27406 PyObject *resultobj = 0;
27407 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27408 wxString result;
27409 void *argp1 = 0 ;
27410 int res1 = 0 ;
27411 PyObject *swig_obj[1] ;
27412
27413 if (!args) SWIG_fail;
27414 swig_obj[0] = args;
27415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27416 if (!SWIG_IsOK(res1)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27418 }
27419 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 result = ((wxPyPrintout const *)arg1)->GetTitle();
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 {
27427 #if wxUSE_UNICODE
27428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27429 #else
27430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27431 #endif
27432 }
27433 return resultobj;
27434 fail:
27435 return NULL;
27436 }
27437
27438
27439 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27440 PyObject *resultobj = 0;
27441 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27442 wxDC *result = 0 ;
27443 void *argp1 = 0 ;
27444 int res1 = 0 ;
27445 PyObject *swig_obj[1] ;
27446
27447 if (!args) SWIG_fail;
27448 swig_obj[0] = args;
27449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27450 if (!SWIG_IsOK(res1)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27452 }
27453 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 result = (wxDC *)(arg1)->GetDC();
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 {
27461 resultobj = wxPyMake_wxObject(result, (bool)0);
27462 }
27463 return resultobj;
27464 fail:
27465 return NULL;
27466 }
27467
27468
27469 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27470 PyObject *resultobj = 0;
27471 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27472 wxDC *arg2 = (wxDC *) 0 ;
27473 void *argp1 = 0 ;
27474 int res1 = 0 ;
27475 void *argp2 = 0 ;
27476 int res2 = 0 ;
27477 PyObject * obj0 = 0 ;
27478 PyObject * obj1 = 0 ;
27479 char * kwnames[] = {
27480 (char *) "self",(char *) "dc", NULL
27481 };
27482
27483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27485 if (!SWIG_IsOK(res1)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27487 }
27488 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27489 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27490 if (!SWIG_IsOK(res2)) {
27491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27492 }
27493 arg2 = reinterpret_cast< wxDC * >(argp2);
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 (arg1)->SetDC(arg2);
27497 wxPyEndAllowThreads(__tstate);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 }
27500 resultobj = SWIG_Py_Void();
27501 return resultobj;
27502 fail:
27503 return NULL;
27504 }
27505
27506
27507 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27508 PyObject *resultobj = 0;
27509 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27510 int arg2 ;
27511 int arg3 ;
27512 void *argp1 = 0 ;
27513 int res1 = 0 ;
27514 int val2 ;
27515 int ecode2 = 0 ;
27516 int val3 ;
27517 int ecode3 = 0 ;
27518 PyObject * obj0 = 0 ;
27519 PyObject * obj1 = 0 ;
27520 PyObject * obj2 = 0 ;
27521 char * kwnames[] = {
27522 (char *) "self",(char *) "w",(char *) "h", NULL
27523 };
27524
27525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27527 if (!SWIG_IsOK(res1)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27529 }
27530 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27531 ecode2 = SWIG_AsVal_int(obj1, &val2);
27532 if (!SWIG_IsOK(ecode2)) {
27533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27534 }
27535 arg2 = static_cast< int >(val2);
27536 ecode3 = SWIG_AsVal_int(obj2, &val3);
27537 if (!SWIG_IsOK(ecode3)) {
27538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27539 }
27540 arg3 = static_cast< int >(val3);
27541 {
27542 PyThreadState* __tstate = wxPyBeginAllowThreads();
27543 (arg1)->SetPageSizePixels(arg2,arg3);
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 resultobj = SWIG_Py_Void();
27548 return resultobj;
27549 fail:
27550 return NULL;
27551 }
27552
27553
27554 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27555 PyObject *resultobj = 0;
27556 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27557 int *arg2 = (int *) 0 ;
27558 int *arg3 = (int *) 0 ;
27559 void *argp1 = 0 ;
27560 int res1 = 0 ;
27561 int temp2 ;
27562 int res2 = SWIG_TMPOBJ ;
27563 int temp3 ;
27564 int res3 = SWIG_TMPOBJ ;
27565 PyObject *swig_obj[1] ;
27566
27567 arg2 = &temp2;
27568 arg3 = &temp3;
27569 if (!args) SWIG_fail;
27570 swig_obj[0] = args;
27571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27572 if (!SWIG_IsOK(res1)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27574 }
27575 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27576 {
27577 PyThreadState* __tstate = wxPyBeginAllowThreads();
27578 (arg1)->GetPageSizePixels(arg2,arg3);
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 resultobj = SWIG_Py_Void();
27583 if (SWIG_IsTmpObj(res2)) {
27584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27585 } else {
27586 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27588 }
27589 if (SWIG_IsTmpObj(res3)) {
27590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27591 } else {
27592 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27594 }
27595 return resultobj;
27596 fail:
27597 return NULL;
27598 }
27599
27600
27601 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27602 PyObject *resultobj = 0;
27603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27604 int arg2 ;
27605 int arg3 ;
27606 void *argp1 = 0 ;
27607 int res1 = 0 ;
27608 int val2 ;
27609 int ecode2 = 0 ;
27610 int val3 ;
27611 int ecode3 = 0 ;
27612 PyObject * obj0 = 0 ;
27613 PyObject * obj1 = 0 ;
27614 PyObject * obj2 = 0 ;
27615 char * kwnames[] = {
27616 (char *) "self",(char *) "w",(char *) "h", NULL
27617 };
27618
27619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27621 if (!SWIG_IsOK(res1)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27623 }
27624 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27625 ecode2 = SWIG_AsVal_int(obj1, &val2);
27626 if (!SWIG_IsOK(ecode2)) {
27627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27628 }
27629 arg2 = static_cast< int >(val2);
27630 ecode3 = SWIG_AsVal_int(obj2, &val3);
27631 if (!SWIG_IsOK(ecode3)) {
27632 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27633 }
27634 arg3 = static_cast< int >(val3);
27635 {
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 (arg1)->SetPageSizeMM(arg2,arg3);
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 resultobj = SWIG_Py_Void();
27642 return resultobj;
27643 fail:
27644 return NULL;
27645 }
27646
27647
27648 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27649 PyObject *resultobj = 0;
27650 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27651 int *arg2 = (int *) 0 ;
27652 int *arg3 = (int *) 0 ;
27653 void *argp1 = 0 ;
27654 int res1 = 0 ;
27655 int temp2 ;
27656 int res2 = SWIG_TMPOBJ ;
27657 int temp3 ;
27658 int res3 = SWIG_TMPOBJ ;
27659 PyObject *swig_obj[1] ;
27660
27661 arg2 = &temp2;
27662 arg3 = &temp3;
27663 if (!args) SWIG_fail;
27664 swig_obj[0] = args;
27665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27666 if (!SWIG_IsOK(res1)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27668 }
27669 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 (arg1)->GetPageSizeMM(arg2,arg3);
27673 wxPyEndAllowThreads(__tstate);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 resultobj = SWIG_Py_Void();
27677 if (SWIG_IsTmpObj(res2)) {
27678 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27679 } else {
27680 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27681 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27682 }
27683 if (SWIG_IsTmpObj(res3)) {
27684 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27685 } else {
27686 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27687 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27688 }
27689 return resultobj;
27690 fail:
27691 return NULL;
27692 }
27693
27694
27695 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27696 PyObject *resultobj = 0;
27697 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27698 int arg2 ;
27699 int arg3 ;
27700 void *argp1 = 0 ;
27701 int res1 = 0 ;
27702 int val2 ;
27703 int ecode2 = 0 ;
27704 int val3 ;
27705 int ecode3 = 0 ;
27706 PyObject * obj0 = 0 ;
27707 PyObject * obj1 = 0 ;
27708 PyObject * obj2 = 0 ;
27709 char * kwnames[] = {
27710 (char *) "self",(char *) "x",(char *) "y", NULL
27711 };
27712
27713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27715 if (!SWIG_IsOK(res1)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27717 }
27718 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27719 ecode2 = SWIG_AsVal_int(obj1, &val2);
27720 if (!SWIG_IsOK(ecode2)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27722 }
27723 arg2 = static_cast< int >(val2);
27724 ecode3 = SWIG_AsVal_int(obj2, &val3);
27725 if (!SWIG_IsOK(ecode3)) {
27726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27727 }
27728 arg3 = static_cast< int >(val3);
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 (arg1)->SetPPIScreen(arg2,arg3);
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 resultobj = SWIG_Py_Void();
27736 return resultobj;
27737 fail:
27738 return NULL;
27739 }
27740
27741
27742 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27743 PyObject *resultobj = 0;
27744 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27745 int *arg2 = (int *) 0 ;
27746 int *arg3 = (int *) 0 ;
27747 void *argp1 = 0 ;
27748 int res1 = 0 ;
27749 int temp2 ;
27750 int res2 = SWIG_TMPOBJ ;
27751 int temp3 ;
27752 int res3 = SWIG_TMPOBJ ;
27753 PyObject *swig_obj[1] ;
27754
27755 arg2 = &temp2;
27756 arg3 = &temp3;
27757 if (!args) SWIG_fail;
27758 swig_obj[0] = args;
27759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27760 if (!SWIG_IsOK(res1)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27762 }
27763 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 (arg1)->GetPPIScreen(arg2,arg3);
27767 wxPyEndAllowThreads(__tstate);
27768 if (PyErr_Occurred()) SWIG_fail;
27769 }
27770 resultobj = SWIG_Py_Void();
27771 if (SWIG_IsTmpObj(res2)) {
27772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27773 } else {
27774 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27776 }
27777 if (SWIG_IsTmpObj(res3)) {
27778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27779 } else {
27780 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27782 }
27783 return resultobj;
27784 fail:
27785 return NULL;
27786 }
27787
27788
27789 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27790 PyObject *resultobj = 0;
27791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27792 int arg2 ;
27793 int arg3 ;
27794 void *argp1 = 0 ;
27795 int res1 = 0 ;
27796 int val2 ;
27797 int ecode2 = 0 ;
27798 int val3 ;
27799 int ecode3 = 0 ;
27800 PyObject * obj0 = 0 ;
27801 PyObject * obj1 = 0 ;
27802 PyObject * obj2 = 0 ;
27803 char * kwnames[] = {
27804 (char *) "self",(char *) "x",(char *) "y", NULL
27805 };
27806
27807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) 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_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27811 }
27812 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27813 ecode2 = SWIG_AsVal_int(obj1, &val2);
27814 if (!SWIG_IsOK(ecode2)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27816 }
27817 arg2 = static_cast< int >(val2);
27818 ecode3 = SWIG_AsVal_int(obj2, &val3);
27819 if (!SWIG_IsOK(ecode3)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27821 }
27822 arg3 = static_cast< int >(val3);
27823 {
27824 PyThreadState* __tstate = wxPyBeginAllowThreads();
27825 (arg1)->SetPPIPrinter(arg2,arg3);
27826 wxPyEndAllowThreads(__tstate);
27827 if (PyErr_Occurred()) SWIG_fail;
27828 }
27829 resultobj = SWIG_Py_Void();
27830 return resultobj;
27831 fail:
27832 return NULL;
27833 }
27834
27835
27836 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27837 PyObject *resultobj = 0;
27838 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27839 int *arg2 = (int *) 0 ;
27840 int *arg3 = (int *) 0 ;
27841 void *argp1 = 0 ;
27842 int res1 = 0 ;
27843 int temp2 ;
27844 int res2 = SWIG_TMPOBJ ;
27845 int temp3 ;
27846 int res3 = SWIG_TMPOBJ ;
27847 PyObject *swig_obj[1] ;
27848
27849 arg2 = &temp2;
27850 arg3 = &temp3;
27851 if (!args) SWIG_fail;
27852 swig_obj[0] = args;
27853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27854 if (!SWIG_IsOK(res1)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27856 }
27857 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 (arg1)->GetPPIPrinter(arg2,arg3);
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 resultobj = SWIG_Py_Void();
27865 if (SWIG_IsTmpObj(res2)) {
27866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27867 } else {
27868 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27870 }
27871 if (SWIG_IsTmpObj(res3)) {
27872 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27873 } else {
27874 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27875 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27876 }
27877 return resultobj;
27878 fail:
27879 return NULL;
27880 }
27881
27882
27883 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27884 PyObject *resultobj = 0;
27885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27886 bool result;
27887 void *argp1 = 0 ;
27888 int res1 = 0 ;
27889 PyObject *swig_obj[1] ;
27890
27891 if (!args) SWIG_fail;
27892 swig_obj[0] = args;
27893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27894 if (!SWIG_IsOK(res1)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27896 }
27897 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27898 {
27899 PyThreadState* __tstate = wxPyBeginAllowThreads();
27900 result = (bool)(arg1)->IsPreview();
27901 wxPyEndAllowThreads(__tstate);
27902 if (PyErr_Occurred()) SWIG_fail;
27903 }
27904 {
27905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27906 }
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj = 0;
27915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27916 bool arg2 ;
27917 void *argp1 = 0 ;
27918 int res1 = 0 ;
27919 bool val2 ;
27920 int ecode2 = 0 ;
27921 PyObject * obj0 = 0 ;
27922 PyObject * obj1 = 0 ;
27923 char * kwnames[] = {
27924 (char *) "self",(char *) "p", NULL
27925 };
27926
27927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27929 if (!SWIG_IsOK(res1)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27931 }
27932 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27933 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27934 if (!SWIG_IsOK(ecode2)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27936 }
27937 arg2 = static_cast< bool >(val2);
27938 {
27939 PyThreadState* __tstate = wxPyBeginAllowThreads();
27940 (arg1)->SetIsPreview(arg2);
27941 wxPyEndAllowThreads(__tstate);
27942 if (PyErr_Occurred()) SWIG_fail;
27943 }
27944 resultobj = SWIG_Py_Void();
27945 return resultobj;
27946 fail:
27947 return NULL;
27948 }
27949
27950
27951 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27952 PyObject *resultobj = 0;
27953 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27954 int arg2 ;
27955 int arg3 ;
27956 bool result;
27957 void *argp1 = 0 ;
27958 int res1 = 0 ;
27959 int val2 ;
27960 int ecode2 = 0 ;
27961 int val3 ;
27962 int ecode3 = 0 ;
27963 PyObject * obj0 = 0 ;
27964 PyObject * obj1 = 0 ;
27965 PyObject * obj2 = 0 ;
27966 char * kwnames[] = {
27967 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27968 };
27969
27970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27972 if (!SWIG_IsOK(res1)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27974 }
27975 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27976 ecode2 = SWIG_AsVal_int(obj1, &val2);
27977 if (!SWIG_IsOK(ecode2)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27979 }
27980 arg2 = static_cast< int >(val2);
27981 ecode3 = SWIG_AsVal_int(obj2, &val3);
27982 if (!SWIG_IsOK(ecode3)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27984 }
27985 arg3 = static_cast< int >(val3);
27986 {
27987 PyThreadState* __tstate = wxPyBeginAllowThreads();
27988 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 {
27993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27994 }
27995 return resultobj;
27996 fail:
27997 return NULL;
27998 }
27999
28000
28001 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28002 PyObject *resultobj = 0;
28003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28004 void *argp1 = 0 ;
28005 int res1 = 0 ;
28006 PyObject *swig_obj[1] ;
28007
28008 if (!args) SWIG_fail;
28009 swig_obj[0] = args;
28010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28011 if (!SWIG_IsOK(res1)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28013 }
28014 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28015 {
28016 PyThreadState* __tstate = wxPyBeginAllowThreads();
28017 (arg1)->OnEndDocument();
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 resultobj = SWIG_Py_Void();
28022 return resultobj;
28023 fail:
28024 return NULL;
28025 }
28026
28027
28028 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28029 PyObject *resultobj = 0;
28030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28031 void *argp1 = 0 ;
28032 int res1 = 0 ;
28033 PyObject *swig_obj[1] ;
28034
28035 if (!args) SWIG_fail;
28036 swig_obj[0] = args;
28037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28038 if (!SWIG_IsOK(res1)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28040 }
28041 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 (arg1)->OnBeginPrinting();
28045 wxPyEndAllowThreads(__tstate);
28046 if (PyErr_Occurred()) SWIG_fail;
28047 }
28048 resultobj = SWIG_Py_Void();
28049 return resultobj;
28050 fail:
28051 return NULL;
28052 }
28053
28054
28055 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28056 PyObject *resultobj = 0;
28057 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28058 void *argp1 = 0 ;
28059 int res1 = 0 ;
28060 PyObject *swig_obj[1] ;
28061
28062 if (!args) SWIG_fail;
28063 swig_obj[0] = args;
28064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28065 if (!SWIG_IsOK(res1)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28067 }
28068 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28069 {
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
28071 (arg1)->OnEndPrinting();
28072 wxPyEndAllowThreads(__tstate);
28073 if (PyErr_Occurred()) SWIG_fail;
28074 }
28075 resultobj = SWIG_Py_Void();
28076 return resultobj;
28077 fail:
28078 return NULL;
28079 }
28080
28081
28082 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28083 PyObject *resultobj = 0;
28084 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28085 void *argp1 = 0 ;
28086 int res1 = 0 ;
28087 PyObject *swig_obj[1] ;
28088
28089 if (!args) SWIG_fail;
28090 swig_obj[0] = args;
28091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28092 if (!SWIG_IsOK(res1)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28094 }
28095 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28096 {
28097 PyThreadState* __tstate = wxPyBeginAllowThreads();
28098 (arg1)->OnPreparePrinting();
28099 wxPyEndAllowThreads(__tstate);
28100 if (PyErr_Occurred()) SWIG_fail;
28101 }
28102 resultobj = SWIG_Py_Void();
28103 return resultobj;
28104 fail:
28105 return NULL;
28106 }
28107
28108
28109 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28110 PyObject *resultobj = 0;
28111 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28112 int arg2 ;
28113 bool result;
28114 void *argp1 = 0 ;
28115 int res1 = 0 ;
28116 int val2 ;
28117 int ecode2 = 0 ;
28118 PyObject * obj0 = 0 ;
28119 PyObject * obj1 = 0 ;
28120 char * kwnames[] = {
28121 (char *) "self",(char *) "page", NULL
28122 };
28123
28124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28126 if (!SWIG_IsOK(res1)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28128 }
28129 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28130 ecode2 = SWIG_AsVal_int(obj1, &val2);
28131 if (!SWIG_IsOK(ecode2)) {
28132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28133 }
28134 arg2 = static_cast< int >(val2);
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 result = (bool)(arg1)->HasPage(arg2);
28138 wxPyEndAllowThreads(__tstate);
28139 if (PyErr_Occurred()) SWIG_fail;
28140 }
28141 {
28142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28143 }
28144 return resultobj;
28145 fail:
28146 return NULL;
28147 }
28148
28149
28150 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28151 PyObject *resultobj = 0;
28152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28153 int *arg2 = (int *) 0 ;
28154 int *arg3 = (int *) 0 ;
28155 int *arg4 = (int *) 0 ;
28156 int *arg5 = (int *) 0 ;
28157 void *argp1 = 0 ;
28158 int res1 = 0 ;
28159 int temp2 ;
28160 int res2 = SWIG_TMPOBJ ;
28161 int temp3 ;
28162 int res3 = SWIG_TMPOBJ ;
28163 int temp4 ;
28164 int res4 = SWIG_TMPOBJ ;
28165 int temp5 ;
28166 int res5 = SWIG_TMPOBJ ;
28167 PyObject *swig_obj[1] ;
28168
28169 arg2 = &temp2;
28170 arg3 = &temp3;
28171 arg4 = &temp4;
28172 arg5 = &temp5;
28173 if (!args) SWIG_fail;
28174 swig_obj[0] = args;
28175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28176 if (!SWIG_IsOK(res1)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28178 }
28179 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 resultobj = SWIG_Py_Void();
28187 if (SWIG_IsTmpObj(res2)) {
28188 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28189 } else {
28190 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28191 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28192 }
28193 if (SWIG_IsTmpObj(res3)) {
28194 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28195 } else {
28196 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28197 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28198 }
28199 if (SWIG_IsTmpObj(res4)) {
28200 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28201 } else {
28202 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28203 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28204 }
28205 if (SWIG_IsTmpObj(res5)) {
28206 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28207 } else {
28208 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28209 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28210 }
28211 return resultobj;
28212 fail:
28213 return NULL;
28214 }
28215
28216
28217 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28218 PyObject *obj;
28219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28221 return SWIG_Py_Void();
28222 }
28223
28224 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28225 return SWIG_Python_InitShadowInstance(args);
28226 }
28227
28228 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28229 PyObject *resultobj = 0;
28230 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28231 wxWindow *arg2 = (wxWindow *) 0 ;
28232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28234 wxSize const &arg4_defvalue = wxDefaultSize ;
28235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28236 long arg5 = (long) 0 ;
28237 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28238 wxString *arg6 = (wxString *) &arg6_defvalue ;
28239 wxPreviewCanvas *result = 0 ;
28240 void *argp1 = 0 ;
28241 int res1 = 0 ;
28242 void *argp2 = 0 ;
28243 int res2 = 0 ;
28244 wxPoint temp3 ;
28245 wxSize temp4 ;
28246 long val5 ;
28247 int ecode5 = 0 ;
28248 bool temp6 = false ;
28249 PyObject * obj0 = 0 ;
28250 PyObject * obj1 = 0 ;
28251 PyObject * obj2 = 0 ;
28252 PyObject * obj3 = 0 ;
28253 PyObject * obj4 = 0 ;
28254 PyObject * obj5 = 0 ;
28255 char * kwnames[] = {
28256 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28257 };
28258
28259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28261 if (!SWIG_IsOK(res1)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28263 }
28264 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28266 if (!SWIG_IsOK(res2)) {
28267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28268 }
28269 arg2 = reinterpret_cast< wxWindow * >(argp2);
28270 if (obj2) {
28271 {
28272 arg3 = &temp3;
28273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28274 }
28275 }
28276 if (obj3) {
28277 {
28278 arg4 = &temp4;
28279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28280 }
28281 }
28282 if (obj4) {
28283 ecode5 = SWIG_AsVal_long(obj4, &val5);
28284 if (!SWIG_IsOK(ecode5)) {
28285 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28286 }
28287 arg5 = static_cast< long >(val5);
28288 }
28289 if (obj5) {
28290 {
28291 arg6 = wxString_in_helper(obj5);
28292 if (arg6 == NULL) SWIG_fail;
28293 temp6 = true;
28294 }
28295 }
28296 {
28297 if (!wxPyCheckForApp()) SWIG_fail;
28298 PyThreadState* __tstate = wxPyBeginAllowThreads();
28299 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
28303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28304 {
28305 if (temp6)
28306 delete arg6;
28307 }
28308 return resultobj;
28309 fail:
28310 {
28311 if (temp6)
28312 delete arg6;
28313 }
28314 return NULL;
28315 }
28316
28317
28318 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28319 PyObject *obj;
28320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28321 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28322 return SWIG_Py_Void();
28323 }
28324
28325 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28326 return SWIG_Python_InitShadowInstance(args);
28327 }
28328
28329 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28330 PyObject *resultobj = 0;
28331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28332 wxFrame *arg2 = (wxFrame *) 0 ;
28333 wxString *arg3 = 0 ;
28334 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28335 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28336 wxSize const &arg5_defvalue = wxDefaultSize ;
28337 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28338 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28339 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28340 wxString *arg7 = (wxString *) &arg7_defvalue ;
28341 wxPreviewFrame *result = 0 ;
28342 int res1 = 0 ;
28343 void *argp2 = 0 ;
28344 int res2 = 0 ;
28345 bool temp3 = false ;
28346 wxPoint temp4 ;
28347 wxSize temp5 ;
28348 long val6 ;
28349 int ecode6 = 0 ;
28350 bool temp7 = false ;
28351 PyObject * obj0 = 0 ;
28352 PyObject * obj1 = 0 ;
28353 PyObject * obj2 = 0 ;
28354 PyObject * obj3 = 0 ;
28355 PyObject * obj4 = 0 ;
28356 PyObject * obj5 = 0 ;
28357 PyObject * obj6 = 0 ;
28358 char * kwnames[] = {
28359 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28360 };
28361
28362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28363 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28364 if (!SWIG_IsOK(res1)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28366 }
28367 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28368 if (!SWIG_IsOK(res2)) {
28369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28370 }
28371 arg2 = reinterpret_cast< wxFrame * >(argp2);
28372 {
28373 arg3 = wxString_in_helper(obj2);
28374 if (arg3 == NULL) SWIG_fail;
28375 temp3 = true;
28376 }
28377 if (obj3) {
28378 {
28379 arg4 = &temp4;
28380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28381 }
28382 }
28383 if (obj4) {
28384 {
28385 arg5 = &temp5;
28386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28387 }
28388 }
28389 if (obj5) {
28390 ecode6 = SWIG_AsVal_long(obj5, &val6);
28391 if (!SWIG_IsOK(ecode6)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28393 }
28394 arg6 = static_cast< long >(val6);
28395 }
28396 if (obj6) {
28397 {
28398 arg7 = wxString_in_helper(obj6);
28399 if (arg7 == NULL) SWIG_fail;
28400 temp7 = true;
28401 }
28402 }
28403 {
28404 if (!wxPyCheckForApp()) SWIG_fail;
28405 PyThreadState* __tstate = wxPyBeginAllowThreads();
28406 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28407 wxPyEndAllowThreads(__tstate);
28408 if (PyErr_Occurred()) SWIG_fail;
28409 }
28410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28411 {
28412 if (temp3)
28413 delete arg3;
28414 }
28415 {
28416 if (temp7)
28417 delete arg7;
28418 }
28419 return resultobj;
28420 fail:
28421 {
28422 if (temp3)
28423 delete arg3;
28424 }
28425 {
28426 if (temp7)
28427 delete arg7;
28428 }
28429 return NULL;
28430 }
28431
28432
28433 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28434 PyObject *resultobj = 0;
28435 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28436 void *argp1 = 0 ;
28437 int res1 = 0 ;
28438 PyObject *swig_obj[1] ;
28439
28440 if (!args) SWIG_fail;
28441 swig_obj[0] = args;
28442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28443 if (!SWIG_IsOK(res1)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28445 }
28446 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 (arg1)->Initialize();
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 resultobj = SWIG_Py_Void();
28454 return resultobj;
28455 fail:
28456 return NULL;
28457 }
28458
28459
28460 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28461 PyObject *resultobj = 0;
28462 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28463 void *argp1 = 0 ;
28464 int res1 = 0 ;
28465 PyObject *swig_obj[1] ;
28466
28467 if (!args) SWIG_fail;
28468 swig_obj[0] = args;
28469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28470 if (!SWIG_IsOK(res1)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28472 }
28473 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 (arg1)->CreateControlBar();
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 resultobj = SWIG_Py_Void();
28481 return resultobj;
28482 fail:
28483 return NULL;
28484 }
28485
28486
28487 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28488 PyObject *resultobj = 0;
28489 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28490 void *argp1 = 0 ;
28491 int res1 = 0 ;
28492 PyObject *swig_obj[1] ;
28493
28494 if (!args) SWIG_fail;
28495 swig_obj[0] = args;
28496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28497 if (!SWIG_IsOK(res1)) {
28498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28499 }
28500 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28501 {
28502 PyThreadState* __tstate = wxPyBeginAllowThreads();
28503 (arg1)->CreateCanvas();
28504 wxPyEndAllowThreads(__tstate);
28505 if (PyErr_Occurred()) SWIG_fail;
28506 }
28507 resultobj = SWIG_Py_Void();
28508 return resultobj;
28509 fail:
28510 return NULL;
28511 }
28512
28513
28514 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28515 PyObject *resultobj = 0;
28516 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28517 wxPreviewControlBar *result = 0 ;
28518 void *argp1 = 0 ;
28519 int res1 = 0 ;
28520 PyObject *swig_obj[1] ;
28521
28522 if (!args) SWIG_fail;
28523 swig_obj[0] = args;
28524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28525 if (!SWIG_IsOK(res1)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28527 }
28528 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28532 wxPyEndAllowThreads(__tstate);
28533 if (PyErr_Occurred()) SWIG_fail;
28534 }
28535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28536 return resultobj;
28537 fail:
28538 return NULL;
28539 }
28540
28541
28542 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28543 PyObject *obj;
28544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28546 return SWIG_Py_Void();
28547 }
28548
28549 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28550 return SWIG_Python_InitShadowInstance(args);
28551 }
28552
28553 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28554 PyObject *resultobj = 0;
28555 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28556 long arg2 ;
28557 wxWindow *arg3 = (wxWindow *) 0 ;
28558 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28559 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28560 wxSize const &arg5_defvalue = wxDefaultSize ;
28561 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28562 long arg6 = (long) wxTAB_TRAVERSAL ;
28563 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28564 wxString *arg7 = (wxString *) &arg7_defvalue ;
28565 wxPreviewControlBar *result = 0 ;
28566 void *argp1 = 0 ;
28567 int res1 = 0 ;
28568 long val2 ;
28569 int ecode2 = 0 ;
28570 void *argp3 = 0 ;
28571 int res3 = 0 ;
28572 wxPoint temp4 ;
28573 wxSize temp5 ;
28574 long val6 ;
28575 int ecode6 = 0 ;
28576 bool temp7 = false ;
28577 PyObject * obj0 = 0 ;
28578 PyObject * obj1 = 0 ;
28579 PyObject * obj2 = 0 ;
28580 PyObject * obj3 = 0 ;
28581 PyObject * obj4 = 0 ;
28582 PyObject * obj5 = 0 ;
28583 PyObject * obj6 = 0 ;
28584 char * kwnames[] = {
28585 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28586 };
28587
28588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28590 if (!SWIG_IsOK(res1)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28592 }
28593 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28594 ecode2 = SWIG_AsVal_long(obj1, &val2);
28595 if (!SWIG_IsOK(ecode2)) {
28596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28597 }
28598 arg2 = static_cast< long >(val2);
28599 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28600 if (!SWIG_IsOK(res3)) {
28601 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28602 }
28603 arg3 = reinterpret_cast< wxWindow * >(argp3);
28604 if (obj3) {
28605 {
28606 arg4 = &temp4;
28607 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28608 }
28609 }
28610 if (obj4) {
28611 {
28612 arg5 = &temp5;
28613 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28614 }
28615 }
28616 if (obj5) {
28617 ecode6 = SWIG_AsVal_long(obj5, &val6);
28618 if (!SWIG_IsOK(ecode6)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28620 }
28621 arg6 = static_cast< long >(val6);
28622 }
28623 if (obj6) {
28624 {
28625 arg7 = wxString_in_helper(obj6);
28626 if (arg7 == NULL) SWIG_fail;
28627 temp7 = true;
28628 }
28629 }
28630 {
28631 if (!wxPyCheckForApp()) SWIG_fail;
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28634 wxPyEndAllowThreads(__tstate);
28635 if (PyErr_Occurred()) SWIG_fail;
28636 }
28637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28638 {
28639 if (temp7)
28640 delete arg7;
28641 }
28642 return resultobj;
28643 fail:
28644 {
28645 if (temp7)
28646 delete arg7;
28647 }
28648 return NULL;
28649 }
28650
28651
28652 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28653 PyObject *resultobj = 0;
28654 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28655 int result;
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_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28665 }
28666 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28667 {
28668 PyThreadState* __tstate = wxPyBeginAllowThreads();
28669 result = (int)(arg1)->GetZoomControl();
28670 wxPyEndAllowThreads(__tstate);
28671 if (PyErr_Occurred()) SWIG_fail;
28672 }
28673 resultobj = SWIG_From_int(static_cast< int >(result));
28674 return resultobj;
28675 fail:
28676 return NULL;
28677 }
28678
28679
28680 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28681 PyObject *resultobj = 0;
28682 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28683 int arg2 ;
28684 void *argp1 = 0 ;
28685 int res1 = 0 ;
28686 int val2 ;
28687 int ecode2 = 0 ;
28688 PyObject * obj0 = 0 ;
28689 PyObject * obj1 = 0 ;
28690 char * kwnames[] = {
28691 (char *) "self",(char *) "zoom", NULL
28692 };
28693
28694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28696 if (!SWIG_IsOK(res1)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28698 }
28699 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28700 ecode2 = SWIG_AsVal_int(obj1, &val2);
28701 if (!SWIG_IsOK(ecode2)) {
28702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28703 }
28704 arg2 = static_cast< int >(val2);
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 (arg1)->SetZoomControl(arg2);
28708 wxPyEndAllowThreads(__tstate);
28709 if (PyErr_Occurred()) SWIG_fail;
28710 }
28711 resultobj = SWIG_Py_Void();
28712 return resultobj;
28713 fail:
28714 return NULL;
28715 }
28716
28717
28718 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28719 PyObject *resultobj = 0;
28720 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28721 wxPrintPreview *result = 0 ;
28722 void *argp1 = 0 ;
28723 int res1 = 0 ;
28724 PyObject *swig_obj[1] ;
28725
28726 if (!args) SWIG_fail;
28727 swig_obj[0] = args;
28728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28729 if (!SWIG_IsOK(res1)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28731 }
28732 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28740 return resultobj;
28741 fail:
28742 return NULL;
28743 }
28744
28745
28746 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28747 PyObject *resultobj = 0;
28748 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28749 void *argp1 = 0 ;
28750 int res1 = 0 ;
28751 PyObject *swig_obj[1] ;
28752
28753 if (!args) SWIG_fail;
28754 swig_obj[0] = args;
28755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28756 if (!SWIG_IsOK(res1)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28758 }
28759 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28760 {
28761 PyThreadState* __tstate = wxPyBeginAllowThreads();
28762 (arg1)->OnNext();
28763 wxPyEndAllowThreads(__tstate);
28764 if (PyErr_Occurred()) SWIG_fail;
28765 }
28766 resultobj = SWIG_Py_Void();
28767 return resultobj;
28768 fail:
28769 return NULL;
28770 }
28771
28772
28773 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28774 PyObject *resultobj = 0;
28775 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28776 void *argp1 = 0 ;
28777 int res1 = 0 ;
28778 PyObject *swig_obj[1] ;
28779
28780 if (!args) SWIG_fail;
28781 swig_obj[0] = args;
28782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28783 if (!SWIG_IsOK(res1)) {
28784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28785 }
28786 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28787 {
28788 PyThreadState* __tstate = wxPyBeginAllowThreads();
28789 (arg1)->OnPrevious();
28790 wxPyEndAllowThreads(__tstate);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 }
28793 resultobj = SWIG_Py_Void();
28794 return resultobj;
28795 fail:
28796 return NULL;
28797 }
28798
28799
28800 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28801 PyObject *resultobj = 0;
28802 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28803 void *argp1 = 0 ;
28804 int res1 = 0 ;
28805 PyObject *swig_obj[1] ;
28806
28807 if (!args) SWIG_fail;
28808 swig_obj[0] = args;
28809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28810 if (!SWIG_IsOK(res1)) {
28811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28812 }
28813 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 (arg1)->OnFirst();
28817 wxPyEndAllowThreads(__tstate);
28818 if (PyErr_Occurred()) SWIG_fail;
28819 }
28820 resultobj = SWIG_Py_Void();
28821 return resultobj;
28822 fail:
28823 return NULL;
28824 }
28825
28826
28827 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28828 PyObject *resultobj = 0;
28829 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28830 void *argp1 = 0 ;
28831 int res1 = 0 ;
28832 PyObject *swig_obj[1] ;
28833
28834 if (!args) SWIG_fail;
28835 swig_obj[0] = args;
28836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28837 if (!SWIG_IsOK(res1)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28839 }
28840 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 (arg1)->OnLast();
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 resultobj = SWIG_Py_Void();
28848 return resultobj;
28849 fail:
28850 return NULL;
28851 }
28852
28853
28854 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28855 PyObject *resultobj = 0;
28856 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28857 void *argp1 = 0 ;
28858 int res1 = 0 ;
28859 PyObject *swig_obj[1] ;
28860
28861 if (!args) SWIG_fail;
28862 swig_obj[0] = args;
28863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28864 if (!SWIG_IsOK(res1)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28866 }
28867 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28868 {
28869 PyThreadState* __tstate = wxPyBeginAllowThreads();
28870 (arg1)->OnGoto();
28871 wxPyEndAllowThreads(__tstate);
28872 if (PyErr_Occurred()) SWIG_fail;
28873 }
28874 resultobj = SWIG_Py_Void();
28875 return resultobj;
28876 fail:
28877 return NULL;
28878 }
28879
28880
28881 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28882 PyObject *obj;
28883 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28884 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28885 return SWIG_Py_Void();
28886 }
28887
28888 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28889 return SWIG_Python_InitShadowInstance(args);
28890 }
28891
28892 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28893 PyObject *resultobj = 0;
28894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28895 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28896 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28897 wxPrintPreview *result = 0 ;
28898 int res1 = 0 ;
28899 int res2 = 0 ;
28900 void *argp3 = 0 ;
28901 int res3 = 0 ;
28902
28903 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28904 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28905 if (!SWIG_IsOK(res1)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28907 }
28908 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28909 if (!SWIG_IsOK(res2)) {
28910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28911 }
28912 if (swig_obj[2]) {
28913 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28914 if (!SWIG_IsOK(res3)) {
28915 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28916 }
28917 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28918 }
28919 {
28920 if (!wxPyCheckForApp()) SWIG_fail;
28921 PyThreadState* __tstate = wxPyBeginAllowThreads();
28922 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28923 wxPyEndAllowThreads(__tstate);
28924 if (PyErr_Occurred()) SWIG_fail;
28925 }
28926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28927 return resultobj;
28928 fail:
28929 return NULL;
28930 }
28931
28932
28933 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28934 PyObject *resultobj = 0;
28935 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28936 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28937 wxPrintData *arg3 = (wxPrintData *) 0 ;
28938 wxPrintPreview *result = 0 ;
28939 int res1 = 0 ;
28940 int res2 = 0 ;
28941 void *argp3 = 0 ;
28942 int res3 = 0 ;
28943
28944 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28945 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28946 if (!SWIG_IsOK(res1)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28948 }
28949 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28950 if (!SWIG_IsOK(res2)) {
28951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28952 }
28953 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28954 if (!SWIG_IsOK(res3)) {
28955 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28956 }
28957 arg3 = reinterpret_cast< wxPrintData * >(argp3);
28958 {
28959 if (!wxPyCheckForApp()) SWIG_fail;
28960 PyThreadState* __tstate = wxPyBeginAllowThreads();
28961 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28962 wxPyEndAllowThreads(__tstate);
28963 if (PyErr_Occurred()) SWIG_fail;
28964 }
28965 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28966 return resultobj;
28967 fail:
28968 return NULL;
28969 }
28970
28971
28972 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
28973 int argc;
28974 PyObject *argv[4];
28975
28976 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
28977 --argc;
28978 if ((argc >= 2) && (argc <= 3)) {
28979 int _v = 0;
28980 if (argc > 2) {
28981 {
28982 void *vptr = 0;
28983 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
28984 _v = SWIG_CheckState(res);
28985 }
28986 if (!_v) goto check_1;
28987 }
28988 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
28989 }
28990 check_1:
28991
28992 if (argc == 3) {
28993 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
28994 }
28995
28996 fail:
28997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
28998 return NULL;
28999 }
29000
29001
29002 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29003 PyObject *resultobj = 0;
29004 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29005 void *argp1 = 0 ;
29006 int res1 = 0 ;
29007 PyObject *swig_obj[1] ;
29008
29009 if (!args) SWIG_fail;
29010 swig_obj[0] = args;
29011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29012 if (!SWIG_IsOK(res1)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29014 }
29015 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
29018 delete arg1;
29019
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
29023 resultobj = SWIG_Py_Void();
29024 return resultobj;
29025 fail:
29026 return NULL;
29027 }
29028
29029
29030 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29031 PyObject *resultobj = 0;
29032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29033 int arg2 ;
29034 bool result;
29035 void *argp1 = 0 ;
29036 int res1 = 0 ;
29037 int val2 ;
29038 int ecode2 = 0 ;
29039 PyObject * obj0 = 0 ;
29040 PyObject * obj1 = 0 ;
29041 char * kwnames[] = {
29042 (char *) "self",(char *) "pageNum", NULL
29043 };
29044
29045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29047 if (!SWIG_IsOK(res1)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29049 }
29050 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29051 ecode2 = SWIG_AsVal_int(obj1, &val2);
29052 if (!SWIG_IsOK(ecode2)) {
29053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29054 }
29055 arg2 = static_cast< int >(val2);
29056 {
29057 PyThreadState* __tstate = wxPyBeginAllowThreads();
29058 result = (bool)(arg1)->SetCurrentPage(arg2);
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 {
29063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29064 }
29065 return resultobj;
29066 fail:
29067 return NULL;
29068 }
29069
29070
29071 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29072 PyObject *resultobj = 0;
29073 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29074 int result;
29075 void *argp1 = 0 ;
29076 int res1 = 0 ;
29077 PyObject *swig_obj[1] ;
29078
29079 if (!args) SWIG_fail;
29080 swig_obj[0] = args;
29081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29082 if (!SWIG_IsOK(res1)) {
29083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29084 }
29085 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29086 {
29087 PyThreadState* __tstate = wxPyBeginAllowThreads();
29088 result = (int)(arg1)->GetCurrentPage();
29089 wxPyEndAllowThreads(__tstate);
29090 if (PyErr_Occurred()) SWIG_fail;
29091 }
29092 resultobj = SWIG_From_int(static_cast< int >(result));
29093 return resultobj;
29094 fail:
29095 return NULL;
29096 }
29097
29098
29099 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29100 PyObject *resultobj = 0;
29101 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29102 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29103 void *argp1 = 0 ;
29104 int res1 = 0 ;
29105 int res2 = 0 ;
29106 PyObject * obj0 = 0 ;
29107 PyObject * obj1 = 0 ;
29108 char * kwnames[] = {
29109 (char *) "self",(char *) "printout", NULL
29110 };
29111
29112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29114 if (!SWIG_IsOK(res1)) {
29115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29116 }
29117 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29118 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29119 if (!SWIG_IsOK(res2)) {
29120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29121 }
29122 {
29123 PyThreadState* __tstate = wxPyBeginAllowThreads();
29124 (arg1)->SetPrintout(arg2);
29125 wxPyEndAllowThreads(__tstate);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 resultobj = SWIG_Py_Void();
29129 return resultobj;
29130 fail:
29131 return NULL;
29132 }
29133
29134
29135 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29136 PyObject *resultobj = 0;
29137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29138 wxPyPrintout *result = 0 ;
29139 void *argp1 = 0 ;
29140 int res1 = 0 ;
29141 PyObject *swig_obj[1] ;
29142
29143 if (!args) SWIG_fail;
29144 swig_obj[0] = args;
29145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29146 if (!SWIG_IsOK(res1)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29148 }
29149 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29150 {
29151 PyThreadState* __tstate = wxPyBeginAllowThreads();
29152 result = (wxPyPrintout *)(arg1)->GetPrintout();
29153 wxPyEndAllowThreads(__tstate);
29154 if (PyErr_Occurred()) SWIG_fail;
29155 }
29156 {
29157 resultobj = wxPyMake_wxObject(result, 0);
29158 }
29159 return resultobj;
29160 fail:
29161 return NULL;
29162 }
29163
29164
29165 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29166 PyObject *resultobj = 0;
29167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29168 wxPyPrintout *result = 0 ;
29169 void *argp1 = 0 ;
29170 int res1 = 0 ;
29171 PyObject *swig_obj[1] ;
29172
29173 if (!args) SWIG_fail;
29174 swig_obj[0] = args;
29175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29176 if (!SWIG_IsOK(res1)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29178 }
29179 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 {
29187 resultobj = wxPyMake_wxObject(result, 0);
29188 }
29189 return resultobj;
29190 fail:
29191 return NULL;
29192 }
29193
29194
29195 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29196 PyObject *resultobj = 0;
29197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29198 wxFrame *arg2 = (wxFrame *) 0 ;
29199 void *argp1 = 0 ;
29200 int res1 = 0 ;
29201 void *argp2 = 0 ;
29202 int res2 = 0 ;
29203 PyObject * obj0 = 0 ;
29204 PyObject * obj1 = 0 ;
29205 char * kwnames[] = {
29206 (char *) "self",(char *) "frame", NULL
29207 };
29208
29209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29211 if (!SWIG_IsOK(res1)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29213 }
29214 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29216 if (!SWIG_IsOK(res2)) {
29217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29218 }
29219 arg2 = reinterpret_cast< wxFrame * >(argp2);
29220 {
29221 PyThreadState* __tstate = wxPyBeginAllowThreads();
29222 (arg1)->SetFrame(arg2);
29223 wxPyEndAllowThreads(__tstate);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
29226 resultobj = SWIG_Py_Void();
29227 return resultobj;
29228 fail:
29229 return NULL;
29230 }
29231
29232
29233 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29234 PyObject *resultobj = 0;
29235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29236 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29237 void *argp1 = 0 ;
29238 int res1 = 0 ;
29239 void *argp2 = 0 ;
29240 int res2 = 0 ;
29241 PyObject * obj0 = 0 ;
29242 PyObject * obj1 = 0 ;
29243 char * kwnames[] = {
29244 (char *) "self",(char *) "canvas", NULL
29245 };
29246
29247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29249 if (!SWIG_IsOK(res1)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29251 }
29252 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29253 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29254 if (!SWIG_IsOK(res2)) {
29255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29256 }
29257 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
29260 (arg1)->SetCanvas(arg2);
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 resultobj = SWIG_Py_Void();
29265 return resultobj;
29266 fail:
29267 return NULL;
29268 }
29269
29270
29271 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29272 PyObject *resultobj = 0;
29273 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29274 wxFrame *result = 0 ;
29275 void *argp1 = 0 ;
29276 int res1 = 0 ;
29277 PyObject *swig_obj[1] ;
29278
29279 if (!args) SWIG_fail;
29280 swig_obj[0] = args;
29281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29282 if (!SWIG_IsOK(res1)) {
29283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29284 }
29285 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29286 {
29287 PyThreadState* __tstate = wxPyBeginAllowThreads();
29288 result = (wxFrame *)(arg1)->GetFrame();
29289 wxPyEndAllowThreads(__tstate);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 }
29292 {
29293 resultobj = wxPyMake_wxObject(result, 0);
29294 }
29295 return resultobj;
29296 fail:
29297 return NULL;
29298 }
29299
29300
29301 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29302 PyObject *resultobj = 0;
29303 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29304 wxPreviewCanvas *result = 0 ;
29305 void *argp1 = 0 ;
29306 int res1 = 0 ;
29307 PyObject *swig_obj[1] ;
29308
29309 if (!args) SWIG_fail;
29310 swig_obj[0] = args;
29311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29312 if (!SWIG_IsOK(res1)) {
29313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29314 }
29315 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29316 {
29317 PyThreadState* __tstate = wxPyBeginAllowThreads();
29318 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29319 wxPyEndAllowThreads(__tstate);
29320 if (PyErr_Occurred()) SWIG_fail;
29321 }
29322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29323 return resultobj;
29324 fail:
29325 return NULL;
29326 }
29327
29328
29329 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29330 PyObject *resultobj = 0;
29331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29332 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29333 wxDC *arg3 = 0 ;
29334 bool result;
29335 void *argp1 = 0 ;
29336 int res1 = 0 ;
29337 void *argp2 = 0 ;
29338 int res2 = 0 ;
29339 void *argp3 = 0 ;
29340 int res3 = 0 ;
29341 PyObject * obj0 = 0 ;
29342 PyObject * obj1 = 0 ;
29343 PyObject * obj2 = 0 ;
29344 char * kwnames[] = {
29345 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29346 };
29347
29348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29350 if (!SWIG_IsOK(res1)) {
29351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29352 }
29353 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29355 if (!SWIG_IsOK(res2)) {
29356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29357 }
29358 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29359 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29360 if (!SWIG_IsOK(res3)) {
29361 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29362 }
29363 if (!argp3) {
29364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29365 }
29366 arg3 = reinterpret_cast< wxDC * >(argp3);
29367 {
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29370 wxPyEndAllowThreads(__tstate);
29371 if (PyErr_Occurred()) SWIG_fail;
29372 }
29373 {
29374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29375 }
29376 return resultobj;
29377 fail:
29378 return NULL;
29379 }
29380
29381
29382 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29383 PyObject *resultobj = 0;
29384 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29385 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29386 wxDC *arg3 = 0 ;
29387 bool result;
29388 void *argp1 = 0 ;
29389 int res1 = 0 ;
29390 void *argp2 = 0 ;
29391 int res2 = 0 ;
29392 void *argp3 = 0 ;
29393 int res3 = 0 ;
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 PyObject * obj2 = 0 ;
29397 char * kwnames[] = {
29398 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29399 };
29400
29401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29403 if (!SWIG_IsOK(res1)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29405 }
29406 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29407 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29408 if (!SWIG_IsOK(res2)) {
29409 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29410 }
29411 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29412 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29413 if (!SWIG_IsOK(res3)) {
29414 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29415 }
29416 if (!argp3) {
29417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29418 }
29419 arg3 = reinterpret_cast< wxDC * >(argp3);
29420 {
29421 PyThreadState* __tstate = wxPyBeginAllowThreads();
29422 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29423 wxPyEndAllowThreads(__tstate);
29424 if (PyErr_Occurred()) SWIG_fail;
29425 }
29426 {
29427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29428 }
29429 return resultobj;
29430 fail:
29431 return NULL;
29432 }
29433
29434
29435 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29436 PyObject *resultobj = 0;
29437 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29438 int arg2 ;
29439 bool result;
29440 void *argp1 = 0 ;
29441 int res1 = 0 ;
29442 int val2 ;
29443 int ecode2 = 0 ;
29444 PyObject * obj0 = 0 ;
29445 PyObject * obj1 = 0 ;
29446 char * kwnames[] = {
29447 (char *) "self",(char *) "pageNum", NULL
29448 };
29449
29450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29452 if (!SWIG_IsOK(res1)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29454 }
29455 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29456 ecode2 = SWIG_AsVal_int(obj1, &val2);
29457 if (!SWIG_IsOK(ecode2)) {
29458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29459 }
29460 arg2 = static_cast< int >(val2);
29461 {
29462 PyThreadState* __tstate = wxPyBeginAllowThreads();
29463 result = (bool)(arg1)->RenderPage(arg2);
29464 wxPyEndAllowThreads(__tstate);
29465 if (PyErr_Occurred()) SWIG_fail;
29466 }
29467 {
29468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29469 }
29470 return resultobj;
29471 fail:
29472 return NULL;
29473 }
29474
29475
29476 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29477 PyObject *resultobj = 0;
29478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29479 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29480 void *argp1 = 0 ;
29481 int res1 = 0 ;
29482 void *argp2 = 0 ;
29483 int res2 = 0 ;
29484 PyObject * obj0 = 0 ;
29485 PyObject * obj1 = 0 ;
29486 char * kwnames[] = {
29487 (char *) "self",(char *) "canvas", NULL
29488 };
29489
29490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29492 if (!SWIG_IsOK(res1)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29494 }
29495 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29496 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29497 if (!SWIG_IsOK(res2)) {
29498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29499 }
29500 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29501 {
29502 PyThreadState* __tstate = wxPyBeginAllowThreads();
29503 (arg1)->AdjustScrollbars(arg2);
29504 wxPyEndAllowThreads(__tstate);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 resultobj = SWIG_Py_Void();
29508 return resultobj;
29509 fail:
29510 return NULL;
29511 }
29512
29513
29514 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29515 PyObject *resultobj = 0;
29516 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29517 wxPrintDialogData *result = 0 ;
29518 void *argp1 = 0 ;
29519 int res1 = 0 ;
29520 PyObject *swig_obj[1] ;
29521
29522 if (!args) SWIG_fail;
29523 swig_obj[0] = args;
29524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29525 if (!SWIG_IsOK(res1)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29527 }
29528 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29529 {
29530 PyThreadState* __tstate = wxPyBeginAllowThreads();
29531 {
29532 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29533 result = (wxPrintDialogData *) &_result_ref;
29534 }
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29539 return resultobj;
29540 fail:
29541 return NULL;
29542 }
29543
29544
29545 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29546 PyObject *resultobj = 0;
29547 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29548 int arg2 ;
29549 void *argp1 = 0 ;
29550 int res1 = 0 ;
29551 int val2 ;
29552 int ecode2 = 0 ;
29553 PyObject * obj0 = 0 ;
29554 PyObject * obj1 = 0 ;
29555 char * kwnames[] = {
29556 (char *) "self",(char *) "percent", NULL
29557 };
29558
29559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29561 if (!SWIG_IsOK(res1)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29563 }
29564 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29565 ecode2 = SWIG_AsVal_int(obj1, &val2);
29566 if (!SWIG_IsOK(ecode2)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29568 }
29569 arg2 = static_cast< int >(val2);
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 (arg1)->SetZoom(arg2);
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = SWIG_Py_Void();
29577 return resultobj;
29578 fail:
29579 return NULL;
29580 }
29581
29582
29583 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 PyObject *resultobj = 0;
29585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29586 int result;
29587 void *argp1 = 0 ;
29588 int res1 = 0 ;
29589 PyObject *swig_obj[1] ;
29590
29591 if (!args) SWIG_fail;
29592 swig_obj[0] = args;
29593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29594 if (!SWIG_IsOK(res1)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29596 }
29597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 result = (int)(arg1)->GetZoom();
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 resultobj = SWIG_From_int(static_cast< int >(result));
29605 return resultobj;
29606 fail:
29607 return NULL;
29608 }
29609
29610
29611 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29612 PyObject *resultobj = 0;
29613 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29614 int result;
29615 void *argp1 = 0 ;
29616 int res1 = 0 ;
29617 PyObject *swig_obj[1] ;
29618
29619 if (!args) SWIG_fail;
29620 swig_obj[0] = args;
29621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29622 if (!SWIG_IsOK(res1)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29624 }
29625 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29626 {
29627 PyThreadState* __tstate = wxPyBeginAllowThreads();
29628 result = (int)(arg1)->GetMaxPage();
29629 wxPyEndAllowThreads(__tstate);
29630 if (PyErr_Occurred()) SWIG_fail;
29631 }
29632 resultobj = SWIG_From_int(static_cast< int >(result));
29633 return resultobj;
29634 fail:
29635 return NULL;
29636 }
29637
29638
29639 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29640 PyObject *resultobj = 0;
29641 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29642 int result;
29643 void *argp1 = 0 ;
29644 int res1 = 0 ;
29645 PyObject *swig_obj[1] ;
29646
29647 if (!args) SWIG_fail;
29648 swig_obj[0] = args;
29649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29650 if (!SWIG_IsOK(res1)) {
29651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29652 }
29653 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29654 {
29655 PyThreadState* __tstate = wxPyBeginAllowThreads();
29656 result = (int)(arg1)->GetMinPage();
29657 wxPyEndAllowThreads(__tstate);
29658 if (PyErr_Occurred()) SWIG_fail;
29659 }
29660 resultobj = SWIG_From_int(static_cast< int >(result));
29661 return resultobj;
29662 fail:
29663 return NULL;
29664 }
29665
29666
29667 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29668 PyObject *resultobj = 0;
29669 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29670 bool result;
29671 void *argp1 = 0 ;
29672 int res1 = 0 ;
29673 PyObject *swig_obj[1] ;
29674
29675 if (!args) SWIG_fail;
29676 swig_obj[0] = args;
29677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29678 if (!SWIG_IsOK(res1)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29680 }
29681 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 result = (bool)(arg1)->Ok();
29685 wxPyEndAllowThreads(__tstate);
29686 if (PyErr_Occurred()) SWIG_fail;
29687 }
29688 {
29689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29690 }
29691 return resultobj;
29692 fail:
29693 return NULL;
29694 }
29695
29696
29697 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj = 0;
29699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29700 bool arg2 ;
29701 void *argp1 = 0 ;
29702 int res1 = 0 ;
29703 bool val2 ;
29704 int ecode2 = 0 ;
29705 PyObject * obj0 = 0 ;
29706 PyObject * obj1 = 0 ;
29707 char * kwnames[] = {
29708 (char *) "self",(char *) "ok", NULL
29709 };
29710
29711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29713 if (!SWIG_IsOK(res1)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29715 }
29716 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29717 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29718 if (!SWIG_IsOK(ecode2)) {
29719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29720 }
29721 arg2 = static_cast< bool >(val2);
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 (arg1)->SetOk(arg2);
29725 wxPyEndAllowThreads(__tstate);
29726 if (PyErr_Occurred()) SWIG_fail;
29727 }
29728 resultobj = SWIG_Py_Void();
29729 return resultobj;
29730 fail:
29731 return NULL;
29732 }
29733
29734
29735 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29736 PyObject *resultobj = 0;
29737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29738 bool arg2 ;
29739 bool result;
29740 void *argp1 = 0 ;
29741 int res1 = 0 ;
29742 bool val2 ;
29743 int ecode2 = 0 ;
29744 PyObject * obj0 = 0 ;
29745 PyObject * obj1 = 0 ;
29746 char * kwnames[] = {
29747 (char *) "self",(char *) "interactive", NULL
29748 };
29749
29750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29752 if (!SWIG_IsOK(res1)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29754 }
29755 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29756 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29757 if (!SWIG_IsOK(ecode2)) {
29758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29759 }
29760 arg2 = static_cast< bool >(val2);
29761 {
29762 PyThreadState* __tstate = wxPyBeginAllowThreads();
29763 result = (bool)(arg1)->Print(arg2);
29764 wxPyEndAllowThreads(__tstate);
29765 if (PyErr_Occurred()) SWIG_fail;
29766 }
29767 {
29768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29769 }
29770 return resultobj;
29771 fail:
29772 return NULL;
29773 }
29774
29775
29776 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29777 PyObject *resultobj = 0;
29778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29779 void *argp1 = 0 ;
29780 int res1 = 0 ;
29781 PyObject *swig_obj[1] ;
29782
29783 if (!args) SWIG_fail;
29784 swig_obj[0] = args;
29785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29786 if (!SWIG_IsOK(res1)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29788 }
29789 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 (arg1)->DetermineScaling();
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 resultobj = SWIG_Py_Void();
29797 return resultobj;
29798 fail:
29799 return NULL;
29800 }
29801
29802
29803 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29804 PyObject *obj;
29805 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29806 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29807 return SWIG_Py_Void();
29808 }
29809
29810 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29811 return SWIG_Python_InitShadowInstance(args);
29812 }
29813
29814 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29815 PyObject *resultobj = 0;
29816 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29817 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29818 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29819 wxPyPrintPreview *result = 0 ;
29820 int res1 = 0 ;
29821 int res2 = 0 ;
29822 void *argp3 = 0 ;
29823 int res3 = 0 ;
29824
29825 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29826 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29827 if (!SWIG_IsOK(res1)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29829 }
29830 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29831 if (!SWIG_IsOK(res2)) {
29832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29833 }
29834 if (swig_obj[2]) {
29835 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29836 if (!SWIG_IsOK(res3)) {
29837 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29838 }
29839 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29840 }
29841 {
29842 if (!wxPyCheckForApp()) SWIG_fail;
29843 PyThreadState* __tstate = wxPyBeginAllowThreads();
29844 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29845 wxPyEndAllowThreads(__tstate);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
29848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29849 return resultobj;
29850 fail:
29851 return NULL;
29852 }
29853
29854
29855 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29856 PyObject *resultobj = 0;
29857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29858 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29859 wxPrintData *arg3 = (wxPrintData *) 0 ;
29860 wxPyPrintPreview *result = 0 ;
29861 int res1 = 0 ;
29862 int res2 = 0 ;
29863 void *argp3 = 0 ;
29864 int res3 = 0 ;
29865
29866 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29867 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29868 if (!SWIG_IsOK(res1)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29870 }
29871 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29872 if (!SWIG_IsOK(res2)) {
29873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29874 }
29875 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29876 if (!SWIG_IsOK(res3)) {
29877 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29878 }
29879 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29880 {
29881 if (!wxPyCheckForApp()) SWIG_fail;
29882 PyThreadState* __tstate = wxPyBeginAllowThreads();
29883 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29884 wxPyEndAllowThreads(__tstate);
29885 if (PyErr_Occurred()) SWIG_fail;
29886 }
29887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29888 return resultobj;
29889 fail:
29890 return NULL;
29891 }
29892
29893
29894 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29895 int argc;
29896 PyObject *argv[4];
29897
29898 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29899 --argc;
29900 if ((argc >= 2) && (argc <= 3)) {
29901 int _v = 0;
29902 if (argc > 2) {
29903 {
29904 void *vptr = 0;
29905 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29906 _v = SWIG_CheckState(res);
29907 }
29908 if (!_v) goto check_1;
29909 }
29910 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29911 }
29912 check_1:
29913
29914 if (argc == 3) {
29915 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29916 }
29917
29918 fail:
29919 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29920 return NULL;
29921 }
29922
29923
29924 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29925 PyObject *resultobj = 0;
29926 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29927 PyObject *arg2 = (PyObject *) 0 ;
29928 PyObject *arg3 = (PyObject *) 0 ;
29929 void *argp1 = 0 ;
29930 int res1 = 0 ;
29931 PyObject * obj0 = 0 ;
29932 PyObject * obj1 = 0 ;
29933 PyObject * obj2 = 0 ;
29934 char * kwnames[] = {
29935 (char *) "self",(char *) "self",(char *) "_class", NULL
29936 };
29937
29938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29940 if (!SWIG_IsOK(res1)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29942 }
29943 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29944 arg2 = obj1;
29945 arg3 = obj2;
29946 {
29947 PyThreadState* __tstate = wxPyBeginAllowThreads();
29948 (arg1)->_setCallbackInfo(arg2,arg3);
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 resultobj = SWIG_Py_Void();
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29960 PyObject *obj;
29961 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
29963 return SWIG_Py_Void();
29964 }
29965
29966 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29967 return SWIG_Python_InitShadowInstance(args);
29968 }
29969
29970 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29971 PyObject *resultobj = 0;
29972 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29973 wxFrame *arg2 = (wxFrame *) 0 ;
29974 wxString *arg3 = 0 ;
29975 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29976 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29977 wxSize const &arg5_defvalue = wxDefaultSize ;
29978 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29979 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29980 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29981 wxString *arg7 = (wxString *) &arg7_defvalue ;
29982 wxPyPreviewFrame *result = 0 ;
29983 void *argp1 = 0 ;
29984 int res1 = 0 ;
29985 void *argp2 = 0 ;
29986 int res2 = 0 ;
29987 bool temp3 = false ;
29988 wxPoint temp4 ;
29989 wxSize temp5 ;
29990 long val6 ;
29991 int ecode6 = 0 ;
29992 bool temp7 = false ;
29993 PyObject * obj0 = 0 ;
29994 PyObject * obj1 = 0 ;
29995 PyObject * obj2 = 0 ;
29996 PyObject * obj3 = 0 ;
29997 PyObject * obj4 = 0 ;
29998 PyObject * obj5 = 0 ;
29999 PyObject * obj6 = 0 ;
30000 char * kwnames[] = {
30001 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30002 };
30003
30004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30006 if (!SWIG_IsOK(res1)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30008 }
30009 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30011 if (!SWIG_IsOK(res2)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30013 }
30014 arg2 = reinterpret_cast< wxFrame * >(argp2);
30015 {
30016 arg3 = wxString_in_helper(obj2);
30017 if (arg3 == NULL) SWIG_fail;
30018 temp3 = true;
30019 }
30020 if (obj3) {
30021 {
30022 arg4 = &temp4;
30023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30024 }
30025 }
30026 if (obj4) {
30027 {
30028 arg5 = &temp5;
30029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30030 }
30031 }
30032 if (obj5) {
30033 ecode6 = SWIG_AsVal_long(obj5, &val6);
30034 if (!SWIG_IsOK(ecode6)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30036 }
30037 arg6 = static_cast< long >(val6);
30038 }
30039 if (obj6) {
30040 {
30041 arg7 = wxString_in_helper(obj6);
30042 if (arg7 == NULL) SWIG_fail;
30043 temp7 = true;
30044 }
30045 }
30046 {
30047 if (!wxPyCheckForApp()) SWIG_fail;
30048 PyThreadState* __tstate = wxPyBeginAllowThreads();
30049 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30050 wxPyEndAllowThreads(__tstate);
30051 if (PyErr_Occurred()) SWIG_fail;
30052 }
30053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30054 {
30055 if (temp3)
30056 delete arg3;
30057 }
30058 {
30059 if (temp7)
30060 delete arg7;
30061 }
30062 return resultobj;
30063 fail:
30064 {
30065 if (temp3)
30066 delete arg3;
30067 }
30068 {
30069 if (temp7)
30070 delete arg7;
30071 }
30072 return NULL;
30073 }
30074
30075
30076 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30077 PyObject *resultobj = 0;
30078 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30079 PyObject *arg2 = (PyObject *) 0 ;
30080 PyObject *arg3 = (PyObject *) 0 ;
30081 void *argp1 = 0 ;
30082 int res1 = 0 ;
30083 PyObject * obj0 = 0 ;
30084 PyObject * obj1 = 0 ;
30085 PyObject * obj2 = 0 ;
30086 char * kwnames[] = {
30087 (char *) "self",(char *) "self",(char *) "_class", NULL
30088 };
30089
30090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30092 if (!SWIG_IsOK(res1)) {
30093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30094 }
30095 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30096 arg2 = obj1;
30097 arg3 = obj2;
30098 {
30099 PyThreadState* __tstate = wxPyBeginAllowThreads();
30100 (arg1)->_setCallbackInfo(arg2,arg3);
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 resultobj = SWIG_Py_Void();
30105 return resultobj;
30106 fail:
30107 return NULL;
30108 }
30109
30110
30111 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30112 PyObject *resultobj = 0;
30113 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30114 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30115 void *argp1 = 0 ;
30116 int res1 = 0 ;
30117 void *argp2 = 0 ;
30118 int res2 = 0 ;
30119 PyObject * obj0 = 0 ;
30120 PyObject * obj1 = 0 ;
30121 char * kwnames[] = {
30122 (char *) "self",(char *) "canvas", NULL
30123 };
30124
30125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30127 if (!SWIG_IsOK(res1)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30129 }
30130 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30131 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30132 if (!SWIG_IsOK(res2)) {
30133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30134 }
30135 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30136 {
30137 PyThreadState* __tstate = wxPyBeginAllowThreads();
30138 (arg1)->SetPreviewCanvas(arg2);
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 resultobj = SWIG_Py_Void();
30143 return resultobj;
30144 fail:
30145 return NULL;
30146 }
30147
30148
30149 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30150 PyObject *resultobj = 0;
30151 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30152 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30153 void *argp1 = 0 ;
30154 int res1 = 0 ;
30155 void *argp2 = 0 ;
30156 int res2 = 0 ;
30157 PyObject * obj0 = 0 ;
30158 PyObject * obj1 = 0 ;
30159 char * kwnames[] = {
30160 (char *) "self",(char *) "bar", NULL
30161 };
30162
30163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30165 if (!SWIG_IsOK(res1)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30167 }
30168 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30169 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30170 if (!SWIG_IsOK(res2)) {
30171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30172 }
30173 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30174 {
30175 PyThreadState* __tstate = wxPyBeginAllowThreads();
30176 (arg1)->SetControlBar(arg2);
30177 wxPyEndAllowThreads(__tstate);
30178 if (PyErr_Occurred()) SWIG_fail;
30179 }
30180 resultobj = SWIG_Py_Void();
30181 return resultobj;
30182 fail:
30183 return NULL;
30184 }
30185
30186
30187 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30188 PyObject *resultobj = 0;
30189 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30190 void *argp1 = 0 ;
30191 int res1 = 0 ;
30192 PyObject *swig_obj[1] ;
30193
30194 if (!args) SWIG_fail;
30195 swig_obj[0] = args;
30196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30197 if (!SWIG_IsOK(res1)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30199 }
30200 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30201 {
30202 PyThreadState* __tstate = wxPyBeginAllowThreads();
30203 (arg1)->Initialize();
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 resultobj = SWIG_Py_Void();
30208 return resultobj;
30209 fail:
30210 return NULL;
30211 }
30212
30213
30214 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30215 PyObject *resultobj = 0;
30216 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30217 void *argp1 = 0 ;
30218 int res1 = 0 ;
30219 PyObject *swig_obj[1] ;
30220
30221 if (!args) SWIG_fail;
30222 swig_obj[0] = args;
30223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30224 if (!SWIG_IsOK(res1)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30226 }
30227 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30228 {
30229 PyThreadState* __tstate = wxPyBeginAllowThreads();
30230 (arg1)->CreateCanvas();
30231 wxPyEndAllowThreads(__tstate);
30232 if (PyErr_Occurred()) SWIG_fail;
30233 }
30234 resultobj = SWIG_Py_Void();
30235 return resultobj;
30236 fail:
30237 return NULL;
30238 }
30239
30240
30241 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30242 PyObject *resultobj = 0;
30243 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30244 void *argp1 = 0 ;
30245 int res1 = 0 ;
30246 PyObject *swig_obj[1] ;
30247
30248 if (!args) SWIG_fail;
30249 swig_obj[0] = args;
30250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30251 if (!SWIG_IsOK(res1)) {
30252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30253 }
30254 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30255 {
30256 PyThreadState* __tstate = wxPyBeginAllowThreads();
30257 (arg1)->CreateControlBar();
30258 wxPyEndAllowThreads(__tstate);
30259 if (PyErr_Occurred()) SWIG_fail;
30260 }
30261 resultobj = SWIG_Py_Void();
30262 return resultobj;
30263 fail:
30264 return NULL;
30265 }
30266
30267
30268 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30269 PyObject *obj;
30270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30271 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30272 return SWIG_Py_Void();
30273 }
30274
30275 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30276 return SWIG_Python_InitShadowInstance(args);
30277 }
30278
30279 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj = 0;
30281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30282 long arg2 ;
30283 wxWindow *arg3 = (wxWindow *) 0 ;
30284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30286 wxSize const &arg5_defvalue = wxDefaultSize ;
30287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30288 long arg6 = (long) 0 ;
30289 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30290 wxString *arg7 = (wxString *) &arg7_defvalue ;
30291 wxPyPreviewControlBar *result = 0 ;
30292 void *argp1 = 0 ;
30293 int res1 = 0 ;
30294 long val2 ;
30295 int ecode2 = 0 ;
30296 void *argp3 = 0 ;
30297 int res3 = 0 ;
30298 wxPoint temp4 ;
30299 wxSize temp5 ;
30300 long val6 ;
30301 int ecode6 = 0 ;
30302 bool temp7 = false ;
30303 PyObject * obj0 = 0 ;
30304 PyObject * obj1 = 0 ;
30305 PyObject * obj2 = 0 ;
30306 PyObject * obj3 = 0 ;
30307 PyObject * obj4 = 0 ;
30308 PyObject * obj5 = 0 ;
30309 PyObject * obj6 = 0 ;
30310 char * kwnames[] = {
30311 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30312 };
30313
30314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30316 if (!SWIG_IsOK(res1)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30318 }
30319 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30320 ecode2 = SWIG_AsVal_long(obj1, &val2);
30321 if (!SWIG_IsOK(ecode2)) {
30322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30323 }
30324 arg2 = static_cast< long >(val2);
30325 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30326 if (!SWIG_IsOK(res3)) {
30327 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30328 }
30329 arg3 = reinterpret_cast< wxWindow * >(argp3);
30330 if (obj3) {
30331 {
30332 arg4 = &temp4;
30333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30334 }
30335 }
30336 if (obj4) {
30337 {
30338 arg5 = &temp5;
30339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30340 }
30341 }
30342 if (obj5) {
30343 ecode6 = SWIG_AsVal_long(obj5, &val6);
30344 if (!SWIG_IsOK(ecode6)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30346 }
30347 arg6 = static_cast< long >(val6);
30348 }
30349 if (obj6) {
30350 {
30351 arg7 = wxString_in_helper(obj6);
30352 if (arg7 == NULL) SWIG_fail;
30353 temp7 = true;
30354 }
30355 }
30356 {
30357 if (!wxPyCheckForApp()) SWIG_fail;
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30360 wxPyEndAllowThreads(__tstate);
30361 if (PyErr_Occurred()) SWIG_fail;
30362 }
30363 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30364 {
30365 if (temp7)
30366 delete arg7;
30367 }
30368 return resultobj;
30369 fail:
30370 {
30371 if (temp7)
30372 delete arg7;
30373 }
30374 return NULL;
30375 }
30376
30377
30378 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30379 PyObject *resultobj = 0;
30380 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30381 PyObject *arg2 = (PyObject *) 0 ;
30382 PyObject *arg3 = (PyObject *) 0 ;
30383 void *argp1 = 0 ;
30384 int res1 = 0 ;
30385 PyObject * obj0 = 0 ;
30386 PyObject * obj1 = 0 ;
30387 PyObject * obj2 = 0 ;
30388 char * kwnames[] = {
30389 (char *) "self",(char *) "self",(char *) "_class", NULL
30390 };
30391
30392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30394 if (!SWIG_IsOK(res1)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30396 }
30397 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30398 arg2 = obj1;
30399 arg3 = obj2;
30400 {
30401 PyThreadState* __tstate = wxPyBeginAllowThreads();
30402 (arg1)->_setCallbackInfo(arg2,arg3);
30403 wxPyEndAllowThreads(__tstate);
30404 if (PyErr_Occurred()) SWIG_fail;
30405 }
30406 resultobj = SWIG_Py_Void();
30407 return resultobj;
30408 fail:
30409 return NULL;
30410 }
30411
30412
30413 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30414 PyObject *resultobj = 0;
30415 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30416 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30417 void *argp1 = 0 ;
30418 int res1 = 0 ;
30419 void *argp2 = 0 ;
30420 int res2 = 0 ;
30421 PyObject * obj0 = 0 ;
30422 PyObject * obj1 = 0 ;
30423 char * kwnames[] = {
30424 (char *) "self",(char *) "preview", NULL
30425 };
30426
30427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30429 if (!SWIG_IsOK(res1)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30431 }
30432 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30434 if (!SWIG_IsOK(res2)) {
30435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30436 }
30437 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30438 {
30439 PyThreadState* __tstate = wxPyBeginAllowThreads();
30440 (arg1)->SetPrintPreview(arg2);
30441 wxPyEndAllowThreads(__tstate);
30442 if (PyErr_Occurred()) SWIG_fail;
30443 }
30444 resultobj = SWIG_Py_Void();
30445 return resultobj;
30446 fail:
30447 return NULL;
30448 }
30449
30450
30451 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30452 PyObject *resultobj = 0;
30453 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30454 void *argp1 = 0 ;
30455 int res1 = 0 ;
30456 PyObject *swig_obj[1] ;
30457
30458 if (!args) SWIG_fail;
30459 swig_obj[0] = args;
30460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30461 if (!SWIG_IsOK(res1)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30463 }
30464 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30465 {
30466 PyThreadState* __tstate = wxPyBeginAllowThreads();
30467 (arg1)->CreateButtons();
30468 wxPyEndAllowThreads(__tstate);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 resultobj = SWIG_Py_Void();
30472 return resultobj;
30473 fail:
30474 return NULL;
30475 }
30476
30477
30478 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30479 PyObject *resultobj = 0;
30480 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30481 int arg2 ;
30482 void *argp1 = 0 ;
30483 int res1 = 0 ;
30484 int val2 ;
30485 int ecode2 = 0 ;
30486 PyObject * obj0 = 0 ;
30487 PyObject * obj1 = 0 ;
30488 char * kwnames[] = {
30489 (char *) "self",(char *) "zoom", NULL
30490 };
30491
30492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30494 if (!SWIG_IsOK(res1)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30496 }
30497 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30498 ecode2 = SWIG_AsVal_int(obj1, &val2);
30499 if (!SWIG_IsOK(ecode2)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30501 }
30502 arg2 = static_cast< int >(val2);
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 (arg1)->SetZoomControl(arg2);
30506 wxPyEndAllowThreads(__tstate);
30507 if (PyErr_Occurred()) SWIG_fail;
30508 }
30509 resultobj = SWIG_Py_Void();
30510 return resultobj;
30511 fail:
30512 return NULL;
30513 }
30514
30515
30516 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30517 PyObject *obj;
30518 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30520 return SWIG_Py_Void();
30521 }
30522
30523 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30524 return SWIG_Python_InitShadowInstance(args);
30525 }
30526
30527 static PyMethodDef SwigMethods[] = {
30528 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30529 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30530 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30531 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30532 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30533 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30534 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30535 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30536 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30537 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30538 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30539 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30540 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30541 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30542 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30543 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30544 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30545 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30546 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30547 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30548 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30549 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30550 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30551 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30552 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30553 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30554 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30555 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30556 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30557 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30558 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30559 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30560 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30561 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30562 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30563 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30564 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30565 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30566 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30567 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30568 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30569 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30570 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30571 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30572 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30573 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30574 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30575 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30576 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30578 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30579 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30580 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30581 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30582 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30583 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30584 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30587 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30588 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30589 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30590 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30591 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30592 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30593 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30594 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30595 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30596 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30598 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30599 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30600 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30601 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30602 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30603 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30604 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30605 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30606 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30607 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30608 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30609 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30610 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30611 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30612 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30615 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30616 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30617 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30618 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30619 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30620 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30621 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30622 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30623 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30624 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30625 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30626 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30627 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30628 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30629 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30630 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30631 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30632 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30633 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30634 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30635 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30636 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30638 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30640 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30641 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30642 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30643 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30645 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30646 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30648 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30649 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30650 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30651 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30653 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30654 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30655 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30656 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30657 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30658 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30659 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30660 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30661 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30662 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30663 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30666 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30667 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30668 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30669 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30671 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30672 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30674 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30675 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30676 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30677 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30678 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30679 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30680 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30681 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30682 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30683 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30684 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
30685 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30687 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30688 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30689 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30690 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
30691 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
30692 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
30693 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
30695 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30696 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30697 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30698 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30699 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30700 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30701 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30702 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
30703 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30704 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
30705 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30707 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30708 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
30709 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30712 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
30713 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
30715 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
30716 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
30717 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30718 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
30719 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
30720 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
30721 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
30722 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
30723 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
30724 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
30725 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
30726 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30727 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
30728 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
30729 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
30731 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
30732 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
30733 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30734 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
30735 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30736 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
30737 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
30738 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
30739 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30741 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
30742 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
30744 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
30745 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
30746 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
30748 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30749 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30750 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
30751 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
30755 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30756 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30757 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
30758 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30760 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30761 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
30762 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
30763 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
30765 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
30768 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
30769 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30770 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
30771 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
30774 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
30775 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
30776 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30777 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
30778 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
30779 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
30780 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
30781 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30782 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
30783 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30785 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30788 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30790 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30792 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30793 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30794 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
30795 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30796 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30797 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30798 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
30801 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
30802 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30803 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
30804 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30807 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30808 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
30809 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30810 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30811 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30812 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
30813 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30815 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
30816 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
30818 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30823 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
30824 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30825 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
30830 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
30831 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
30833 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
30837 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
30839 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30840 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30841 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
30842 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30844 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30845 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
30846 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
30848 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30849 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
30850 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
30851 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
30853 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30854 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30855 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30856 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30857 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
30858 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
30863 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
30864 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
30866 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
30867 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
30868 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30871 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
30872 { (char *)"DirDialog_GetStyle", (PyCFunction)_wrap_DirDialog_GetStyle, METH_O, NULL},
30873 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
30876 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
30877 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30886 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30887 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30888 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30889 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
30890 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
30891 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30892 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30893 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
30894 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
30895 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
30896 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
30899 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
30900 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
30901 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30903 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
30904 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
30906 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
30907 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
30909 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
30911 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
30912 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
30914 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
30915 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30916 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
30917 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30919 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30920 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30921 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30922 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30923 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
30924 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30926 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
30931 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
30932 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
30934 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
30935 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
30936 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30938 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
30939 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
30940 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
30943 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
30944 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
30945 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30947 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30948 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30949 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
30950 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30953 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
30954 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
30955 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
30956 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
30957 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
30958 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
30959 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
30960 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
30964 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
30965 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
30967 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
30969 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
30971 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
30972 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
30974 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
30976 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
30977 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
30978 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
30979 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
30980 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
30981 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
30982 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
30984 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
30985 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
30987 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
30989 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
30990 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
30991 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
30993 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
30995 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
30996 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
30998 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31006 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31007 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31008 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31009 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31010 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31011 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31012 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31013 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31014 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31016 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31024 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31025 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31026 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31027 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31028 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31029 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31030 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31031 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31032 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31034 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31039 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31040 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31041 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31042 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31043 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31044 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31045 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31046 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31047 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31048 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31049 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31050 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31051 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31052 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31053 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31054 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31055 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31056 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31057 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31058 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31059 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31060 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31061 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31062 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31063 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31064 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31070 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31076 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31078 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31080 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31081 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31082 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31083 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31089 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31090 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31091 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31092 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31093 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31094 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31095 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31096 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31097 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31098 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31099 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31100 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31101 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31102 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31103 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31113 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31114 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31115 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31116 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31118 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31119 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31120 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31121 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31122 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31123 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31124 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31125 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31126 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31127 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31128 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31129 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31130 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31131 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31132 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31133 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31147 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31148 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31149 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31150 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31151 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31152 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31154 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31155 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31157 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31158 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31159 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31160 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31161 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31162 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31164 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31170 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31171 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31172 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31173 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31176 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31178 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31179 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31182 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31184 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31186 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31188 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31189 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31190 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31192 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31193 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31194 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31195 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31197 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31198 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31199 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31201 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31202 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31204 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31205 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31206 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31207 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31208 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31209 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31211 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31213 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31214 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31215 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31216 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31217 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31218 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31219 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31220 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31221 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31222 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31224 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31226 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31227 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31230 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31231 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31236 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31238 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31239 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31240 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31241 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31244 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31245 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31246 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31247 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31249 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31250 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31255 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31256 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31257 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31258 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31259 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31263 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31265 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31266 { NULL, NULL, 0, NULL }
31267 };
31268
31269
31270 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31271
31272 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31273 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31274 }
31275 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31277 }
31278 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31279 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31280 }
31281 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31282 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31283 }
31284 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31285 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31286 }
31287 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31288 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31289 }
31290 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31291 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31292 }
31293 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31294 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31295 }
31296 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31297 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31298 }
31299 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31301 }
31302 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31304 }
31305 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31306 return (void *)((wxEvent *) ((wxPyEvent *) x));
31307 }
31308 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31310 }
31311 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31312 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31313 }
31314 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31315 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31316 }
31317 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31318 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31319 }
31320 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31321 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31322 }
31323 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31324 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31325 }
31326 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31327 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31328 }
31329 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31330 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31331 }
31332 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31333 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31334 }
31335 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31336 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31337 }
31338 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31340 }
31341 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31342 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31343 }
31344 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31345 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31346 }
31347 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31349 }
31350 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31351 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31352 }
31353 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31354 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31355 }
31356 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31357 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31358 }
31359 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31360 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31361 }
31362 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31363 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31364 }
31365 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31366 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31367 }
31368 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31370 }
31371 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31373 }
31374 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31375 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31376 }
31377 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31378 return (void *)((wxEvent *) ((wxShowEvent *) x));
31379 }
31380 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31381 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31382 }
31383 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31384 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31385 }
31386 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31388 }
31389 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31390 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31391 }
31392 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31393 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31394 }
31395 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31396 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31397 }
31398 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31399 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31400 }
31401 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31402 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31403 }
31404 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31405 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31406 }
31407 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31408 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31409 }
31410 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31411 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31412 }
31413 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31414 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31415 }
31416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31418 }
31419 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31420 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31421 }
31422 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31423 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31424 }
31425 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31426 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31427 }
31428 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31430 }
31431 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31433 }
31434 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31436 }
31437 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31439 }
31440 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31442 }
31443 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31445 }
31446 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31448 }
31449 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31451 }
31452 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31453 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31454 }
31455 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31457 }
31458 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31460 }
31461 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31462 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31463 }
31464 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31465 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31466 }
31467 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31468 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31469 }
31470 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31471 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31472 }
31473 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31474 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31475 }
31476 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31477 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31478 }
31479 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31481 }
31482 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31483 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31484 }
31485 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31486 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31487 }
31488 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31490 }
31491 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31493 }
31494 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31496 }
31497 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31499 }
31500 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31502 }
31503 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31505 }
31506 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31508 }
31509 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31510 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31511 }
31512 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31514 }
31515 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31516 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31517 }
31518 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31519 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31520 }
31521 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31523 }
31524 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31526 }
31527 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31529 }
31530 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31532 }
31533 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31534 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31535 }
31536 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31538 }
31539 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31541 }
31542 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31544 }
31545 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31547 }
31548 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31550 }
31551 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31553 }
31554 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31555 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31556 }
31557 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31558 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31559 }
31560 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31561 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31562 }
31563 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31564 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31565 }
31566 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31567 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31568 }
31569 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31570 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31571 }
31572 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31573 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31574 }
31575 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31576 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31577 }
31578 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31580 }
31581 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31583 }
31584 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31586 }
31587 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31589 }
31590 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31592 }
31593 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) ((wxSizerItem *) x));
31595 }
31596 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31598 }
31599 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31601 }
31602 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31604 }
31605 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31607 }
31608 static void *_p_wxSizerTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) ((wxSizer *) x));
31610 }
31611 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31613 }
31614 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31616 }
31617 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31619 }
31620 static void *_p_wxEventTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) ((wxEvent *) x));
31622 }
31623 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) ((wxFontData *) x));
31625 }
31626 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) ((wxPrintData *) x));
31628 }
31629 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31631 }
31632 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31634 }
31635 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31637 }
31638 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31640 }
31641 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31643 }
31644 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31646 }
31647 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31649 }
31650 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31652 }
31653 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31655 }
31656 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31658 }
31659 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31661 }
31662 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31664 }
31665 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31667 }
31668 static void *_p_wxControlTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31670 }
31671 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31673 }
31674 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31676 }
31677 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) ((wxFSFile *) x));
31679 }
31680 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31682 }
31683 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31685 }
31686 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31688 }
31689 static void *_p_wxColourDataTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) ((wxColourData *) x));
31691 }
31692 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31694 }
31695 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31697 }
31698 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31700 }
31701 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31703 }
31704 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31706 }
31707 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31709 }
31710 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31712 }
31713 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31715 }
31716 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31718 }
31719 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31721 }
31722 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31724 }
31725 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31727 }
31728 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31730 }
31731 static void *_p_wxPrinterTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) ((wxPrinter *) x));
31733 }
31734 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) ((wxMenuItem *) x));
31736 }
31737 static void *_p_wxDateEventTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31739 }
31740 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31742 }
31743 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31745 }
31746 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31748 }
31749 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31751 }
31752 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31754 }
31755 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31757 }
31758 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31760 }
31761 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31763 }
31764 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31766 }
31767 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31769 }
31770 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31772 }
31773 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31775 }
31776 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31778 }
31779 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31781 }
31782 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31784 }
31785 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31787 }
31788 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31790 }
31791 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31793 }
31794 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) ((wxImageHandler *) x));
31796 }
31797 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31799 }
31800 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31802 }
31803 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) ((wxEvtHandler *) x));
31805 }
31806 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31808 }
31809 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31811 }
31812 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31814 }
31815 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31817 }
31818 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31820 }
31821 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31823 }
31824 static void *_p_wxImageTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) ((wxImage *) x));
31826 }
31827 static void *_p_wxFrameTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31829 }
31830 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) ((wxPyPrintout *) x));
31832 }
31833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31835 }
31836 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31838 }
31839 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31841 }
31842 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31844 }
31845 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31847 }
31848 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31850 }
31851 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31853 }
31854 static void *_p_wxWindowTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31856 }
31857 static void *_p_wxMenuTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31859 }
31860 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31862 }
31863 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31865 }
31866 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31868 }
31869 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31871 }
31872 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31874 }
31875 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31877 }
31878 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31880 }
31881 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31883 }
31884 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31886 }
31887 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31889 }
31890 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31892 }
31893 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31895 }
31896 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31898 }
31899 static void *_p_wxSashEventTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31901 }
31902 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) ((wxPrintPreview *) x));
31904 }
31905 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31907 }
31908 static void *_p_wxPanelTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31910 }
31911 static void *_p_wxDialogTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31913 }
31914 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31916 }
31917 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31919 }
31920 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31922 }
31923 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
31924 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
31925 }
31926 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
31927 return (void *)((wxObject *) ((wxPrintDialog *) x));
31928 }
31929 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31930 return (void *)((wxObject *) ((wxFileSystem *) x));
31931 }
31932 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31934 }
31935 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31936 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31937 }
31938 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31939 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31940 }
31941 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31942 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31943 }
31944 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31945 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31946 }
31947 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31948 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31949 }
31950 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31952 }
31953 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31954 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31955 }
31956 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
31957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31958 }
31959 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
31960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31961 }
31962 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31963 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31964 }
31965 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31966 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31967 }
31968 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31970 }
31971 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31973 }
31974 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
31975 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
31976 }
31977 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
31978 return (void *)((wxObject *) ((wxPrintDialogData *) x));
31979 }
31980 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31981 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31982 }
31983 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31984 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31985 }
31986 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
31987 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31988 }
31989 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
31990 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
31991 }
31992 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
31993 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31994 }
31995 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
31996 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31997 }
31998 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
31999 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32000 }
32001 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32002 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32003 }
32004 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32005 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32006 }
32007 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32008 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32009 }
32010 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32011 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32012 }
32013 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32014 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32015 }
32016 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32017 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32018 }
32019 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32020 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32021 }
32022 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32023 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32024 }
32025 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32026 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32027 }
32028 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32029 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32030 }
32031 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32032 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32033 }
32034 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32035 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32036 }
32037 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32038 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32039 }
32040 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32042 }
32043 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32044 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32045 }
32046 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32048 }
32049 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32051 }
32052 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32054 }
32055 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32056 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32057 }
32058 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32059 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32060 }
32061 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32062 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32063 }
32064 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32066 }
32067 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32068 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32069 }
32070 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32071 return (void *)((wxWindow *) ((wxMenuBar *) x));
32072 }
32073 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32075 }
32076 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32078 }
32079 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32081 }
32082 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32084 }
32085 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32087 }
32088 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32090 }
32091 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32093 }
32094 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32096 }
32097 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32098 return (void *)((wxWindow *) ((wxPanel *) x));
32099 }
32100 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32101 return (void *)((wxWindow *) ((wxStatusBar *) x));
32102 }
32103 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32104 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32105 }
32106 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32107 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32108 }
32109 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32110 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32111 }
32112 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32113 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32114 }
32115 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32116 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32117 }
32118 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32119 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32120 }
32121 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32122 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32123 }
32124 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32125 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32126 }
32127 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32128 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32129 }
32130 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32131 return (void *)((wxWindow *) ((wxSashWindow *) x));
32132 }
32133 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32134 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32135 }
32136 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32137 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32138 }
32139 static void *_p_wxControlTo_p_wxWindow(void *x) {
32140 return (void *)((wxWindow *) ((wxControl *) x));
32141 }
32142 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32144 }
32145 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32147 }
32148 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32150 }
32151 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32152 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32153 }
32154 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32155 return (void *)((wxWindow *) ((wxPyWindow *) x));
32156 }
32157 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32158 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32159 }
32160 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32161 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32162 }
32163 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32164 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32165 }
32166 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32167 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32168 }
32169 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32170 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32171 }
32172 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32173 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32174 }
32175 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32177 }
32178 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32180 }
32181 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32183 }
32184 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32185 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32186 }
32187 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32189 }
32190 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32191 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32192 }
32193 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32194 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32195 }
32196 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32197 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32198 }
32199 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32200 return (void *)((wxDialog *) ((wxColourDialog *) x));
32201 }
32202 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32203 return (void *)((wxDialog *) ((wxDirDialog *) x));
32204 }
32205 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32206 return (void *)((wxDialog *) ((wxFontDialog *) x));
32207 }
32208 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32209 return (void *)((wxDialog *) ((wxFileDialog *) x));
32210 }
32211 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32212 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32213 }
32214 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32215 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32216 }
32217 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32218 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32219 }
32220 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32221 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32222 }
32223 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32224 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32225 }
32226 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32227 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32228 }
32229 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32230 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32231 }
32232 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32233 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32234 }
32235 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32236 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32237 }
32238 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32239 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32240 }
32241 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32242 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32243 }
32244 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32245 return (void *)((wxPanel *) ((wxPyPanel *) x));
32246 }
32247 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32248 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32249 }
32250 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32251 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32252 }
32253 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32254 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32255 }
32256 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32257 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32258 }
32259 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32260 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32261 }
32262 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32263 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32264 }
32265 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32266 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32267 }
32268 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32269 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32270 }
32271 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32272 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32273 }
32274 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32275 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32276 }
32277 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32278 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32279 }
32280 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32281 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32282 }
32283 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32284 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32285 }
32286 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32287 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32288 }
32289 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32290 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32291 }
32292 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32293 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32294 }
32295 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32296 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};
32297 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32309 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32310 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32311 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32312 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32313 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32314 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32315 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32316 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32322 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32323 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32324 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32325 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32326 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32327 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32328 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32329 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32330 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32331 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32332 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32333 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32334 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32345 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32346 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32348 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32349 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32350 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32351 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32352 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32376 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32377 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32378 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32379 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32380 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32381 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32382 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32383 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32384 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32385 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32386 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32387 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32388 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32389 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32390 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32391 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32392 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32393 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32394 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32395 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32396 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32397 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32398 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32399 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32400 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32401 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32402 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32403 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32404 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32405 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32406 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32407 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32408 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32409 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32410 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32411 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32412 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32413 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32414 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32415 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32416 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32417 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32418 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32419 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32420 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32421 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32422 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32423 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32424 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32425 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32426 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32427 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32428 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32429 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32430 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32431 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32432 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32433 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32434 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32435 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32436 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32437 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32438 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32439 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32440 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32441 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32442 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32443 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32444 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32445 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32446 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32447 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32448 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32449 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32450 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32451 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32452 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32453 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32454 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32455 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32456
32457 static swig_type_info *swig_type_initial[] = {
32458 &_swigt__p_char,
32459 &_swigt__p_form_ops_t,
32460 &_swigt__p_int,
32461 &_swigt__p_unsigned_char,
32462 &_swigt__p_unsigned_int,
32463 &_swigt__p_unsigned_long,
32464 &_swigt__p_wxANIHandler,
32465 &_swigt__p_wxAcceleratorTable,
32466 &_swigt__p_wxActivateEvent,
32467 &_swigt__p_wxArrayInt,
32468 &_swigt__p_wxBMPHandler,
32469 &_swigt__p_wxBitmap,
32470 &_swigt__p_wxBoxSizer,
32471 &_swigt__p_wxCURHandler,
32472 &_swigt__p_wxCalculateLayoutEvent,
32473 &_swigt__p_wxChildFocusEvent,
32474 &_swigt__p_wxCloseEvent,
32475 &_swigt__p_wxColour,
32476 &_swigt__p_wxColourData,
32477 &_swigt__p_wxColourDialog,
32478 &_swigt__p_wxCommandEvent,
32479 &_swigt__p_wxContextMenuEvent,
32480 &_swigt__p_wxControl,
32481 &_swigt__p_wxControlWithItems,
32482 &_swigt__p_wxDC,
32483 &_swigt__p_wxDateEvent,
32484 &_swigt__p_wxDialog,
32485 &_swigt__p_wxDirDialog,
32486 &_swigt__p_wxDisplayChangedEvent,
32487 &_swigt__p_wxDropFilesEvent,
32488 &_swigt__p_wxDuplexMode,
32489 &_swigt__p_wxEraseEvent,
32490 &_swigt__p_wxEvent,
32491 &_swigt__p_wxEvtHandler,
32492 &_swigt__p_wxFSFile,
32493 &_swigt__p_wxFileDialog,
32494 &_swigt__p_wxFileSystem,
32495 &_swigt__p_wxFindDialogEvent,
32496 &_swigt__p_wxFindReplaceData,
32497 &_swigt__p_wxFindReplaceDialog,
32498 &_swigt__p_wxFlexGridSizer,
32499 &_swigt__p_wxFocusEvent,
32500 &_swigt__p_wxFont,
32501 &_swigt__p_wxFontData,
32502 &_swigt__p_wxFontDialog,
32503 &_swigt__p_wxFrame,
32504 &_swigt__p_wxGBSizerItem,
32505 &_swigt__p_wxGIFHandler,
32506 &_swigt__p_wxGridBagSizer,
32507 &_swigt__p_wxGridSizer,
32508 &_swigt__p_wxHtmlLinkInfo,
32509 &_swigt__p_wxICOHandler,
32510 &_swigt__p_wxIcon,
32511 &_swigt__p_wxIconBundle,
32512 &_swigt__p_wxIconizeEvent,
32513 &_swigt__p_wxIdleEvent,
32514 &_swigt__p_wxImage,
32515 &_swigt__p_wxImageHandler,
32516 &_swigt__p_wxIndividualLayoutConstraint,
32517 &_swigt__p_wxInitDialogEvent,
32518 &_swigt__p_wxJPEGHandler,
32519 &_swigt__p_wxKeyEvent,
32520 &_swigt__p_wxLayoutAlgorithm,
32521 &_swigt__p_wxLayoutConstraints,
32522 &_swigt__p_wxMDIChildFrame,
32523 &_swigt__p_wxMDIClientWindow,
32524 &_swigt__p_wxMDIParentFrame,
32525 &_swigt__p_wxMaximizeEvent,
32526 &_swigt__p_wxMenu,
32527 &_swigt__p_wxMenuBar,
32528 &_swigt__p_wxMenuEvent,
32529 &_swigt__p_wxMenuItem,
32530 &_swigt__p_wxMessageDialog,
32531 &_swigt__p_wxMiniFrame,
32532 &_swigt__p_wxMouseCaptureChangedEvent,
32533 &_swigt__p_wxMouseEvent,
32534 &_swigt__p_wxMoveEvent,
32535 &_swigt__p_wxMultiChoiceDialog,
32536 &_swigt__p_wxNavigationKeyEvent,
32537 &_swigt__p_wxNcPaintEvent,
32538 &_swigt__p_wxNotifyEvent,
32539 &_swigt__p_wxObject,
32540 &_swigt__p_wxPCXHandler,
32541 &_swigt__p_wxPNGHandler,
32542 &_swigt__p_wxPNMHandler,
32543 &_swigt__p_wxPageSetupDialog,
32544 &_swigt__p_wxPageSetupDialogData,
32545 &_swigt__p_wxPaintEvent,
32546 &_swigt__p_wxPaletteChangedEvent,
32547 &_swigt__p_wxPanel,
32548 &_swigt__p_wxPaperSize,
32549 &_swigt__p_wxPasswordEntryDialog,
32550 &_swigt__p_wxPoint,
32551 &_swigt__p_wxPopupWindow,
32552 &_swigt__p_wxPreviewCanvas,
32553 &_swigt__p_wxPreviewControlBar,
32554 &_swigt__p_wxPreviewFrame,
32555 &_swigt__p_wxPrintData,
32556 &_swigt__p_wxPrintDialog,
32557 &_swigt__p_wxPrintDialogData,
32558 &_swigt__p_wxPrintPreview,
32559 &_swigt__p_wxPrinter,
32560 &_swigt__p_wxProgressDialog,
32561 &_swigt__p_wxPyApp,
32562 &_swigt__p_wxPyCommandEvent,
32563 &_swigt__p_wxPyEvent,
32564 &_swigt__p_wxPyHtmlListBox,
32565 &_swigt__p_wxPyImageHandler,
32566 &_swigt__p_wxPyPanel,
32567 &_swigt__p_wxPyPopupTransientWindow,
32568 &_swigt__p_wxPyPreviewControlBar,
32569 &_swigt__p_wxPyPreviewFrame,
32570 &_swigt__p_wxPyPrintPreview,
32571 &_swigt__p_wxPyPrintout,
32572 &_swigt__p_wxPyScrolledWindow,
32573 &_swigt__p_wxPySizer,
32574 &_swigt__p_wxPyTaskBarIcon,
32575 &_swigt__p_wxPyVListBox,
32576 &_swigt__p_wxPyVScrolledWindow,
32577 &_swigt__p_wxPyValidator,
32578 &_swigt__p_wxPyWindow,
32579 &_swigt__p_wxQueryLayoutInfoEvent,
32580 &_swigt__p_wxQueryNewPaletteEvent,
32581 &_swigt__p_wxRect,
32582 &_swigt__p_wxRegion,
32583 &_swigt__p_wxSashEvent,
32584 &_swigt__p_wxSashLayoutWindow,
32585 &_swigt__p_wxSashWindow,
32586 &_swigt__p_wxScrollEvent,
32587 &_swigt__p_wxScrollWinEvent,
32588 &_swigt__p_wxScrolledWindow,
32589 &_swigt__p_wxSetCursorEvent,
32590 &_swigt__p_wxShowEvent,
32591 &_swigt__p_wxSingleChoiceDialog,
32592 &_swigt__p_wxSize,
32593 &_swigt__p_wxSizeEvent,
32594 &_swigt__p_wxSizer,
32595 &_swigt__p_wxSizerItem,
32596 &_swigt__p_wxSplashScreen,
32597 &_swigt__p_wxSplashScreenWindow,
32598 &_swigt__p_wxSplitterEvent,
32599 &_swigt__p_wxSplitterWindow,
32600 &_swigt__p_wxStaticBoxSizer,
32601 &_swigt__p_wxStatusBar,
32602 &_swigt__p_wxStdDialogButtonSizer,
32603 &_swigt__p_wxString,
32604 &_swigt__p_wxSysColourChangedEvent,
32605 &_swigt__p_wxTIFFHandler,
32606 &_swigt__p_wxTaskBarIcon,
32607 &_swigt__p_wxTaskBarIconEvent,
32608 &_swigt__p_wxTextEntryDialog,
32609 &_swigt__p_wxTipWindow,
32610 &_swigt__p_wxToolBar,
32611 &_swigt__p_wxTopLevelWindow,
32612 &_swigt__p_wxUpdateUIEvent,
32613 &_swigt__p_wxValidator,
32614 &_swigt__p_wxVisualAttributes,
32615 &_swigt__p_wxWindow,
32616 &_swigt__p_wxWindowCreateEvent,
32617 &_swigt__p_wxWindowDestroyEvent,
32618 &_swigt__p_wxXPMHandler,
32619 };
32620
32621 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32639 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32643 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}};
32644 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32667 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32671 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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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}};
32672 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32677 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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}};
32678 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32681 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32682 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32693 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32694 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32695 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32699 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}};
32700 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32701 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32702 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32703 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32704 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32715 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32716 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32719 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32720 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32721 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32723 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32724 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32725 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32726 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32727 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32728 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_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_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxImageHandler, _p_wxImageHandlerTo_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_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
32729 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32730 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32731 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}};
32732 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32733 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32734 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32735 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32736 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32737 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}};
32738 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}};
32739 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32740 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32741 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32742 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}};
32743 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32744 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32745 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32746 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32747 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
32748 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32749 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32750 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32751 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32752 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32753 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32754 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}};
32755 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}};
32756 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32757 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32758 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32759 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32760 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32761 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32762 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}};
32763 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32764 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}};
32765 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32766 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32767 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32768 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32769 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32770 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32771 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32772 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32773 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32774 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32775 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32776 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}};
32777 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32778 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32779 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_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}};
32780 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32781 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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32782
32783 static swig_cast_info *swig_cast_initial[] = {
32784 _swigc__p_char,
32785 _swigc__p_form_ops_t,
32786 _swigc__p_int,
32787 _swigc__p_unsigned_char,
32788 _swigc__p_unsigned_int,
32789 _swigc__p_unsigned_long,
32790 _swigc__p_wxANIHandler,
32791 _swigc__p_wxAcceleratorTable,
32792 _swigc__p_wxActivateEvent,
32793 _swigc__p_wxArrayInt,
32794 _swigc__p_wxBMPHandler,
32795 _swigc__p_wxBitmap,
32796 _swigc__p_wxBoxSizer,
32797 _swigc__p_wxCURHandler,
32798 _swigc__p_wxCalculateLayoutEvent,
32799 _swigc__p_wxChildFocusEvent,
32800 _swigc__p_wxCloseEvent,
32801 _swigc__p_wxColour,
32802 _swigc__p_wxColourData,
32803 _swigc__p_wxColourDialog,
32804 _swigc__p_wxCommandEvent,
32805 _swigc__p_wxContextMenuEvent,
32806 _swigc__p_wxControl,
32807 _swigc__p_wxControlWithItems,
32808 _swigc__p_wxDC,
32809 _swigc__p_wxDateEvent,
32810 _swigc__p_wxDialog,
32811 _swigc__p_wxDirDialog,
32812 _swigc__p_wxDisplayChangedEvent,
32813 _swigc__p_wxDropFilesEvent,
32814 _swigc__p_wxDuplexMode,
32815 _swigc__p_wxEraseEvent,
32816 _swigc__p_wxEvent,
32817 _swigc__p_wxEvtHandler,
32818 _swigc__p_wxFSFile,
32819 _swigc__p_wxFileDialog,
32820 _swigc__p_wxFileSystem,
32821 _swigc__p_wxFindDialogEvent,
32822 _swigc__p_wxFindReplaceData,
32823 _swigc__p_wxFindReplaceDialog,
32824 _swigc__p_wxFlexGridSizer,
32825 _swigc__p_wxFocusEvent,
32826 _swigc__p_wxFont,
32827 _swigc__p_wxFontData,
32828 _swigc__p_wxFontDialog,
32829 _swigc__p_wxFrame,
32830 _swigc__p_wxGBSizerItem,
32831 _swigc__p_wxGIFHandler,
32832 _swigc__p_wxGridBagSizer,
32833 _swigc__p_wxGridSizer,
32834 _swigc__p_wxHtmlLinkInfo,
32835 _swigc__p_wxICOHandler,
32836 _swigc__p_wxIcon,
32837 _swigc__p_wxIconBundle,
32838 _swigc__p_wxIconizeEvent,
32839 _swigc__p_wxIdleEvent,
32840 _swigc__p_wxImage,
32841 _swigc__p_wxImageHandler,
32842 _swigc__p_wxIndividualLayoutConstraint,
32843 _swigc__p_wxInitDialogEvent,
32844 _swigc__p_wxJPEGHandler,
32845 _swigc__p_wxKeyEvent,
32846 _swigc__p_wxLayoutAlgorithm,
32847 _swigc__p_wxLayoutConstraints,
32848 _swigc__p_wxMDIChildFrame,
32849 _swigc__p_wxMDIClientWindow,
32850 _swigc__p_wxMDIParentFrame,
32851 _swigc__p_wxMaximizeEvent,
32852 _swigc__p_wxMenu,
32853 _swigc__p_wxMenuBar,
32854 _swigc__p_wxMenuEvent,
32855 _swigc__p_wxMenuItem,
32856 _swigc__p_wxMessageDialog,
32857 _swigc__p_wxMiniFrame,
32858 _swigc__p_wxMouseCaptureChangedEvent,
32859 _swigc__p_wxMouseEvent,
32860 _swigc__p_wxMoveEvent,
32861 _swigc__p_wxMultiChoiceDialog,
32862 _swigc__p_wxNavigationKeyEvent,
32863 _swigc__p_wxNcPaintEvent,
32864 _swigc__p_wxNotifyEvent,
32865 _swigc__p_wxObject,
32866 _swigc__p_wxPCXHandler,
32867 _swigc__p_wxPNGHandler,
32868 _swigc__p_wxPNMHandler,
32869 _swigc__p_wxPageSetupDialog,
32870 _swigc__p_wxPageSetupDialogData,
32871 _swigc__p_wxPaintEvent,
32872 _swigc__p_wxPaletteChangedEvent,
32873 _swigc__p_wxPanel,
32874 _swigc__p_wxPaperSize,
32875 _swigc__p_wxPasswordEntryDialog,
32876 _swigc__p_wxPoint,
32877 _swigc__p_wxPopupWindow,
32878 _swigc__p_wxPreviewCanvas,
32879 _swigc__p_wxPreviewControlBar,
32880 _swigc__p_wxPreviewFrame,
32881 _swigc__p_wxPrintData,
32882 _swigc__p_wxPrintDialog,
32883 _swigc__p_wxPrintDialogData,
32884 _swigc__p_wxPrintPreview,
32885 _swigc__p_wxPrinter,
32886 _swigc__p_wxProgressDialog,
32887 _swigc__p_wxPyApp,
32888 _swigc__p_wxPyCommandEvent,
32889 _swigc__p_wxPyEvent,
32890 _swigc__p_wxPyHtmlListBox,
32891 _swigc__p_wxPyImageHandler,
32892 _swigc__p_wxPyPanel,
32893 _swigc__p_wxPyPopupTransientWindow,
32894 _swigc__p_wxPyPreviewControlBar,
32895 _swigc__p_wxPyPreviewFrame,
32896 _swigc__p_wxPyPrintPreview,
32897 _swigc__p_wxPyPrintout,
32898 _swigc__p_wxPyScrolledWindow,
32899 _swigc__p_wxPySizer,
32900 _swigc__p_wxPyTaskBarIcon,
32901 _swigc__p_wxPyVListBox,
32902 _swigc__p_wxPyVScrolledWindow,
32903 _swigc__p_wxPyValidator,
32904 _swigc__p_wxPyWindow,
32905 _swigc__p_wxQueryLayoutInfoEvent,
32906 _swigc__p_wxQueryNewPaletteEvent,
32907 _swigc__p_wxRect,
32908 _swigc__p_wxRegion,
32909 _swigc__p_wxSashEvent,
32910 _swigc__p_wxSashLayoutWindow,
32911 _swigc__p_wxSashWindow,
32912 _swigc__p_wxScrollEvent,
32913 _swigc__p_wxScrollWinEvent,
32914 _swigc__p_wxScrolledWindow,
32915 _swigc__p_wxSetCursorEvent,
32916 _swigc__p_wxShowEvent,
32917 _swigc__p_wxSingleChoiceDialog,
32918 _swigc__p_wxSize,
32919 _swigc__p_wxSizeEvent,
32920 _swigc__p_wxSizer,
32921 _swigc__p_wxSizerItem,
32922 _swigc__p_wxSplashScreen,
32923 _swigc__p_wxSplashScreenWindow,
32924 _swigc__p_wxSplitterEvent,
32925 _swigc__p_wxSplitterWindow,
32926 _swigc__p_wxStaticBoxSizer,
32927 _swigc__p_wxStatusBar,
32928 _swigc__p_wxStdDialogButtonSizer,
32929 _swigc__p_wxString,
32930 _swigc__p_wxSysColourChangedEvent,
32931 _swigc__p_wxTIFFHandler,
32932 _swigc__p_wxTaskBarIcon,
32933 _swigc__p_wxTaskBarIconEvent,
32934 _swigc__p_wxTextEntryDialog,
32935 _swigc__p_wxTipWindow,
32936 _swigc__p_wxToolBar,
32937 _swigc__p_wxTopLevelWindow,
32938 _swigc__p_wxUpdateUIEvent,
32939 _swigc__p_wxValidator,
32940 _swigc__p_wxVisualAttributes,
32941 _swigc__p_wxWindow,
32942 _swigc__p_wxWindowCreateEvent,
32943 _swigc__p_wxWindowDestroyEvent,
32944 _swigc__p_wxXPMHandler,
32945 };
32946
32947
32948 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32949
32950 static swig_const_info swig_const_table[] = {
32951 {0, 0, 0, 0.0, 0, 0}};
32952
32953 #ifdef __cplusplus
32954 }
32955 #endif
32956 /* -----------------------------------------------------------------------------
32957 * Type initialization:
32958 * This problem is tough by the requirement that no dynamic
32959 * memory is used. Also, since swig_type_info structures store pointers to
32960 * swig_cast_info structures and swig_cast_info structures store pointers back
32961 * to swig_type_info structures, we need some lookup code at initialization.
32962 * The idea is that swig generates all the structures that are needed.
32963 * The runtime then collects these partially filled structures.
32964 * The SWIG_InitializeModule function takes these initial arrays out of
32965 * swig_module, and does all the lookup, filling in the swig_module.types
32966 * array with the correct data and linking the correct swig_cast_info
32967 * structures together.
32968 *
32969 * The generated swig_type_info structures are assigned staticly to an initial
32970 * array. We just loop though that array, and handle each type individually.
32971 * First we lookup if this type has been already loaded, and if so, use the
32972 * loaded structure instead of the generated one. Then we have to fill in the
32973 * cast linked list. The cast data is initially stored in something like a
32974 * two-dimensional array. Each row corresponds to a type (there are the same
32975 * number of rows as there are in the swig_type_initial array). Each entry in
32976 * a column is one of the swig_cast_info structures for that type.
32977 * The cast_initial array is actually an array of arrays, because each row has
32978 * a variable number of columns. So to actually build the cast linked list,
32979 * we find the array of casts associated with the type, and loop through it
32980 * adding the casts to the list. The one last trick we need to do is making
32981 * sure the type pointer in the swig_cast_info struct is correct.
32982 *
32983 * First off, we lookup the cast->type name to see if it is already loaded.
32984 * There are three cases to handle:
32985 * 1) If the cast->type has already been loaded AND the type we are adding
32986 * casting info to has not been loaded (it is in this module), THEN we
32987 * replace the cast->type pointer with the type pointer that has already
32988 * been loaded.
32989 * 2) If BOTH types (the one we are adding casting info to, and the
32990 * cast->type) are loaded, THEN the cast info has already been loaded by
32991 * the previous module so we just ignore it.
32992 * 3) Finally, if cast->type has not already been loaded, then we add that
32993 * swig_cast_info to the linked list (because the cast->type) pointer will
32994 * be correct.
32995 * ----------------------------------------------------------------------------- */
32996
32997 #ifdef __cplusplus
32998 extern "C" {
32999 #if 0
33000 } /* c-mode */
33001 #endif
33002 #endif
33003
33004 #if 0
33005 #define SWIGRUNTIME_DEBUG
33006 #endif
33007
33008 SWIGRUNTIME void
33009 SWIG_InitializeModule(void *clientdata) {
33010 size_t i;
33011 swig_module_info *module_head;
33012 static int init_run = 0;
33013
33014 clientdata = clientdata;
33015
33016 if (init_run) return;
33017 init_run = 1;
33018
33019 /* Initialize the swig_module */
33020 swig_module.type_initial = swig_type_initial;
33021 swig_module.cast_initial = swig_cast_initial;
33022
33023 /* Try and load any already created modules */
33024 module_head = SWIG_GetModule(clientdata);
33025 if (module_head) {
33026 swig_module.next = module_head->next;
33027 module_head->next = &swig_module;
33028 } else {
33029 /* This is the first module loaded */
33030 swig_module.next = &swig_module;
33031 SWIG_SetModule(clientdata, &swig_module);
33032 }
33033
33034 /* Now work on filling in swig_module.types */
33035 #ifdef SWIGRUNTIME_DEBUG
33036 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33037 #endif
33038 for (i = 0; i < swig_module.size; ++i) {
33039 swig_type_info *type = 0;
33040 swig_type_info *ret;
33041 swig_cast_info *cast;
33042
33043 #ifdef SWIGRUNTIME_DEBUG
33044 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33045 #endif
33046
33047 /* if there is another module already loaded */
33048 if (swig_module.next != &swig_module) {
33049 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33050 }
33051 if (type) {
33052 /* Overwrite clientdata field */
33053 #ifdef SWIGRUNTIME_DEBUG
33054 printf("SWIG_InitializeModule: found type %s\n", type->name);
33055 #endif
33056 if (swig_module.type_initial[i]->clientdata) {
33057 type->clientdata = swig_module.type_initial[i]->clientdata;
33058 #ifdef SWIGRUNTIME_DEBUG
33059 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33060 #endif
33061 }
33062 } else {
33063 type = swig_module.type_initial[i];
33064 }
33065
33066 /* Insert casting types */
33067 cast = swig_module.cast_initial[i];
33068 while (cast->type) {
33069 /* Don't need to add information already in the list */
33070 ret = 0;
33071 #ifdef SWIGRUNTIME_DEBUG
33072 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33073 #endif
33074 if (swig_module.next != &swig_module) {
33075 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33076 #ifdef SWIGRUNTIME_DEBUG
33077 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33078 #endif
33079 }
33080 if (ret) {
33081 if (type == swig_module.type_initial[i]) {
33082 #ifdef SWIGRUNTIME_DEBUG
33083 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33084 #endif
33085 cast->type = ret;
33086 ret = 0;
33087 } else {
33088 /* Check for casting already in the list */
33089 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33090 #ifdef SWIGRUNTIME_DEBUG
33091 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33092 #endif
33093 if (!ocast) ret = 0;
33094 }
33095 }
33096
33097 if (!ret) {
33098 #ifdef SWIGRUNTIME_DEBUG
33099 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33100 #endif
33101 if (type->cast) {
33102 type->cast->prev = cast;
33103 cast->next = type->cast;
33104 }
33105 type->cast = cast;
33106 }
33107 cast++;
33108 }
33109 /* Set entry in modules->types array equal to the type */
33110 swig_module.types[i] = type;
33111 }
33112 swig_module.types[i] = 0;
33113
33114 #ifdef SWIGRUNTIME_DEBUG
33115 printf("**** SWIG_InitializeModule: Cast List ******\n");
33116 for (i = 0; i < swig_module.size; ++i) {
33117 int j = 0;
33118 swig_cast_info *cast = swig_module.cast_initial[i];
33119 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33120 while (cast->type) {
33121 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33122 cast++;
33123 ++j;
33124 }
33125 printf("---- Total casts: %d\n",j);
33126 }
33127 printf("**** SWIG_InitializeModule: Cast List ******\n");
33128 #endif
33129 }
33130
33131 /* This function will propagate the clientdata field of type to
33132 * any new swig_type_info structures that have been added into the list
33133 * of equivalent types. It is like calling
33134 * SWIG_TypeClientData(type, clientdata) a second time.
33135 */
33136 SWIGRUNTIME void
33137 SWIG_PropagateClientData(void) {
33138 size_t i;
33139 swig_cast_info *equiv;
33140 static int init_run = 0;
33141
33142 if (init_run) return;
33143 init_run = 1;
33144
33145 for (i = 0; i < swig_module.size; i++) {
33146 if (swig_module.types[i]->clientdata) {
33147 equiv = swig_module.types[i]->cast;
33148 while (equiv) {
33149 if (!equiv->converter) {
33150 if (equiv->type && !equiv->type->clientdata)
33151 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33152 }
33153 equiv = equiv->next;
33154 }
33155 }
33156 }
33157 }
33158
33159 #ifdef __cplusplus
33160 #if 0
33161 {
33162 /* c-mode */
33163 #endif
33164 }
33165 #endif
33166
33167
33168
33169 #ifdef __cplusplus
33170 extern "C" {
33171 #endif
33172
33173 /* Python-specific SWIG API */
33174 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33175 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33176 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33177
33178 /* -----------------------------------------------------------------------------
33179 * global variable support code.
33180 * ----------------------------------------------------------------------------- */
33181
33182 typedef struct swig_globalvar {
33183 char *name; /* Name of global variable */
33184 PyObject *(*get_attr)(void); /* Return the current value */
33185 int (*set_attr)(PyObject *); /* Set the value */
33186 struct swig_globalvar *next;
33187 } swig_globalvar;
33188
33189 typedef struct swig_varlinkobject {
33190 PyObject_HEAD
33191 swig_globalvar *vars;
33192 } swig_varlinkobject;
33193
33194 SWIGINTERN PyObject *
33195 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33196 return PyString_FromString("<Swig global variables>");
33197 }
33198
33199 SWIGINTERN PyObject *
33200 swig_varlink_str(swig_varlinkobject *v) {
33201 PyObject *str = PyString_FromString("(");
33202 swig_globalvar *var;
33203 for (var = v->vars; var; var=var->next) {
33204 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33205 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33206 }
33207 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33208 return str;
33209 }
33210
33211 SWIGINTERN int
33212 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33213 PyObject *str = swig_varlink_str(v);
33214 fprintf(fp,"Swig global variables ");
33215 fprintf(fp,"%s\n", PyString_AsString(str));
33216 Py_DECREF(str);
33217 return 0;
33218 }
33219
33220 SWIGINTERN void
33221 swig_varlink_dealloc(swig_varlinkobject *v) {
33222 swig_globalvar *var = v->vars;
33223 while (var) {
33224 swig_globalvar *n = var->next;
33225 free(var->name);
33226 free(var);
33227 var = n;
33228 }
33229 }
33230
33231 SWIGINTERN PyObject *
33232 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33233 PyObject *res = NULL;
33234 swig_globalvar *var = v->vars;
33235 while (var) {
33236 if (strcmp(var->name,n) == 0) {
33237 res = (*var->get_attr)();
33238 break;
33239 }
33240 var = var->next;
33241 }
33242 if (res == NULL && !PyErr_Occurred()) {
33243 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33244 }
33245 return res;
33246 }
33247
33248 SWIGINTERN int
33249 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33250 int res = 1;
33251 swig_globalvar *var = v->vars;
33252 while (var) {
33253 if (strcmp(var->name,n) == 0) {
33254 res = (*var->set_attr)(p);
33255 break;
33256 }
33257 var = var->next;
33258 }
33259 if (res == 1 && !PyErr_Occurred()) {
33260 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33261 }
33262 return res;
33263 }
33264
33265 SWIGINTERN PyTypeObject*
33266 swig_varlink_type(void) {
33267 static char varlink__doc__[] = "Swig var link object";
33268 static PyTypeObject varlink_type;
33269 static int type_init = 0;
33270 if (!type_init) {
33271 const PyTypeObject tmp
33272 = {
33273 PyObject_HEAD_INIT(NULL)
33274 0, /* Number of items in variable part (ob_size) */
33275 (char *)"swigvarlink", /* Type name (tp_name) */
33276 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33277 0, /* Itemsize (tp_itemsize) */
33278 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33279 (printfunc) swig_varlink_print, /* Print (tp_print) */
33280 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33281 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33282 0, /* tp_compare */
33283 (reprfunc) swig_varlink_repr, /* tp_repr */
33284 0, /* tp_as_number */
33285 0, /* tp_as_sequence */
33286 0, /* tp_as_mapping */
33287 0, /* tp_hash */
33288 0, /* tp_call */
33289 (reprfunc)swig_varlink_str, /* tp_str */
33290 0, /* tp_getattro */
33291 0, /* tp_setattro */
33292 0, /* tp_as_buffer */
33293 0, /* tp_flags */
33294 varlink__doc__, /* tp_doc */
33295 0, /* tp_traverse */
33296 0, /* tp_clear */
33297 0, /* tp_richcompare */
33298 0, /* tp_weaklistoffset */
33299 #if PY_VERSION_HEX >= 0x02020000
33300 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33301 #endif
33302 #if PY_VERSION_HEX >= 0x02030000
33303 0, /* tp_del */
33304 #endif
33305 #ifdef COUNT_ALLOCS
33306 0,0,0,0 /* tp_alloc -> tp_next */
33307 #endif
33308 };
33309 varlink_type = tmp;
33310 varlink_type.ob_type = &PyType_Type;
33311 type_init = 1;
33312 }
33313 return &varlink_type;
33314 }
33315
33316 /* Create a variable linking object for use later */
33317 SWIGINTERN PyObject *
33318 SWIG_Python_newvarlink(void) {
33319 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33320 if (result) {
33321 result->vars = 0;
33322 }
33323 return ((PyObject*) result);
33324 }
33325
33326 SWIGINTERN void
33327 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33328 swig_varlinkobject *v = (swig_varlinkobject *) p;
33329 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33330 if (gv) {
33331 size_t size = strlen(name)+1;
33332 gv->name = (char *)malloc(size);
33333 if (gv->name) {
33334 strncpy(gv->name,name,size);
33335 gv->get_attr = get_attr;
33336 gv->set_attr = set_attr;
33337 gv->next = v->vars;
33338 }
33339 }
33340 v->vars = gv;
33341 }
33342
33343 SWIGINTERN PyObject *
33344 SWIG_globals() {
33345 static PyObject *_SWIG_globals = 0;
33346 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33347 return _SWIG_globals;
33348 }
33349
33350 /* -----------------------------------------------------------------------------
33351 * constants/methods manipulation
33352 * ----------------------------------------------------------------------------- */
33353
33354 /* Install Constants */
33355 SWIGINTERN void
33356 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33357 PyObject *obj = 0;
33358 size_t i;
33359 for (i = 0; constants[i].type; ++i) {
33360 switch(constants[i].type) {
33361 case SWIG_PY_POINTER:
33362 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33363 break;
33364 case SWIG_PY_BINARY:
33365 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33366 break;
33367 default:
33368 obj = 0;
33369 break;
33370 }
33371 if (obj) {
33372 PyDict_SetItemString(d, constants[i].name, obj);
33373 Py_DECREF(obj);
33374 }
33375 }
33376 }
33377
33378 /* -----------------------------------------------------------------------------*/
33379 /* Fix SwigMethods to carry the callback ptrs when needed */
33380 /* -----------------------------------------------------------------------------*/
33381
33382 SWIGINTERN void
33383 SWIG_Python_FixMethods(PyMethodDef *methods,
33384 swig_const_info *const_table,
33385 swig_type_info **types,
33386 swig_type_info **types_initial) {
33387 size_t i;
33388 for (i = 0; methods[i].ml_name; ++i) {
33389 char *c = methods[i].ml_doc;
33390 if (c && (c = strstr(c, "swig_ptr: "))) {
33391 int j;
33392 swig_const_info *ci = 0;
33393 char *name = c + 10;
33394 for (j = 0; const_table[j].type; ++j) {
33395 if (strncmp(const_table[j].name, name,
33396 strlen(const_table[j].name)) == 0) {
33397 ci = &(const_table[j]);
33398 break;
33399 }
33400 }
33401 if (ci) {
33402 size_t shift = (ci->ptype) - types;
33403 swig_type_info *ty = types_initial[shift];
33404 size_t ldoc = (c - methods[i].ml_doc);
33405 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33406 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33407 if (ndoc) {
33408 char *buff = ndoc;
33409 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33410 if (ptr) {
33411 strncpy(buff, methods[i].ml_doc, ldoc);
33412 buff += ldoc;
33413 strncpy(buff, "swig_ptr: ", 10);
33414 buff += 10;
33415 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33416 methods[i].ml_doc = ndoc;
33417 }
33418 }
33419 }
33420 }
33421 }
33422 }
33423
33424 #ifdef __cplusplus
33425 }
33426 #endif
33427
33428 /* -----------------------------------------------------------------------------*
33429 * Partial Init method
33430 * -----------------------------------------------------------------------------*/
33431
33432 #ifdef __cplusplus
33433 extern "C"
33434 #endif
33435 SWIGEXPORT void SWIG_init(void) {
33436 PyObject *m, *d;
33437
33438 /* Fix SwigMethods to carry the callback ptrs when needed */
33439 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33440
33441 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33442 d = PyModule_GetDict(m);
33443
33444 SWIG_InitializeModule(0);
33445 SWIG_InstallConstants(d,swig_const_table);
33446
33447
33448 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33449 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33450 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33451 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33452 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33453 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33454 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33455 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33456 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33457 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33458 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33459 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33460 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33461 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33462 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33463 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33464 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33465 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33466 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33467 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33468 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33469 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33470 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33471 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33472 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33473 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33474 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33475 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33476 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33477 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33478 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33479 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33480 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33481 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33482 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33483 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33484 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33485 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33486 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33487 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33488 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33489 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33490 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33491 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33492 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33493 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33494 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33495 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33496 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33497 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33498 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33499 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33500 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33501 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33502 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33503 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33504 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33505 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33506 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33507 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33508 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33509 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33510 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33511 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33512 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33513 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33514 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33515 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33516 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33517 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33518 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33519 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33520 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33521 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33522 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33523 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33524 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33525 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33526 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33527 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33528 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33529 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33530 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33531 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33532 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33533 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33534 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33535 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33536 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33537 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33538 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33539 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33540 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33541 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33542 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33543 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33544 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33545 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33546 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33547 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33548 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33549 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33550
33551 // Map renamed classes back to their common name for OOR
33552 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33553 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33554 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33555
33556 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33557 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33558 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33559 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33560 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33561 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33562 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33563 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33564 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33565 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33566 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33567 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33568 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33569 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33570 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33571 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33572 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33573 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33574 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33575 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33576 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33577 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33578 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33579 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33580 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33581 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33582 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33583 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33584 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33585 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33586 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33587 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33588 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33589 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33590 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33591 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33592 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33593 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33594 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33595 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33596 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33597 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33598 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33599 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33600 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33601 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33602 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33603 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33604 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33605 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33606 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33607 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33608 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33609 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33610 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33611 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33612 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33613 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33614 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33615 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33616 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33617 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33618 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33619 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33620 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33621 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33622 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33623 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33624 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33625 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33626 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33627 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33628 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33629 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33630 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33631 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33632 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33633 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33634
33635 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33636
33637 }
33638