]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Added wxCB_FILENAME
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info *swig_types[165];
2631 static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634
2635 /* -------- TYPES TABLE (END) -------- */
2636
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2640 # endif
2641 #endif
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 #endif
2648 #ifndef METH_O
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 #endif
2651
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2656
2657 #define SWIG_name "_windows_"
2658
2659 #define SWIGVERSION 0x010329
2660
2661
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664
2665
2666 #include <stdexcept>
2667
2668
2669 namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
2673
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
2678
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
2712 }
2713
2714
2715 namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
2724 }
2725 };
2726 }
2727
2728
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2731
2732
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2735
2736
2737
2738 #include <limits.h>
2739 #ifndef LLONG_MIN
2740 # define LLONG_MIN LONG_LONG_MIN
2741 #endif
2742 #ifndef LLONG_MAX
2743 # define LLONG_MAX LONG_LONG_MAX
2744 #endif
2745 #ifndef ULLONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2747 #endif
2748
2749
2750 SWIGINTERN int
2751 SWIG_AsVal_long (PyObject* obj, long* val)
2752 {
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsVal_int (PyObject * obj, int *val)
2763 {
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
2774 }
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_bool (PyObject *obj, bool *val)
2779 {
2780 if (obj == Py_True) {
2781 if (val) *val = true;
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
2784 if (val) *val = false;
2785 return SWIG_OK;
2786 } else {
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
2791 }
2792 }
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_double (PyObject *obj, double* val)
2807 {
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
2810 return SWIG_OK;
2811 }
2812 return SWIG_TypeError;
2813 }
2814
2815
2816 #define SWIG_From_double PyFloat_FromDouble
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2822 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2823 int style = self->GetExtraStyle();
2824 if ( on )
2825 style |= wxFRAME_EX_METAL;
2826 else
2827 style &= ~wxFRAME_EX_METAL;
2828 self->SetExtraStyle(style);
2829 }
2830 SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2831
2832 SWIGINTERN int
2833 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2834 {
2835 long v = 0;
2836 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2837 return SWIG_TypeError;
2838 }
2839 else if (val)
2840 *val = (unsigned long)v;
2841 return SWIG_OK;
2842 }
2843
2844
2845 SWIGINTERN int
2846 SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2847 {
2848 unsigned long v;
2849 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2850 if (SWIG_IsOK(res)) {
2851 if ((v > UCHAR_MAX)) {
2852 return SWIG_OverflowError;
2853 } else {
2854 if (val) *val = static_cast< unsigned char >(v);
2855 }
2856 }
2857 return res;
2858 }
2859
2860
2861
2862 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2863 wxRect r;
2864 self->GetFieldRect(i, r);
2865 return r;
2866 }
2867 static const wxString wxPySplitterNameStr(wxT("splitter"));
2868 static const wxString wxPySashNameStr(wxT("sashWindow"));
2869 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2870
2871 #include <wx/popupwin.h>
2872
2873
2874 class wxPopupWindow : public wxWindow {
2875 public:
2876 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2878 };
2879
2880 class wxPyPopupTransientWindow : public wxPopupWindow
2881 {
2882 public:
2883 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2885 };
2886
2887
2888 #include <wx/tipwin.h>
2889
2890 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2891 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2892 }
2893
2894 #include <wx/tipwin.h>
2895
2896
2897 #include <wx/vscroll.h>
2898
2899
2900 class wxPyVScrolledWindow : public wxVScrolledWindow
2901 {
2902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2903 public:
2904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2905
2906 wxPyVScrolledWindow(wxWindow *parent,
2907 wxWindowID id = wxID_ANY,
2908 const wxPoint& pos = wxDefaultPosition,
2909 const wxSize& size = wxDefaultSize,
2910 long style = 0,
2911 const wxString& name = wxPyPanelNameStr)
2912 : wxVScrolledWindow(parent, id, pos, size, style, name)
2913 {}
2914
2915 // Overridable virtuals
2916
2917 // this function must be overridden in the derived class and it should
2918 // return the height of the given line in pixels
2919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2920
2921
2922 // this function doesn't have to be overridden but it may be useful to do
2923 // it if calculating the lines heights is a relatively expensive operation
2924 // as it gives the user code a possibility to calculate several of them at
2925 // once
2926 //
2927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2928 // shouldn't rely on the latter being called for all lines in the interval
2929 // specified here. It is also possible that OnGetLineHeight() will be
2930 // called for the lines outside of this interval, so this is really just a
2931 // hint, not a promise.
2932 //
2933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2934 // usual
2935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2936
2937
2938 // when the number of lines changes, we try to estimate the total height
2939 // of all lines which is a rather expensive operation in terms of lines
2940 // access, so if the user code may estimate the average height
2941 // better/faster than we do, it should override this function to implement
2942 // its own logic
2943 //
2944 // this function should return the best guess for the total height it may
2945 // make
2946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2947
2948
2949 // Also expose some other interesting protected methods
2950
2951
2952 // find the index of the line we need to show at the top of the window such
2953 // that the last (fully or partially) visible line is the given one
2954 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2956
2957 // get the total height of the lines between lineMin (inclusive) and
2958 // lineMax (exclusive)
2959 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2960 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2961
2962 // update the thumb size shown by the scrollbar
2963 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2964
2965 // remove the scrollbar completely because we don't need it
2966 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2967
2968 PYPRIVATE;
2969 };
2970
2971 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2972
2973 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2974 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2975 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2976
2977
2978 SWIGINTERNINLINE int
2979 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2980 {
2981 unsigned long v;
2982 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2983 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2984 return res;
2985 }
2986
2987
2988 SWIGINTERNINLINE PyObject*
2989 SWIG_From_unsigned_SS_long (unsigned long value)
2990 {
2991 return (value > LONG_MAX) ?
2992 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2993 }
2994
2995
2996 SWIGINTERNINLINE PyObject *
2997 SWIG_From_size_t (size_t value)
2998 {
2999 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
3000 }
3001
3002
3003 #include <wx/vlbox.h>
3004
3005 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3006
3007 class wxPyVListBox : public wxVListBox
3008 {
3009 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3010 public:
3011 wxPyVListBox() : wxVListBox() {}
3012
3013 wxPyVListBox(wxWindow *parent,
3014 wxWindowID id = wxID_ANY,
3015 const wxPoint& pos = wxDefaultPosition,
3016 const wxSize& size = wxDefaultSize,
3017 long style = 0,
3018 const wxString& name = wxPyVListBoxNameStr)
3019 : wxVListBox(parent, id, pos, size, style, name)
3020 {}
3021
3022 // Overridable virtuals
3023
3024 // the derived class must implement this function to actually draw the item
3025 // with the given index on the provided DC
3026 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3027 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3028
3029
3030 // the derived class must implement this method to return the height of the
3031 // specified item
3032 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3033 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3034
3035
3036 // this method may be used to draw separators between the lines; note that
3037 // the rectangle may be modified, typically to deflate it a bit before
3038 // passing to OnDrawItem()
3039 //
3040 // the base class version doesn't do anything
3041 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3042 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3043
3044
3045 // this method is used to draw the items background and, maybe, a border
3046 // around it
3047 //
3048 // the base class version implements a reasonable default behaviour which
3049 // consists in drawing the selected item with the standard background
3050 // colour and drawing a border around the item if it is either selected or
3051 // current
3052 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3053 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3054
3055
3056 PYPRIVATE;
3057 };
3058
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3060
3061 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3062 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3063 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3064 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3065
3066
3067 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3068 unsigned long cookie = 0;
3069 int selected = self->GetFirstSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3078 int selected = self->GetNextSelected(cookie);
3079 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3080 PyObject* tup = PyTuple_New(2);
3081 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3082 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3083 wxPyEndBlockThreads(blocked);
3084 return tup;
3085 }
3086
3087 #include <wx/htmllbox.h>
3088
3089
3090 class wxPyHtmlListBox : public wxHtmlListBox
3091 {
3092 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3093 public:
3094 wxPyHtmlListBox() : wxHtmlListBox() {}
3095
3096 wxPyHtmlListBox(wxWindow *parent,
3097 wxWindowID id = wxID_ANY,
3098 const wxPoint& pos = wxDefaultPosition,
3099 const wxSize& size = wxDefaultSize,
3100 long style = 0,
3101 const wxString& name = wxPyVListBoxNameStr)
3102 : wxHtmlListBox(parent, id, pos, size, style, name)
3103 {}
3104
3105 // Overridable virtuals
3106
3107 // this method must be implemented in the derived class and should return
3108 // the body (i.e. without <html>) of the HTML for the given item
3109 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3110
3111 // this function may be overridden to decorate HTML returned by OnGetItem()
3112 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3113
3114 // These are from wxVListBox
3115 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3116 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3117
3118 // TODO:
3119 // // this method allows to customize the selection appearance: it may be used
3120 // // to specify the colour of the text which normally has the given colour
3121 // // colFg when it is inside the selection
3122 // //
3123 // // by default, the original colour is not used at all and all text has the
3124 // // same (default for this system) colour inside selection
3125 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3126
3127 // // this is the same as GetSelectedTextColour() but allows to customize the
3128 // // background colour -- this is even more rarely used as you can change it
3129 // // globally using SetSelectionBackground()
3130 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3131
3132
3133 // This method may be overriden to handle clicking on a link in
3134 // the listbox. By default, clicking links is ignored.
3135 virtual void OnLinkClicked(size_t n,
3136 const wxHtmlLinkInfo& link);
3137
3138 PYPRIVATE;
3139 };
3140
3141
3142 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3143
3144 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3145 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3146 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3147 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3148
3149
3150 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3151 const wxHtmlLinkInfo& link) {
3152 bool found;
3153 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3154 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3155 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3156 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3157 Py_DECREF(obj);
3158 }
3159 wxPyEndBlockThreads(blocked);
3160 if (! found)
3161 wxPyHtmlListBox::OnLinkClicked(n, link);
3162 }
3163
3164
3165
3166
3167
3168 #ifndef wxHAS_TASK_BAR_ICON
3169 // implement dummy classes for platforms that don't have it
3170
3171 class wxTaskBarIcon : public wxEvtHandler
3172 {
3173 public:
3174 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3175 };
3176
3177
3178 class wxTaskBarIconEvent : public wxEvent
3179 {
3180 public:
3181 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3182 { wxPyRaiseNotImplemented(); }
3183 virtual wxEvent* Clone() const { return NULL; }
3184 bool IsOk() const { return false; }
3185 bool IsIconInstalled() const { return false; }
3186 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3187 bool RemoveIcon() { return false; }
3188 bool PopupMenu(wxMenu *menu) { return false; }
3189 };
3190
3191 enum {
3192 wxEVT_TASKBAR_MOVE = 0,
3193 wxEVT_TASKBAR_LEFT_DOWN = 0,
3194 wxEVT_TASKBAR_LEFT_UP = 0,
3195 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3196 wxEVT_TASKBAR_RIGHT_UP = 0,
3197 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3198 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3199 };
3200
3201
3202 #else
3203 // Otherwise make a class that can virtualize CreatePopupMenu
3204 class wxPyTaskBarIcon : public wxTaskBarIcon
3205 {
3206 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3207 public:
3208 wxPyTaskBarIcon() : wxTaskBarIcon()
3209 {}
3210
3211 wxMenu* CreatePopupMenu() {
3212 wxMenu *rval = NULL;
3213 bool found;
3214 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3215 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3216 PyObject* ro;
3217 wxMenu* ptr;
3218 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3219 if (ro) {
3220 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3221 rval = ptr;
3222 Py_DECREF(ro);
3223 }
3224 }
3225 wxPyEndBlockThreads(blocked);
3226 if (! found)
3227 rval = wxTaskBarIcon::CreatePopupMenu();
3228 return rval;
3229 }
3230
3231 PYPRIVATE;
3232 };
3233
3234 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3235
3236 #endif
3237
3238 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3239 self->RemoveIcon();
3240 delete self;
3241 }
3242 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3243 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3244 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3245 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3246 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3247 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3248
3249 // for compatibility only
3250 #define wxHIDE_READONLY 0
3251
3252 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetFilenames(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3258 wxArrayString arr;
3259 self->GetPaths(arr);
3260 return wxArrayString2PyList_helper(arr);
3261 }
3262 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3263 return wxArrayInt2PyList_helper(self->GetSelections());
3264 }
3265 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){
3266 return new wxSingleChoiceDialog(parent, message, caption,
3267 choices, choices_array, NULL, style, pos);
3268 }
3269 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3270
3271 SWIGINTERNINLINE PyObject*
3272 SWIG_From_bool (bool value)
3273 {
3274 return PyBool_FromLong(value ? 1 : 0);
3275 }
3276
3277
3278 #include <wx/mdi.h>
3279
3280 // C++ version of Python aware wxWindow
3281 class wxPyWindow : public wxWindow
3282 {
3283 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3284 public:
3285 wxPyWindow() : wxWindow() {}
3286 wxPyWindow(wxWindow* parent, const wxWindowID id,
3287 const wxPoint& pos = wxDefaultPosition,
3288 const wxSize& size = wxDefaultSize,
3289 long style = 0,
3290 const wxString& name = wxPyPanelNameStr)
3291 : wxWindow(parent, id, pos, size, style, name) {}
3292
3293 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3294
3295 bool DoEraseBackground(wxDC* dc) {
3296 #ifdef __WXMSW__
3297 return wxWindow::DoEraseBackground(dc->GetHDC());
3298 #else
3299 dc->SetBackground(wxBrush(GetBackgroundColour()));
3300 dc->Clear();
3301 return true;
3302 #endif
3303 }
3304
3305 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3306 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3309
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3313
3314 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3315 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3316
3317 DEC_PYCALLBACK__(InitDialog);
3318 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3319 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3320 DEC_PYCALLBACK_BOOL_(Validate);
3321
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3324 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3325
3326 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3327 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3328
3329 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3330 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3331
3332 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3333
3334 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3335
3336 PYPRIVATE;
3337 };
3338
3339 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3340
3341 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3342 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3345
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3349
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3352
3353 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3357
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3360 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3361
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3364
3365 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3366 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3367
3368 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3369
3370 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3371
3372 // C++ version of Python aware wxPanel
3373 class wxPyPanel : public wxPanel
3374 {
3375 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3376 public:
3377 wxPyPanel() : wxPanel() {}
3378 wxPyPanel(wxWindow* parent, const wxWindowID id,
3379 const wxPoint& pos = wxDefaultPosition,
3380 const wxSize& size = wxDefaultSize,
3381 long style = 0,
3382 const wxString& name = wxPyPanelNameStr)
3383 : wxPanel(parent, id, pos, size, style, name) {}
3384
3385 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3386 bool DoEraseBackground(wxDC* dc) {
3387 #ifdef __WXMSW__
3388 return wxWindow::DoEraseBackground(dc->GetHDC());
3389 #else
3390 dc->SetBackground(wxBrush(GetBackgroundColour()));
3391 dc->Clear();
3392 return true;
3393 #endif
3394 }
3395
3396
3397 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3398 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3401
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3405
3406 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3407 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3408
3409 DEC_PYCALLBACK__(InitDialog);
3410 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3411 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3412 DEC_PYCALLBACK_BOOL_(Validate);
3413
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3416 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3417
3418 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3419 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3420
3421 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3422 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3423
3424 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3425
3426 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3427
3428 PYPRIVATE;
3429 };
3430
3431 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3432
3433 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3434 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3437
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3441
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3444
3445 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3452 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3453
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3456
3457 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3458 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3459
3460 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3461
3462 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3463
3464 // C++ version of Python aware wxScrolledWindow
3465 class wxPyScrolledWindow : public wxScrolledWindow
3466 {
3467 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3468 public:
3469 wxPyScrolledWindow() : wxScrolledWindow() {}
3470 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3471 const wxPoint& pos = wxDefaultPosition,
3472 const wxSize& size = wxDefaultSize,
3473 long style = 0,
3474 const wxString& name = wxPyPanelNameStr)
3475 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3476
3477 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3478 bool DoEraseBackground(wxDC* dc) {
3479 #ifdef __WXMSW__
3480 return wxWindow::DoEraseBackground(dc->GetHDC());
3481 #else
3482 dc->SetBackground(wxBrush(GetBackgroundColour()));
3483 dc->Clear();
3484 return true;
3485 #endif
3486 }
3487
3488 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3489 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3492
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3496
3497 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3498 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3499
3500 DEC_PYCALLBACK__(InitDialog);
3501 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3502 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3503 DEC_PYCALLBACK_BOOL_(Validate);
3504
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3507 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3508
3509 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3510 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3511
3512 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3513 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3514
3515 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3516
3517 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3518
3519 PYPRIVATE;
3520 };
3521
3522 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3523
3524 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3525 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3528
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3532
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3535
3536 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3540
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3543 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3544
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3547
3548 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3549 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3550
3551 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3552
3553 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3554
3555
3556 #include "wx/wxPython/printfw.h"
3557
3558
3559 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3560 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3561 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3562 PyObject* data;
3563 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3564 data = PyString_FromStringAndSize(self->GetPrivData(),
3565 self->GetPrivDataLen());
3566 wxPyEndBlockThreads(blocked);
3567 return data;
3568 }
3569 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3570 if (! PyString_Check(data)) {
3571 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3572 "Expected string object"));
3573 return /* NULL */ ;
3574 }
3575
3576 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3577 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3578 wxPyEndBlockThreads(blocked);
3579 }
3580
3581
3582 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3583
3584 // Since this one would be tough and ugly to do with the Macros...
3585 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3586 bool hadErr = false;
3587 bool found;
3588
3589 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3590 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3591 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3592 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3593 PyObject* val;
3594
3595 val = PyTuple_GetItem(result, 0);
3596 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 1);
3600 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3601 else hadErr = true;
3602
3603 val = PyTuple_GetItem(result, 2);
3604 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3605 else hadErr = true;
3606
3607 val = PyTuple_GetItem(result, 3);
3608 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3609 else hadErr = true;
3610 }
3611 else
3612 hadErr = true;
3613
3614 if (hadErr) {
3615 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3616 PyErr_Print();
3617 }
3618 Py_DECREF(result);
3619 }
3620 wxPyEndBlockThreads(blocked);
3621 if (! found)
3622 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3623 }
3624
3625
3626
3627 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3628 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3629 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3630 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3631 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3632 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3633 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3634
3635
3636
3637
3638
3639 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3640 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3641
3642
3643 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3644 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3645 bool rval=false; \
3646 bool found; \
3647 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3648 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3649 PyObject* win = wxPyMake_wxObject(a,false); \
3650 PyObject* dc = wxPyMake_wxObject(&b,false); \
3651 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3652 Py_DECREF(win); \
3653 Py_DECREF(dc); \
3654 } \
3655 wxPyEndBlockThreads(blocked); \
3656 if (! found) \
3657 rval = PCLASS::CBNAME(a, b); \
3658 return rval; \
3659 }
3660
3661
3662
3663
3664 class wxPyPrintPreview : public wxPrintPreview
3665 {
3666 DECLARE_CLASS(wxPyPrintPreview)
3667 public:
3668 wxPyPrintPreview(wxPyPrintout* printout,
3669 wxPyPrintout* printoutForPrinting,
3670 wxPrintDialogData* data=NULL)
3671 : wxPrintPreview(printout, printoutForPrinting, data)
3672 {}
3673 wxPyPrintPreview(wxPyPrintout* printout,
3674 wxPyPrintout* printoutForPrinting,
3675 wxPrintData* data)
3676 : wxPrintPreview(printout, printoutForPrinting, data)
3677 {}
3678
3679 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3682 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3683 DEC_PYCALLBACK_VOID_INT(SetZoom);
3684 DEC_PYCALLBACK_BOOL_BOOL(Print);
3685 DEC_PYCALLBACK_VOID_(DetermineScaling);
3686
3687 PYPRIVATE;
3688 };
3689
3690 // Stupid renamed classes... Fix this in 2.5...
3691 #if defined(__WXMSW__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3693 #elif defined(__WXMAC__)
3694 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3695 #else
3696 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3697 #endif
3698
3699 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3702 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3703 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3704 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3705 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3706
3707
3708 class wxPyPreviewFrame : public wxPreviewFrame
3709 {
3710 DECLARE_CLASS(wxPyPreviewFrame)
3711 public:
3712 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3713 const wxString& title,
3714 const wxPoint& pos = wxDefaultPosition,
3715 const wxSize& size = wxDefaultSize,
3716 long style = wxDEFAULT_FRAME_STYLE,
3717 const wxString& name = wxPyFrameNameStr)
3718 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3719 {}
3720
3721 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3722 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3723
3724 DEC_PYCALLBACK_VOID_(Initialize);
3725 DEC_PYCALLBACK_VOID_(CreateCanvas);
3726 DEC_PYCALLBACK_VOID_(CreateControlBar);
3727
3728 PYPRIVATE;
3729 };
3730
3731 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3732
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3736
3737
3738 class wxPyPreviewControlBar : public wxPreviewControlBar
3739 {
3740 DECLARE_CLASS(wxPyPreviewControlBar)
3741 public:
3742 wxPyPreviewControlBar(wxPrintPreview *preview,
3743 long buttons,
3744 wxWindow *parent,
3745 const wxPoint& pos = wxDefaultPosition,
3746 const wxSize& size = wxDefaultSize,
3747 long style = 0,
3748 const wxString& name = wxPyPanelNameStr)
3749 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3750 {}
3751
3752 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3753
3754 DEC_PYCALLBACK_VOID_(CreateButtons);
3755 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3756
3757 PYPRIVATE;
3758 };
3759
3760 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3761 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3762 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3763
3764 #ifdef __cplusplus
3765 extern "C" {
3766 #endif
3767 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj = 0;
3769 wxWindow *arg1 = (wxWindow *) 0 ;
3770 int arg2 = (int) (int)-1 ;
3771 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3772 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3773 wxSize const &arg4_defvalue = wxDefaultSize ;
3774 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3775 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3776 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3777 wxString *arg6 = (wxString *) &arg6_defvalue ;
3778 wxPanel *result = 0 ;
3779 void *argp1 = 0 ;
3780 int res1 = 0 ;
3781 int val2 ;
3782 int ecode2 = 0 ;
3783 wxPoint temp3 ;
3784 wxSize temp4 ;
3785 long val5 ;
3786 int ecode5 = 0 ;
3787 bool temp6 = false ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj1 = 0 ;
3790 PyObject * obj2 = 0 ;
3791 PyObject * obj3 = 0 ;
3792 PyObject * obj4 = 0 ;
3793 PyObject * obj5 = 0 ;
3794 char * kwnames[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 };
3797
3798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3800 if (!SWIG_IsOK(res1)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3802 }
3803 arg1 = reinterpret_cast< wxWindow * >(argp1);
3804 if (obj1) {
3805 ecode2 = SWIG_AsVal_int(obj1, &val2);
3806 if (!SWIG_IsOK(ecode2)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3808 }
3809 arg2 = static_cast< int >(val2);
3810 }
3811 if (obj2) {
3812 {
3813 arg3 = &temp3;
3814 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3815 }
3816 }
3817 if (obj3) {
3818 {
3819 arg4 = &temp4;
3820 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3821 }
3822 }
3823 if (obj4) {
3824 ecode5 = SWIG_AsVal_long(obj4, &val5);
3825 if (!SWIG_IsOK(ecode5)) {
3826 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3827 }
3828 arg5 = static_cast< long >(val5);
3829 }
3830 if (obj5) {
3831 {
3832 arg6 = wxString_in_helper(obj5);
3833 if (arg6 == NULL) SWIG_fail;
3834 temp6 = true;
3835 }
3836 }
3837 {
3838 if (!wxPyCheckForApp()) SWIG_fail;
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3845 {
3846 if (temp6)
3847 delete arg6;
3848 }
3849 return resultobj;
3850 fail:
3851 {
3852 if (temp6)
3853 delete arg6;
3854 }
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3860 PyObject *resultobj = 0;
3861 wxPanel *result = 0 ;
3862
3863 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3864 {
3865 if (!wxPyCheckForApp()) SWIG_fail;
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (wxPanel *)new wxPanel();
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3872 return resultobj;
3873 fail:
3874 return NULL;
3875 }
3876
3877
3878 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj = 0;
3880 wxPanel *arg1 = (wxPanel *) 0 ;
3881 wxWindow *arg2 = (wxWindow *) 0 ;
3882 int arg3 = (int) (int)-1 ;
3883 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3884 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3885 wxSize const &arg5_defvalue = wxDefaultSize ;
3886 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3887 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3888 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3889 wxString *arg7 = (wxString *) &arg7_defvalue ;
3890 bool result;
3891 void *argp1 = 0 ;
3892 int res1 = 0 ;
3893 void *argp2 = 0 ;
3894 int res2 = 0 ;
3895 int val3 ;
3896 int ecode3 = 0 ;
3897 wxPoint temp4 ;
3898 wxSize temp5 ;
3899 long val6 ;
3900 int ecode6 = 0 ;
3901 bool temp7 = false ;
3902 PyObject * obj0 = 0 ;
3903 PyObject * obj1 = 0 ;
3904 PyObject * obj2 = 0 ;
3905 PyObject * obj3 = 0 ;
3906 PyObject * obj4 = 0 ;
3907 PyObject * obj5 = 0 ;
3908 PyObject * obj6 = 0 ;
3909 char * kwnames[] = {
3910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3911 };
3912
3913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3915 if (!SWIG_IsOK(res1)) {
3916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3917 }
3918 arg1 = reinterpret_cast< wxPanel * >(argp1);
3919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3920 if (!SWIG_IsOK(res2)) {
3921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3922 }
3923 arg2 = reinterpret_cast< wxWindow * >(argp2);
3924 if (obj2) {
3925 ecode3 = SWIG_AsVal_int(obj2, &val3);
3926 if (!SWIG_IsOK(ecode3)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3928 }
3929 arg3 = static_cast< int >(val3);
3930 }
3931 if (obj3) {
3932 {
3933 arg4 = &temp4;
3934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3935 }
3936 }
3937 if (obj4) {
3938 {
3939 arg5 = &temp5;
3940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3941 }
3942 }
3943 if (obj5) {
3944 ecode6 = SWIG_AsVal_long(obj5, &val6);
3945 if (!SWIG_IsOK(ecode6)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3947 }
3948 arg6 = static_cast< long >(val6);
3949 }
3950 if (obj6) {
3951 {
3952 arg7 = wxString_in_helper(obj6);
3953 if (arg7 == NULL) SWIG_fail;
3954 temp7 = true;
3955 }
3956 }
3957 {
3958 PyThreadState* __tstate = wxPyBeginAllowThreads();
3959 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 {
3964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3965 }
3966 {
3967 if (temp7)
3968 delete arg7;
3969 }
3970 return resultobj;
3971 fail:
3972 {
3973 if (temp7)
3974 delete arg7;
3975 }
3976 return NULL;
3977 }
3978
3979
3980 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3981 PyObject *resultobj = 0;
3982 wxPanel *arg1 = (wxPanel *) 0 ;
3983 void *argp1 = 0 ;
3984 int res1 = 0 ;
3985 PyObject *swig_obj[1] ;
3986
3987 if (!args) SWIG_fail;
3988 swig_obj[0] = args;
3989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3990 if (!SWIG_IsOK(res1)) {
3991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3992 }
3993 arg1 = reinterpret_cast< wxPanel * >(argp1);
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->SetFocusIgnoringChildren();
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 resultobj = SWIG_Py_Void();
4001 return resultobj;
4002 fail:
4003 return NULL;
4004 }
4005
4006
4007 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj = 0;
4009 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4010 SwigValueWrapper<wxVisualAttributes > result;
4011 int val1 ;
4012 int ecode1 = 0 ;
4013 PyObject * obj0 = 0 ;
4014 char * kwnames[] = {
4015 (char *) "variant", NULL
4016 };
4017
4018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4019 if (obj0) {
4020 ecode1 = SWIG_AsVal_int(obj0, &val1);
4021 if (!SWIG_IsOK(ecode1)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4023 }
4024 arg1 = static_cast< wxWindowVariant >(val1);
4025 }
4026 {
4027 if (!wxPyCheckForApp()) SWIG_fail;
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 result = wxPanel::GetClassDefaultAttributes(arg1);
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 PyObject *obj;
4042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4044 return SWIG_Py_Void();
4045 }
4046
4047 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4048 return SWIG_Python_InitShadowInstance(args);
4049 }
4050
4051 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj = 0;
4053 wxWindow *arg1 = (wxWindow *) 0 ;
4054 int arg2 = (int) (int)-1 ;
4055 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4056 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4057 wxSize const &arg4_defvalue = wxDefaultSize ;
4058 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4059 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4060 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4061 wxString *arg6 = (wxString *) &arg6_defvalue ;
4062 wxScrolledWindow *result = 0 ;
4063 void *argp1 = 0 ;
4064 int res1 = 0 ;
4065 int val2 ;
4066 int ecode2 = 0 ;
4067 wxPoint temp3 ;
4068 wxSize temp4 ;
4069 long val5 ;
4070 int ecode5 = 0 ;
4071 bool temp6 = false ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj1 = 0 ;
4074 PyObject * obj2 = 0 ;
4075 PyObject * obj3 = 0 ;
4076 PyObject * obj4 = 0 ;
4077 PyObject * obj5 = 0 ;
4078 char * kwnames[] = {
4079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4080 };
4081
4082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4084 if (!SWIG_IsOK(res1)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4086 }
4087 arg1 = reinterpret_cast< wxWindow * >(argp1);
4088 if (obj1) {
4089 ecode2 = SWIG_AsVal_int(obj1, &val2);
4090 if (!SWIG_IsOK(ecode2)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4092 }
4093 arg2 = static_cast< int >(val2);
4094 }
4095 if (obj2) {
4096 {
4097 arg3 = &temp3;
4098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4099 }
4100 }
4101 if (obj3) {
4102 {
4103 arg4 = &temp4;
4104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4105 }
4106 }
4107 if (obj4) {
4108 ecode5 = SWIG_AsVal_long(obj4, &val5);
4109 if (!SWIG_IsOK(ecode5)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4111 }
4112 arg5 = static_cast< long >(val5);
4113 }
4114 if (obj5) {
4115 {
4116 arg6 = wxString_in_helper(obj5);
4117 if (arg6 == NULL) SWIG_fail;
4118 temp6 = true;
4119 }
4120 }
4121 {
4122 if (!wxPyCheckForApp()) SWIG_fail;
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4129 {
4130 if (temp6)
4131 delete arg6;
4132 }
4133 return resultobj;
4134 fail:
4135 {
4136 if (temp6)
4137 delete arg6;
4138 }
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4144 PyObject *resultobj = 0;
4145 wxScrolledWindow *result = 0 ;
4146
4147 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4148 {
4149 if (!wxPyCheckForApp()) SWIG_fail;
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 result = (wxScrolledWindow *)new wxScrolledWindow();
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj = 0;
4164 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4165 wxWindow *arg2 = (wxWindow *) 0 ;
4166 int arg3 = (int) (int)-1 ;
4167 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4168 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4169 wxSize const &arg5_defvalue = wxDefaultSize ;
4170 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4171 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4172 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4173 wxString *arg7 = (wxString *) &arg7_defvalue ;
4174 bool result;
4175 void *argp1 = 0 ;
4176 int res1 = 0 ;
4177 void *argp2 = 0 ;
4178 int res2 = 0 ;
4179 int val3 ;
4180 int ecode3 = 0 ;
4181 wxPoint temp4 ;
4182 wxSize temp5 ;
4183 long val6 ;
4184 int ecode6 = 0 ;
4185 bool temp7 = false ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 PyObject * obj2 = 0 ;
4189 PyObject * obj3 = 0 ;
4190 PyObject * obj4 = 0 ;
4191 PyObject * obj5 = 0 ;
4192 PyObject * obj6 = 0 ;
4193 char * kwnames[] = {
4194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4195 };
4196
4197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4199 if (!SWIG_IsOK(res1)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4201 }
4202 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4204 if (!SWIG_IsOK(res2)) {
4205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4206 }
4207 arg2 = reinterpret_cast< wxWindow * >(argp2);
4208 if (obj2) {
4209 ecode3 = SWIG_AsVal_int(obj2, &val3);
4210 if (!SWIG_IsOK(ecode3)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4212 }
4213 arg3 = static_cast< int >(val3);
4214 }
4215 if (obj3) {
4216 {
4217 arg4 = &temp4;
4218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4219 }
4220 }
4221 if (obj4) {
4222 {
4223 arg5 = &temp5;
4224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4225 }
4226 }
4227 if (obj5) {
4228 ecode6 = SWIG_AsVal_long(obj5, &val6);
4229 if (!SWIG_IsOK(ecode6)) {
4230 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4231 }
4232 arg6 = static_cast< long >(val6);
4233 }
4234 if (obj6) {
4235 {
4236 arg7 = wxString_in_helper(obj6);
4237 if (arg7 == NULL) SWIG_fail;
4238 temp7 = true;
4239 }
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) SWIG_fail;
4246 }
4247 {
4248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4249 }
4250 {
4251 if (temp7)
4252 delete arg7;
4253 }
4254 return resultobj;
4255 fail:
4256 {
4257 if (temp7)
4258 delete arg7;
4259 }
4260 return NULL;
4261 }
4262
4263
4264 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj = 0;
4266 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4267 int arg2 ;
4268 int arg3 ;
4269 int arg4 ;
4270 int arg5 ;
4271 int arg6 = (int) 0 ;
4272 int arg7 = (int) 0 ;
4273 bool arg8 = (bool) false ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 int val2 ;
4277 int ecode2 = 0 ;
4278 int val3 ;
4279 int ecode3 = 0 ;
4280 int val4 ;
4281 int ecode4 = 0 ;
4282 int val5 ;
4283 int ecode5 = 0 ;
4284 int val6 ;
4285 int ecode6 = 0 ;
4286 int val7 ;
4287 int ecode7 = 0 ;
4288 bool val8 ;
4289 int ecode8 = 0 ;
4290 PyObject * obj0 = 0 ;
4291 PyObject * obj1 = 0 ;
4292 PyObject * obj2 = 0 ;
4293 PyObject * obj3 = 0 ;
4294 PyObject * obj4 = 0 ;
4295 PyObject * obj5 = 0 ;
4296 PyObject * obj6 = 0 ;
4297 PyObject * obj7 = 0 ;
4298 char * kwnames[] = {
4299 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4300 };
4301
4302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4304 if (!SWIG_IsOK(res1)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4306 }
4307 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4308 ecode2 = SWIG_AsVal_int(obj1, &val2);
4309 if (!SWIG_IsOK(ecode2)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4311 }
4312 arg2 = static_cast< int >(val2);
4313 ecode3 = SWIG_AsVal_int(obj2, &val3);
4314 if (!SWIG_IsOK(ecode3)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4316 }
4317 arg3 = static_cast< int >(val3);
4318 ecode4 = SWIG_AsVal_int(obj3, &val4);
4319 if (!SWIG_IsOK(ecode4)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4321 }
4322 arg4 = static_cast< int >(val4);
4323 ecode5 = SWIG_AsVal_int(obj4, &val5);
4324 if (!SWIG_IsOK(ecode5)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4326 }
4327 arg5 = static_cast< int >(val5);
4328 if (obj5) {
4329 ecode6 = SWIG_AsVal_int(obj5, &val6);
4330 if (!SWIG_IsOK(ecode6)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4332 }
4333 arg6 = static_cast< int >(val6);
4334 }
4335 if (obj6) {
4336 ecode7 = SWIG_AsVal_int(obj6, &val7);
4337 if (!SWIG_IsOK(ecode7)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4339 }
4340 arg7 = static_cast< int >(val7);
4341 }
4342 if (obj7) {
4343 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4344 if (!SWIG_IsOK(ecode8)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4346 }
4347 arg8 = static_cast< bool >(val8);
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = SWIG_Py_Void();
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj = 0;
4364 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4365 int arg2 ;
4366 int arg3 ;
4367 void *argp1 = 0 ;
4368 int res1 = 0 ;
4369 int val2 ;
4370 int ecode2 = 0 ;
4371 int val3 ;
4372 int ecode3 = 0 ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj1 = 0 ;
4375 PyObject * obj2 = 0 ;
4376 char * kwnames[] = {
4377 (char *) "self",(char *) "x",(char *) "y", NULL
4378 };
4379
4380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4382 if (!SWIG_IsOK(res1)) {
4383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4384 }
4385 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4386 ecode2 = SWIG_AsVal_int(obj1, &val2);
4387 if (!SWIG_IsOK(ecode2)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4389 }
4390 arg2 = static_cast< int >(val2);
4391 ecode3 = SWIG_AsVal_int(obj2, &val3);
4392 if (!SWIG_IsOK(ecode3)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4394 }
4395 arg3 = static_cast< int >(val3);
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 (arg1)->Scroll(arg2,arg3);
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 resultobj = SWIG_Py_Void();
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj = 0;
4411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4412 int arg2 ;
4413 int result;
4414 void *argp1 = 0 ;
4415 int res1 = 0 ;
4416 int val2 ;
4417 int ecode2 = 0 ;
4418 PyObject * obj0 = 0 ;
4419 PyObject * obj1 = 0 ;
4420 char * kwnames[] = {
4421 (char *) "self",(char *) "orient", NULL
4422 };
4423
4424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4426 if (!SWIG_IsOK(res1)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4428 }
4429 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4430 ecode2 = SWIG_AsVal_int(obj1, &val2);
4431 if (!SWIG_IsOK(ecode2)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4433 }
4434 arg2 = static_cast< int >(val2);
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 resultobj = SWIG_From_int(static_cast< int >(result));
4442 return resultobj;
4443 fail:
4444 return NULL;
4445 }
4446
4447
4448 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4449 PyObject *resultobj = 0;
4450 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4451 int arg2 ;
4452 int arg3 ;
4453 void *argp1 = 0 ;
4454 int res1 = 0 ;
4455 int val2 ;
4456 int ecode2 = 0 ;
4457 int val3 ;
4458 int ecode3 = 0 ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj2 = 0 ;
4462 char * kwnames[] = {
4463 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4464 };
4465
4466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4468 if (!SWIG_IsOK(res1)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4470 }
4471 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4472 ecode2 = SWIG_AsVal_int(obj1, &val2);
4473 if (!SWIG_IsOK(ecode2)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4475 }
4476 arg2 = static_cast< int >(val2);
4477 ecode3 = SWIG_AsVal_int(obj2, &val3);
4478 if (!SWIG_IsOK(ecode3)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4480 }
4481 arg3 = static_cast< int >(val3);
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 (arg1)->SetScrollPageSize(arg2,arg3);
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_Py_Void();
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj = 0;
4497 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4498 int arg2 ;
4499 int arg3 ;
4500 void *argp1 = 0 ;
4501 int res1 = 0 ;
4502 int val2 ;
4503 int ecode2 = 0 ;
4504 int val3 ;
4505 int ecode3 = 0 ;
4506 PyObject * obj0 = 0 ;
4507 PyObject * obj1 = 0 ;
4508 PyObject * obj2 = 0 ;
4509 char * kwnames[] = {
4510 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4511 };
4512
4513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4515 if (!SWIG_IsOK(res1)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4517 }
4518 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4519 ecode2 = SWIG_AsVal_int(obj1, &val2);
4520 if (!SWIG_IsOK(ecode2)) {
4521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4522 }
4523 arg2 = static_cast< int >(val2);
4524 ecode3 = SWIG_AsVal_int(obj2, &val3);
4525 if (!SWIG_IsOK(ecode3)) {
4526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4527 }
4528 arg3 = static_cast< int >(val3);
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 (arg1)->SetScrollRate(arg2,arg3);
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_Py_Void();
4536 return resultobj;
4537 fail:
4538 return NULL;
4539 }
4540
4541
4542 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4543 PyObject *resultobj = 0;
4544 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4545 int *arg2 = (int *) 0 ;
4546 int *arg3 = (int *) 0 ;
4547 void *argp1 = 0 ;
4548 int res1 = 0 ;
4549 int temp2 ;
4550 int res2 = SWIG_TMPOBJ ;
4551 int temp3 ;
4552 int res3 = SWIG_TMPOBJ ;
4553 PyObject *swig_obj[1] ;
4554
4555 arg2 = &temp2;
4556 arg3 = &temp3;
4557 if (!args) SWIG_fail;
4558 swig_obj[0] = args;
4559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4560 if (!SWIG_IsOK(res1)) {
4561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4562 }
4563 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4564 {
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 resultobj = SWIG_Py_Void();
4571 if (SWIG_IsTmpObj(res2)) {
4572 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4573 } else {
4574 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4575 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4576 }
4577 if (SWIG_IsTmpObj(res3)) {
4578 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4579 } else {
4580 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4581 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4582 }
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj = 0;
4591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4592 bool arg2 ;
4593 bool arg3 ;
4594 void *argp1 = 0 ;
4595 int res1 = 0 ;
4596 bool val2 ;
4597 int ecode2 = 0 ;
4598 bool val3 ;
4599 int ecode3 = 0 ;
4600 PyObject * obj0 = 0 ;
4601 PyObject * obj1 = 0 ;
4602 PyObject * obj2 = 0 ;
4603 char * kwnames[] = {
4604 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4605 };
4606
4607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4609 if (!SWIG_IsOK(res1)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4611 }
4612 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4613 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4614 if (!SWIG_IsOK(ecode2)) {
4615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4616 }
4617 arg2 = static_cast< bool >(val2);
4618 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4619 if (!SWIG_IsOK(ecode3)) {
4620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4621 }
4622 arg3 = static_cast< bool >(val3);
4623 {
4624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4625 (arg1)->EnableScrolling(arg2,arg3);
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_Py_Void();
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4637 PyObject *resultobj = 0;
4638 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4639 int *arg2 = (int *) 0 ;
4640 int *arg3 = (int *) 0 ;
4641 void *argp1 = 0 ;
4642 int res1 = 0 ;
4643 int temp2 ;
4644 int res2 = SWIG_TMPOBJ ;
4645 int temp3 ;
4646 int res3 = SWIG_TMPOBJ ;
4647 PyObject *swig_obj[1] ;
4648
4649 arg2 = &temp2;
4650 arg3 = &temp3;
4651 if (!args) SWIG_fail;
4652 swig_obj[0] = args;
4653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4654 if (!SWIG_IsOK(res1)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4656 }
4657 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4664 resultobj = SWIG_Py_Void();
4665 if (SWIG_IsTmpObj(res2)) {
4666 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4667 } else {
4668 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4669 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4670 }
4671 if (SWIG_IsTmpObj(res3)) {
4672 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4673 } else {
4674 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4675 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4676 }
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj = 0;
4685 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4686 double arg2 ;
4687 double arg3 ;
4688 void *argp1 = 0 ;
4689 int res1 = 0 ;
4690 double val2 ;
4691 int ecode2 = 0 ;
4692 double val3 ;
4693 int ecode3 = 0 ;
4694 PyObject * obj0 = 0 ;
4695 PyObject * obj1 = 0 ;
4696 PyObject * obj2 = 0 ;
4697 char * kwnames[] = {
4698 (char *) "self",(char *) "xs",(char *) "ys", NULL
4699 };
4700
4701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4703 if (!SWIG_IsOK(res1)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4705 }
4706 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4707 ecode2 = SWIG_AsVal_double(obj1, &val2);
4708 if (!SWIG_IsOK(ecode2)) {
4709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4710 }
4711 arg2 = static_cast< double >(val2);
4712 ecode3 = SWIG_AsVal_double(obj2, &val3);
4713 if (!SWIG_IsOK(ecode3)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4715 }
4716 arg3 = static_cast< double >(val3);
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 (arg1)->SetScale(arg2,arg3);
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_Py_Void();
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4731 PyObject *resultobj = 0;
4732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4733 double result;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 PyObject *swig_obj[1] ;
4737
4738 if (!args) SWIG_fail;
4739 swig_obj[0] = args;
4740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4741 if (!SWIG_IsOK(res1)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 }
4744 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_From_double(static_cast< double >(result));
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4759 PyObject *resultobj = 0;
4760 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4761 double result;
4762 void *argp1 = 0 ;
4763 int res1 = 0 ;
4764 PyObject *swig_obj[1] ;
4765
4766 if (!args) SWIG_fail;
4767 swig_obj[0] = args;
4768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4769 if (!SWIG_IsOK(res1)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 }
4772 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 resultobj = SWIG_From_double(static_cast< double >(result));
4780 return resultobj;
4781 fail:
4782 return NULL;
4783 }
4784
4785
4786 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4787 PyObject *resultobj = 0;
4788 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4789 wxPoint *arg2 = 0 ;
4790 wxPoint result;
4791 void *argp1 = 0 ;
4792 int res1 = 0 ;
4793 wxPoint temp2 ;
4794
4795 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4797 if (!SWIG_IsOK(res1)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4799 }
4800 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4801 {
4802 arg2 = &temp2;
4803 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4804 }
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
4811 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4812 return resultobj;
4813 fail:
4814 return NULL;
4815 }
4816
4817
4818 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4819 PyObject *resultobj = 0;
4820 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4821 int arg2 ;
4822 int arg3 ;
4823 int *arg4 = (int *) 0 ;
4824 int *arg5 = (int *) 0 ;
4825 void *argp1 = 0 ;
4826 int res1 = 0 ;
4827 int val2 ;
4828 int ecode2 = 0 ;
4829 int val3 ;
4830 int ecode3 = 0 ;
4831 int temp4 ;
4832 int res4 = SWIG_TMPOBJ ;
4833 int temp5 ;
4834 int res5 = SWIG_TMPOBJ ;
4835
4836 arg4 = &temp4;
4837 arg5 = &temp5;
4838 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4840 if (!SWIG_IsOK(res1)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4842 }
4843 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4844 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4845 if (!SWIG_IsOK(ecode2)) {
4846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4847 }
4848 arg2 = static_cast< int >(val2);
4849 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4850 if (!SWIG_IsOK(ecode3)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4852 }
4853 arg3 = static_cast< int >(val3);
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_Py_Void();
4861 if (SWIG_IsTmpObj(res4)) {
4862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4863 } else {
4864 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4866 }
4867 if (SWIG_IsTmpObj(res5)) {
4868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4869 } else {
4870 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4872 }
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4880 int argc;
4881 PyObject *argv[4];
4882
4883 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4884 --argc;
4885 if (argc == 2) {
4886 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4887 }
4888 if (argc == 3) {
4889 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4890 }
4891
4892 fail:
4893 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4894 return NULL;
4895 }
4896
4897
4898 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4899 PyObject *resultobj = 0;
4900 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4901 wxPoint *arg2 = 0 ;
4902 wxPoint result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 wxPoint temp2 ;
4906
4907 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 {
4914 arg2 = &temp2;
4915 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4931 PyObject *resultobj = 0;
4932 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4933 int arg2 ;
4934 int arg3 ;
4935 int *arg4 = (int *) 0 ;
4936 int *arg5 = (int *) 0 ;
4937 void *argp1 = 0 ;
4938 int res1 = 0 ;
4939 int val2 ;
4940 int ecode2 = 0 ;
4941 int val3 ;
4942 int ecode3 = 0 ;
4943 int temp4 ;
4944 int res4 = SWIG_TMPOBJ ;
4945 int temp5 ;
4946 int res5 = SWIG_TMPOBJ ;
4947
4948 arg4 = &temp4;
4949 arg5 = &temp5;
4950 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4952 if (!SWIG_IsOK(res1)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4954 }
4955 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4956 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4957 if (!SWIG_IsOK(ecode2)) {
4958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4959 }
4960 arg2 = static_cast< int >(val2);
4961 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4962 if (!SWIG_IsOK(ecode3)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4964 }
4965 arg3 = static_cast< int >(val3);
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 resultobj = SWIG_Py_Void();
4973 if (SWIG_IsTmpObj(res4)) {
4974 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4975 } else {
4976 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4977 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4978 }
4979 if (SWIG_IsTmpObj(res5)) {
4980 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4981 } else {
4982 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4983 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4984 }
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4992 int argc;
4993 PyObject *argv[4];
4994
4995 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4996 --argc;
4997 if (argc == 2) {
4998 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4999 }
5000 if (argc == 3) {
5001 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5002 }
5003
5004 fail:
5005 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5006 return NULL;
5007 }
5008
5009
5010 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5011 PyObject *resultobj = 0;
5012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5013 void *argp1 = 0 ;
5014 int res1 = 0 ;
5015 PyObject *swig_obj[1] ;
5016
5017 if (!args) SWIG_fail;
5018 swig_obj[0] = args;
5019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5020 if (!SWIG_IsOK(res1)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5022 }
5023 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 (arg1)->AdjustScrollbars();
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 resultobj = SWIG_Py_Void();
5031 return resultobj;
5032 fail:
5033 return NULL;
5034 }
5035
5036
5037 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj = 0;
5039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5040 wxScrollWinEvent *arg2 = 0 ;
5041 int result;
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 *) "event", NULL
5050 };
5051
5052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",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_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5056 }
5057 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5058 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5059 if (!SWIG_IsOK(res2)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5061 }
5062 if (!argp2) {
5063 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5064 }
5065 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (int)(arg1)->CalcScrollInc(*arg2);
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 resultobj = SWIG_From_int(static_cast< int >(result));
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 wxWindow *arg2 = (wxWindow *) 0 ;
5083 void *argp1 = 0 ;
5084 int res1 = 0 ;
5085 void *argp2 = 0 ;
5086 int res2 = 0 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char * kwnames[] = {
5090 (char *) "self",(char *) "target", NULL
5091 };
5092
5093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5095 if (!SWIG_IsOK(res1)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 }
5098 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5100 if (!SWIG_IsOK(res2)) {
5101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5102 }
5103 arg2 = reinterpret_cast< wxWindow * >(argp2);
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 (arg1)->SetTargetWindow(arg2);
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = SWIG_Py_Void();
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5118 PyObject *resultobj = 0;
5119 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5120 wxWindow *result = 0 ;
5121 void *argp1 = 0 ;
5122 int res1 = 0 ;
5123 PyObject *swig_obj[1] ;
5124
5125 if (!args) SWIG_fail;
5126 swig_obj[0] = args;
5127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5128 if (!SWIG_IsOK(res1)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5130 }
5131 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5135 wxPyEndAllowThreads(__tstate);
5136 if (PyErr_Occurred()) SWIG_fail;
5137 }
5138 {
5139 resultobj = wxPyMake_wxObject(result, 0);
5140 }
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj = 0;
5149 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5150 wxRect *arg2 = 0 ;
5151 void *argp1 = 0 ;
5152 int res1 = 0 ;
5153 wxRect temp2 ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 char * kwnames[] = {
5157 (char *) "self",(char *) "rect", NULL
5158 };
5159
5160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5162 if (!SWIG_IsOK(res1)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5164 }
5165 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5166 {
5167 arg2 = &temp2;
5168 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5169 }
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 (arg1)->SetTargetRect((wxRect const &)*arg2);
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_Py_Void();
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5184 PyObject *resultobj = 0;
5185 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5186 wxRect result;
5187 void *argp1 = 0 ;
5188 int res1 = 0 ;
5189 PyObject *swig_obj[1] ;
5190
5191 if (!args) SWIG_fail;
5192 swig_obj[0] = args;
5193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5194 if (!SWIG_IsOK(res1)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5196 }
5197 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj = 0;
5213 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5214 wxDC *arg2 = 0 ;
5215 void *argp1 = 0 ;
5216 int res1 = 0 ;
5217 void *argp2 = 0 ;
5218 int res2 = 0 ;
5219 PyObject * obj0 = 0 ;
5220 PyObject * obj1 = 0 ;
5221 char * kwnames[] = {
5222 (char *) "self",(char *) "dc", NULL
5223 };
5224
5225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5227 if (!SWIG_IsOK(res1)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5229 }
5230 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5232 if (!SWIG_IsOK(res2)) {
5233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5234 }
5235 if (!argp2) {
5236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5237 }
5238 arg2 = reinterpret_cast< wxDC * >(argp2);
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->DoPrepareDC(*arg2);
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 resultobj = SWIG_Py_Void();
5246 return resultobj;
5247 fail:
5248 return NULL;
5249 }
5250
5251
5252 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5253 PyObject *resultobj = 0;
5254 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5255 SwigValueWrapper<wxVisualAttributes > result;
5256 int val1 ;
5257 int ecode1 = 0 ;
5258 PyObject * obj0 = 0 ;
5259 char * kwnames[] = {
5260 (char *) "variant", NULL
5261 };
5262
5263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5264 if (obj0) {
5265 ecode1 = SWIG_AsVal_int(obj0, &val1);
5266 if (!SWIG_IsOK(ecode1)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5268 }
5269 arg1 = static_cast< wxWindowVariant >(val1);
5270 }
5271 {
5272 if (!wxPyCheckForApp()) SWIG_fail;
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5286 PyObject *obj;
5287 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5288 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5289 return SWIG_Py_Void();
5290 }
5291
5292 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5293 return SWIG_Python_InitShadowInstance(args);
5294 }
5295
5296 SWIGINTERN int FrameNameStr_set(PyObject *) {
5297 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5298 return 1;
5299 }
5300
5301
5302 SWIGINTERN PyObject *FrameNameStr_get(void) {
5303 PyObject *pyobj = 0;
5304
5305 {
5306 #if wxUSE_UNICODE
5307 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5308 #else
5309 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5310 #endif
5311 }
5312 return pyobj;
5313 }
5314
5315
5316 SWIGINTERN int DialogNameStr_set(PyObject *) {
5317 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5318 return 1;
5319 }
5320
5321
5322 SWIGINTERN PyObject *DialogNameStr_get(void) {
5323 PyObject *pyobj = 0;
5324
5325 {
5326 #if wxUSE_UNICODE
5327 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5328 #else
5329 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5330 #endif
5331 }
5332 return pyobj;
5333 }
5334
5335
5336 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5337 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5338 return 1;
5339 }
5340
5341
5342 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5343 PyObject *pyobj = 0;
5344
5345 {
5346 #if wxUSE_UNICODE
5347 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5348 #else
5349 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5350 #endif
5351 }
5352 return pyobj;
5353 }
5354
5355
5356 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5357 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5358 return 1;
5359 }
5360
5361
5362 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5363 PyObject *pyobj = 0;
5364
5365 {
5366 #if wxUSE_UNICODE
5367 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5368 #else
5369 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5370 #endif
5371 }
5372 return pyobj;
5373 }
5374
5375
5376 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj = 0;
5378 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5379 bool arg2 = (bool) true ;
5380 void *argp1 = 0 ;
5381 int res1 = 0 ;
5382 bool val2 ;
5383 int ecode2 = 0 ;
5384 PyObject * obj0 = 0 ;
5385 PyObject * obj1 = 0 ;
5386 char * kwnames[] = {
5387 (char *) "self",(char *) "maximize", NULL
5388 };
5389
5390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5392 if (!SWIG_IsOK(res1)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5394 }
5395 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5396 if (obj1) {
5397 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5398 if (!SWIG_IsOK(ecode2)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5400 }
5401 arg2 = static_cast< bool >(val2);
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->Maximize(arg2);
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 resultobj = SWIG_Py_Void();
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5417 PyObject *resultobj = 0;
5418 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5419 void *argp1 = 0 ;
5420 int res1 = 0 ;
5421 PyObject *swig_obj[1] ;
5422
5423 if (!args) SWIG_fail;
5424 swig_obj[0] = args;
5425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5426 if (!SWIG_IsOK(res1)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5428 }
5429 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 (arg1)->Restore();
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 resultobj = SWIG_Py_Void();
5437 return resultobj;
5438 fail:
5439 return NULL;
5440 }
5441
5442
5443 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj = 0;
5445 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5446 bool arg2 = (bool) true ;
5447 void *argp1 = 0 ;
5448 int res1 = 0 ;
5449 bool val2 ;
5450 int ecode2 = 0 ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 char * kwnames[] = {
5454 (char *) "self",(char *) "iconize", NULL
5455 };
5456
5457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5459 if (!SWIG_IsOK(res1)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5461 }
5462 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5463 if (obj1) {
5464 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5465 if (!SWIG_IsOK(ecode2)) {
5466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5467 }
5468 arg2 = static_cast< bool >(val2);
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->Iconize(arg2);
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = SWIG_Py_Void();
5477 return resultobj;
5478 fail:
5479 return NULL;
5480 }
5481
5482
5483 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5484 PyObject *resultobj = 0;
5485 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5486 bool result;
5487 void *argp1 = 0 ;
5488 int res1 = 0 ;
5489 PyObject *swig_obj[1] ;
5490
5491 if (!args) SWIG_fail;
5492 swig_obj[0] = args;
5493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5494 if (!SWIG_IsOK(res1)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5496 }
5497 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5501 wxPyEndAllowThreads(__tstate);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 {
5505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5506 }
5507 return resultobj;
5508 fail:
5509 return NULL;
5510 }
5511
5512
5513 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5514 PyObject *resultobj = 0;
5515 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5516 bool result;
5517 void *argp1 = 0 ;
5518 int res1 = 0 ;
5519 PyObject *swig_obj[1] ;
5520
5521 if (!args) SWIG_fail;
5522 swig_obj[0] = args;
5523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5524 if (!SWIG_IsOK(res1)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5526 }
5527 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 {
5535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5536 }
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5544 PyObject *resultobj = 0;
5545 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5546 bool result;
5547 void *argp1 = 0 ;
5548 int res1 = 0 ;
5549 PyObject *swig_obj[1] ;
5550
5551 if (!args) SWIG_fail;
5552 swig_obj[0] = args;
5553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5554 if (!SWIG_IsOK(res1)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5556 }
5557 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5574 PyObject *resultobj = 0;
5575 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5576 wxIcon result;
5577 void *argp1 = 0 ;
5578 int res1 = 0 ;
5579 PyObject *swig_obj[1] ;
5580
5581 if (!args) SWIG_fail;
5582 swig_obj[0] = args;
5583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5584 if (!SWIG_IsOK(res1)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5586 }
5587 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj = 0;
5603 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5604 wxIcon *arg2 = 0 ;
5605 void *argp1 = 0 ;
5606 int res1 = 0 ;
5607 void *argp2 = 0 ;
5608 int res2 = 0 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char * kwnames[] = {
5612 (char *) "self",(char *) "icon", NULL
5613 };
5614
5615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5617 if (!SWIG_IsOK(res1)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5619 }
5620 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5621 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5622 if (!SWIG_IsOK(res2)) {
5623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5624 }
5625 if (!argp2) {
5626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5627 }
5628 arg2 = reinterpret_cast< wxIcon * >(argp2);
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 (arg1)->SetIcon((wxIcon const &)*arg2);
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 resultobj = SWIG_Py_Void();
5636 return resultobj;
5637 fail:
5638 return NULL;
5639 }
5640
5641
5642 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5643 PyObject *resultobj = 0;
5644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5645 wxIconBundle *arg2 = 0 ;
5646 void *argp1 = 0 ;
5647 int res1 = 0 ;
5648 void *argp2 = 0 ;
5649 int res2 = 0 ;
5650 PyObject * obj0 = 0 ;
5651 PyObject * obj1 = 0 ;
5652 char * kwnames[] = {
5653 (char *) "self",(char *) "icons", NULL
5654 };
5655
5656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5658 if (!SWIG_IsOK(res1)) {
5659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5660 }
5661 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5662 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5663 if (!SWIG_IsOK(res2)) {
5664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5665 }
5666 if (!argp2) {
5667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5668 }
5669 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = SWIG_Py_Void();
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = 0;
5685 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5686 bool arg2 ;
5687 long arg3 = (long) wxFULLSCREEN_ALL ;
5688 bool result;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool val2 ;
5692 int ecode2 = 0 ;
5693 long val3 ;
5694 int ecode3 = 0 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 PyObject * obj2 = 0 ;
5698 char * kwnames[] = {
5699 (char *) "self",(char *) "show",(char *) "style", NULL
5700 };
5701
5702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5704 if (!SWIG_IsOK(res1)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5706 }
5707 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5708 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5709 if (!SWIG_IsOK(ecode2)) {
5710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5711 }
5712 arg2 = static_cast< bool >(val2);
5713 if (obj2) {
5714 ecode3 = SWIG_AsVal_long(obj2, &val3);
5715 if (!SWIG_IsOK(ecode3)) {
5716 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5717 }
5718 arg3 = static_cast< long >(val3);
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 {
5727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5728 }
5729 return resultobj;
5730 fail:
5731 return NULL;
5732 }
5733
5734
5735 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5736 PyObject *resultobj = 0;
5737 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5738 bool result;
5739 void *argp1 = 0 ;
5740 int res1 = 0 ;
5741 PyObject *swig_obj[1] ;
5742
5743 if (!args) SWIG_fail;
5744 swig_obj[0] = args;
5745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5746 if (!SWIG_IsOK(res1)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5748 }
5749 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5753 wxPyEndAllowThreads(__tstate);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 }
5756 {
5757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5758 }
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj = 0;
5767 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5768 wxString *arg2 = 0 ;
5769 void *argp1 = 0 ;
5770 int res1 = 0 ;
5771 bool temp2 = false ;
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char * kwnames[] = {
5775 (char *) "self",(char *) "title", NULL
5776 };
5777
5778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5780 if (!SWIG_IsOK(res1)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5782 }
5783 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5784 {
5785 arg2 = wxString_in_helper(obj1);
5786 if (arg2 == NULL) SWIG_fail;
5787 temp2 = true;
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 (arg1)->SetTitle((wxString const &)*arg2);
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = SWIG_Py_Void();
5796 {
5797 if (temp2)
5798 delete arg2;
5799 }
5800 return resultobj;
5801 fail:
5802 {
5803 if (temp2)
5804 delete arg2;
5805 }
5806 return NULL;
5807 }
5808
5809
5810 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5811 PyObject *resultobj = 0;
5812 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5813 wxString result;
5814 void *argp1 = 0 ;
5815 int res1 = 0 ;
5816 PyObject *swig_obj[1] ;
5817
5818 if (!args) SWIG_fail;
5819 swig_obj[0] = args;
5820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5821 if (!SWIG_IsOK(res1)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5823 }
5824 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 {
5832 #if wxUSE_UNICODE
5833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5834 #else
5835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5836 #endif
5837 }
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj = 0;
5846 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5847 wxRegion *arg2 = 0 ;
5848 bool result;
5849 void *argp1 = 0 ;
5850 int res1 = 0 ;
5851 void *argp2 = 0 ;
5852 int res2 = 0 ;
5853 PyObject * obj0 = 0 ;
5854 PyObject * obj1 = 0 ;
5855 char * kwnames[] = {
5856 (char *) "self",(char *) "region", NULL
5857 };
5858
5859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5861 if (!SWIG_IsOK(res1)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5863 }
5864 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5865 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5866 if (!SWIG_IsOK(res2)) {
5867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5868 }
5869 if (!argp2) {
5870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5871 }
5872 arg2 = reinterpret_cast< wxRegion * >(argp2);
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 {
5880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5881 }
5882 return resultobj;
5883 fail:
5884 return NULL;
5885 }
5886
5887
5888 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj = 0;
5890 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5891 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5892 void *argp1 = 0 ;
5893 int res1 = 0 ;
5894 int val2 ;
5895 int ecode2 = 0 ;
5896 PyObject * obj0 = 0 ;
5897 PyObject * obj1 = 0 ;
5898 char * kwnames[] = {
5899 (char *) "self",(char *) "flags", NULL
5900 };
5901
5902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5904 if (!SWIG_IsOK(res1)) {
5905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5906 }
5907 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5908 if (obj1) {
5909 ecode2 = SWIG_AsVal_int(obj1, &val2);
5910 if (!SWIG_IsOK(ecode2)) {
5911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5912 }
5913 arg2 = static_cast< int >(val2);
5914 }
5915 {
5916 PyThreadState* __tstate = wxPyBeginAllowThreads();
5917 (arg1)->RequestUserAttention(arg2);
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = SWIG_Py_Void();
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5929 PyObject *resultobj = 0;
5930 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5931 bool result;
5932 void *argp1 = 0 ;
5933 int res1 = 0 ;
5934 PyObject *swig_obj[1] ;
5935
5936 if (!args) SWIG_fail;
5937 swig_obj[0] = args;
5938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5939 if (!SWIG_IsOK(res1)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5941 }
5942 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 result = (bool)(arg1)->IsActive();
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5951 }
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj = 0;
5960 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5961 bool arg2 ;
5962 void *argp1 = 0 ;
5963 int res1 = 0 ;
5964 bool val2 ;
5965 int ecode2 = 0 ;
5966 PyObject * obj0 = 0 ;
5967 PyObject * obj1 = 0 ;
5968 char * kwnames[] = {
5969 (char *) "self",(char *) "on", NULL
5970 };
5971
5972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5974 if (!SWIG_IsOK(res1)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5976 }
5977 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5978 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5979 if (!SWIG_IsOK(ecode2)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5981 }
5982 arg2 = static_cast< bool >(val2);
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_Py_Void();
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5997 PyObject *resultobj = 0;
5998 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5999 bool result;
6000 void *argp1 = 0 ;
6001 int res1 = 0 ;
6002 PyObject *swig_obj[1] ;
6003
6004 if (!args) SWIG_fail;
6005 swig_obj[0] = args;
6006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6009 }
6010 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 {
6018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6019 }
6020 return resultobj;
6021 fail:
6022 return NULL;
6023 }
6024
6025
6026 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6027 PyObject *resultobj = 0;
6028 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6029 int arg2 = (int) wxBOTH ;
6030 void *argp1 = 0 ;
6031 int res1 = 0 ;
6032 int val2 ;
6033 int ecode2 = 0 ;
6034 PyObject * obj0 = 0 ;
6035 PyObject * obj1 = 0 ;
6036 char * kwnames[] = {
6037 (char *) "self",(char *) "dir", NULL
6038 };
6039
6040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6042 if (!SWIG_IsOK(res1)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6044 }
6045 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6046 if (obj1) {
6047 ecode2 = SWIG_AsVal_int(obj1, &val2);
6048 if (!SWIG_IsOK(ecode2)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6050 }
6051 arg2 = static_cast< int >(val2);
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->CenterOnScreen(arg2);
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 resultobj = SWIG_Py_Void();
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj = 0;
6068 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6069 bool arg2 = (bool) true ;
6070 bool result;
6071 void *argp1 = 0 ;
6072 int res1 = 0 ;
6073 bool val2 ;
6074 int ecode2 = 0 ;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 char * kwnames[] = {
6078 (char *) "self",(char *) "enable", NULL
6079 };
6080
6081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6083 if (!SWIG_IsOK(res1)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6085 }
6086 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6087 if (obj1) {
6088 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6089 if (!SWIG_IsOK(ecode2)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6091 }
6092 arg2 = static_cast< bool >(val2);
6093 }
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 {
6101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6102 }
6103 return resultobj;
6104 fail:
6105 return NULL;
6106 }
6107
6108
6109 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj = 0;
6111 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6112 byte arg2 ;
6113 bool result;
6114 void *argp1 = 0 ;
6115 int res1 = 0 ;
6116 unsigned char val2 ;
6117 int ecode2 = 0 ;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char * kwnames[] = {
6121 (char *) "self",(char *) "alpha", NULL
6122 };
6123
6124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6126 if (!SWIG_IsOK(res1)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6128 }
6129 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6130 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6131 if (!SWIG_IsOK(ecode2)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6133 }
6134 arg2 = static_cast< byte >(val2);
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (bool)(arg1)->SetTransparent(arg2);
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 {
6142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6143 }
6144 return resultobj;
6145 fail:
6146 return NULL;
6147 }
6148
6149
6150 SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6151 PyObject *resultobj = 0;
6152 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6153 bool result;
6154 void *argp1 = 0 ;
6155 int res1 = 0 ;
6156 PyObject *swig_obj[1] ;
6157
6158 if (!args) SWIG_fail;
6159 swig_obj[0] = args;
6160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6161 if (!SWIG_IsOK(res1)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6163 }
6164 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (bool)(arg1)->CanSetTransparent();
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 {
6172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6173 }
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6181 PyObject *resultobj = 0;
6182 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6183 wxWindow *result = 0 ;
6184 void *argp1 = 0 ;
6185 int res1 = 0 ;
6186 PyObject *swig_obj[1] ;
6187
6188 if (!args) SWIG_fail;
6189 swig_obj[0] = args;
6190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6191 if (!SWIG_IsOK(res1)) {
6192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6193 }
6194 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 {
6202 resultobj = wxPyMake_wxObject(result, 0);
6203 }
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj = 0;
6212 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6213 wxWindow *arg2 = (wxWindow *) 0 ;
6214 wxWindow *result = 0 ;
6215 void *argp1 = 0 ;
6216 int res1 = 0 ;
6217 void *argp2 = 0 ;
6218 int res2 = 0 ;
6219 PyObject * obj0 = 0 ;
6220 PyObject * obj1 = 0 ;
6221 char * kwnames[] = {
6222 (char *) "self",(char *) "child", NULL
6223 };
6224
6225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6227 if (!SWIG_IsOK(res1)) {
6228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6229 }
6230 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6232 if (!SWIG_IsOK(res2)) {
6233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6234 }
6235 arg2 = reinterpret_cast< wxWindow * >(argp2);
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243 resultobj = wxPyMake_wxObject(result, 0);
6244 }
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6252 PyObject *resultobj = 0;
6253 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6254 wxWindow *arg2 = (wxWindow *) 0 ;
6255 void *argp1 = 0 ;
6256 int res1 = 0 ;
6257 void *argp2 = 0 ;
6258 int res2 = 0 ;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 char * kwnames[] = {
6262 (char *) "self",(char *) "win", NULL
6263 };
6264
6265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6267 if (!SWIG_IsOK(res1)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6269 }
6270 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6271 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6272 if (!SWIG_IsOK(res2)) {
6273 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6274 }
6275 arg2 = reinterpret_cast< wxWindow * >(argp2);
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 (arg1)->SetTmpDefaultItem(arg2);
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 resultobj = SWIG_Py_Void();
6283 return resultobj;
6284 fail:
6285 return NULL;
6286 }
6287
6288
6289 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6290 PyObject *resultobj = 0;
6291 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6292 wxWindow *result = 0 ;
6293 void *argp1 = 0 ;
6294 int res1 = 0 ;
6295 PyObject *swig_obj[1] ;
6296
6297 if (!args) SWIG_fail;
6298 swig_obj[0] = args;
6299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6300 if (!SWIG_IsOK(res1)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6302 }
6303 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 {
6311 resultobj = wxPyMake_wxObject(result, 0);
6312 }
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6320 PyObject *obj;
6321 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6322 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6323 return SWIG_Py_Void();
6324 }
6325
6326 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj = 0;
6328 wxWindow *arg1 = (wxWindow *) 0 ;
6329 int arg2 = (int) (int)-1 ;
6330 wxString const &arg3_defvalue = wxPyEmptyString ;
6331 wxString *arg3 = (wxString *) &arg3_defvalue ;
6332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6334 wxSize const &arg5_defvalue = wxDefaultSize ;
6335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6336 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6337 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6338 wxString *arg7 = (wxString *) &arg7_defvalue ;
6339 wxFrame *result = 0 ;
6340 void *argp1 = 0 ;
6341 int res1 = 0 ;
6342 int val2 ;
6343 int ecode2 = 0 ;
6344 bool temp3 = false ;
6345 wxPoint temp4 ;
6346 wxSize temp5 ;
6347 long val6 ;
6348 int ecode6 = 0 ;
6349 bool temp7 = false ;
6350 PyObject * obj0 = 0 ;
6351 PyObject * obj1 = 0 ;
6352 PyObject * obj2 = 0 ;
6353 PyObject * obj3 = 0 ;
6354 PyObject * obj4 = 0 ;
6355 PyObject * obj5 = 0 ;
6356 PyObject * obj6 = 0 ;
6357 char * kwnames[] = {
6358 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6359 };
6360
6361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6363 if (!SWIG_IsOK(res1)) {
6364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6365 }
6366 arg1 = reinterpret_cast< wxWindow * >(argp1);
6367 if (obj1) {
6368 ecode2 = SWIG_AsVal_int(obj1, &val2);
6369 if (!SWIG_IsOK(ecode2)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6371 }
6372 arg2 = static_cast< int >(val2);
6373 }
6374 if (obj2) {
6375 {
6376 arg3 = wxString_in_helper(obj2);
6377 if (arg3 == NULL) SWIG_fail;
6378 temp3 = true;
6379 }
6380 }
6381 if (obj3) {
6382 {
6383 arg4 = &temp4;
6384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6385 }
6386 }
6387 if (obj4) {
6388 {
6389 arg5 = &temp5;
6390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6391 }
6392 }
6393 if (obj5) {
6394 ecode6 = SWIG_AsVal_long(obj5, &val6);
6395 if (!SWIG_IsOK(ecode6)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6397 }
6398 arg6 = static_cast< long >(val6);
6399 }
6400 if (obj6) {
6401 {
6402 arg7 = wxString_in_helper(obj6);
6403 if (arg7 == NULL) SWIG_fail;
6404 temp7 = true;
6405 }
6406 }
6407 {
6408 if (!wxPyCheckForApp()) SWIG_fail;
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6415 {
6416 if (temp3)
6417 delete arg3;
6418 }
6419 {
6420 if (temp7)
6421 delete arg7;
6422 }
6423 return resultobj;
6424 fail:
6425 {
6426 if (temp3)
6427 delete arg3;
6428 }
6429 {
6430 if (temp7)
6431 delete arg7;
6432 }
6433 return NULL;
6434 }
6435
6436
6437 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6438 PyObject *resultobj = 0;
6439 wxFrame *result = 0 ;
6440
6441 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6442 {
6443 if (!wxPyCheckForApp()) SWIG_fail;
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (wxFrame *)new wxFrame();
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj = 0;
6458 wxFrame *arg1 = (wxFrame *) 0 ;
6459 wxWindow *arg2 = (wxWindow *) 0 ;
6460 int arg3 = (int) (int)-1 ;
6461 wxString const &arg4_defvalue = wxPyEmptyString ;
6462 wxString *arg4 = (wxString *) &arg4_defvalue ;
6463 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6464 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6465 wxSize const &arg6_defvalue = wxDefaultSize ;
6466 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6467 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6468 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6469 wxString *arg8 = (wxString *) &arg8_defvalue ;
6470 bool result;
6471 void *argp1 = 0 ;
6472 int res1 = 0 ;
6473 void *argp2 = 0 ;
6474 int res2 = 0 ;
6475 int val3 ;
6476 int ecode3 = 0 ;
6477 bool temp4 = false ;
6478 wxPoint temp5 ;
6479 wxSize temp6 ;
6480 long val7 ;
6481 int ecode7 = 0 ;
6482 bool temp8 = false ;
6483 PyObject * obj0 = 0 ;
6484 PyObject * obj1 = 0 ;
6485 PyObject * obj2 = 0 ;
6486 PyObject * obj3 = 0 ;
6487 PyObject * obj4 = 0 ;
6488 PyObject * obj5 = 0 ;
6489 PyObject * obj6 = 0 ;
6490 PyObject * obj7 = 0 ;
6491 char * kwnames[] = {
6492 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6493 };
6494
6495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6497 if (!SWIG_IsOK(res1)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6499 }
6500 arg1 = reinterpret_cast< wxFrame * >(argp1);
6501 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6502 if (!SWIG_IsOK(res2)) {
6503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6504 }
6505 arg2 = reinterpret_cast< wxWindow * >(argp2);
6506 if (obj2) {
6507 ecode3 = SWIG_AsVal_int(obj2, &val3);
6508 if (!SWIG_IsOK(ecode3)) {
6509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6510 }
6511 arg3 = static_cast< int >(val3);
6512 }
6513 if (obj3) {
6514 {
6515 arg4 = wxString_in_helper(obj3);
6516 if (arg4 == NULL) SWIG_fail;
6517 temp4 = true;
6518 }
6519 }
6520 if (obj4) {
6521 {
6522 arg5 = &temp5;
6523 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6524 }
6525 }
6526 if (obj5) {
6527 {
6528 arg6 = &temp6;
6529 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6530 }
6531 }
6532 if (obj6) {
6533 ecode7 = SWIG_AsVal_long(obj6, &val7);
6534 if (!SWIG_IsOK(ecode7)) {
6535 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6536 }
6537 arg7 = static_cast< long >(val7);
6538 }
6539 if (obj7) {
6540 {
6541 arg8 = wxString_in_helper(obj7);
6542 if (arg8 == NULL) SWIG_fail;
6543 temp8 = true;
6544 }
6545 }
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 {
6553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6554 }
6555 {
6556 if (temp4)
6557 delete arg4;
6558 }
6559 {
6560 if (temp8)
6561 delete arg8;
6562 }
6563 return resultobj;
6564 fail:
6565 {
6566 if (temp4)
6567 delete arg4;
6568 }
6569 {
6570 if (temp8)
6571 delete arg8;
6572 }
6573 return NULL;
6574 }
6575
6576
6577 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6578 PyObject *resultobj = 0;
6579 wxFrame *arg1 = (wxFrame *) 0 ;
6580 void *argp1 = 0 ;
6581 int res1 = 0 ;
6582 PyObject *swig_obj[1] ;
6583
6584 if (!args) SWIG_fail;
6585 swig_obj[0] = args;
6586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6587 if (!SWIG_IsOK(res1)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6589 }
6590 arg1 = reinterpret_cast< wxFrame * >(argp1);
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 (arg1)->SendSizeEvent();
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 resultobj = SWIG_Py_Void();
6598 return resultobj;
6599 fail:
6600 return NULL;
6601 }
6602
6603
6604 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj = 0;
6606 wxFrame *arg1 = (wxFrame *) 0 ;
6607 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6608 void *argp1 = 0 ;
6609 int res1 = 0 ;
6610 void *argp2 = 0 ;
6611 int res2 = 0 ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 char * kwnames[] = {
6615 (char *) "self",(char *) "menubar", NULL
6616 };
6617
6618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6620 if (!SWIG_IsOK(res1)) {
6621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6622 }
6623 arg1 = reinterpret_cast< wxFrame * >(argp1);
6624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6625 if (!SWIG_IsOK(res2)) {
6626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6627 }
6628 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 (arg1)->SetMenuBar(arg2);
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 resultobj = SWIG_Py_Void();
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6643 PyObject *resultobj = 0;
6644 wxFrame *arg1 = (wxFrame *) 0 ;
6645 wxMenuBar *result = 0 ;
6646 void *argp1 = 0 ;
6647 int res1 = 0 ;
6648 PyObject *swig_obj[1] ;
6649
6650 if (!args) SWIG_fail;
6651 swig_obj[0] = args;
6652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6653 if (!SWIG_IsOK(res1)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6655 }
6656 arg1 = reinterpret_cast< wxFrame * >(argp1);
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 {
6664 resultobj = wxPyMake_wxObject(result, 0);
6665 }
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj = 0;
6674 wxFrame *arg1 = (wxFrame *) 0 ;
6675 int arg2 ;
6676 bool result;
6677 void *argp1 = 0 ;
6678 int res1 = 0 ;
6679 int val2 ;
6680 int ecode2 = 0 ;
6681 PyObject * obj0 = 0 ;
6682 PyObject * obj1 = 0 ;
6683 char * kwnames[] = {
6684 (char *) "self",(char *) "winid", NULL
6685 };
6686
6687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6689 if (!SWIG_IsOK(res1)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6691 }
6692 arg1 = reinterpret_cast< wxFrame * >(argp1);
6693 ecode2 = SWIG_AsVal_int(obj1, &val2);
6694 if (!SWIG_IsOK(ecode2)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6696 }
6697 arg2 = static_cast< int >(val2);
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 result = (bool)(arg1)->ProcessCommand(arg2);
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 {
6705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6706 }
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj = 0;
6715 wxFrame *arg1 = (wxFrame *) 0 ;
6716 int arg2 = (int) 1 ;
6717 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6718 int arg4 = (int) 0 ;
6719 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6720 wxString *arg5 = (wxString *) &arg5_defvalue ;
6721 wxStatusBar *result = 0 ;
6722 void *argp1 = 0 ;
6723 int res1 = 0 ;
6724 int val2 ;
6725 int ecode2 = 0 ;
6726 long val3 ;
6727 int ecode3 = 0 ;
6728 int val4 ;
6729 int ecode4 = 0 ;
6730 bool temp5 = false ;
6731 PyObject * obj0 = 0 ;
6732 PyObject * obj1 = 0 ;
6733 PyObject * obj2 = 0 ;
6734 PyObject * obj3 = 0 ;
6735 PyObject * obj4 = 0 ;
6736 char * kwnames[] = {
6737 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6738 };
6739
6740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6742 if (!SWIG_IsOK(res1)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6744 }
6745 arg1 = reinterpret_cast< wxFrame * >(argp1);
6746 if (obj1) {
6747 ecode2 = SWIG_AsVal_int(obj1, &val2);
6748 if (!SWIG_IsOK(ecode2)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6750 }
6751 arg2 = static_cast< int >(val2);
6752 }
6753 if (obj2) {
6754 ecode3 = SWIG_AsVal_long(obj2, &val3);
6755 if (!SWIG_IsOK(ecode3)) {
6756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6757 }
6758 arg3 = static_cast< long >(val3);
6759 }
6760 if (obj3) {
6761 ecode4 = SWIG_AsVal_int(obj3, &val4);
6762 if (!SWIG_IsOK(ecode4)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6764 }
6765 arg4 = static_cast< int >(val4);
6766 }
6767 if (obj4) {
6768 {
6769 arg5 = wxString_in_helper(obj4);
6770 if (arg5 == NULL) SWIG_fail;
6771 temp5 = true;
6772 }
6773 }
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 {
6781 resultobj = wxPyMake_wxObject(result, (bool)0);
6782 }
6783 {
6784 if (temp5)
6785 delete arg5;
6786 }
6787 return resultobj;
6788 fail:
6789 {
6790 if (temp5)
6791 delete arg5;
6792 }
6793 return NULL;
6794 }
6795
6796
6797 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6798 PyObject *resultobj = 0;
6799 wxFrame *arg1 = (wxFrame *) 0 ;
6800 wxStatusBar *result = 0 ;
6801 void *argp1 = 0 ;
6802 int res1 = 0 ;
6803 PyObject *swig_obj[1] ;
6804
6805 if (!args) SWIG_fail;
6806 swig_obj[0] = args;
6807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6808 if (!SWIG_IsOK(res1)) {
6809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6810 }
6811 arg1 = reinterpret_cast< wxFrame * >(argp1);
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 {
6819 resultobj = wxPyMake_wxObject(result, (bool)0);
6820 }
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj = 0;
6829 wxFrame *arg1 = (wxFrame *) 0 ;
6830 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6831 void *argp1 = 0 ;
6832 int res1 = 0 ;
6833 void *argp2 = 0 ;
6834 int res2 = 0 ;
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 char * kwnames[] = {
6838 (char *) "self",(char *) "statBar", NULL
6839 };
6840
6841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6843 if (!SWIG_IsOK(res1)) {
6844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6845 }
6846 arg1 = reinterpret_cast< wxFrame * >(argp1);
6847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6848 if (!SWIG_IsOK(res2)) {
6849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6850 }
6851 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 (arg1)->SetStatusBar(arg2);
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = SWIG_Py_Void();
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj = 0;
6867 wxFrame *arg1 = (wxFrame *) 0 ;
6868 wxString *arg2 = 0 ;
6869 int arg3 = (int) 0 ;
6870 void *argp1 = 0 ;
6871 int res1 = 0 ;
6872 bool temp2 = false ;
6873 int val3 ;
6874 int ecode3 = 0 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 PyObject * obj2 = 0 ;
6878 char * kwnames[] = {
6879 (char *) "self",(char *) "text",(char *) "number", NULL
6880 };
6881
6882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6884 if (!SWIG_IsOK(res1)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6886 }
6887 arg1 = reinterpret_cast< wxFrame * >(argp1);
6888 {
6889 arg2 = wxString_in_helper(obj1);
6890 if (arg2 == NULL) SWIG_fail;
6891 temp2 = true;
6892 }
6893 if (obj2) {
6894 ecode3 = SWIG_AsVal_int(obj2, &val3);
6895 if (!SWIG_IsOK(ecode3)) {
6896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6897 }
6898 arg3 = static_cast< int >(val3);
6899 }
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = SWIG_Py_Void();
6907 {
6908 if (temp2)
6909 delete arg2;
6910 }
6911 return resultobj;
6912 fail:
6913 {
6914 if (temp2)
6915 delete arg2;
6916 }
6917 return NULL;
6918 }
6919
6920
6921 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj = 0;
6923 wxFrame *arg1 = (wxFrame *) 0 ;
6924 int arg2 ;
6925 int *arg3 = (int *) 0 ;
6926 void *argp1 = 0 ;
6927 int res1 = 0 ;
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 char * kwnames[] = {
6931 (char *) "self",(char *) "widths", NULL
6932 };
6933
6934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6938 }
6939 arg1 = reinterpret_cast< wxFrame * >(argp1);
6940 {
6941 arg2 = PyList_Size(obj1);
6942 arg3 = int_LIST_helper(obj1);
6943 if (arg3 == NULL) SWIG_fail;
6944 }
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 resultobj = SWIG_Py_Void();
6952 {
6953 if (arg3) delete [] arg3;
6954 }
6955 return resultobj;
6956 fail:
6957 {
6958 if (arg3) delete [] arg3;
6959 }
6960 return NULL;
6961 }
6962
6963
6964 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj = 0;
6966 wxFrame *arg1 = (wxFrame *) 0 ;
6967 wxString *arg2 = 0 ;
6968 int arg3 = (int) 0 ;
6969 void *argp1 = 0 ;
6970 int res1 = 0 ;
6971 bool temp2 = false ;
6972 int val3 ;
6973 int ecode3 = 0 ;
6974 PyObject * obj0 = 0 ;
6975 PyObject * obj1 = 0 ;
6976 PyObject * obj2 = 0 ;
6977 char * kwnames[] = {
6978 (char *) "self",(char *) "text",(char *) "number", NULL
6979 };
6980
6981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6983 if (!SWIG_IsOK(res1)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6985 }
6986 arg1 = reinterpret_cast< wxFrame * >(argp1);
6987 {
6988 arg2 = wxString_in_helper(obj1);
6989 if (arg2 == NULL) SWIG_fail;
6990 temp2 = true;
6991 }
6992 if (obj2) {
6993 ecode3 = SWIG_AsVal_int(obj2, &val3);
6994 if (!SWIG_IsOK(ecode3)) {
6995 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6996 }
6997 arg3 = static_cast< int >(val3);
6998 }
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_Py_Void();
7006 {
7007 if (temp2)
7008 delete arg2;
7009 }
7010 return resultobj;
7011 fail:
7012 {
7013 if (temp2)
7014 delete arg2;
7015 }
7016 return NULL;
7017 }
7018
7019
7020 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj = 0;
7022 wxFrame *arg1 = (wxFrame *) 0 ;
7023 int arg2 = (int) 0 ;
7024 void *argp1 = 0 ;
7025 int res1 = 0 ;
7026 int val2 ;
7027 int ecode2 = 0 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char * kwnames[] = {
7031 (char *) "self",(char *) "number", NULL
7032 };
7033
7034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7036 if (!SWIG_IsOK(res1)) {
7037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7038 }
7039 arg1 = reinterpret_cast< wxFrame * >(argp1);
7040 if (obj1) {
7041 ecode2 = SWIG_AsVal_int(obj1, &val2);
7042 if (!SWIG_IsOK(ecode2)) {
7043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7044 }
7045 arg2 = static_cast< int >(val2);
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->PopStatusText(arg2);
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 resultobj = SWIG_Py_Void();
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj = 0;
7062 wxFrame *arg1 = (wxFrame *) 0 ;
7063 int arg2 ;
7064 void *argp1 = 0 ;
7065 int res1 = 0 ;
7066 int val2 ;
7067 int ecode2 = 0 ;
7068 PyObject * obj0 = 0 ;
7069 PyObject * obj1 = 0 ;
7070 char * kwnames[] = {
7071 (char *) "self",(char *) "n", NULL
7072 };
7073
7074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7076 if (!SWIG_IsOK(res1)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7078 }
7079 arg1 = reinterpret_cast< wxFrame * >(argp1);
7080 ecode2 = SWIG_AsVal_int(obj1, &val2);
7081 if (!SWIG_IsOK(ecode2)) {
7082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7083 }
7084 arg2 = static_cast< int >(val2);
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->SetStatusBarPane(arg2);
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 resultobj = SWIG_Py_Void();
7092 return resultobj;
7093 fail:
7094 return NULL;
7095 }
7096
7097
7098 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7099 PyObject *resultobj = 0;
7100 wxFrame *arg1 = (wxFrame *) 0 ;
7101 int result;
7102 void *argp1 = 0 ;
7103 int res1 = 0 ;
7104 PyObject *swig_obj[1] ;
7105
7106 if (!args) SWIG_fail;
7107 swig_obj[0] = args;
7108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7109 if (!SWIG_IsOK(res1)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7111 }
7112 arg1 = reinterpret_cast< wxFrame * >(argp1);
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 resultobj = SWIG_From_int(static_cast< int >(result));
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxFrame *arg1 = (wxFrame *) 0 ;
7129 long arg2 = (long) -1 ;
7130 int arg3 = (int) -1 ;
7131 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7132 wxString *arg4 = (wxString *) &arg4_defvalue ;
7133 wxToolBar *result = 0 ;
7134 void *argp1 = 0 ;
7135 int res1 = 0 ;
7136 long val2 ;
7137 int ecode2 = 0 ;
7138 int val3 ;
7139 int ecode3 = 0 ;
7140 bool temp4 = false ;
7141 PyObject * obj0 = 0 ;
7142 PyObject * obj1 = 0 ;
7143 PyObject * obj2 = 0 ;
7144 PyObject * obj3 = 0 ;
7145 char * kwnames[] = {
7146 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7147 };
7148
7149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7151 if (!SWIG_IsOK(res1)) {
7152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7153 }
7154 arg1 = reinterpret_cast< wxFrame * >(argp1);
7155 if (obj1) {
7156 ecode2 = SWIG_AsVal_long(obj1, &val2);
7157 if (!SWIG_IsOK(ecode2)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7159 }
7160 arg2 = static_cast< long >(val2);
7161 }
7162 if (obj2) {
7163 ecode3 = SWIG_AsVal_int(obj2, &val3);
7164 if (!SWIG_IsOK(ecode3)) {
7165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7166 }
7167 arg3 = static_cast< int >(val3);
7168 }
7169 if (obj3) {
7170 {
7171 arg4 = wxString_in_helper(obj3);
7172 if (arg4 == NULL) SWIG_fail;
7173 temp4 = true;
7174 }
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 {
7183 resultobj = wxPyMake_wxObject(result, (bool)0);
7184 }
7185 {
7186 if (temp4)
7187 delete arg4;
7188 }
7189 return resultobj;
7190 fail:
7191 {
7192 if (temp4)
7193 delete arg4;
7194 }
7195 return NULL;
7196 }
7197
7198
7199 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7200 PyObject *resultobj = 0;
7201 wxFrame *arg1 = (wxFrame *) 0 ;
7202 wxToolBar *result = 0 ;
7203 void *argp1 = 0 ;
7204 int res1 = 0 ;
7205 PyObject *swig_obj[1] ;
7206
7207 if (!args) SWIG_fail;
7208 swig_obj[0] = args;
7209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7210 if (!SWIG_IsOK(res1)) {
7211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7212 }
7213 arg1 = reinterpret_cast< wxFrame * >(argp1);
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 {
7221 resultobj = wxPyMake_wxObject(result, (bool)0);
7222 }
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj = 0;
7231 wxFrame *arg1 = (wxFrame *) 0 ;
7232 wxToolBar *arg2 = (wxToolBar *) 0 ;
7233 void *argp1 = 0 ;
7234 int res1 = 0 ;
7235 void *argp2 = 0 ;
7236 int res2 = 0 ;
7237 PyObject * obj0 = 0 ;
7238 PyObject * obj1 = 0 ;
7239 char * kwnames[] = {
7240 (char *) "self",(char *) "toolbar", NULL
7241 };
7242
7243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7245 if (!SWIG_IsOK(res1)) {
7246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7247 }
7248 arg1 = reinterpret_cast< wxFrame * >(argp1);
7249 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7250 if (!SWIG_IsOK(res2)) {
7251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7252 }
7253 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 (arg1)->SetToolBar(arg2);
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 resultobj = SWIG_Py_Void();
7261 return resultobj;
7262 fail:
7263 return NULL;
7264 }
7265
7266
7267 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj = 0;
7269 wxFrame *arg1 = (wxFrame *) 0 ;
7270 wxString *arg2 = 0 ;
7271 bool arg3 ;
7272 void *argp1 = 0 ;
7273 int res1 = 0 ;
7274 bool temp2 = false ;
7275 bool val3 ;
7276 int ecode3 = 0 ;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 PyObject * obj2 = 0 ;
7280 char * kwnames[] = {
7281 (char *) "self",(char *) "text",(char *) "show", NULL
7282 };
7283
7284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7286 if (!SWIG_IsOK(res1)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7288 }
7289 arg1 = reinterpret_cast< wxFrame * >(argp1);
7290 {
7291 arg2 = wxString_in_helper(obj1);
7292 if (arg2 == NULL) SWIG_fail;
7293 temp2 = true;
7294 }
7295 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7296 if (!SWIG_IsOK(ecode3)) {
7297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7298 }
7299 arg3 = static_cast< bool >(val3);
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_Py_Void();
7307 {
7308 if (temp2)
7309 delete arg2;
7310 }
7311 return resultobj;
7312 fail:
7313 {
7314 if (temp2)
7315 delete arg2;
7316 }
7317 return NULL;
7318 }
7319
7320
7321 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj = 0;
7323 wxFrame *arg1 = (wxFrame *) 0 ;
7324 wxMenu *arg2 = (wxMenu *) NULL ;
7325 void *argp1 = 0 ;
7326 int res1 = 0 ;
7327 void *argp2 = 0 ;
7328 int res2 = 0 ;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char * kwnames[] = {
7332 (char *) "self",(char *) "menu", NULL
7333 };
7334
7335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7337 if (!SWIG_IsOK(res1)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7339 }
7340 arg1 = reinterpret_cast< wxFrame * >(argp1);
7341 if (obj1) {
7342 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7343 if (!SWIG_IsOK(res2)) {
7344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7345 }
7346 arg2 = reinterpret_cast< wxMenu * >(argp2);
7347 }
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 (arg1)->DoMenuUpdates(arg2);
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 resultobj = SWIG_Py_Void();
7355 return resultobj;
7356 fail:
7357 return NULL;
7358 }
7359
7360
7361 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7362 PyObject *resultobj = 0;
7363 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7364 SwigValueWrapper<wxVisualAttributes > result;
7365 int val1 ;
7366 int ecode1 = 0 ;
7367 PyObject * obj0 = 0 ;
7368 char * kwnames[] = {
7369 (char *) "variant", NULL
7370 };
7371
7372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7373 if (obj0) {
7374 ecode1 = SWIG_AsVal_int(obj0, &val1);
7375 if (!SWIG_IsOK(ecode1)) {
7376 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7377 }
7378 arg1 = static_cast< wxWindowVariant >(val1);
7379 }
7380 {
7381 if (!wxPyCheckForApp()) SWIG_fail;
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 result = wxFrame::GetClassDefaultAttributes(arg1);
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7395 PyObject *obj;
7396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7397 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7398 return SWIG_Py_Void();
7399 }
7400
7401 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7402 return SWIG_Python_InitShadowInstance(args);
7403 }
7404
7405 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj = 0;
7407 wxWindow *arg1 = (wxWindow *) 0 ;
7408 int arg2 = (int) (int)-1 ;
7409 wxString const &arg3_defvalue = wxPyEmptyString ;
7410 wxString *arg3 = (wxString *) &arg3_defvalue ;
7411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7413 wxSize const &arg5_defvalue = wxDefaultSize ;
7414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7415 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7416 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7417 wxString *arg7 = (wxString *) &arg7_defvalue ;
7418 wxDialog *result = 0 ;
7419 void *argp1 = 0 ;
7420 int res1 = 0 ;
7421 int val2 ;
7422 int ecode2 = 0 ;
7423 bool temp3 = false ;
7424 wxPoint temp4 ;
7425 wxSize temp5 ;
7426 long val6 ;
7427 int ecode6 = 0 ;
7428 bool temp7 = false ;
7429 PyObject * obj0 = 0 ;
7430 PyObject * obj1 = 0 ;
7431 PyObject * obj2 = 0 ;
7432 PyObject * obj3 = 0 ;
7433 PyObject * obj4 = 0 ;
7434 PyObject * obj5 = 0 ;
7435 PyObject * obj6 = 0 ;
7436 char * kwnames[] = {
7437 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7438 };
7439
7440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7442 if (!SWIG_IsOK(res1)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7444 }
7445 arg1 = reinterpret_cast< wxWindow * >(argp1);
7446 if (obj1) {
7447 ecode2 = SWIG_AsVal_int(obj1, &val2);
7448 if (!SWIG_IsOK(ecode2)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7450 }
7451 arg2 = static_cast< int >(val2);
7452 }
7453 if (obj2) {
7454 {
7455 arg3 = wxString_in_helper(obj2);
7456 if (arg3 == NULL) SWIG_fail;
7457 temp3 = true;
7458 }
7459 }
7460 if (obj3) {
7461 {
7462 arg4 = &temp4;
7463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7464 }
7465 }
7466 if (obj4) {
7467 {
7468 arg5 = &temp5;
7469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7470 }
7471 }
7472 if (obj5) {
7473 ecode6 = SWIG_AsVal_long(obj5, &val6);
7474 if (!SWIG_IsOK(ecode6)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7476 }
7477 arg6 = static_cast< long >(val6);
7478 }
7479 if (obj6) {
7480 {
7481 arg7 = wxString_in_helper(obj6);
7482 if (arg7 == NULL) SWIG_fail;
7483 temp7 = true;
7484 }
7485 }
7486 {
7487 if (!wxPyCheckForApp()) SWIG_fail;
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7494 {
7495 if (temp3)
7496 delete arg3;
7497 }
7498 {
7499 if (temp7)
7500 delete arg7;
7501 }
7502 return resultobj;
7503 fail:
7504 {
7505 if (temp3)
7506 delete arg3;
7507 }
7508 {
7509 if (temp7)
7510 delete arg7;
7511 }
7512 return NULL;
7513 }
7514
7515
7516 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7517 PyObject *resultobj = 0;
7518 wxDialog *result = 0 ;
7519
7520 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7521 {
7522 if (!wxPyCheckForApp()) SWIG_fail;
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (wxDialog *)new wxDialog();
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj = 0;
7537 wxDialog *arg1 = (wxDialog *) 0 ;
7538 wxWindow *arg2 = (wxWindow *) 0 ;
7539 int arg3 = (int) (int)-1 ;
7540 wxString const &arg4_defvalue = wxPyEmptyString ;
7541 wxString *arg4 = (wxString *) &arg4_defvalue ;
7542 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7543 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7544 wxSize const &arg6_defvalue = wxDefaultSize ;
7545 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7546 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7547 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7548 wxString *arg8 = (wxString *) &arg8_defvalue ;
7549 bool result;
7550 void *argp1 = 0 ;
7551 int res1 = 0 ;
7552 void *argp2 = 0 ;
7553 int res2 = 0 ;
7554 int val3 ;
7555 int ecode3 = 0 ;
7556 bool temp4 = false ;
7557 wxPoint temp5 ;
7558 wxSize temp6 ;
7559 long val7 ;
7560 int ecode7 = 0 ;
7561 bool temp8 = false ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 PyObject * obj2 = 0 ;
7565 PyObject * obj3 = 0 ;
7566 PyObject * obj4 = 0 ;
7567 PyObject * obj5 = 0 ;
7568 PyObject * obj6 = 0 ;
7569 PyObject * obj7 = 0 ;
7570 char * kwnames[] = {
7571 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7572 };
7573
7574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7576 if (!SWIG_IsOK(res1)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7578 }
7579 arg1 = reinterpret_cast< wxDialog * >(argp1);
7580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7581 if (!SWIG_IsOK(res2)) {
7582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7583 }
7584 arg2 = reinterpret_cast< wxWindow * >(argp2);
7585 if (obj2) {
7586 ecode3 = SWIG_AsVal_int(obj2, &val3);
7587 if (!SWIG_IsOK(ecode3)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7589 }
7590 arg3 = static_cast< int >(val3);
7591 }
7592 if (obj3) {
7593 {
7594 arg4 = wxString_in_helper(obj3);
7595 if (arg4 == NULL) SWIG_fail;
7596 temp4 = true;
7597 }
7598 }
7599 if (obj4) {
7600 {
7601 arg5 = &temp5;
7602 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7603 }
7604 }
7605 if (obj5) {
7606 {
7607 arg6 = &temp6;
7608 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7609 }
7610 }
7611 if (obj6) {
7612 ecode7 = SWIG_AsVal_long(obj6, &val7);
7613 if (!SWIG_IsOK(ecode7)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7615 }
7616 arg7 = static_cast< long >(val7);
7617 }
7618 if (obj7) {
7619 {
7620 arg8 = wxString_in_helper(obj7);
7621 if (arg8 == NULL) SWIG_fail;
7622 temp8 = true;
7623 }
7624 }
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 {
7632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7633 }
7634 {
7635 if (temp4)
7636 delete arg4;
7637 }
7638 {
7639 if (temp8)
7640 delete arg8;
7641 }
7642 return resultobj;
7643 fail:
7644 {
7645 if (temp4)
7646 delete arg4;
7647 }
7648 {
7649 if (temp8)
7650 delete arg8;
7651 }
7652 return NULL;
7653 }
7654
7655
7656 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj = 0;
7658 wxDialog *arg1 = (wxDialog *) 0 ;
7659 int arg2 ;
7660 void *argp1 = 0 ;
7661 int res1 = 0 ;
7662 int val2 ;
7663 int ecode2 = 0 ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 char * kwnames[] = {
7667 (char *) "self",(char *) "returnCode", NULL
7668 };
7669
7670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7672 if (!SWIG_IsOK(res1)) {
7673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7674 }
7675 arg1 = reinterpret_cast< wxDialog * >(argp1);
7676 ecode2 = SWIG_AsVal_int(obj1, &val2);
7677 if (!SWIG_IsOK(ecode2)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7679 }
7680 arg2 = static_cast< int >(val2);
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 (arg1)->SetReturnCode(arg2);
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 resultobj = SWIG_Py_Void();
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7695 PyObject *resultobj = 0;
7696 wxDialog *arg1 = (wxDialog *) 0 ;
7697 int result;
7698 void *argp1 = 0 ;
7699 int res1 = 0 ;
7700 PyObject *swig_obj[1] ;
7701
7702 if (!args) SWIG_fail;
7703 swig_obj[0] = args;
7704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7705 if (!SWIG_IsOK(res1)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7707 }
7708 arg1 = reinterpret_cast< wxDialog * >(argp1);
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 resultobj = SWIG_From_int(static_cast< int >(result));
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj = 0;
7724 wxDialog *arg1 = (wxDialog *) 0 ;
7725 int arg2 ;
7726 void *argp1 = 0 ;
7727 int res1 = 0 ;
7728 int val2 ;
7729 int ecode2 = 0 ;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 char * kwnames[] = {
7733 (char *) "self",(char *) "affirmativeId", NULL
7734 };
7735
7736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7738 if (!SWIG_IsOK(res1)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7740 }
7741 arg1 = reinterpret_cast< wxDialog * >(argp1);
7742 ecode2 = SWIG_AsVal_int(obj1, &val2);
7743 if (!SWIG_IsOK(ecode2)) {
7744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7745 }
7746 arg2 = static_cast< int >(val2);
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 (arg1)->SetAffirmativeId(arg2);
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 resultobj = SWIG_Py_Void();
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7761 PyObject *resultobj = 0;
7762 wxDialog *arg1 = (wxDialog *) 0 ;
7763 int result;
7764 void *argp1 = 0 ;
7765 int res1 = 0 ;
7766 PyObject *swig_obj[1] ;
7767
7768 if (!args) SWIG_fail;
7769 swig_obj[0] = args;
7770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7771 if (!SWIG_IsOK(res1)) {
7772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7773 }
7774 arg1 = reinterpret_cast< wxDialog * >(argp1);
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = SWIG_From_int(static_cast< int >(result));
7782 return resultobj;
7783 fail:
7784 return NULL;
7785 }
7786
7787
7788 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj = 0;
7790 wxDialog *arg1 = (wxDialog *) 0 ;
7791 int arg2 ;
7792 void *argp1 = 0 ;
7793 int res1 = 0 ;
7794 int val2 ;
7795 int ecode2 = 0 ;
7796 PyObject * obj0 = 0 ;
7797 PyObject * obj1 = 0 ;
7798 char * kwnames[] = {
7799 (char *) "self",(char *) "escapeId", NULL
7800 };
7801
7802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7804 if (!SWIG_IsOK(res1)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7806 }
7807 arg1 = reinterpret_cast< wxDialog * >(argp1);
7808 ecode2 = SWIG_AsVal_int(obj1, &val2);
7809 if (!SWIG_IsOK(ecode2)) {
7810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7811 }
7812 arg2 = static_cast< int >(val2);
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->SetEscapeId(arg2);
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 resultobj = SWIG_Py_Void();
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7827 PyObject *resultobj = 0;
7828 wxDialog *arg1 = (wxDialog *) 0 ;
7829 int result;
7830 void *argp1 = 0 ;
7831 int res1 = 0 ;
7832 PyObject *swig_obj[1] ;
7833
7834 if (!args) SWIG_fail;
7835 swig_obj[0] = args;
7836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7837 if (!SWIG_IsOK(res1)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7839 }
7840 arg1 = reinterpret_cast< wxDialog * >(argp1);
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_From_int(static_cast< int >(result));
7848 return resultobj;
7849 fail:
7850 return NULL;
7851 }
7852
7853
7854 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxDialog *arg1 = (wxDialog *) 0 ;
7857 wxString *arg2 = 0 ;
7858 wxSizer *result = 0 ;
7859 void *argp1 = 0 ;
7860 int res1 = 0 ;
7861 bool temp2 = false ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char * kwnames[] = {
7865 (char *) "self",(char *) "message", NULL
7866 };
7867
7868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7870 if (!SWIG_IsOK(res1)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7872 }
7873 arg1 = reinterpret_cast< wxDialog * >(argp1);
7874 {
7875 arg2 = wxString_in_helper(obj1);
7876 if (arg2 == NULL) SWIG_fail;
7877 temp2 = true;
7878 }
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 {
7886 resultobj = wxPyMake_wxObject(result, (bool)0);
7887 }
7888 {
7889 if (temp2)
7890 delete arg2;
7891 }
7892 return resultobj;
7893 fail:
7894 {
7895 if (temp2)
7896 delete arg2;
7897 }
7898 return NULL;
7899 }
7900
7901
7902 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = 0;
7904 wxDialog *arg1 = (wxDialog *) 0 ;
7905 long arg2 ;
7906 bool arg3 = (bool) false ;
7907 int arg4 = (int) 0 ;
7908 wxSizer *result = 0 ;
7909 void *argp1 = 0 ;
7910 int res1 = 0 ;
7911 long val2 ;
7912 int ecode2 = 0 ;
7913 bool val3 ;
7914 int ecode3 = 0 ;
7915 int val4 ;
7916 int ecode4 = 0 ;
7917 PyObject * obj0 = 0 ;
7918 PyObject * obj1 = 0 ;
7919 PyObject * obj2 = 0 ;
7920 PyObject * obj3 = 0 ;
7921 char * kwnames[] = {
7922 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7923 };
7924
7925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7927 if (!SWIG_IsOK(res1)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7929 }
7930 arg1 = reinterpret_cast< wxDialog * >(argp1);
7931 ecode2 = SWIG_AsVal_long(obj1, &val2);
7932 if (!SWIG_IsOK(ecode2)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7934 }
7935 arg2 = static_cast< long >(val2);
7936 if (obj2) {
7937 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7938 if (!SWIG_IsOK(ecode3)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7940 }
7941 arg3 = static_cast< bool >(val3);
7942 }
7943 if (obj3) {
7944 ecode4 = SWIG_AsVal_int(obj3, &val4);
7945 if (!SWIG_IsOK(ecode4)) {
7946 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7947 }
7948 arg4 = static_cast< int >(val4);
7949 }
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 {
7957 resultobj = wxPyMake_wxObject(result, (bool)0);
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj = 0;
7967 wxDialog *arg1 = (wxDialog *) 0 ;
7968 long arg2 ;
7969 wxStdDialogButtonSizer *result = 0 ;
7970 void *argp1 = 0 ;
7971 int res1 = 0 ;
7972 long val2 ;
7973 int ecode2 = 0 ;
7974 PyObject * obj0 = 0 ;
7975 PyObject * obj1 = 0 ;
7976 char * kwnames[] = {
7977 (char *) "self",(char *) "flags", NULL
7978 };
7979
7980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7982 if (!SWIG_IsOK(res1)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7984 }
7985 arg1 = reinterpret_cast< wxDialog * >(argp1);
7986 ecode2 = SWIG_AsVal_long(obj1, &val2);
7987 if (!SWIG_IsOK(ecode2)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7989 }
7990 arg2 = static_cast< long >(val2);
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7998 return resultobj;
7999 fail:
8000 return NULL;
8001 }
8002
8003
8004 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8005 PyObject *resultobj = 0;
8006 wxDialog *arg1 = (wxDialog *) 0 ;
8007 bool result;
8008 void *argp1 = 0 ;
8009 int res1 = 0 ;
8010 PyObject *swig_obj[1] ;
8011
8012 if (!args) SWIG_fail;
8013 swig_obj[0] = args;
8014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8015 if (!SWIG_IsOK(res1)) {
8016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8017 }
8018 arg1 = reinterpret_cast< wxDialog * >(argp1);
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)((wxDialog const *)arg1)->IsModal();
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
8026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8027 }
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8035 PyObject *resultobj = 0;
8036 wxDialog *arg1 = (wxDialog *) 0 ;
8037 int result;
8038 void *argp1 = 0 ;
8039 int res1 = 0 ;
8040 PyObject *swig_obj[1] ;
8041
8042 if (!args) SWIG_fail;
8043 swig_obj[0] = args;
8044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8045 if (!SWIG_IsOK(res1)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8047 }
8048 arg1 = reinterpret_cast< wxDialog * >(argp1);
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (int)(arg1)->ShowModal();
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_From_int(static_cast< int >(result));
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxDialog *arg1 = (wxDialog *) 0 ;
8065 int arg2 ;
8066 void *argp1 = 0 ;
8067 int res1 = 0 ;
8068 int val2 ;
8069 int ecode2 = 0 ;
8070 PyObject * obj0 = 0 ;
8071 PyObject * obj1 = 0 ;
8072 char * kwnames[] = {
8073 (char *) "self",(char *) "retCode", NULL
8074 };
8075
8076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8078 if (!SWIG_IsOK(res1)) {
8079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8080 }
8081 arg1 = reinterpret_cast< wxDialog * >(argp1);
8082 ecode2 = SWIG_AsVal_int(obj1, &val2);
8083 if (!SWIG_IsOK(ecode2)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8085 }
8086 arg2 = static_cast< int >(val2);
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 (arg1)->EndModal(arg2);
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 resultobj = SWIG_Py_Void();
8094 return resultobj;
8095 fail:
8096 return NULL;
8097 }
8098
8099
8100 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj = 0;
8102 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8103 SwigValueWrapper<wxVisualAttributes > result;
8104 int val1 ;
8105 int ecode1 = 0 ;
8106 PyObject * obj0 = 0 ;
8107 char * kwnames[] = {
8108 (char *) "variant", NULL
8109 };
8110
8111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8112 if (obj0) {
8113 ecode1 = SWIG_AsVal_int(obj0, &val1);
8114 if (!SWIG_IsOK(ecode1)) {
8115 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8116 }
8117 arg1 = static_cast< wxWindowVariant >(val1);
8118 }
8119 {
8120 if (!wxPyCheckForApp()) SWIG_fail;
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = wxDialog::GetClassDefaultAttributes(arg1);
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8134 PyObject *obj;
8135 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8136 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8137 return SWIG_Py_Void();
8138 }
8139
8140 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8141 return SWIG_Python_InitShadowInstance(args);
8142 }
8143
8144 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj = 0;
8146 wxWindow *arg1 = (wxWindow *) 0 ;
8147 int arg2 = (int) (int)-1 ;
8148 wxString const &arg3_defvalue = wxPyEmptyString ;
8149 wxString *arg3 = (wxString *) &arg3_defvalue ;
8150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8152 wxSize const &arg5_defvalue = wxDefaultSize ;
8153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8154 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8155 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8156 wxString *arg7 = (wxString *) &arg7_defvalue ;
8157 wxMiniFrame *result = 0 ;
8158 void *argp1 = 0 ;
8159 int res1 = 0 ;
8160 int val2 ;
8161 int ecode2 = 0 ;
8162 bool temp3 = false ;
8163 wxPoint temp4 ;
8164 wxSize temp5 ;
8165 long val6 ;
8166 int ecode6 = 0 ;
8167 bool temp7 = false ;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 PyObject * obj2 = 0 ;
8171 PyObject * obj3 = 0 ;
8172 PyObject * obj4 = 0 ;
8173 PyObject * obj5 = 0 ;
8174 PyObject * obj6 = 0 ;
8175 char * kwnames[] = {
8176 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8177 };
8178
8179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8181 if (!SWIG_IsOK(res1)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8183 }
8184 arg1 = reinterpret_cast< wxWindow * >(argp1);
8185 if (obj1) {
8186 ecode2 = SWIG_AsVal_int(obj1, &val2);
8187 if (!SWIG_IsOK(ecode2)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8189 }
8190 arg2 = static_cast< int >(val2);
8191 }
8192 if (obj2) {
8193 {
8194 arg3 = wxString_in_helper(obj2);
8195 if (arg3 == NULL) SWIG_fail;
8196 temp3 = true;
8197 }
8198 }
8199 if (obj3) {
8200 {
8201 arg4 = &temp4;
8202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8203 }
8204 }
8205 if (obj4) {
8206 {
8207 arg5 = &temp5;
8208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8209 }
8210 }
8211 if (obj5) {
8212 ecode6 = SWIG_AsVal_long(obj5, &val6);
8213 if (!SWIG_IsOK(ecode6)) {
8214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8215 }
8216 arg6 = static_cast< long >(val6);
8217 }
8218 if (obj6) {
8219 {
8220 arg7 = wxString_in_helper(obj6);
8221 if (arg7 == NULL) SWIG_fail;
8222 temp7 = true;
8223 }
8224 }
8225 {
8226 if (!wxPyCheckForApp()) SWIG_fail;
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8233 {
8234 if (temp3)
8235 delete arg3;
8236 }
8237 {
8238 if (temp7)
8239 delete arg7;
8240 }
8241 return resultobj;
8242 fail:
8243 {
8244 if (temp3)
8245 delete arg3;
8246 }
8247 {
8248 if (temp7)
8249 delete arg7;
8250 }
8251 return NULL;
8252 }
8253
8254
8255 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8256 PyObject *resultobj = 0;
8257 wxMiniFrame *result = 0 ;
8258
8259 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8260 {
8261 if (!wxPyCheckForApp()) SWIG_fail;
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 result = (wxMiniFrame *)new wxMiniFrame();
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj = 0;
8276 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8277 wxWindow *arg2 = (wxWindow *) 0 ;
8278 int arg3 = (int) (int)-1 ;
8279 wxString const &arg4_defvalue = wxPyEmptyString ;
8280 wxString *arg4 = (wxString *) &arg4_defvalue ;
8281 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8282 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8283 wxSize const &arg6_defvalue = wxDefaultSize ;
8284 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8285 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8286 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8287 wxString *arg8 = (wxString *) &arg8_defvalue ;
8288 bool result;
8289 void *argp1 = 0 ;
8290 int res1 = 0 ;
8291 void *argp2 = 0 ;
8292 int res2 = 0 ;
8293 int val3 ;
8294 int ecode3 = 0 ;
8295 bool temp4 = false ;
8296 wxPoint temp5 ;
8297 wxSize temp6 ;
8298 long val7 ;
8299 int ecode7 = 0 ;
8300 bool temp8 = false ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 PyObject * obj3 = 0 ;
8305 PyObject * obj4 = 0 ;
8306 PyObject * obj5 = 0 ;
8307 PyObject * obj6 = 0 ;
8308 PyObject * obj7 = 0 ;
8309 char * kwnames[] = {
8310 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8311 };
8312
8313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8315 if (!SWIG_IsOK(res1)) {
8316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8317 }
8318 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8319 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8320 if (!SWIG_IsOK(res2)) {
8321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8322 }
8323 arg2 = reinterpret_cast< wxWindow * >(argp2);
8324 if (obj2) {
8325 ecode3 = SWIG_AsVal_int(obj2, &val3);
8326 if (!SWIG_IsOK(ecode3)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8328 }
8329 arg3 = static_cast< int >(val3);
8330 }
8331 if (obj3) {
8332 {
8333 arg4 = wxString_in_helper(obj3);
8334 if (arg4 == NULL) SWIG_fail;
8335 temp4 = true;
8336 }
8337 }
8338 if (obj4) {
8339 {
8340 arg5 = &temp5;
8341 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8342 }
8343 }
8344 if (obj5) {
8345 {
8346 arg6 = &temp6;
8347 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8348 }
8349 }
8350 if (obj6) {
8351 ecode7 = SWIG_AsVal_long(obj6, &val7);
8352 if (!SWIG_IsOK(ecode7)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8354 }
8355 arg7 = static_cast< long >(val7);
8356 }
8357 if (obj7) {
8358 {
8359 arg8 = wxString_in_helper(obj7);
8360 if (arg8 == NULL) SWIG_fail;
8361 temp8 = true;
8362 }
8363 }
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 {
8371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8372 }
8373 {
8374 if (temp4)
8375 delete arg4;
8376 }
8377 {
8378 if (temp8)
8379 delete arg8;
8380 }
8381 return resultobj;
8382 fail:
8383 {
8384 if (temp4)
8385 delete arg4;
8386 }
8387 {
8388 if (temp8)
8389 delete arg8;
8390 }
8391 return NULL;
8392 }
8393
8394
8395 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8396 PyObject *obj;
8397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8398 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8399 return SWIG_Py_Void();
8400 }
8401
8402 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8403 return SWIG_Python_InitShadowInstance(args);
8404 }
8405
8406 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj = 0;
8408 wxBitmap *arg1 = 0 ;
8409 wxWindow *arg2 = (wxWindow *) 0 ;
8410 int arg3 ;
8411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8413 wxSize const &arg5_defvalue = wxDefaultSize ;
8414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8415 long arg6 = (long) wxNO_BORDER ;
8416 wxSplashScreenWindow *result = 0 ;
8417 void *argp1 = 0 ;
8418 int res1 = 0 ;
8419 void *argp2 = 0 ;
8420 int res2 = 0 ;
8421 int val3 ;
8422 int ecode3 = 0 ;
8423 wxPoint temp4 ;
8424 wxSize temp5 ;
8425 long val6 ;
8426 int ecode6 = 0 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 PyObject * obj2 = 0 ;
8430 PyObject * obj3 = 0 ;
8431 PyObject * obj4 = 0 ;
8432 PyObject * obj5 = 0 ;
8433 char * kwnames[] = {
8434 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8435 };
8436
8437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8438 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8439 if (!SWIG_IsOK(res1)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8441 }
8442 if (!argp1) {
8443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8444 }
8445 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8447 if (!SWIG_IsOK(res2)) {
8448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8449 }
8450 arg2 = reinterpret_cast< wxWindow * >(argp2);
8451 ecode3 = SWIG_AsVal_int(obj2, &val3);
8452 if (!SWIG_IsOK(ecode3)) {
8453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8454 }
8455 arg3 = static_cast< int >(val3);
8456 if (obj3) {
8457 {
8458 arg4 = &temp4;
8459 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8460 }
8461 }
8462 if (obj4) {
8463 {
8464 arg5 = &temp5;
8465 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8466 }
8467 }
8468 if (obj5) {
8469 ecode6 = SWIG_AsVal_long(obj5, &val6);
8470 if (!SWIG_IsOK(ecode6)) {
8471 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8472 }
8473 arg6 = static_cast< long >(val6);
8474 }
8475 {
8476 if (!wxPyCheckForApp()) SWIG_fail;
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj = 0;
8491 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8492 wxBitmap *arg2 = 0 ;
8493 void *argp1 = 0 ;
8494 int res1 = 0 ;
8495 void *argp2 = 0 ;
8496 int res2 = 0 ;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 char * kwnames[] = {
8500 (char *) "self",(char *) "bitmap", NULL
8501 };
8502
8503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8505 if (!SWIG_IsOK(res1)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8507 }
8508 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8509 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8510 if (!SWIG_IsOK(res2)) {
8511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8512 }
8513 if (!argp2) {
8514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8515 }
8516 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 resultobj = SWIG_Py_Void();
8524 return resultobj;
8525 fail:
8526 return NULL;
8527 }
8528
8529
8530 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8531 PyObject *resultobj = 0;
8532 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8533 wxBitmap *result = 0 ;
8534 void *argp1 = 0 ;
8535 int res1 = 0 ;
8536 PyObject *swig_obj[1] ;
8537
8538 if (!args) SWIG_fail;
8539 swig_obj[0] = args;
8540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8541 if (!SWIG_IsOK(res1)) {
8542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8543 }
8544 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 {
8548 wxBitmap &_result_ref = (arg1)->GetBitmap();
8549 result = (wxBitmap *) &_result_ref;
8550 }
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 {
8555 wxBitmap* resultptr = new wxBitmap(*result);
8556 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8557 }
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8565 PyObject *obj;
8566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8567 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8568 return SWIG_Py_Void();
8569 }
8570
8571 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8572 return SWIG_Python_InitShadowInstance(args);
8573 }
8574
8575 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj = 0;
8577 wxBitmap *arg1 = 0 ;
8578 long arg2 ;
8579 int arg3 ;
8580 wxWindow *arg4 = (wxWindow *) 0 ;
8581 int arg5 = (int) -1 ;
8582 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8583 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8584 wxSize const &arg7_defvalue = wxDefaultSize ;
8585 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8586 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8587 wxSplashScreen *result = 0 ;
8588 void *argp1 = 0 ;
8589 int res1 = 0 ;
8590 long val2 ;
8591 int ecode2 = 0 ;
8592 int val3 ;
8593 int ecode3 = 0 ;
8594 void *argp4 = 0 ;
8595 int res4 = 0 ;
8596 int val5 ;
8597 int ecode5 = 0 ;
8598 wxPoint temp6 ;
8599 wxSize temp7 ;
8600 long val8 ;
8601 int ecode8 = 0 ;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 PyObject * obj2 = 0 ;
8605 PyObject * obj3 = 0 ;
8606 PyObject * obj4 = 0 ;
8607 PyObject * obj5 = 0 ;
8608 PyObject * obj6 = 0 ;
8609 PyObject * obj7 = 0 ;
8610 char * kwnames[] = {
8611 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8612 };
8613
8614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8615 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8616 if (!SWIG_IsOK(res1)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8618 }
8619 if (!argp1) {
8620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8621 }
8622 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8623 ecode2 = SWIG_AsVal_long(obj1, &val2);
8624 if (!SWIG_IsOK(ecode2)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8626 }
8627 arg2 = static_cast< long >(val2);
8628 ecode3 = SWIG_AsVal_int(obj2, &val3);
8629 if (!SWIG_IsOK(ecode3)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8631 }
8632 arg3 = static_cast< int >(val3);
8633 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8634 if (!SWIG_IsOK(res4)) {
8635 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8636 }
8637 arg4 = reinterpret_cast< wxWindow * >(argp4);
8638 if (obj4) {
8639 ecode5 = SWIG_AsVal_int(obj4, &val5);
8640 if (!SWIG_IsOK(ecode5)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8642 }
8643 arg5 = static_cast< int >(val5);
8644 }
8645 if (obj5) {
8646 {
8647 arg6 = &temp6;
8648 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8649 }
8650 }
8651 if (obj6) {
8652 {
8653 arg7 = &temp7;
8654 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8655 }
8656 }
8657 if (obj7) {
8658 ecode8 = SWIG_AsVal_long(obj7, &val8);
8659 if (!SWIG_IsOK(ecode8)) {
8660 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8661 }
8662 arg8 = static_cast< long >(val8);
8663 }
8664 {
8665 if (!wxPyCheckForApp()) SWIG_fail;
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8679 PyObject *resultobj = 0;
8680 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8681 long result;
8682 void *argp1 = 0 ;
8683 int res1 = 0 ;
8684 PyObject *swig_obj[1] ;
8685
8686 if (!args) SWIG_fail;
8687 swig_obj[0] = args;
8688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8689 if (!SWIG_IsOK(res1)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8691 }
8692 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_From_long(static_cast< long >(result));
8700 return resultobj;
8701 fail:
8702 return NULL;
8703 }
8704
8705
8706 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8707 PyObject *resultobj = 0;
8708 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8709 wxSplashScreenWindow *result = 0 ;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 PyObject *swig_obj[1] ;
8713
8714 if (!args) SWIG_fail;
8715 swig_obj[0] = args;
8716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8717 if (!SWIG_IsOK(res1)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8719 }
8720 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8735 PyObject *resultobj = 0;
8736 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8737 int result;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 PyObject *swig_obj[1] ;
8741
8742 if (!args) SWIG_fail;
8743 swig_obj[0] = args;
8744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8745 if (!SWIG_IsOK(res1)) {
8746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8747 }
8748 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = SWIG_From_int(static_cast< int >(result));
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8763 PyObject *obj;
8764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8765 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8766 return SWIG_Py_Void();
8767 }
8768
8769 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8770 return SWIG_Python_InitShadowInstance(args);
8771 }
8772
8773 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj = 0;
8775 wxWindow *arg1 = (wxWindow *) 0 ;
8776 int arg2 = (int) -1 ;
8777 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8778 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8779 wxString *arg4 = (wxString *) &arg4_defvalue ;
8780 wxStatusBar *result = 0 ;
8781 void *argp1 = 0 ;
8782 int res1 = 0 ;
8783 int val2 ;
8784 int ecode2 = 0 ;
8785 long val3 ;
8786 int ecode3 = 0 ;
8787 bool temp4 = false ;
8788 PyObject * obj0 = 0 ;
8789 PyObject * obj1 = 0 ;
8790 PyObject * obj2 = 0 ;
8791 PyObject * obj3 = 0 ;
8792 char * kwnames[] = {
8793 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8794 };
8795
8796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8798 if (!SWIG_IsOK(res1)) {
8799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8800 }
8801 arg1 = reinterpret_cast< wxWindow * >(argp1);
8802 if (obj1) {
8803 ecode2 = SWIG_AsVal_int(obj1, &val2);
8804 if (!SWIG_IsOK(ecode2)) {
8805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8806 }
8807 arg2 = static_cast< int >(val2);
8808 }
8809 if (obj2) {
8810 ecode3 = SWIG_AsVal_long(obj2, &val3);
8811 if (!SWIG_IsOK(ecode3)) {
8812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8813 }
8814 arg3 = static_cast< long >(val3);
8815 }
8816 if (obj3) {
8817 {
8818 arg4 = wxString_in_helper(obj3);
8819 if (arg4 == NULL) SWIG_fail;
8820 temp4 = true;
8821 }
8822 }
8823 {
8824 if (!wxPyCheckForApp()) SWIG_fail;
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8831 {
8832 if (temp4)
8833 delete arg4;
8834 }
8835 return resultobj;
8836 fail:
8837 {
8838 if (temp4)
8839 delete arg4;
8840 }
8841 return NULL;
8842 }
8843
8844
8845 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8846 PyObject *resultobj = 0;
8847 wxStatusBar *result = 0 ;
8848
8849 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8850 {
8851 if (!wxPyCheckForApp()) SWIG_fail;
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 result = (wxStatusBar *)new wxStatusBar();
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8858 return resultobj;
8859 fail:
8860 return NULL;
8861 }
8862
8863
8864 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8865 PyObject *resultobj = 0;
8866 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8867 wxWindow *arg2 = (wxWindow *) 0 ;
8868 int arg3 = (int) -1 ;
8869 long arg4 = (long) wxST_SIZEGRIP ;
8870 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8871 wxString *arg5 = (wxString *) &arg5_defvalue ;
8872 bool result;
8873 void *argp1 = 0 ;
8874 int res1 = 0 ;
8875 void *argp2 = 0 ;
8876 int res2 = 0 ;
8877 int val3 ;
8878 int ecode3 = 0 ;
8879 long val4 ;
8880 int ecode4 = 0 ;
8881 bool temp5 = false ;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 PyObject * obj2 = 0 ;
8885 PyObject * obj3 = 0 ;
8886 PyObject * obj4 = 0 ;
8887 char * kwnames[] = {
8888 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8889 };
8890
8891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8893 if (!SWIG_IsOK(res1)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 }
8896 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8897 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8898 if (!SWIG_IsOK(res2)) {
8899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8900 }
8901 arg2 = reinterpret_cast< wxWindow * >(argp2);
8902 if (obj2) {
8903 ecode3 = SWIG_AsVal_int(obj2, &val3);
8904 if (!SWIG_IsOK(ecode3)) {
8905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8906 }
8907 arg3 = static_cast< int >(val3);
8908 }
8909 if (obj3) {
8910 ecode4 = SWIG_AsVal_long(obj3, &val4);
8911 if (!SWIG_IsOK(ecode4)) {
8912 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8913 }
8914 arg4 = static_cast< long >(val4);
8915 }
8916 if (obj4) {
8917 {
8918 arg5 = wxString_in_helper(obj4);
8919 if (arg5 == NULL) SWIG_fail;
8920 temp5 = true;
8921 }
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 {
8930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8931 }
8932 {
8933 if (temp5)
8934 delete arg5;
8935 }
8936 return resultobj;
8937 fail:
8938 {
8939 if (temp5)
8940 delete arg5;
8941 }
8942 return NULL;
8943 }
8944
8945
8946 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8947 PyObject *resultobj = 0;
8948 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8949 int arg2 = (int) 1 ;
8950 void *argp1 = 0 ;
8951 int res1 = 0 ;
8952 int val2 ;
8953 int ecode2 = 0 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char * kwnames[] = {
8957 (char *) "self",(char *) "number", NULL
8958 };
8959
8960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8962 if (!SWIG_IsOK(res1)) {
8963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8964 }
8965 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8966 if (obj1) {
8967 ecode2 = SWIG_AsVal_int(obj1, &val2);
8968 if (!SWIG_IsOK(ecode2)) {
8969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8970 }
8971 arg2 = static_cast< int >(val2);
8972 }
8973 {
8974 PyThreadState* __tstate = wxPyBeginAllowThreads();
8975 (arg1)->SetFieldsCount(arg2);
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 resultobj = SWIG_Py_Void();
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8987 PyObject *resultobj = 0;
8988 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8989 int result;
8990 void *argp1 = 0 ;
8991 int res1 = 0 ;
8992 PyObject *swig_obj[1] ;
8993
8994 if (!args) SWIG_fail;
8995 swig_obj[0] = args;
8996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8997 if (!SWIG_IsOK(res1)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8999 }
9000 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = SWIG_From_int(static_cast< int >(result));
9008 return resultobj;
9009 fail:
9010 return NULL;
9011 }
9012
9013
9014 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj = 0;
9016 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9017 wxString *arg2 = 0 ;
9018 int arg3 = (int) 0 ;
9019 void *argp1 = 0 ;
9020 int res1 = 0 ;
9021 bool temp2 = false ;
9022 int val3 ;
9023 int ecode3 = 0 ;
9024 PyObject * obj0 = 0 ;
9025 PyObject * obj1 = 0 ;
9026 PyObject * obj2 = 0 ;
9027 char * kwnames[] = {
9028 (char *) "self",(char *) "text",(char *) "number", NULL
9029 };
9030
9031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9033 if (!SWIG_IsOK(res1)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9035 }
9036 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9037 {
9038 arg2 = wxString_in_helper(obj1);
9039 if (arg2 == NULL) SWIG_fail;
9040 temp2 = true;
9041 }
9042 if (obj2) {
9043 ecode3 = SWIG_AsVal_int(obj2, &val3);
9044 if (!SWIG_IsOK(ecode3)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9046 }
9047 arg3 = static_cast< int >(val3);
9048 }
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 resultobj = SWIG_Py_Void();
9056 {
9057 if (temp2)
9058 delete arg2;
9059 }
9060 return resultobj;
9061 fail:
9062 {
9063 if (temp2)
9064 delete arg2;
9065 }
9066 return NULL;
9067 }
9068
9069
9070 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj = 0;
9072 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9073 int arg2 = (int) 0 ;
9074 wxString result;
9075 void *argp1 = 0 ;
9076 int res1 = 0 ;
9077 int val2 ;
9078 int ecode2 = 0 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 char * kwnames[] = {
9082 (char *) "self",(char *) "number", NULL
9083 };
9084
9085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9087 if (!SWIG_IsOK(res1)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9089 }
9090 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9091 if (obj1) {
9092 ecode2 = SWIG_AsVal_int(obj1, &val2);
9093 if (!SWIG_IsOK(ecode2)) {
9094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9095 }
9096 arg2 = static_cast< int >(val2);
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 #if wxUSE_UNICODE
9106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9107 #else
9108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9109 #endif
9110 }
9111 return resultobj;
9112 fail:
9113 return NULL;
9114 }
9115
9116
9117 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj = 0;
9119 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9120 wxString *arg2 = 0 ;
9121 int arg3 = (int) 0 ;
9122 void *argp1 = 0 ;
9123 int res1 = 0 ;
9124 bool temp2 = false ;
9125 int val3 ;
9126 int ecode3 = 0 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj2 = 0 ;
9130 char * kwnames[] = {
9131 (char *) "self",(char *) "text",(char *) "number", NULL
9132 };
9133
9134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9136 if (!SWIG_IsOK(res1)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9138 }
9139 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9140 {
9141 arg2 = wxString_in_helper(obj1);
9142 if (arg2 == NULL) SWIG_fail;
9143 temp2 = true;
9144 }
9145 if (obj2) {
9146 ecode3 = SWIG_AsVal_int(obj2, &val3);
9147 if (!SWIG_IsOK(ecode3)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9149 }
9150 arg3 = static_cast< int >(val3);
9151 }
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = SWIG_Py_Void();
9159 {
9160 if (temp2)
9161 delete arg2;
9162 }
9163 return resultobj;
9164 fail:
9165 {
9166 if (temp2)
9167 delete arg2;
9168 }
9169 return NULL;
9170 }
9171
9172
9173 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj = 0;
9175 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9176 int arg2 = (int) 0 ;
9177 void *argp1 = 0 ;
9178 int res1 = 0 ;
9179 int val2 ;
9180 int ecode2 = 0 ;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 char * kwnames[] = {
9184 (char *) "self",(char *) "number", NULL
9185 };
9186
9187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9189 if (!SWIG_IsOK(res1)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9191 }
9192 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9193 if (obj1) {
9194 ecode2 = SWIG_AsVal_int(obj1, &val2);
9195 if (!SWIG_IsOK(ecode2)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9197 }
9198 arg2 = static_cast< int >(val2);
9199 }
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 (arg1)->PopStatusText(arg2);
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 resultobj = SWIG_Py_Void();
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9216 int arg2 ;
9217 int *arg3 = (int *) 0 ;
9218 void *argp1 = 0 ;
9219 int res1 = 0 ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "widths", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9230 }
9231 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9232 {
9233 arg2 = PyList_Size(obj1);
9234 arg3 = int_LIST_helper(obj1);
9235 if (arg3 == NULL) SWIG_fail;
9236 }
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 resultobj = SWIG_Py_Void();
9244 {
9245 if (arg3) delete [] arg3;
9246 }
9247 return resultobj;
9248 fail:
9249 {
9250 if (arg3) delete [] arg3;
9251 }
9252 return NULL;
9253 }
9254
9255
9256 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj = 0;
9258 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9259 int arg2 ;
9260 int *arg3 = (int *) 0 ;
9261 void *argp1 = 0 ;
9262 int res1 = 0 ;
9263 PyObject * obj0 = 0 ;
9264 PyObject * obj1 = 0 ;
9265 char * kwnames[] = {
9266 (char *) "self",(char *) "styles", NULL
9267 };
9268
9269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9271 if (!SWIG_IsOK(res1)) {
9272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9273 }
9274 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9275 {
9276 arg2 = PyList_Size(obj1);
9277 arg3 = int_LIST_helper(obj1);
9278 if (arg3 == NULL) SWIG_fail;
9279 }
9280 {
9281 PyThreadState* __tstate = wxPyBeginAllowThreads();
9282 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 resultobj = SWIG_Py_Void();
9287 {
9288 if (arg3) delete [] arg3;
9289 }
9290 return resultobj;
9291 fail:
9292 {
9293 if (arg3) delete [] arg3;
9294 }
9295 return NULL;
9296 }
9297
9298
9299 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj = 0;
9301 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9302 int arg2 ;
9303 wxRect result;
9304 void *argp1 = 0 ;
9305 int res1 = 0 ;
9306 int val2 ;
9307 int ecode2 = 0 ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 char * kwnames[] = {
9311 (char *) "self",(char *) "i", NULL
9312 };
9313
9314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9316 if (!SWIG_IsOK(res1)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9318 }
9319 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9320 ecode2 = SWIG_AsVal_int(obj1, &val2);
9321 if (!SWIG_IsOK(ecode2)) {
9322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9323 }
9324 arg2 = static_cast< int >(val2);
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = wxStatusBar_GetFieldRect(arg1,arg2);
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj = 0;
9340 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9341 int arg2 ;
9342 void *argp1 = 0 ;
9343 int res1 = 0 ;
9344 int val2 ;
9345 int ecode2 = 0 ;
9346 PyObject * obj0 = 0 ;
9347 PyObject * obj1 = 0 ;
9348 char * kwnames[] = {
9349 (char *) "self",(char *) "height", NULL
9350 };
9351
9352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9354 if (!SWIG_IsOK(res1)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9356 }
9357 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9358 ecode2 = SWIG_AsVal_int(obj1, &val2);
9359 if (!SWIG_IsOK(ecode2)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9361 }
9362 arg2 = static_cast< int >(val2);
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 (arg1)->SetMinHeight(arg2);
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 resultobj = SWIG_Py_Void();
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9377 PyObject *resultobj = 0;
9378 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9379 int result;
9380 void *argp1 = 0 ;
9381 int res1 = 0 ;
9382 PyObject *swig_obj[1] ;
9383
9384 if (!args) SWIG_fail;
9385 swig_obj[0] = args;
9386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9387 if (!SWIG_IsOK(res1)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9389 }
9390 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) SWIG_fail;
9396 }
9397 resultobj = SWIG_From_int(static_cast< int >(result));
9398 return resultobj;
9399 fail:
9400 return NULL;
9401 }
9402
9403
9404 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9405 PyObject *resultobj = 0;
9406 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9407 int result;
9408 void *argp1 = 0 ;
9409 int res1 = 0 ;
9410 PyObject *swig_obj[1] ;
9411
9412 if (!args) SWIG_fail;
9413 swig_obj[0] = args;
9414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9415 if (!SWIG_IsOK(res1)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9417 }
9418 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 resultobj = SWIG_From_int(static_cast< int >(result));
9426 return resultobj;
9427 fail:
9428 return NULL;
9429 }
9430
9431
9432 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj = 0;
9434 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9435 SwigValueWrapper<wxVisualAttributes > result;
9436 int val1 ;
9437 int ecode1 = 0 ;
9438 PyObject * obj0 = 0 ;
9439 char * kwnames[] = {
9440 (char *) "variant", NULL
9441 };
9442
9443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9444 if (obj0) {
9445 ecode1 = SWIG_AsVal_int(obj0, &val1);
9446 if (!SWIG_IsOK(ecode1)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9448 }
9449 arg1 = static_cast< wxWindowVariant >(val1);
9450 }
9451 {
9452 if (!wxPyCheckForApp()) SWIG_fail;
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9466 PyObject *obj;
9467 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9468 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9469 return SWIG_Py_Void();
9470 }
9471
9472 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9473 return SWIG_Python_InitShadowInstance(args);
9474 }
9475
9476 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9477 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9478 return 1;
9479 }
9480
9481
9482 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9483 PyObject *pyobj = 0;
9484
9485 {
9486 #if wxUSE_UNICODE
9487 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9488 #else
9489 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9490 #endif
9491 }
9492 return pyobj;
9493 }
9494
9495
9496 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = 0;
9498 wxWindow *arg1 = (wxWindow *) 0 ;
9499 int arg2 = (int) -1 ;
9500 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9501 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9502 wxSize const &arg4_defvalue = wxDefaultSize ;
9503 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9504 long arg5 = (long) wxSP_3D ;
9505 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9506 wxString *arg6 = (wxString *) &arg6_defvalue ;
9507 wxSplitterWindow *result = 0 ;
9508 void *argp1 = 0 ;
9509 int res1 = 0 ;
9510 int val2 ;
9511 int ecode2 = 0 ;
9512 wxPoint temp3 ;
9513 wxSize temp4 ;
9514 long val5 ;
9515 int ecode5 = 0 ;
9516 bool temp6 = false ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 PyObject * obj2 = 0 ;
9520 PyObject * obj3 = 0 ;
9521 PyObject * obj4 = 0 ;
9522 PyObject * obj5 = 0 ;
9523 char * kwnames[] = {
9524 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9525 };
9526
9527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9529 if (!SWIG_IsOK(res1)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9531 }
9532 arg1 = reinterpret_cast< wxWindow * >(argp1);
9533 if (obj1) {
9534 ecode2 = SWIG_AsVal_int(obj1, &val2);
9535 if (!SWIG_IsOK(ecode2)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9537 }
9538 arg2 = static_cast< int >(val2);
9539 }
9540 if (obj2) {
9541 {
9542 arg3 = &temp3;
9543 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9544 }
9545 }
9546 if (obj3) {
9547 {
9548 arg4 = &temp4;
9549 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9550 }
9551 }
9552 if (obj4) {
9553 ecode5 = SWIG_AsVal_long(obj4, &val5);
9554 if (!SWIG_IsOK(ecode5)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9556 }
9557 arg5 = static_cast< long >(val5);
9558 }
9559 if (obj5) {
9560 {
9561 arg6 = wxString_in_helper(obj5);
9562 if (arg6 == NULL) SWIG_fail;
9563 temp6 = true;
9564 }
9565 }
9566 {
9567 if (!wxPyCheckForApp()) SWIG_fail;
9568 PyThreadState* __tstate = wxPyBeginAllowThreads();
9569 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9574 {
9575 if (temp6)
9576 delete arg6;
9577 }
9578 return resultobj;
9579 fail:
9580 {
9581 if (temp6)
9582 delete arg6;
9583 }
9584 return NULL;
9585 }
9586
9587
9588 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9589 PyObject *resultobj = 0;
9590 wxSplitterWindow *result = 0 ;
9591
9592 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9593 {
9594 if (!wxPyCheckForApp()) SWIG_fail;
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (wxSplitterWindow *)new wxSplitterWindow();
9597 wxPyEndAllowThreads(__tstate);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9601 return resultobj;
9602 fail:
9603 return NULL;
9604 }
9605
9606
9607 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9608 PyObject *resultobj = 0;
9609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9610 wxWindow *arg2 = (wxWindow *) 0 ;
9611 int arg3 = (int) -1 ;
9612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9614 wxSize const &arg5_defvalue = wxDefaultSize ;
9615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9616 long arg6 = (long) wxSP_3D ;
9617 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9618 wxString *arg7 = (wxString *) &arg7_defvalue ;
9619 bool result;
9620 void *argp1 = 0 ;
9621 int res1 = 0 ;
9622 void *argp2 = 0 ;
9623 int res2 = 0 ;
9624 int val3 ;
9625 int ecode3 = 0 ;
9626 wxPoint temp4 ;
9627 wxSize temp5 ;
9628 long val6 ;
9629 int ecode6 = 0 ;
9630 bool temp7 = false ;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 PyObject * obj2 = 0 ;
9634 PyObject * obj3 = 0 ;
9635 PyObject * obj4 = 0 ;
9636 PyObject * obj5 = 0 ;
9637 PyObject * obj6 = 0 ;
9638 char * kwnames[] = {
9639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9640 };
9641
9642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9644 if (!SWIG_IsOK(res1)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9646 }
9647 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9649 if (!SWIG_IsOK(res2)) {
9650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9651 }
9652 arg2 = reinterpret_cast< wxWindow * >(argp2);
9653 if (obj2) {
9654 ecode3 = SWIG_AsVal_int(obj2, &val3);
9655 if (!SWIG_IsOK(ecode3)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9657 }
9658 arg3 = static_cast< int >(val3);
9659 }
9660 if (obj3) {
9661 {
9662 arg4 = &temp4;
9663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9664 }
9665 }
9666 if (obj4) {
9667 {
9668 arg5 = &temp5;
9669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9670 }
9671 }
9672 if (obj5) {
9673 ecode6 = SWIG_AsVal_long(obj5, &val6);
9674 if (!SWIG_IsOK(ecode6)) {
9675 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9676 }
9677 arg6 = static_cast< long >(val6);
9678 }
9679 if (obj6) {
9680 {
9681 arg7 = wxString_in_helper(obj6);
9682 if (arg7 == NULL) SWIG_fail;
9683 temp7 = true;
9684 }
9685 }
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
9692 {
9693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9694 }
9695 {
9696 if (temp7)
9697 delete arg7;
9698 }
9699 return resultobj;
9700 fail:
9701 {
9702 if (temp7)
9703 delete arg7;
9704 }
9705 return NULL;
9706 }
9707
9708
9709 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9710 PyObject *resultobj = 0;
9711 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9712 wxWindow *result = 0 ;
9713 void *argp1 = 0 ;
9714 int res1 = 0 ;
9715 PyObject *swig_obj[1] ;
9716
9717 if (!args) SWIG_fail;
9718 swig_obj[0] = args;
9719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9720 if (!SWIG_IsOK(res1)) {
9721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9722 }
9723 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9727 wxPyEndAllowThreads(__tstate);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 {
9731 resultobj = wxPyMake_wxObject(result, 0);
9732 }
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9740 PyObject *resultobj = 0;
9741 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9742 wxWindow *result = 0 ;
9743 void *argp1 = 0 ;
9744 int res1 = 0 ;
9745 PyObject *swig_obj[1] ;
9746
9747 if (!args) SWIG_fail;
9748 swig_obj[0] = args;
9749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9750 if (!SWIG_IsOK(res1)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9752 }
9753 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 resultobj = wxPyMake_wxObject(result, 0);
9762 }
9763 return resultobj;
9764 fail:
9765 return NULL;
9766 }
9767
9768
9769 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9770 PyObject *resultobj = 0;
9771 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9772 int arg2 ;
9773 void *argp1 = 0 ;
9774 int res1 = 0 ;
9775 int val2 ;
9776 int ecode2 = 0 ;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj1 = 0 ;
9779 char * kwnames[] = {
9780 (char *) "self",(char *) "mode", NULL
9781 };
9782
9783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9785 if (!SWIG_IsOK(res1)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9787 }
9788 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9789 ecode2 = SWIG_AsVal_int(obj1, &val2);
9790 if (!SWIG_IsOK(ecode2)) {
9791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9792 }
9793 arg2 = static_cast< int >(val2);
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 (arg1)->SetSplitMode(arg2);
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 resultobj = SWIG_Py_Void();
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9808 PyObject *resultobj = 0;
9809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9810 wxSplitMode result;
9811 void *argp1 = 0 ;
9812 int res1 = 0 ;
9813 PyObject *swig_obj[1] ;
9814
9815 if (!args) SWIG_fail;
9816 swig_obj[0] = args;
9817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9818 if (!SWIG_IsOK(res1)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9820 }
9821 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = SWIG_From_int(static_cast< int >(result));
9829 return resultobj;
9830 fail:
9831 return NULL;
9832 }
9833
9834
9835 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj = 0;
9837 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9838 wxWindow *arg2 = (wxWindow *) 0 ;
9839 void *argp1 = 0 ;
9840 int res1 = 0 ;
9841 void *argp2 = 0 ;
9842 int res2 = 0 ;
9843 PyObject * obj0 = 0 ;
9844 PyObject * obj1 = 0 ;
9845 char * kwnames[] = {
9846 (char *) "self",(char *) "window", NULL
9847 };
9848
9849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9851 if (!SWIG_IsOK(res1)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9853 }
9854 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9855 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9856 if (!SWIG_IsOK(res2)) {
9857 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9858 }
9859 arg2 = reinterpret_cast< wxWindow * >(argp2);
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 (arg1)->Initialize(arg2);
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 resultobj = SWIG_Py_Void();
9867 return resultobj;
9868 fail:
9869 return NULL;
9870 }
9871
9872
9873 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj = 0;
9875 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9876 wxWindow *arg2 = (wxWindow *) 0 ;
9877 wxWindow *arg3 = (wxWindow *) 0 ;
9878 int arg4 = (int) 0 ;
9879 bool result;
9880 void *argp1 = 0 ;
9881 int res1 = 0 ;
9882 void *argp2 = 0 ;
9883 int res2 = 0 ;
9884 void *argp3 = 0 ;
9885 int res3 = 0 ;
9886 int val4 ;
9887 int ecode4 = 0 ;
9888 PyObject * obj0 = 0 ;
9889 PyObject * obj1 = 0 ;
9890 PyObject * obj2 = 0 ;
9891 PyObject * obj3 = 0 ;
9892 char * kwnames[] = {
9893 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9894 };
9895
9896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9898 if (!SWIG_IsOK(res1)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9900 }
9901 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9903 if (!SWIG_IsOK(res2)) {
9904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9905 }
9906 arg2 = reinterpret_cast< wxWindow * >(argp2);
9907 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9908 if (!SWIG_IsOK(res3)) {
9909 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9910 }
9911 arg3 = reinterpret_cast< wxWindow * >(argp3);
9912 if (obj3) {
9913 ecode4 = SWIG_AsVal_int(obj3, &val4);
9914 if (!SWIG_IsOK(ecode4)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9916 }
9917 arg4 = static_cast< int >(val4);
9918 }
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 {
9926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9927 }
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9937 wxWindow *arg2 = (wxWindow *) 0 ;
9938 wxWindow *arg3 = (wxWindow *) 0 ;
9939 int arg4 = (int) 0 ;
9940 bool result;
9941 void *argp1 = 0 ;
9942 int res1 = 0 ;
9943 void *argp2 = 0 ;
9944 int res2 = 0 ;
9945 void *argp3 = 0 ;
9946 int res3 = 0 ;
9947 int val4 ;
9948 int ecode4 = 0 ;
9949 PyObject * obj0 = 0 ;
9950 PyObject * obj1 = 0 ;
9951 PyObject * obj2 = 0 ;
9952 PyObject * obj3 = 0 ;
9953 char * kwnames[] = {
9954 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9955 };
9956
9957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9959 if (!SWIG_IsOK(res1)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9961 }
9962 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9963 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9964 if (!SWIG_IsOK(res2)) {
9965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9966 }
9967 arg2 = reinterpret_cast< wxWindow * >(argp2);
9968 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9969 if (!SWIG_IsOK(res3)) {
9970 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9971 }
9972 arg3 = reinterpret_cast< wxWindow * >(argp3);
9973 if (obj3) {
9974 ecode4 = SWIG_AsVal_int(obj3, &val4);
9975 if (!SWIG_IsOK(ecode4)) {
9976 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9977 }
9978 arg4 = static_cast< int >(val4);
9979 }
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 {
9987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9988 }
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9996 PyObject *resultobj = 0;
9997 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9998 wxWindow *arg2 = (wxWindow *) NULL ;
9999 bool result;
10000 void *argp1 = 0 ;
10001 int res1 = 0 ;
10002 void *argp2 = 0 ;
10003 int res2 = 0 ;
10004 PyObject * obj0 = 0 ;
10005 PyObject * obj1 = 0 ;
10006 char * kwnames[] = {
10007 (char *) "self",(char *) "toRemove", NULL
10008 };
10009
10010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10012 if (!SWIG_IsOK(res1)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10014 }
10015 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10016 if (obj1) {
10017 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10018 if (!SWIG_IsOK(res2)) {
10019 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10020 }
10021 arg2 = reinterpret_cast< wxWindow * >(argp2);
10022 }
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 result = (bool)(arg1)->Unsplit(arg2);
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 {
10030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10031 }
10032 return resultobj;
10033 fail:
10034 return NULL;
10035 }
10036
10037
10038 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj = 0;
10040 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10041 wxWindow *arg2 = (wxWindow *) 0 ;
10042 wxWindow *arg3 = (wxWindow *) 0 ;
10043 bool result;
10044 void *argp1 = 0 ;
10045 int res1 = 0 ;
10046 void *argp2 = 0 ;
10047 int res2 = 0 ;
10048 void *argp3 = 0 ;
10049 int res3 = 0 ;
10050 PyObject * obj0 = 0 ;
10051 PyObject * obj1 = 0 ;
10052 PyObject * obj2 = 0 ;
10053 char * kwnames[] = {
10054 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10055 };
10056
10057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10059 if (!SWIG_IsOK(res1)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10061 }
10062 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10064 if (!SWIG_IsOK(res2)) {
10065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10066 }
10067 arg2 = reinterpret_cast< wxWindow * >(argp2);
10068 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10069 if (!SWIG_IsOK(res3)) {
10070 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10071 }
10072 arg3 = reinterpret_cast< wxWindow * >(argp3);
10073 {
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 {
10080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10081 }
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10089 PyObject *resultobj = 0;
10090 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10091 void *argp1 = 0 ;
10092 int res1 = 0 ;
10093 PyObject *swig_obj[1] ;
10094
10095 if (!args) SWIG_fail;
10096 swig_obj[0] = args;
10097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10100 }
10101 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 (arg1)->UpdateSize();
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_Py_Void();
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10116 PyObject *resultobj = 0;
10117 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10118 bool result;
10119 void *argp1 = 0 ;
10120 int res1 = 0 ;
10121 PyObject *swig_obj[1] ;
10122
10123 if (!args) SWIG_fail;
10124 swig_obj[0] = args;
10125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10126 if (!SWIG_IsOK(res1)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 }
10129 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 {
10137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10138 }
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj = 0;
10147 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10148 int arg2 ;
10149 void *argp1 = 0 ;
10150 int res1 = 0 ;
10151 int val2 ;
10152 int ecode2 = 0 ;
10153 PyObject * obj0 = 0 ;
10154 PyObject * obj1 = 0 ;
10155 char * kwnames[] = {
10156 (char *) "self",(char *) "width", NULL
10157 };
10158
10159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10161 if (!SWIG_IsOK(res1)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10163 }
10164 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10165 ecode2 = SWIG_AsVal_int(obj1, &val2);
10166 if (!SWIG_IsOK(ecode2)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10168 }
10169 arg2 = static_cast< int >(val2);
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 (arg1)->SetSashSize(arg2);
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_Py_Void();
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj = 0;
10185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10186 int arg2 ;
10187 void *argp1 = 0 ;
10188 int res1 = 0 ;
10189 int val2 ;
10190 int ecode2 = 0 ;
10191 PyObject * obj0 = 0 ;
10192 PyObject * obj1 = 0 ;
10193 char * kwnames[] = {
10194 (char *) "self",(char *) "width", NULL
10195 };
10196
10197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10199 if (!SWIG_IsOK(res1)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10201 }
10202 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10203 ecode2 = SWIG_AsVal_int(obj1, &val2);
10204 if (!SWIG_IsOK(ecode2)) {
10205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10206 }
10207 arg2 = static_cast< int >(val2);
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetBorderSize(arg2);
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_Py_Void();
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10222 PyObject *resultobj = 0;
10223 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10224 int result;
10225 void *argp1 = 0 ;
10226 int res1 = 0 ;
10227 PyObject *swig_obj[1] ;
10228
10229 if (!args) SWIG_fail;
10230 swig_obj[0] = args;
10231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10232 if (!SWIG_IsOK(res1)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10234 }
10235 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 resultobj = SWIG_From_int(static_cast< int >(result));
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10250 PyObject *resultobj = 0;
10251 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10252 int result;
10253 void *argp1 = 0 ;
10254 int res1 = 0 ;
10255 PyObject *swig_obj[1] ;
10256
10257 if (!args) SWIG_fail;
10258 swig_obj[0] = args;
10259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10260 if (!SWIG_IsOK(res1)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10262 }
10263 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 resultobj = SWIG_From_int(static_cast< int >(result));
10271 return resultobj;
10272 fail:
10273 return NULL;
10274 }
10275
10276
10277 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj = 0;
10279 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10280 int arg2 ;
10281 bool arg3 = (bool) true ;
10282 void *argp1 = 0 ;
10283 int res1 = 0 ;
10284 int val2 ;
10285 int ecode2 = 0 ;
10286 bool val3 ;
10287 int ecode3 = 0 ;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 PyObject * obj2 = 0 ;
10291 char * kwnames[] = {
10292 (char *) "self",(char *) "position",(char *) "redraw", NULL
10293 };
10294
10295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10297 if (!SWIG_IsOK(res1)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10299 }
10300 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10301 ecode2 = SWIG_AsVal_int(obj1, &val2);
10302 if (!SWIG_IsOK(ecode2)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10304 }
10305 arg2 = static_cast< int >(val2);
10306 if (obj2) {
10307 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10308 if (!SWIG_IsOK(ecode3)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10310 }
10311 arg3 = static_cast< bool >(val3);
10312 }
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 (arg1)->SetSashPosition(arg2,arg3);
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) SWIG_fail;
10318 }
10319 resultobj = SWIG_Py_Void();
10320 return resultobj;
10321 fail:
10322 return NULL;
10323 }
10324
10325
10326 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10327 PyObject *resultobj = 0;
10328 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10329 int result;
10330 void *argp1 = 0 ;
10331 int res1 = 0 ;
10332 PyObject *swig_obj[1] ;
10333
10334 if (!args) SWIG_fail;
10335 swig_obj[0] = args;
10336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10337 if (!SWIG_IsOK(res1)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10339 }
10340 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10341 {
10342 PyThreadState* __tstate = wxPyBeginAllowThreads();
10343 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 resultobj = SWIG_From_int(static_cast< int >(result));
10348 return resultobj;
10349 fail:
10350 return NULL;
10351 }
10352
10353
10354 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj = 0;
10356 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10357 double arg2 ;
10358 void *argp1 = 0 ;
10359 int res1 = 0 ;
10360 double val2 ;
10361 int ecode2 = 0 ;
10362 PyObject * obj0 = 0 ;
10363 PyObject * obj1 = 0 ;
10364 char * kwnames[] = {
10365 (char *) "self",(char *) "gravity", NULL
10366 };
10367
10368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10370 if (!SWIG_IsOK(res1)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10372 }
10373 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10374 ecode2 = SWIG_AsVal_double(obj1, &val2);
10375 if (!SWIG_IsOK(ecode2)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10377 }
10378 arg2 = static_cast< double >(val2);
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->SetSashGravity(arg2);
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 resultobj = SWIG_Py_Void();
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10393 PyObject *resultobj = 0;
10394 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10395 double result;
10396 void *argp1 = 0 ;
10397 int res1 = 0 ;
10398 PyObject *swig_obj[1] ;
10399
10400 if (!args) SWIG_fail;
10401 swig_obj[0] = args;
10402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10403 if (!SWIG_IsOK(res1)) {
10404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10405 }
10406 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10407 {
10408 PyThreadState* __tstate = wxPyBeginAllowThreads();
10409 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = SWIG_From_double(static_cast< double >(result));
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj = 0;
10422 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10423 int arg2 ;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 int val2 ;
10427 int ecode2 = 0 ;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 char * kwnames[] = {
10431 (char *) "self",(char *) "min", NULL
10432 };
10433
10434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10436 if (!SWIG_IsOK(res1)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10438 }
10439 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10440 ecode2 = SWIG_AsVal_int(obj1, &val2);
10441 if (!SWIG_IsOK(ecode2)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10443 }
10444 arg2 = static_cast< int >(val2);
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 (arg1)->SetMinimumPaneSize(arg2);
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_Py_Void();
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10459 PyObject *resultobj = 0;
10460 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10461 int result;
10462 void *argp1 = 0 ;
10463 int res1 = 0 ;
10464 PyObject *swig_obj[1] ;
10465
10466 if (!args) SWIG_fail;
10467 swig_obj[0] = args;
10468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10469 if (!SWIG_IsOK(res1)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10471 }
10472 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 resultobj = SWIG_From_int(static_cast< int >(result));
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10487 PyObject *resultobj = 0;
10488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10489 int arg2 ;
10490 int arg3 ;
10491 int arg4 = (int) 5 ;
10492 bool result;
10493 void *argp1 = 0 ;
10494 int res1 = 0 ;
10495 int val2 ;
10496 int ecode2 = 0 ;
10497 int val3 ;
10498 int ecode3 = 0 ;
10499 int val4 ;
10500 int ecode4 = 0 ;
10501 PyObject * obj0 = 0 ;
10502 PyObject * obj1 = 0 ;
10503 PyObject * obj2 = 0 ;
10504 PyObject * obj3 = 0 ;
10505 char * kwnames[] = {
10506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10507 };
10508
10509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10511 if (!SWIG_IsOK(res1)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10513 }
10514 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10515 ecode2 = SWIG_AsVal_int(obj1, &val2);
10516 if (!SWIG_IsOK(ecode2)) {
10517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10518 }
10519 arg2 = static_cast< int >(val2);
10520 ecode3 = SWIG_AsVal_int(obj2, &val3);
10521 if (!SWIG_IsOK(ecode3)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10523 }
10524 arg3 = static_cast< int >(val3);
10525 if (obj3) {
10526 ecode4 = SWIG_AsVal_int(obj3, &val4);
10527 if (!SWIG_IsOK(ecode4)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10529 }
10530 arg4 = static_cast< int >(val4);
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 {
10539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10540 }
10541 return resultobj;
10542 fail:
10543 return NULL;
10544 }
10545
10546
10547 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10548 PyObject *resultobj = 0;
10549 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10550 void *argp1 = 0 ;
10551 int res1 = 0 ;
10552 PyObject *swig_obj[1] ;
10553
10554 if (!args) SWIG_fail;
10555 swig_obj[0] = args;
10556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10557 if (!SWIG_IsOK(res1)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10559 }
10560 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 (arg1)->SizeWindows();
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_Py_Void();
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj = 0;
10576 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10577 bool arg2 ;
10578 void *argp1 = 0 ;
10579 int res1 = 0 ;
10580 bool val2 ;
10581 int ecode2 = 0 ;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj1 = 0 ;
10584 char * kwnames[] = {
10585 (char *) "self",(char *) "needUpdating", NULL
10586 };
10587
10588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10590 if (!SWIG_IsOK(res1)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10592 }
10593 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10594 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10595 if (!SWIG_IsOK(ecode2)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10597 }
10598 arg2 = static_cast< bool >(val2);
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 (arg1)->SetNeedUpdating(arg2);
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = SWIG_Py_Void();
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10613 PyObject *resultobj = 0;
10614 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10615 bool result;
10616 void *argp1 = 0 ;
10617 int res1 = 0 ;
10618 PyObject *swig_obj[1] ;
10619
10620 if (!args) SWIG_fail;
10621 swig_obj[0] = args;
10622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10623 if (!SWIG_IsOK(res1)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10625 }
10626 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10627 {
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 {
10634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10635 }
10636 return resultobj;
10637 fail:
10638 return NULL;
10639 }
10640
10641
10642 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj = 0;
10644 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10645 SwigValueWrapper<wxVisualAttributes > result;
10646 int val1 ;
10647 int ecode1 = 0 ;
10648 PyObject * obj0 = 0 ;
10649 char * kwnames[] = {
10650 (char *) "variant", NULL
10651 };
10652
10653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10654 if (obj0) {
10655 ecode1 = SWIG_AsVal_int(obj0, &val1);
10656 if (!SWIG_IsOK(ecode1)) {
10657 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10658 }
10659 arg1 = static_cast< wxWindowVariant >(val1);
10660 }
10661 {
10662 if (!wxPyCheckForApp()) SWIG_fail;
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10676 PyObject *obj;
10677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10678 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10679 return SWIG_Py_Void();
10680 }
10681
10682 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10683 return SWIG_Python_InitShadowInstance(args);
10684 }
10685
10686 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj = 0;
10688 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10689 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10690 wxSplitterEvent *result = 0 ;
10691 int val1 ;
10692 int ecode1 = 0 ;
10693 void *argp2 = 0 ;
10694 int res2 = 0 ;
10695 PyObject * obj0 = 0 ;
10696 PyObject * obj1 = 0 ;
10697 char * kwnames[] = {
10698 (char *) "type",(char *) "splitter", NULL
10699 };
10700
10701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10702 if (obj0) {
10703 ecode1 = SWIG_AsVal_int(obj0, &val1);
10704 if (!SWIG_IsOK(ecode1)) {
10705 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10706 }
10707 arg1 = static_cast< wxEventType >(val1);
10708 }
10709 if (obj1) {
10710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10711 if (!SWIG_IsOK(res2)) {
10712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10713 }
10714 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10715 }
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10723 return resultobj;
10724 fail:
10725 return NULL;
10726 }
10727
10728
10729 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10730 PyObject *resultobj = 0;
10731 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10732 int arg2 ;
10733 void *argp1 = 0 ;
10734 int res1 = 0 ;
10735 int val2 ;
10736 int ecode2 = 0 ;
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 char * kwnames[] = {
10740 (char *) "self",(char *) "pos", NULL
10741 };
10742
10743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10745 if (!SWIG_IsOK(res1)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10747 }
10748 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10749 ecode2 = SWIG_AsVal_int(obj1, &val2);
10750 if (!SWIG_IsOK(ecode2)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10752 }
10753 arg2 = static_cast< int >(val2);
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 (arg1)->SetSashPosition(arg2);
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = SWIG_Py_Void();
10761 return resultobj;
10762 fail:
10763 return NULL;
10764 }
10765
10766
10767 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10768 PyObject *resultobj = 0;
10769 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10770 int result;
10771 void *argp1 = 0 ;
10772 int res1 = 0 ;
10773 PyObject *swig_obj[1] ;
10774
10775 if (!args) SWIG_fail;
10776 swig_obj[0] = args;
10777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10778 if (!SWIG_IsOK(res1)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10780 }
10781 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = SWIG_From_int(static_cast< int >(result));
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10796 PyObject *resultobj = 0;
10797 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10798 wxWindow *result = 0 ;
10799 void *argp1 = 0 ;
10800 int res1 = 0 ;
10801 PyObject *swig_obj[1] ;
10802
10803 if (!args) SWIG_fail;
10804 swig_obj[0] = args;
10805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10806 if (!SWIG_IsOK(res1)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10808 }
10809 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 {
10817 resultobj = wxPyMake_wxObject(result, 0);
10818 }
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10826 PyObject *resultobj = 0;
10827 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10828 int result;
10829 void *argp1 = 0 ;
10830 int res1 = 0 ;
10831 PyObject *swig_obj[1] ;
10832
10833 if (!args) SWIG_fail;
10834 swig_obj[0] = args;
10835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10836 if (!SWIG_IsOK(res1)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10838 }
10839 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 resultobj = SWIG_From_int(static_cast< int >(result));
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10854 PyObject *resultobj = 0;
10855 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10856 int result;
10857 void *argp1 = 0 ;
10858 int res1 = 0 ;
10859 PyObject *swig_obj[1] ;
10860
10861 if (!args) SWIG_fail;
10862 swig_obj[0] = args;
10863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10864 if (!SWIG_IsOK(res1)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10866 }
10867 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 resultobj = SWIG_From_int(static_cast< int >(result));
10875 return resultobj;
10876 fail:
10877 return NULL;
10878 }
10879
10880
10881 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10882 PyObject *obj;
10883 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10884 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10885 return SWIG_Py_Void();
10886 }
10887
10888 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10889 return SWIG_Python_InitShadowInstance(args);
10890 }
10891
10892 SWIGINTERN int SashNameStr_set(PyObject *) {
10893 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10894 return 1;
10895 }
10896
10897
10898 SWIGINTERN PyObject *SashNameStr_get(void) {
10899 PyObject *pyobj = 0;
10900
10901 {
10902 #if wxUSE_UNICODE
10903 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10904 #else
10905 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10906 #endif
10907 }
10908 return pyobj;
10909 }
10910
10911
10912 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10913 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10914 return 1;
10915 }
10916
10917
10918 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10919 PyObject *pyobj = 0;
10920
10921 {
10922 #if wxUSE_UNICODE
10923 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10924 #else
10925 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10926 #endif
10927 }
10928 return pyobj;
10929 }
10930
10931
10932 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj = 0;
10934 wxWindow *arg1 = (wxWindow *) 0 ;
10935 int arg2 = (int) -1 ;
10936 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10937 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10938 wxSize const &arg4_defvalue = wxDefaultSize ;
10939 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10940 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10941 wxString const &arg6_defvalue = wxPySashNameStr ;
10942 wxString *arg6 = (wxString *) &arg6_defvalue ;
10943 wxSashWindow *result = 0 ;
10944 void *argp1 = 0 ;
10945 int res1 = 0 ;
10946 int val2 ;
10947 int ecode2 = 0 ;
10948 wxPoint temp3 ;
10949 wxSize temp4 ;
10950 long val5 ;
10951 int ecode5 = 0 ;
10952 bool temp6 = false ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 PyObject * obj2 = 0 ;
10956 PyObject * obj3 = 0 ;
10957 PyObject * obj4 = 0 ;
10958 PyObject * obj5 = 0 ;
10959 char * kwnames[] = {
10960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10961 };
10962
10963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10965 if (!SWIG_IsOK(res1)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10967 }
10968 arg1 = reinterpret_cast< wxWindow * >(argp1);
10969 if (obj1) {
10970 ecode2 = SWIG_AsVal_int(obj1, &val2);
10971 if (!SWIG_IsOK(ecode2)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10973 }
10974 arg2 = static_cast< int >(val2);
10975 }
10976 if (obj2) {
10977 {
10978 arg3 = &temp3;
10979 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10980 }
10981 }
10982 if (obj3) {
10983 {
10984 arg4 = &temp4;
10985 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10986 }
10987 }
10988 if (obj4) {
10989 ecode5 = SWIG_AsVal_long(obj4, &val5);
10990 if (!SWIG_IsOK(ecode5)) {
10991 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10992 }
10993 arg5 = static_cast< long >(val5);
10994 }
10995 if (obj5) {
10996 {
10997 arg6 = wxString_in_helper(obj5);
10998 if (arg6 == NULL) SWIG_fail;
10999 temp6 = true;
11000 }
11001 }
11002 {
11003 if (!wxPyCheckForApp()) SWIG_fail;
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11010 {
11011 if (temp6)
11012 delete arg6;
11013 }
11014 return resultobj;
11015 fail:
11016 {
11017 if (temp6)
11018 delete arg6;
11019 }
11020 return NULL;
11021 }
11022
11023
11024 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11025 PyObject *resultobj = 0;
11026 wxSashWindow *result = 0 ;
11027
11028 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11029 {
11030 if (!wxPyCheckForApp()) SWIG_fail;
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 result = (wxSashWindow *)new wxSashWindow();
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj = 0;
11045 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11046 wxWindow *arg2 = (wxWindow *) 0 ;
11047 int arg3 = (int) -1 ;
11048 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11049 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11050 wxSize const &arg5_defvalue = wxDefaultSize ;
11051 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11052 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11053 wxString const &arg7_defvalue = wxPySashNameStr ;
11054 wxString *arg7 = (wxString *) &arg7_defvalue ;
11055 bool result;
11056 void *argp1 = 0 ;
11057 int res1 = 0 ;
11058 void *argp2 = 0 ;
11059 int res2 = 0 ;
11060 int val3 ;
11061 int ecode3 = 0 ;
11062 wxPoint temp4 ;
11063 wxSize temp5 ;
11064 long val6 ;
11065 int ecode6 = 0 ;
11066 bool temp7 = false ;
11067 PyObject * obj0 = 0 ;
11068 PyObject * obj1 = 0 ;
11069 PyObject * obj2 = 0 ;
11070 PyObject * obj3 = 0 ;
11071 PyObject * obj4 = 0 ;
11072 PyObject * obj5 = 0 ;
11073 PyObject * obj6 = 0 ;
11074 char * kwnames[] = {
11075 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11076 };
11077
11078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11080 if (!SWIG_IsOK(res1)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11082 }
11083 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11084 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11085 if (!SWIG_IsOK(res2)) {
11086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11087 }
11088 arg2 = reinterpret_cast< wxWindow * >(argp2);
11089 if (obj2) {
11090 ecode3 = SWIG_AsVal_int(obj2, &val3);
11091 if (!SWIG_IsOK(ecode3)) {
11092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11093 }
11094 arg3 = static_cast< int >(val3);
11095 }
11096 if (obj3) {
11097 {
11098 arg4 = &temp4;
11099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11100 }
11101 }
11102 if (obj4) {
11103 {
11104 arg5 = &temp5;
11105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11106 }
11107 }
11108 if (obj5) {
11109 ecode6 = SWIG_AsVal_long(obj5, &val6);
11110 if (!SWIG_IsOK(ecode6)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11112 }
11113 arg6 = static_cast< long >(val6);
11114 }
11115 if (obj6) {
11116 {
11117 arg7 = wxString_in_helper(obj6);
11118 if (arg7 == NULL) SWIG_fail;
11119 temp7 = true;
11120 }
11121 }
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 {
11129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11130 }
11131 {
11132 if (temp7)
11133 delete arg7;
11134 }
11135 return resultobj;
11136 fail:
11137 {
11138 if (temp7)
11139 delete arg7;
11140 }
11141 return NULL;
11142 }
11143
11144
11145 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11146 PyObject *resultobj = 0;
11147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11148 wxSashEdgePosition arg2 ;
11149 bool arg3 ;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 int val2 ;
11153 int ecode2 = 0 ;
11154 bool val3 ;
11155 int ecode3 = 0 ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 PyObject * obj2 = 0 ;
11159 char * kwnames[] = {
11160 (char *) "self",(char *) "edge",(char *) "sash", NULL
11161 };
11162
11163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11165 if (!SWIG_IsOK(res1)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11167 }
11168 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11169 ecode2 = SWIG_AsVal_int(obj1, &val2);
11170 if (!SWIG_IsOK(ecode2)) {
11171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11172 }
11173 arg2 = static_cast< wxSashEdgePosition >(val2);
11174 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11175 if (!SWIG_IsOK(ecode3)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11177 }
11178 arg3 = static_cast< bool >(val3);
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 (arg1)->SetSashVisible(arg2,arg3);
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 resultobj = SWIG_Py_Void();
11186 return resultobj;
11187 fail:
11188 return NULL;
11189 }
11190
11191
11192 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj = 0;
11194 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11195 wxSashEdgePosition arg2 ;
11196 bool result;
11197 void *argp1 = 0 ;
11198 int res1 = 0 ;
11199 int val2 ;
11200 int ecode2 = 0 ;
11201 PyObject * obj0 = 0 ;
11202 PyObject * obj1 = 0 ;
11203 char * kwnames[] = {
11204 (char *) "self",(char *) "edge", NULL
11205 };
11206
11207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11209 if (!SWIG_IsOK(res1)) {
11210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11211 }
11212 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11213 ecode2 = SWIG_AsVal_int(obj1, &val2);
11214 if (!SWIG_IsOK(ecode2)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11216 }
11217 arg2 = static_cast< wxSashEdgePosition >(val2);
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 {
11225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11226 }
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj = 0;
11235 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11236 wxSashEdgePosition arg2 ;
11237 bool arg3 ;
11238 void *argp1 = 0 ;
11239 int res1 = 0 ;
11240 int val2 ;
11241 int ecode2 = 0 ;
11242 bool val3 ;
11243 int ecode3 = 0 ;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 PyObject * obj2 = 0 ;
11247 char * kwnames[] = {
11248 (char *) "self",(char *) "edge",(char *) "border", NULL
11249 };
11250
11251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11253 if (!SWIG_IsOK(res1)) {
11254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11255 }
11256 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11257 ecode2 = SWIG_AsVal_int(obj1, &val2);
11258 if (!SWIG_IsOK(ecode2)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11260 }
11261 arg2 = static_cast< wxSashEdgePosition >(val2);
11262 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11263 if (!SWIG_IsOK(ecode3)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11265 }
11266 arg3 = static_cast< bool >(val3);
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 (arg1)->SetSashBorder(arg2,arg3);
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_Py_Void();
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj = 0;
11282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11283 wxSashEdgePosition arg2 ;
11284 bool result;
11285 void *argp1 = 0 ;
11286 int res1 = 0 ;
11287 int val2 ;
11288 int ecode2 = 0 ;
11289 PyObject * obj0 = 0 ;
11290 PyObject * obj1 = 0 ;
11291 char * kwnames[] = {
11292 (char *) "self",(char *) "edge", NULL
11293 };
11294
11295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11297 if (!SWIG_IsOK(res1)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11299 }
11300 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11301 ecode2 = SWIG_AsVal_int(obj1, &val2);
11302 if (!SWIG_IsOK(ecode2)) {
11303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11304 }
11305 arg2 = static_cast< wxSashEdgePosition >(val2);
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 {
11313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11314 }
11315 return resultobj;
11316 fail:
11317 return NULL;
11318 }
11319
11320
11321 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11322 PyObject *resultobj = 0;
11323 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11324 wxSashEdgePosition arg2 ;
11325 int result;
11326 void *argp1 = 0 ;
11327 int res1 = 0 ;
11328 int val2 ;
11329 int ecode2 = 0 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 char * kwnames[] = {
11333 (char *) "self",(char *) "edge", NULL
11334 };
11335
11336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 }
11341 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11342 ecode2 = SWIG_AsVal_int(obj1, &val2);
11343 if (!SWIG_IsOK(ecode2)) {
11344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11345 }
11346 arg2 = static_cast< wxSashEdgePosition >(val2);
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = SWIG_From_int(static_cast< int >(result));
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj = 0;
11362 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11363 int arg2 ;
11364 void *argp1 = 0 ;
11365 int res1 = 0 ;
11366 int val2 ;
11367 int ecode2 = 0 ;
11368 PyObject * obj0 = 0 ;
11369 PyObject * obj1 = 0 ;
11370 char * kwnames[] = {
11371 (char *) "self",(char *) "width", NULL
11372 };
11373
11374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11376 if (!SWIG_IsOK(res1)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11378 }
11379 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11380 ecode2 = SWIG_AsVal_int(obj1, &val2);
11381 if (!SWIG_IsOK(ecode2)) {
11382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11383 }
11384 arg2 = static_cast< int >(val2);
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->SetDefaultBorderSize(arg2);
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 resultobj = SWIG_Py_Void();
11392 return resultobj;
11393 fail:
11394 return NULL;
11395 }
11396
11397
11398 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11399 PyObject *resultobj = 0;
11400 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11401 int result;
11402 void *argp1 = 0 ;
11403 int res1 = 0 ;
11404 PyObject *swig_obj[1] ;
11405
11406 if (!args) SWIG_fail;
11407 swig_obj[0] = args;
11408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11411 }
11412 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_From_int(static_cast< int >(result));
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj = 0;
11428 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11429 int arg2 ;
11430 void *argp1 = 0 ;
11431 int res1 = 0 ;
11432 int val2 ;
11433 int ecode2 = 0 ;
11434 PyObject * obj0 = 0 ;
11435 PyObject * obj1 = 0 ;
11436 char * kwnames[] = {
11437 (char *) "self",(char *) "width", NULL
11438 };
11439
11440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11442 if (!SWIG_IsOK(res1)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11444 }
11445 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11446 ecode2 = SWIG_AsVal_int(obj1, &val2);
11447 if (!SWIG_IsOK(ecode2)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11449 }
11450 arg2 = static_cast< int >(val2);
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 (arg1)->SetExtraBorderSize(arg2);
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = SWIG_Py_Void();
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11465 PyObject *resultobj = 0;
11466 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11467 int result;
11468 void *argp1 = 0 ;
11469 int res1 = 0 ;
11470 PyObject *swig_obj[1] ;
11471
11472 if (!args) SWIG_fail;
11473 swig_obj[0] = args;
11474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11475 if (!SWIG_IsOK(res1)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11477 }
11478 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 resultobj = SWIG_From_int(static_cast< int >(result));
11486 return resultobj;
11487 fail:
11488 return NULL;
11489 }
11490
11491
11492 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11493 PyObject *resultobj = 0;
11494 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11495 int arg2 ;
11496 void *argp1 = 0 ;
11497 int res1 = 0 ;
11498 int val2 ;
11499 int ecode2 = 0 ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 char * kwnames[] = {
11503 (char *) "self",(char *) "min", NULL
11504 };
11505
11506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11508 if (!SWIG_IsOK(res1)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11510 }
11511 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11512 ecode2 = SWIG_AsVal_int(obj1, &val2);
11513 if (!SWIG_IsOK(ecode2)) {
11514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11515 }
11516 arg2 = static_cast< int >(val2);
11517 {
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 (arg1)->SetMinimumSizeX(arg2);
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 resultobj = SWIG_Py_Void();
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj = 0;
11532 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11533 int arg2 ;
11534 void *argp1 = 0 ;
11535 int res1 = 0 ;
11536 int val2 ;
11537 int ecode2 = 0 ;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 char * kwnames[] = {
11541 (char *) "self",(char *) "min", NULL
11542 };
11543
11544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11546 if (!SWIG_IsOK(res1)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11548 }
11549 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11550 ecode2 = SWIG_AsVal_int(obj1, &val2);
11551 if (!SWIG_IsOK(ecode2)) {
11552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11553 }
11554 arg2 = static_cast< int >(val2);
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 (arg1)->SetMinimumSizeY(arg2);
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 resultobj = SWIG_Py_Void();
11562 return resultobj;
11563 fail:
11564 return NULL;
11565 }
11566
11567
11568 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11569 PyObject *resultobj = 0;
11570 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11571 int result;
11572 void *argp1 = 0 ;
11573 int res1 = 0 ;
11574 PyObject *swig_obj[1] ;
11575
11576 if (!args) SWIG_fail;
11577 swig_obj[0] = args;
11578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11579 if (!SWIG_IsOK(res1)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11581 }
11582 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 resultobj = SWIG_From_int(static_cast< int >(result));
11590 return resultobj;
11591 fail:
11592 return NULL;
11593 }
11594
11595
11596 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11597 PyObject *resultobj = 0;
11598 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11599 int result;
11600 void *argp1 = 0 ;
11601 int res1 = 0 ;
11602 PyObject *swig_obj[1] ;
11603
11604 if (!args) SWIG_fail;
11605 swig_obj[0] = args;
11606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11607 if (!SWIG_IsOK(res1)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11609 }
11610 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11614 wxPyEndAllowThreads(__tstate);
11615 if (PyErr_Occurred()) SWIG_fail;
11616 }
11617 resultobj = SWIG_From_int(static_cast< int >(result));
11618 return resultobj;
11619 fail:
11620 return NULL;
11621 }
11622
11623
11624 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11625 PyObject *resultobj = 0;
11626 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11627 int arg2 ;
11628 void *argp1 = 0 ;
11629 int res1 = 0 ;
11630 int val2 ;
11631 int ecode2 = 0 ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 char * kwnames[] = {
11635 (char *) "self",(char *) "max", NULL
11636 };
11637
11638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11640 if (!SWIG_IsOK(res1)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11642 }
11643 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11644 ecode2 = SWIG_AsVal_int(obj1, &val2);
11645 if (!SWIG_IsOK(ecode2)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11647 }
11648 arg2 = static_cast< int >(val2);
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 (arg1)->SetMaximumSizeX(arg2);
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 resultobj = SWIG_Py_Void();
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj = 0;
11664 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11665 int arg2 ;
11666 void *argp1 = 0 ;
11667 int res1 = 0 ;
11668 int val2 ;
11669 int ecode2 = 0 ;
11670 PyObject * obj0 = 0 ;
11671 PyObject * obj1 = 0 ;
11672 char * kwnames[] = {
11673 (char *) "self",(char *) "max", NULL
11674 };
11675
11676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11678 if (!SWIG_IsOK(res1)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11680 }
11681 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11682 ecode2 = SWIG_AsVal_int(obj1, &val2);
11683 if (!SWIG_IsOK(ecode2)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11685 }
11686 arg2 = static_cast< int >(val2);
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->SetMaximumSizeY(arg2);
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 resultobj = SWIG_Py_Void();
11694 return resultobj;
11695 fail:
11696 return NULL;
11697 }
11698
11699
11700 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11701 PyObject *resultobj = 0;
11702 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11703 int result;
11704 void *argp1 = 0 ;
11705 int res1 = 0 ;
11706 PyObject *swig_obj[1] ;
11707
11708 if (!args) SWIG_fail;
11709 swig_obj[0] = args;
11710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11711 if (!SWIG_IsOK(res1)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11713 }
11714 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 resultobj = SWIG_From_int(static_cast< int >(result));
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11729 PyObject *resultobj = 0;
11730 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11731 int result;
11732 void *argp1 = 0 ;
11733 int res1 = 0 ;
11734 PyObject *swig_obj[1] ;
11735
11736 if (!args) SWIG_fail;
11737 swig_obj[0] = args;
11738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11739 if (!SWIG_IsOK(res1)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11741 }
11742 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_From_int(static_cast< int >(result));
11750 return resultobj;
11751 fail:
11752 return NULL;
11753 }
11754
11755
11756 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj = 0;
11758 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11759 int arg2 ;
11760 int arg3 ;
11761 int arg4 = (int) 2 ;
11762 wxSashEdgePosition result;
11763 void *argp1 = 0 ;
11764 int res1 = 0 ;
11765 int val2 ;
11766 int ecode2 = 0 ;
11767 int val3 ;
11768 int ecode3 = 0 ;
11769 int val4 ;
11770 int ecode4 = 0 ;
11771 PyObject * obj0 = 0 ;
11772 PyObject * obj1 = 0 ;
11773 PyObject * obj2 = 0 ;
11774 PyObject * obj3 = 0 ;
11775 char * kwnames[] = {
11776 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11777 };
11778
11779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11781 if (!SWIG_IsOK(res1)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11783 }
11784 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11785 ecode2 = SWIG_AsVal_int(obj1, &val2);
11786 if (!SWIG_IsOK(ecode2)) {
11787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11788 }
11789 arg2 = static_cast< int >(val2);
11790 ecode3 = SWIG_AsVal_int(obj2, &val3);
11791 if (!SWIG_IsOK(ecode3)) {
11792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11793 }
11794 arg3 = static_cast< int >(val3);
11795 if (obj3) {
11796 ecode4 = SWIG_AsVal_int(obj3, &val4);
11797 if (!SWIG_IsOK(ecode4)) {
11798 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11799 }
11800 arg4 = static_cast< int >(val4);
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 resultobj = SWIG_From_int(static_cast< int >(result));
11809 return resultobj;
11810 fail:
11811 return NULL;
11812 }
11813
11814
11815 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11816 PyObject *resultobj = 0;
11817 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11818 void *argp1 = 0 ;
11819 int res1 = 0 ;
11820 PyObject *swig_obj[1] ;
11821
11822 if (!args) SWIG_fail;
11823 swig_obj[0] = args;
11824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11825 if (!SWIG_IsOK(res1)) {
11826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11827 }
11828 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 (arg1)->SizeWindows();
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 resultobj = SWIG_Py_Void();
11836 return resultobj;
11837 fail:
11838 return NULL;
11839 }
11840
11841
11842 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11843 PyObject *obj;
11844 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11845 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11846 return SWIG_Py_Void();
11847 }
11848
11849 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11850 return SWIG_Python_InitShadowInstance(args);
11851 }
11852
11853 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj = 0;
11855 int arg1 = (int) 0 ;
11856 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11857 wxSashEvent *result = 0 ;
11858 int val1 ;
11859 int ecode1 = 0 ;
11860 int val2 ;
11861 int ecode2 = 0 ;
11862 PyObject * obj0 = 0 ;
11863 PyObject * obj1 = 0 ;
11864 char * kwnames[] = {
11865 (char *) "id",(char *) "edge", NULL
11866 };
11867
11868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11869 if (obj0) {
11870 ecode1 = SWIG_AsVal_int(obj0, &val1);
11871 if (!SWIG_IsOK(ecode1)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11873 }
11874 arg1 = static_cast< int >(val1);
11875 }
11876 if (obj1) {
11877 ecode2 = SWIG_AsVal_int(obj1, &val2);
11878 if (!SWIG_IsOK(ecode2)) {
11879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11880 }
11881 arg2 = static_cast< wxSashEdgePosition >(val2);
11882 }
11883 {
11884 PyThreadState* __tstate = wxPyBeginAllowThreads();
11885 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11890 return resultobj;
11891 fail:
11892 return NULL;
11893 }
11894
11895
11896 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj = 0;
11898 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11899 wxSashEdgePosition arg2 ;
11900 void *argp1 = 0 ;
11901 int res1 = 0 ;
11902 int val2 ;
11903 int ecode2 = 0 ;
11904 PyObject * obj0 = 0 ;
11905 PyObject * obj1 = 0 ;
11906 char * kwnames[] = {
11907 (char *) "self",(char *) "edge", NULL
11908 };
11909
11910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11912 if (!SWIG_IsOK(res1)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11914 }
11915 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11916 ecode2 = SWIG_AsVal_int(obj1, &val2);
11917 if (!SWIG_IsOK(ecode2)) {
11918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11919 }
11920 arg2 = static_cast< wxSashEdgePosition >(val2);
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 (arg1)->SetEdge(arg2);
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 resultobj = SWIG_Py_Void();
11928 return resultobj;
11929 fail:
11930 return NULL;
11931 }
11932
11933
11934 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11935 PyObject *resultobj = 0;
11936 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11937 wxSashEdgePosition result;
11938 void *argp1 = 0 ;
11939 int res1 = 0 ;
11940 PyObject *swig_obj[1] ;
11941
11942 if (!args) SWIG_fail;
11943 swig_obj[0] = args;
11944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11945 if (!SWIG_IsOK(res1)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11947 }
11948 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 resultobj = SWIG_From_int(static_cast< int >(result));
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj = 0;
11964 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11965 wxRect *arg2 = 0 ;
11966 void *argp1 = 0 ;
11967 int res1 = 0 ;
11968 wxRect temp2 ;
11969 PyObject * obj0 = 0 ;
11970 PyObject * obj1 = 0 ;
11971 char * kwnames[] = {
11972 (char *) "self",(char *) "rect", NULL
11973 };
11974
11975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11977 if (!SWIG_IsOK(res1)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11979 }
11980 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11981 {
11982 arg2 = &temp2;
11983 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11984 }
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 (arg1)->SetDragRect((wxRect const &)*arg2);
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_Py_Void();
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11999 PyObject *resultobj = 0;
12000 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12001 wxRect result;
12002 void *argp1 = 0 ;
12003 int res1 = 0 ;
12004 PyObject *swig_obj[1] ;
12005
12006 if (!args) SWIG_fail;
12007 swig_obj[0] = args;
12008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12009 if (!SWIG_IsOK(res1)) {
12010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12011 }
12012 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 result = ((wxSashEvent const *)arg1)->GetDragRect();
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12020 return resultobj;
12021 fail:
12022 return NULL;
12023 }
12024
12025
12026 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12027 PyObject *resultobj = 0;
12028 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12029 wxSashDragStatus arg2 ;
12030 void *argp1 = 0 ;
12031 int res1 = 0 ;
12032 int val2 ;
12033 int ecode2 = 0 ;
12034 PyObject * obj0 = 0 ;
12035 PyObject * obj1 = 0 ;
12036 char * kwnames[] = {
12037 (char *) "self",(char *) "status", NULL
12038 };
12039
12040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12042 if (!SWIG_IsOK(res1)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12044 }
12045 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12046 ecode2 = SWIG_AsVal_int(obj1, &val2);
12047 if (!SWIG_IsOK(ecode2)) {
12048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12049 }
12050 arg2 = static_cast< wxSashDragStatus >(val2);
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 (arg1)->SetDragStatus(arg2);
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 resultobj = SWIG_Py_Void();
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12065 PyObject *resultobj = 0;
12066 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12067 wxSashDragStatus result;
12068 void *argp1 = 0 ;
12069 int res1 = 0 ;
12070 PyObject *swig_obj[1] ;
12071
12072 if (!args) SWIG_fail;
12073 swig_obj[0] = args;
12074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12075 if (!SWIG_IsOK(res1)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12077 }
12078 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = SWIG_From_int(static_cast< int >(result));
12086 return resultobj;
12087 fail:
12088 return NULL;
12089 }
12090
12091
12092 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12093 PyObject *obj;
12094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12095 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12096 return SWIG_Py_Void();
12097 }
12098
12099 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12100 return SWIG_Python_InitShadowInstance(args);
12101 }
12102
12103 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj = 0;
12105 int arg1 = (int) 0 ;
12106 wxQueryLayoutInfoEvent *result = 0 ;
12107 int val1 ;
12108 int ecode1 = 0 ;
12109 PyObject * obj0 = 0 ;
12110 char * kwnames[] = {
12111 (char *) "id", NULL
12112 };
12113
12114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12115 if (obj0) {
12116 ecode1 = SWIG_AsVal_int(obj0, &val1);
12117 if (!SWIG_IsOK(ecode1)) {
12118 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12119 }
12120 arg1 = static_cast< int >(val1);
12121 }
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12125 wxPyEndAllowThreads(__tstate);
12126 if (PyErr_Occurred()) SWIG_fail;
12127 }
12128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12129 return resultobj;
12130 fail:
12131 return NULL;
12132 }
12133
12134
12135 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12136 PyObject *resultobj = 0;
12137 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12138 int arg2 ;
12139 void *argp1 = 0 ;
12140 int res1 = 0 ;
12141 int val2 ;
12142 int ecode2 = 0 ;
12143 PyObject * obj0 = 0 ;
12144 PyObject * obj1 = 0 ;
12145 char * kwnames[] = {
12146 (char *) "self",(char *) "length", NULL
12147 };
12148
12149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12151 if (!SWIG_IsOK(res1)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12153 }
12154 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12155 ecode2 = SWIG_AsVal_int(obj1, &val2);
12156 if (!SWIG_IsOK(ecode2)) {
12157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12158 }
12159 arg2 = static_cast< int >(val2);
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 (arg1)->SetRequestedLength(arg2);
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 resultobj = SWIG_Py_Void();
12167 return resultobj;
12168 fail:
12169 return NULL;
12170 }
12171
12172
12173 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12174 PyObject *resultobj = 0;
12175 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12176 int result;
12177 void *argp1 = 0 ;
12178 int res1 = 0 ;
12179 PyObject *swig_obj[1] ;
12180
12181 if (!args) SWIG_fail;
12182 swig_obj[0] = args;
12183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12184 if (!SWIG_IsOK(res1)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12186 }
12187 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 resultobj = SWIG_From_int(static_cast< int >(result));
12195 return resultobj;
12196 fail:
12197 return NULL;
12198 }
12199
12200
12201 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj = 0;
12203 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12204 int arg2 ;
12205 void *argp1 = 0 ;
12206 int res1 = 0 ;
12207 int val2 ;
12208 int ecode2 = 0 ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 char * kwnames[] = {
12212 (char *) "self",(char *) "flags", NULL
12213 };
12214
12215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12217 if (!SWIG_IsOK(res1)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12219 }
12220 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12221 ecode2 = SWIG_AsVal_int(obj1, &val2);
12222 if (!SWIG_IsOK(ecode2)) {
12223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12224 }
12225 arg2 = static_cast< int >(val2);
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 (arg1)->SetFlags(arg2);
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 resultobj = SWIG_Py_Void();
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12240 PyObject *resultobj = 0;
12241 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12242 int result;
12243 void *argp1 = 0 ;
12244 int res1 = 0 ;
12245 PyObject *swig_obj[1] ;
12246
12247 if (!args) SWIG_fail;
12248 swig_obj[0] = args;
12249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12252 }
12253 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 resultobj = SWIG_From_int(static_cast< int >(result));
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj = 0;
12269 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12270 wxSize *arg2 = 0 ;
12271 void *argp1 = 0 ;
12272 int res1 = 0 ;
12273 wxSize temp2 ;
12274 PyObject * obj0 = 0 ;
12275 PyObject * obj1 = 0 ;
12276 char * kwnames[] = {
12277 (char *) "self",(char *) "size", NULL
12278 };
12279
12280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12282 if (!SWIG_IsOK(res1)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12284 }
12285 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12286 {
12287 arg2 = &temp2;
12288 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12289 }
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 (arg1)->SetSize((wxSize const &)*arg2);
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 resultobj = SWIG_Py_Void();
12297 return resultobj;
12298 fail:
12299 return NULL;
12300 }
12301
12302
12303 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12304 PyObject *resultobj = 0;
12305 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12306 wxSize result;
12307 void *argp1 = 0 ;
12308 int res1 = 0 ;
12309 PyObject *swig_obj[1] ;
12310
12311 if (!args) SWIG_fail;
12312 swig_obj[0] = args;
12313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12314 if (!SWIG_IsOK(res1)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12316 }
12317 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12321 wxPyEndAllowThreads(__tstate);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 }
12324 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12325 return resultobj;
12326 fail:
12327 return NULL;
12328 }
12329
12330
12331 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12332 PyObject *resultobj = 0;
12333 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12334 wxLayoutOrientation arg2 ;
12335 void *argp1 = 0 ;
12336 int res1 = 0 ;
12337 int val2 ;
12338 int ecode2 = 0 ;
12339 PyObject * obj0 = 0 ;
12340 PyObject * obj1 = 0 ;
12341 char * kwnames[] = {
12342 (char *) "self",(char *) "orient", NULL
12343 };
12344
12345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12347 if (!SWIG_IsOK(res1)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12349 }
12350 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12351 ecode2 = SWIG_AsVal_int(obj1, &val2);
12352 if (!SWIG_IsOK(ecode2)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12354 }
12355 arg2 = static_cast< wxLayoutOrientation >(val2);
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 (arg1)->SetOrientation(arg2);
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 resultobj = SWIG_Py_Void();
12363 return resultobj;
12364 fail:
12365 return NULL;
12366 }
12367
12368
12369 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12370 PyObject *resultobj = 0;
12371 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12372 wxLayoutOrientation result;
12373 void *argp1 = 0 ;
12374 int res1 = 0 ;
12375 PyObject *swig_obj[1] ;
12376
12377 if (!args) SWIG_fail;
12378 swig_obj[0] = args;
12379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12380 if (!SWIG_IsOK(res1)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12382 }
12383 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 resultobj = SWIG_From_int(static_cast< int >(result));
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj = 0;
12399 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12400 wxLayoutAlignment arg2 ;
12401 void *argp1 = 0 ;
12402 int res1 = 0 ;
12403 int val2 ;
12404 int ecode2 = 0 ;
12405 PyObject * obj0 = 0 ;
12406 PyObject * obj1 = 0 ;
12407 char * kwnames[] = {
12408 (char *) "self",(char *) "align", NULL
12409 };
12410
12411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12413 if (!SWIG_IsOK(res1)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12415 }
12416 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12417 ecode2 = SWIG_AsVal_int(obj1, &val2);
12418 if (!SWIG_IsOK(ecode2)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12420 }
12421 arg2 = static_cast< wxLayoutAlignment >(val2);
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->SetAlignment(arg2);
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_Py_Void();
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12436 PyObject *resultobj = 0;
12437 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12438 wxLayoutAlignment result;
12439 void *argp1 = 0 ;
12440 int res1 = 0 ;
12441 PyObject *swig_obj[1] ;
12442
12443 if (!args) SWIG_fail;
12444 swig_obj[0] = args;
12445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12446 if (!SWIG_IsOK(res1)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12448 }
12449 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 resultobj = SWIG_From_int(static_cast< int >(result));
12457 return resultobj;
12458 fail:
12459 return NULL;
12460 }
12461
12462
12463 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12464 PyObject *obj;
12465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12466 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12467 return SWIG_Py_Void();
12468 }
12469
12470 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12471 return SWIG_Python_InitShadowInstance(args);
12472 }
12473
12474 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj = 0;
12476 int arg1 = (int) 0 ;
12477 wxCalculateLayoutEvent *result = 0 ;
12478 int val1 ;
12479 int ecode1 = 0 ;
12480 PyObject * obj0 = 0 ;
12481 char * kwnames[] = {
12482 (char *) "id", NULL
12483 };
12484
12485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12486 if (obj0) {
12487 ecode1 = SWIG_AsVal_int(obj0, &val1);
12488 if (!SWIG_IsOK(ecode1)) {
12489 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12490 }
12491 arg1 = static_cast< int >(val1);
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12500 return resultobj;
12501 fail:
12502 return NULL;
12503 }
12504
12505
12506 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj = 0;
12508 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12509 int arg2 ;
12510 void *argp1 = 0 ;
12511 int res1 = 0 ;
12512 int val2 ;
12513 int ecode2 = 0 ;
12514 PyObject * obj0 = 0 ;
12515 PyObject * obj1 = 0 ;
12516 char * kwnames[] = {
12517 (char *) "self",(char *) "flags", NULL
12518 };
12519
12520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12522 if (!SWIG_IsOK(res1)) {
12523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12524 }
12525 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12526 ecode2 = SWIG_AsVal_int(obj1, &val2);
12527 if (!SWIG_IsOK(ecode2)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12529 }
12530 arg2 = static_cast< int >(val2);
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->SetFlags(arg2);
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_Py_Void();
12538 return resultobj;
12539 fail:
12540 return NULL;
12541 }
12542
12543
12544 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12545 PyObject *resultobj = 0;
12546 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12547 int result;
12548 void *argp1 = 0 ;
12549 int res1 = 0 ;
12550 PyObject *swig_obj[1] ;
12551
12552 if (!args) SWIG_fail;
12553 swig_obj[0] = args;
12554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12555 if (!SWIG_IsOK(res1)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12557 }
12558 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_From_int(static_cast< int >(result));
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj = 0;
12574 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12575 wxRect *arg2 = 0 ;
12576 void *argp1 = 0 ;
12577 int res1 = 0 ;
12578 wxRect temp2 ;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581 char * kwnames[] = {
12582 (char *) "self",(char *) "rect", NULL
12583 };
12584
12585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12587 if (!SWIG_IsOK(res1)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12589 }
12590 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12591 {
12592 arg2 = &temp2;
12593 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12594 }
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 (arg1)->SetRect((wxRect const &)*arg2);
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 resultobj = SWIG_Py_Void();
12602 return resultobj;
12603 fail:
12604 return NULL;
12605 }
12606
12607
12608 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12609 PyObject *resultobj = 0;
12610 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12611 wxRect result;
12612 void *argp1 = 0 ;
12613 int res1 = 0 ;
12614 PyObject *swig_obj[1] ;
12615
12616 if (!args) SWIG_fail;
12617 swig_obj[0] = args;
12618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12619 if (!SWIG_IsOK(res1)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12621 }
12622 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12637 PyObject *obj;
12638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12639 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12640 return SWIG_Py_Void();
12641 }
12642
12643 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12644 return SWIG_Python_InitShadowInstance(args);
12645 }
12646
12647 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj = 0;
12649 wxWindow *arg1 = (wxWindow *) 0 ;
12650 int arg2 = (int) -1 ;
12651 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12652 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12653 wxSize const &arg4_defvalue = wxDefaultSize ;
12654 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12655 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12656 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12657 wxString *arg6 = (wxString *) &arg6_defvalue ;
12658 wxSashLayoutWindow *result = 0 ;
12659 void *argp1 = 0 ;
12660 int res1 = 0 ;
12661 int val2 ;
12662 int ecode2 = 0 ;
12663 wxPoint temp3 ;
12664 wxSize temp4 ;
12665 long val5 ;
12666 int ecode5 = 0 ;
12667 bool temp6 = false ;
12668 PyObject * obj0 = 0 ;
12669 PyObject * obj1 = 0 ;
12670 PyObject * obj2 = 0 ;
12671 PyObject * obj3 = 0 ;
12672 PyObject * obj4 = 0 ;
12673 PyObject * obj5 = 0 ;
12674 char * kwnames[] = {
12675 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12676 };
12677
12678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12680 if (!SWIG_IsOK(res1)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12682 }
12683 arg1 = reinterpret_cast< wxWindow * >(argp1);
12684 if (obj1) {
12685 ecode2 = SWIG_AsVal_int(obj1, &val2);
12686 if (!SWIG_IsOK(ecode2)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12688 }
12689 arg2 = static_cast< int >(val2);
12690 }
12691 if (obj2) {
12692 {
12693 arg3 = &temp3;
12694 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12695 }
12696 }
12697 if (obj3) {
12698 {
12699 arg4 = &temp4;
12700 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12701 }
12702 }
12703 if (obj4) {
12704 ecode5 = SWIG_AsVal_long(obj4, &val5);
12705 if (!SWIG_IsOK(ecode5)) {
12706 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12707 }
12708 arg5 = static_cast< long >(val5);
12709 }
12710 if (obj5) {
12711 {
12712 arg6 = wxString_in_helper(obj5);
12713 if (arg6 == NULL) SWIG_fail;
12714 temp6 = true;
12715 }
12716 }
12717 {
12718 if (!wxPyCheckForApp()) SWIG_fail;
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12725 {
12726 if (temp6)
12727 delete arg6;
12728 }
12729 return resultobj;
12730 fail:
12731 {
12732 if (temp6)
12733 delete arg6;
12734 }
12735 return NULL;
12736 }
12737
12738
12739 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12740 PyObject *resultobj = 0;
12741 wxSashLayoutWindow *result = 0 ;
12742
12743 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12744 {
12745 if (!wxPyCheckForApp()) SWIG_fail;
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12752 return resultobj;
12753 fail:
12754 return NULL;
12755 }
12756
12757
12758 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12759 PyObject *resultobj = 0;
12760 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12761 wxWindow *arg2 = (wxWindow *) 0 ;
12762 int arg3 = (int) -1 ;
12763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12765 wxSize const &arg5_defvalue = wxDefaultSize ;
12766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12767 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12768 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12769 wxString *arg7 = (wxString *) &arg7_defvalue ;
12770 bool result;
12771 void *argp1 = 0 ;
12772 int res1 = 0 ;
12773 void *argp2 = 0 ;
12774 int res2 = 0 ;
12775 int val3 ;
12776 int ecode3 = 0 ;
12777 wxPoint temp4 ;
12778 wxSize temp5 ;
12779 long val6 ;
12780 int ecode6 = 0 ;
12781 bool temp7 = false ;
12782 PyObject * obj0 = 0 ;
12783 PyObject * obj1 = 0 ;
12784 PyObject * obj2 = 0 ;
12785 PyObject * obj3 = 0 ;
12786 PyObject * obj4 = 0 ;
12787 PyObject * obj5 = 0 ;
12788 PyObject * obj6 = 0 ;
12789 char * kwnames[] = {
12790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12791 };
12792
12793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12795 if (!SWIG_IsOK(res1)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12797 }
12798 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12799 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12800 if (!SWIG_IsOK(res2)) {
12801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12802 }
12803 arg2 = reinterpret_cast< wxWindow * >(argp2);
12804 if (obj2) {
12805 ecode3 = SWIG_AsVal_int(obj2, &val3);
12806 if (!SWIG_IsOK(ecode3)) {
12807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12808 }
12809 arg3 = static_cast< int >(val3);
12810 }
12811 if (obj3) {
12812 {
12813 arg4 = &temp4;
12814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12815 }
12816 }
12817 if (obj4) {
12818 {
12819 arg5 = &temp5;
12820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12821 }
12822 }
12823 if (obj5) {
12824 ecode6 = SWIG_AsVal_long(obj5, &val6);
12825 if (!SWIG_IsOK(ecode6)) {
12826 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12827 }
12828 arg6 = static_cast< long >(val6);
12829 }
12830 if (obj6) {
12831 {
12832 arg7 = wxString_in_helper(obj6);
12833 if (arg7 == NULL) SWIG_fail;
12834 temp7 = true;
12835 }
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 {
12844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12845 }
12846 {
12847 if (temp7)
12848 delete arg7;
12849 }
12850 return resultobj;
12851 fail:
12852 {
12853 if (temp7)
12854 delete arg7;
12855 }
12856 return NULL;
12857 }
12858
12859
12860 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12861 PyObject *resultobj = 0;
12862 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12863 wxLayoutAlignment result;
12864 void *argp1 = 0 ;
12865 int res1 = 0 ;
12866 PyObject *swig_obj[1] ;
12867
12868 if (!args) SWIG_fail;
12869 swig_obj[0] = args;
12870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12871 if (!SWIG_IsOK(res1)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12873 }
12874 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 resultobj = SWIG_From_int(static_cast< int >(result));
12882 return resultobj;
12883 fail:
12884 return NULL;
12885 }
12886
12887
12888 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12889 PyObject *resultobj = 0;
12890 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12891 wxLayoutOrientation result;
12892 void *argp1 = 0 ;
12893 int res1 = 0 ;
12894 PyObject *swig_obj[1] ;
12895
12896 if (!args) SWIG_fail;
12897 swig_obj[0] = args;
12898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12899 if (!SWIG_IsOK(res1)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12901 }
12902 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_From_int(static_cast< int >(result));
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj = 0;
12918 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12919 wxLayoutAlignment arg2 ;
12920 void *argp1 = 0 ;
12921 int res1 = 0 ;
12922 int val2 ;
12923 int ecode2 = 0 ;
12924 PyObject * obj0 = 0 ;
12925 PyObject * obj1 = 0 ;
12926 char * kwnames[] = {
12927 (char *) "self",(char *) "alignment", NULL
12928 };
12929
12930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12932 if (!SWIG_IsOK(res1)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12934 }
12935 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12936 ecode2 = SWIG_AsVal_int(obj1, &val2);
12937 if (!SWIG_IsOK(ecode2)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12939 }
12940 arg2 = static_cast< wxLayoutAlignment >(val2);
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 (arg1)->SetAlignment(arg2);
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 resultobj = SWIG_Py_Void();
12948 return resultobj;
12949 fail:
12950 return NULL;
12951 }
12952
12953
12954 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12955 PyObject *resultobj = 0;
12956 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12957 wxSize *arg2 = 0 ;
12958 void *argp1 = 0 ;
12959 int res1 = 0 ;
12960 wxSize temp2 ;
12961 PyObject * obj0 = 0 ;
12962 PyObject * obj1 = 0 ;
12963 char * kwnames[] = {
12964 (char *) "self",(char *) "size", NULL
12965 };
12966
12967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12969 if (!SWIG_IsOK(res1)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12971 }
12972 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12973 {
12974 arg2 = &temp2;
12975 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12976 }
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 resultobj = SWIG_Py_Void();
12984 return resultobj;
12985 fail:
12986 return NULL;
12987 }
12988
12989
12990 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj = 0;
12992 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12993 wxLayoutOrientation arg2 ;
12994 void *argp1 = 0 ;
12995 int res1 = 0 ;
12996 int val2 ;
12997 int ecode2 = 0 ;
12998 PyObject * obj0 = 0 ;
12999 PyObject * obj1 = 0 ;
13000 char * kwnames[] = {
13001 (char *) "self",(char *) "orientation", NULL
13002 };
13003
13004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
13005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
13006 if (!SWIG_IsOK(res1)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13008 }
13009 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
13010 ecode2 = SWIG_AsVal_int(obj1, &val2);
13011 if (!SWIG_IsOK(ecode2)) {
13012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13013 }
13014 arg2 = static_cast< wxLayoutOrientation >(val2);
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 (arg1)->SetOrientation(arg2);
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 resultobj = SWIG_Py_Void();
13022 return resultobj;
13023 fail:
13024 return NULL;
13025 }
13026
13027
13028 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13029 PyObject *obj;
13030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13031 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13032 return SWIG_Py_Void();
13033 }
13034
13035 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13036 return SWIG_Python_InitShadowInstance(args);
13037 }
13038
13039 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13040 PyObject *resultobj = 0;
13041 wxLayoutAlgorithm *result = 0 ;
13042
13043 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13047 wxPyEndAllowThreads(__tstate);
13048 if (PyErr_Occurred()) SWIG_fail;
13049 }
13050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13058 PyObject *resultobj = 0;
13059 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13060 void *argp1 = 0 ;
13061 int res1 = 0 ;
13062 PyObject *swig_obj[1] ;
13063
13064 if (!args) SWIG_fail;
13065 swig_obj[0] = args;
13066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13067 if (!SWIG_IsOK(res1)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13069 }
13070 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 delete arg1;
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 resultobj = SWIG_Py_Void();
13079 return resultobj;
13080 fail:
13081 return NULL;
13082 }
13083
13084
13085 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj = 0;
13087 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13088 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13089 wxRect *arg3 = (wxRect *) NULL ;
13090 bool result;
13091 void *argp1 = 0 ;
13092 int res1 = 0 ;
13093 void *argp2 = 0 ;
13094 int res2 = 0 ;
13095 void *argp3 = 0 ;
13096 int res3 = 0 ;
13097 PyObject * obj0 = 0 ;
13098 PyObject * obj1 = 0 ;
13099 PyObject * obj2 = 0 ;
13100 char * kwnames[] = {
13101 (char *) "self",(char *) "frame",(char *) "rect", NULL
13102 };
13103
13104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13106 if (!SWIG_IsOK(res1)) {
13107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13108 }
13109 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13110 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13111 if (!SWIG_IsOK(res2)) {
13112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13113 }
13114 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13115 if (obj2) {
13116 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13117 if (!SWIG_IsOK(res3)) {
13118 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13119 }
13120 arg3 = reinterpret_cast< wxRect * >(argp3);
13121 }
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 {
13129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13130 }
13131 return resultobj;
13132 fail:
13133 return NULL;
13134 }
13135
13136
13137 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj = 0;
13139 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13140 wxFrame *arg2 = (wxFrame *) 0 ;
13141 wxWindow *arg3 = (wxWindow *) NULL ;
13142 bool result;
13143 void *argp1 = 0 ;
13144 int res1 = 0 ;
13145 void *argp2 = 0 ;
13146 int res2 = 0 ;
13147 void *argp3 = 0 ;
13148 int res3 = 0 ;
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 PyObject * obj2 = 0 ;
13152 char * kwnames[] = {
13153 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13154 };
13155
13156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13158 if (!SWIG_IsOK(res1)) {
13159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13160 }
13161 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13163 if (!SWIG_IsOK(res2)) {
13164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13165 }
13166 arg2 = reinterpret_cast< wxFrame * >(argp2);
13167 if (obj2) {
13168 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13169 if (!SWIG_IsOK(res3)) {
13170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13171 }
13172 arg3 = reinterpret_cast< wxWindow * >(argp3);
13173 }
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 {
13181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13182 }
13183 return resultobj;
13184 fail:
13185 return NULL;
13186 }
13187
13188
13189 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj = 0;
13191 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13192 wxWindow *arg2 = (wxWindow *) 0 ;
13193 wxWindow *arg3 = (wxWindow *) NULL ;
13194 bool result;
13195 void *argp1 = 0 ;
13196 int res1 = 0 ;
13197 void *argp2 = 0 ;
13198 int res2 = 0 ;
13199 void *argp3 = 0 ;
13200 int res3 = 0 ;
13201 PyObject * obj0 = 0 ;
13202 PyObject * obj1 = 0 ;
13203 PyObject * obj2 = 0 ;
13204 char * kwnames[] = {
13205 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13206 };
13207
13208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13210 if (!SWIG_IsOK(res1)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13212 }
13213 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13215 if (!SWIG_IsOK(res2)) {
13216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13217 }
13218 arg2 = reinterpret_cast< wxWindow * >(argp2);
13219 if (obj2) {
13220 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13221 if (!SWIG_IsOK(res3)) {
13222 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13223 }
13224 arg3 = reinterpret_cast< wxWindow * >(argp3);
13225 }
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 {
13233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13234 }
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13242 PyObject *obj;
13243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13244 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13245 return SWIG_Py_Void();
13246 }
13247
13248 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13249 return SWIG_Python_InitShadowInstance(args);
13250 }
13251
13252 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj = 0;
13254 wxWindow *arg1 = (wxWindow *) 0 ;
13255 int arg2 = (int) wxBORDER_NONE ;
13256 wxPopupWindow *result = 0 ;
13257 void *argp1 = 0 ;
13258 int res1 = 0 ;
13259 int val2 ;
13260 int ecode2 = 0 ;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 char * kwnames[] = {
13264 (char *) "parent",(char *) "flags", NULL
13265 };
13266
13267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13269 if (!SWIG_IsOK(res1)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13271 }
13272 arg1 = reinterpret_cast< wxWindow * >(argp1);
13273 if (obj1) {
13274 ecode2 = SWIG_AsVal_int(obj1, &val2);
13275 if (!SWIG_IsOK(ecode2)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13277 }
13278 arg2 = static_cast< int >(val2);
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13287 return resultobj;
13288 fail:
13289 return NULL;
13290 }
13291
13292
13293 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13294 PyObject *resultobj = 0;
13295 wxPopupWindow *result = 0 ;
13296
13297 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxPopupWindow *)new wxPopupWindow();
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13312 PyObject *obj;
13313 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13314 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13315 return SWIG_Py_Void();
13316 }
13317
13318 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13319 return SWIG_Python_InitShadowInstance(args);
13320 }
13321
13322 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj = 0;
13324 wxWindow *arg1 = (wxWindow *) 0 ;
13325 int arg2 = (int) wxBORDER_NONE ;
13326 wxPyPopupTransientWindow *result = 0 ;
13327 void *argp1 = 0 ;
13328 int res1 = 0 ;
13329 int val2 ;
13330 int ecode2 = 0 ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char * kwnames[] = {
13334 (char *) "parent",(char *) "style", NULL
13335 };
13336
13337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13339 if (!SWIG_IsOK(res1)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13341 }
13342 arg1 = reinterpret_cast< wxWindow * >(argp1);
13343 if (obj1) {
13344 ecode2 = SWIG_AsVal_int(obj1, &val2);
13345 if (!SWIG_IsOK(ecode2)) {
13346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13347 }
13348 arg2 = static_cast< int >(val2);
13349 }
13350 {
13351 PyThreadState* __tstate = wxPyBeginAllowThreads();
13352 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13353 wxPyEndAllowThreads(__tstate);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13364 PyObject *resultobj = 0;
13365 wxPyPopupTransientWindow *result = 0 ;
13366
13367 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13382 PyObject *obj;
13383 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13385 return SWIG_Py_Void();
13386 }
13387
13388 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13389 return SWIG_Python_InitShadowInstance(args);
13390 }
13391
13392 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj = 0;
13394 wxWindow *arg1 = (wxWindow *) 0 ;
13395 wxString *arg2 = 0 ;
13396 int arg3 = (int) 100 ;
13397 wxRect *arg4 = (wxRect *) NULL ;
13398 wxTipWindow *result = 0 ;
13399 void *argp1 = 0 ;
13400 int res1 = 0 ;
13401 bool temp2 = false ;
13402 int val3 ;
13403 int ecode3 = 0 ;
13404 void *argp4 = 0 ;
13405 int res4 = 0 ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 PyObject * obj2 = 0 ;
13409 PyObject * obj3 = 0 ;
13410 char * kwnames[] = {
13411 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13412 };
13413
13414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13416 if (!SWIG_IsOK(res1)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13418 }
13419 arg1 = reinterpret_cast< wxWindow * >(argp1);
13420 {
13421 arg2 = wxString_in_helper(obj1);
13422 if (arg2 == NULL) SWIG_fail;
13423 temp2 = true;
13424 }
13425 if (obj2) {
13426 ecode3 = SWIG_AsVal_int(obj2, &val3);
13427 if (!SWIG_IsOK(ecode3)) {
13428 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13429 }
13430 arg3 = static_cast< int >(val3);
13431 }
13432 if (obj3) {
13433 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13434 if (!SWIG_IsOK(res4)) {
13435 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13436 }
13437 arg4 = reinterpret_cast< wxRect * >(argp4);
13438 }
13439 {
13440 if (!wxPyCheckForApp()) SWIG_fail;
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13443 wxPyEndAllowThreads(__tstate);
13444 if (PyErr_Occurred()) SWIG_fail;
13445 }
13446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13447 {
13448 if (temp2)
13449 delete arg2;
13450 }
13451 return resultobj;
13452 fail:
13453 {
13454 if (temp2)
13455 delete arg2;
13456 }
13457 return NULL;
13458 }
13459
13460
13461 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj = 0;
13463 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13464 wxRect *arg2 = 0 ;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 wxRect temp2 ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char * kwnames[] = {
13471 (char *) "self",(char *) "rectBound", NULL
13472 };
13473
13474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13476 if (!SWIG_IsOK(res1)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13478 }
13479 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13480 {
13481 arg2 = &temp2;
13482 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13483 }
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 resultobj = SWIG_Py_Void();
13491 return resultobj;
13492 fail:
13493 return NULL;
13494 }
13495
13496
13497 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13498 PyObject *resultobj = 0;
13499 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13500 void *argp1 = 0 ;
13501 int res1 = 0 ;
13502 PyObject *swig_obj[1] ;
13503
13504 if (!args) SWIG_fail;
13505 swig_obj[0] = args;
13506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13507 if (!SWIG_IsOK(res1)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13509 }
13510 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13511 {
13512 PyThreadState* __tstate = wxPyBeginAllowThreads();
13513 (arg1)->Close();
13514 wxPyEndAllowThreads(__tstate);
13515 if (PyErr_Occurred()) SWIG_fail;
13516 }
13517 resultobj = SWIG_Py_Void();
13518 return resultobj;
13519 fail:
13520 return NULL;
13521 }
13522
13523
13524 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13525 PyObject *obj;
13526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13527 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13528 return SWIG_Py_Void();
13529 }
13530
13531 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13532 return SWIG_Python_InitShadowInstance(args);
13533 }
13534
13535 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj = 0;
13537 wxWindow *arg1 = (wxWindow *) 0 ;
13538 int arg2 = (int) wxID_ANY ;
13539 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13540 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13541 wxSize const &arg4_defvalue = wxDefaultSize ;
13542 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13543 long arg5 = (long) 0 ;
13544 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13545 wxString *arg6 = (wxString *) &arg6_defvalue ;
13546 wxPyVScrolledWindow *result = 0 ;
13547 void *argp1 = 0 ;
13548 int res1 = 0 ;
13549 int val2 ;
13550 int ecode2 = 0 ;
13551 wxPoint temp3 ;
13552 wxSize temp4 ;
13553 long val5 ;
13554 int ecode5 = 0 ;
13555 bool temp6 = false ;
13556 PyObject * obj0 = 0 ;
13557 PyObject * obj1 = 0 ;
13558 PyObject * obj2 = 0 ;
13559 PyObject * obj3 = 0 ;
13560 PyObject * obj4 = 0 ;
13561 PyObject * obj5 = 0 ;
13562 char * kwnames[] = {
13563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13564 };
13565
13566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13568 if (!SWIG_IsOK(res1)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13570 }
13571 arg1 = reinterpret_cast< wxWindow * >(argp1);
13572 if (obj1) {
13573 ecode2 = SWIG_AsVal_int(obj1, &val2);
13574 if (!SWIG_IsOK(ecode2)) {
13575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13576 }
13577 arg2 = static_cast< int >(val2);
13578 }
13579 if (obj2) {
13580 {
13581 arg3 = &temp3;
13582 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13583 }
13584 }
13585 if (obj3) {
13586 {
13587 arg4 = &temp4;
13588 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13589 }
13590 }
13591 if (obj4) {
13592 ecode5 = SWIG_AsVal_long(obj4, &val5);
13593 if (!SWIG_IsOK(ecode5)) {
13594 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13595 }
13596 arg5 = static_cast< long >(val5);
13597 }
13598 if (obj5) {
13599 {
13600 arg6 = wxString_in_helper(obj5);
13601 if (arg6 == NULL) SWIG_fail;
13602 temp6 = true;
13603 }
13604 }
13605 {
13606 if (!wxPyCheckForApp()) SWIG_fail;
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13613 {
13614 if (temp6)
13615 delete arg6;
13616 }
13617 return resultobj;
13618 fail:
13619 {
13620 if (temp6)
13621 delete arg6;
13622 }
13623 return NULL;
13624 }
13625
13626
13627 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13628 PyObject *resultobj = 0;
13629 wxPyVScrolledWindow *result = 0 ;
13630
13631 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13632 {
13633 if (!wxPyCheckForApp()) SWIG_fail;
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13636 wxPyEndAllowThreads(__tstate);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13640 return resultobj;
13641 fail:
13642 return NULL;
13643 }
13644
13645
13646 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj = 0;
13648 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13649 PyObject *arg2 = (PyObject *) 0 ;
13650 PyObject *arg3 = (PyObject *) 0 ;
13651 void *argp1 = 0 ;
13652 int res1 = 0 ;
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 PyObject * obj2 = 0 ;
13656 char * kwnames[] = {
13657 (char *) "self",(char *) "self",(char *) "_class", NULL
13658 };
13659
13660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13662 if (!SWIG_IsOK(res1)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13664 }
13665 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13666 arg2 = obj1;
13667 arg3 = obj2;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 (arg1)->_setCallbackInfo(arg2,arg3);
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 resultobj = SWIG_Py_Void();
13675 return resultobj;
13676 fail:
13677 return NULL;
13678 }
13679
13680
13681 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj = 0;
13683 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13684 wxWindow *arg2 = (wxWindow *) 0 ;
13685 int arg3 = (int) wxID_ANY ;
13686 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13687 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13688 wxSize const &arg5_defvalue = wxDefaultSize ;
13689 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13690 long arg6 = (long) 0 ;
13691 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13692 wxString *arg7 = (wxString *) &arg7_defvalue ;
13693 bool result;
13694 void *argp1 = 0 ;
13695 int res1 = 0 ;
13696 void *argp2 = 0 ;
13697 int res2 = 0 ;
13698 int val3 ;
13699 int ecode3 = 0 ;
13700 wxPoint temp4 ;
13701 wxSize temp5 ;
13702 long val6 ;
13703 int ecode6 = 0 ;
13704 bool temp7 = false ;
13705 PyObject * obj0 = 0 ;
13706 PyObject * obj1 = 0 ;
13707 PyObject * obj2 = 0 ;
13708 PyObject * obj3 = 0 ;
13709 PyObject * obj4 = 0 ;
13710 PyObject * obj5 = 0 ;
13711 PyObject * obj6 = 0 ;
13712 char * kwnames[] = {
13713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13714 };
13715
13716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13718 if (!SWIG_IsOK(res1)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13720 }
13721 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13723 if (!SWIG_IsOK(res2)) {
13724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13725 }
13726 arg2 = reinterpret_cast< wxWindow * >(argp2);
13727 if (obj2) {
13728 ecode3 = SWIG_AsVal_int(obj2, &val3);
13729 if (!SWIG_IsOK(ecode3)) {
13730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13731 }
13732 arg3 = static_cast< int >(val3);
13733 }
13734 if (obj3) {
13735 {
13736 arg4 = &temp4;
13737 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13738 }
13739 }
13740 if (obj4) {
13741 {
13742 arg5 = &temp5;
13743 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13744 }
13745 }
13746 if (obj5) {
13747 ecode6 = SWIG_AsVal_long(obj5, &val6);
13748 if (!SWIG_IsOK(ecode6)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13750 }
13751 arg6 = static_cast< long >(val6);
13752 }
13753 if (obj6) {
13754 {
13755 arg7 = wxString_in_helper(obj6);
13756 if (arg7 == NULL) SWIG_fail;
13757 temp7 = true;
13758 }
13759 }
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 {
13767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13768 }
13769 {
13770 if (temp7)
13771 delete arg7;
13772 }
13773 return resultobj;
13774 fail:
13775 {
13776 if (temp7)
13777 delete arg7;
13778 }
13779 return NULL;
13780 }
13781
13782
13783 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj = 0;
13785 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13786 size_t arg2 ;
13787 void *argp1 = 0 ;
13788 int res1 = 0 ;
13789 size_t val2 ;
13790 int ecode2 = 0 ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 char * kwnames[] = {
13794 (char *) "self",(char *) "count", NULL
13795 };
13796
13797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13799 if (!SWIG_IsOK(res1)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13801 }
13802 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13803 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13804 if (!SWIG_IsOK(ecode2)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13806 }
13807 arg2 = static_cast< size_t >(val2);
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 (arg1)->SetLineCount(arg2);
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 resultobj = SWIG_Py_Void();
13815 return resultobj;
13816 fail:
13817 return NULL;
13818 }
13819
13820
13821 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj = 0;
13823 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13824 size_t arg2 ;
13825 bool result;
13826 void *argp1 = 0 ;
13827 int res1 = 0 ;
13828 size_t val2 ;
13829 int ecode2 = 0 ;
13830 PyObject * obj0 = 0 ;
13831 PyObject * obj1 = 0 ;
13832 char * kwnames[] = {
13833 (char *) "self",(char *) "line", NULL
13834 };
13835
13836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13838 if (!SWIG_IsOK(res1)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13840 }
13841 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13842 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13843 if (!SWIG_IsOK(ecode2)) {
13844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13845 }
13846 arg2 = static_cast< size_t >(val2);
13847 {
13848 PyThreadState* __tstate = wxPyBeginAllowThreads();
13849 result = (bool)(arg1)->ScrollToLine(arg2);
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 {
13854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13855 }
13856 return resultobj;
13857 fail:
13858 return NULL;
13859 }
13860
13861
13862 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13863 PyObject *resultobj = 0;
13864 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13865 size_t arg2 ;
13866 void *argp1 = 0 ;
13867 int res1 = 0 ;
13868 size_t val2 ;
13869 int ecode2 = 0 ;
13870 PyObject * obj0 = 0 ;
13871 PyObject * obj1 = 0 ;
13872 char * kwnames[] = {
13873 (char *) "self",(char *) "line", NULL
13874 };
13875
13876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13878 if (!SWIG_IsOK(res1)) {
13879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13880 }
13881 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13882 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13883 if (!SWIG_IsOK(ecode2)) {
13884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13885 }
13886 arg2 = static_cast< size_t >(val2);
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 (arg1)->RefreshLine(arg2);
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 resultobj = SWIG_Py_Void();
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj = 0;
13902 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13903 size_t arg2 ;
13904 size_t arg3 ;
13905 void *argp1 = 0 ;
13906 int res1 = 0 ;
13907 size_t val2 ;
13908 int ecode2 = 0 ;
13909 size_t val3 ;
13910 int ecode3 = 0 ;
13911 PyObject * obj0 = 0 ;
13912 PyObject * obj1 = 0 ;
13913 PyObject * obj2 = 0 ;
13914 char * kwnames[] = {
13915 (char *) "self",(char *) "from",(char *) "to", NULL
13916 };
13917
13918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13920 if (!SWIG_IsOK(res1)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13922 }
13923 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13924 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13925 if (!SWIG_IsOK(ecode2)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13927 }
13928 arg2 = static_cast< size_t >(val2);
13929 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13930 if (!SWIG_IsOK(ecode3)) {
13931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13932 }
13933 arg3 = static_cast< size_t >(val3);
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 (arg1)->RefreshLines(arg2,arg3);
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 resultobj = SWIG_Py_Void();
13941 return resultobj;
13942 fail:
13943 return NULL;
13944 }
13945
13946
13947 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj = 0;
13949 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13950 int arg2 ;
13951 int arg3 ;
13952 int result;
13953 void *argp1 = 0 ;
13954 int res1 = 0 ;
13955 int val2 ;
13956 int ecode2 = 0 ;
13957 int val3 ;
13958 int ecode3 = 0 ;
13959 PyObject * obj0 = 0 ;
13960 PyObject * obj1 = 0 ;
13961 PyObject * obj2 = 0 ;
13962 char * kwnames[] = {
13963 (char *) "self",(char *) "x",(char *) "y", NULL
13964 };
13965
13966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13968 if (!SWIG_IsOK(res1)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13970 }
13971 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13972 ecode2 = SWIG_AsVal_int(obj1, &val2);
13973 if (!SWIG_IsOK(ecode2)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13975 }
13976 arg2 = static_cast< int >(val2);
13977 ecode3 = SWIG_AsVal_int(obj2, &val3);
13978 if (!SWIG_IsOK(ecode3)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13980 }
13981 arg3 = static_cast< int >(val3);
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 resultobj = SWIG_From_int(static_cast< int >(result));
13989 return resultobj;
13990 fail:
13991 return NULL;
13992 }
13993
13994
13995 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13996 PyObject *resultobj = 0;
13997 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13998 wxPoint *arg2 = 0 ;
13999 int result;
14000 void *argp1 = 0 ;
14001 int res1 = 0 ;
14002 wxPoint temp2 ;
14003 PyObject * obj0 = 0 ;
14004 PyObject * obj1 = 0 ;
14005 char * kwnames[] = {
14006 (char *) "self",(char *) "pt", NULL
14007 };
14008
14009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14011 if (!SWIG_IsOK(res1)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14013 }
14014 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14015 {
14016 arg2 = &temp2;
14017 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14018 }
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 resultobj = SWIG_From_int(static_cast< int >(result));
14026 return resultobj;
14027 fail:
14028 return NULL;
14029 }
14030
14031
14032 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14033 PyObject *resultobj = 0;
14034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14035 void *argp1 = 0 ;
14036 int res1 = 0 ;
14037 PyObject *swig_obj[1] ;
14038
14039 if (!args) SWIG_fail;
14040 swig_obj[0] = args;
14041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14042 if (!SWIG_IsOK(res1)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14044 }
14045 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 (arg1)->RefreshAll();
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 resultobj = SWIG_Py_Void();
14053 return resultobj;
14054 fail:
14055 return NULL;
14056 }
14057
14058
14059 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14060 PyObject *resultobj = 0;
14061 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14062 size_t result;
14063 void *argp1 = 0 ;
14064 int res1 = 0 ;
14065 PyObject *swig_obj[1] ;
14066
14067 if (!args) SWIG_fail;
14068 swig_obj[0] = args;
14069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14070 if (!SWIG_IsOK(res1)) {
14071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14072 }
14073 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14081 return resultobj;
14082 fail:
14083 return NULL;
14084 }
14085
14086
14087 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14088 PyObject *resultobj = 0;
14089 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14090 size_t result;
14091 void *argp1 = 0 ;
14092 int res1 = 0 ;
14093 PyObject *swig_obj[1] ;
14094
14095 if (!args) SWIG_fail;
14096 swig_obj[0] = args;
14097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14098 if (!SWIG_IsOK(res1)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14100 }
14101 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14116 PyObject *resultobj = 0;
14117 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14118 size_t result;
14119 void *argp1 = 0 ;
14120 int res1 = 0 ;
14121 PyObject *swig_obj[1] ;
14122
14123 if (!args) SWIG_fail;
14124 swig_obj[0] = args;
14125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14126 if (!SWIG_IsOK(res1)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14128 }
14129 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14137 return resultobj;
14138 fail:
14139 return NULL;
14140 }
14141
14142
14143 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj = 0;
14145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14146 size_t arg2 ;
14147 bool result;
14148 void *argp1 = 0 ;
14149 int res1 = 0 ;
14150 size_t val2 ;
14151 int ecode2 = 0 ;
14152 PyObject * obj0 = 0 ;
14153 PyObject * obj1 = 0 ;
14154 char * kwnames[] = {
14155 (char *) "self",(char *) "line", NULL
14156 };
14157
14158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14160 if (!SWIG_IsOK(res1)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14162 }
14163 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14164 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14165 if (!SWIG_IsOK(ecode2)) {
14166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14167 }
14168 arg2 = static_cast< size_t >(val2);
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 {
14176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14177 }
14178 return resultobj;
14179 fail:
14180 return NULL;
14181 }
14182
14183
14184 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14185 PyObject *resultobj = 0;
14186 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14187 size_t result;
14188 void *argp1 = 0 ;
14189 int res1 = 0 ;
14190 PyObject *swig_obj[1] ;
14191
14192 if (!args) SWIG_fail;
14193 swig_obj[0] = args;
14194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14195 if (!SWIG_IsOK(res1)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14197 }
14198 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14206 return resultobj;
14207 fail:
14208 return NULL;
14209 }
14210
14211
14212 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14213 PyObject *resultobj = 0;
14214 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14215 size_t result;
14216 void *argp1 = 0 ;
14217 int res1 = 0 ;
14218 PyObject *swig_obj[1] ;
14219
14220 if (!args) SWIG_fail;
14221 swig_obj[0] = args;
14222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14223 if (!SWIG_IsOK(res1)) {
14224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14225 }
14226 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14230 wxPyEndAllowThreads(__tstate);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
14233 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14234 return resultobj;
14235 fail:
14236 return NULL;
14237 }
14238
14239
14240 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14241 PyObject *resultobj = 0;
14242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14243 size_t arg2 ;
14244 bool arg3 = (bool) false ;
14245 size_t result;
14246 void *argp1 = 0 ;
14247 int res1 = 0 ;
14248 size_t val2 ;
14249 int ecode2 = 0 ;
14250 bool val3 ;
14251 int ecode3 = 0 ;
14252 PyObject * obj0 = 0 ;
14253 PyObject * obj1 = 0 ;
14254 PyObject * obj2 = 0 ;
14255 char * kwnames[] = {
14256 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14257 };
14258
14259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14261 if (!SWIG_IsOK(res1)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14263 }
14264 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14265 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14266 if (!SWIG_IsOK(ecode2)) {
14267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14268 }
14269 arg2 = static_cast< size_t >(val2);
14270 if (obj2) {
14271 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14272 if (!SWIG_IsOK(ecode3)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14274 }
14275 arg3 = static_cast< bool >(val3);
14276 }
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
14283 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj = 0;
14292 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14293 size_t arg2 ;
14294 size_t arg3 ;
14295 int result;
14296 void *argp1 = 0 ;
14297 int res1 = 0 ;
14298 size_t val2 ;
14299 int ecode2 = 0 ;
14300 size_t val3 ;
14301 int ecode3 = 0 ;
14302 PyObject * obj0 = 0 ;
14303 PyObject * obj1 = 0 ;
14304 PyObject * obj2 = 0 ;
14305 char * kwnames[] = {
14306 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14307 };
14308
14309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14311 if (!SWIG_IsOK(res1)) {
14312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14313 }
14314 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14315 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14316 if (!SWIG_IsOK(ecode2)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14318 }
14319 arg2 = static_cast< size_t >(val2);
14320 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14321 if (!SWIG_IsOK(ecode3)) {
14322 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14323 }
14324 arg3 = static_cast< size_t >(val3);
14325 {
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 resultobj = SWIG_From_int(static_cast< int >(result));
14332 return resultobj;
14333 fail:
14334 return NULL;
14335 }
14336
14337
14338 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14339 PyObject *obj;
14340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14341 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14342 return SWIG_Py_Void();
14343 }
14344
14345 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14346 return SWIG_Python_InitShadowInstance(args);
14347 }
14348
14349 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14350 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14351 return 1;
14352 }
14353
14354
14355 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14356 PyObject *pyobj = 0;
14357
14358 {
14359 #if wxUSE_UNICODE
14360 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14361 #else
14362 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14363 #endif
14364 }
14365 return pyobj;
14366 }
14367
14368
14369 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14370 PyObject *resultobj = 0;
14371 wxWindow *arg1 = (wxWindow *) 0 ;
14372 int arg2 = (int) wxID_ANY ;
14373 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14374 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14375 wxSize const &arg4_defvalue = wxDefaultSize ;
14376 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14377 long arg5 = (long) 0 ;
14378 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14379 wxString *arg6 = (wxString *) &arg6_defvalue ;
14380 wxPyVListBox *result = 0 ;
14381 void *argp1 = 0 ;
14382 int res1 = 0 ;
14383 int val2 ;
14384 int ecode2 = 0 ;
14385 wxPoint temp3 ;
14386 wxSize temp4 ;
14387 long val5 ;
14388 int ecode5 = 0 ;
14389 bool temp6 = false ;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj1 = 0 ;
14392 PyObject * obj2 = 0 ;
14393 PyObject * obj3 = 0 ;
14394 PyObject * obj4 = 0 ;
14395 PyObject * obj5 = 0 ;
14396 char * kwnames[] = {
14397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14398 };
14399
14400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14402 if (!SWIG_IsOK(res1)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14404 }
14405 arg1 = reinterpret_cast< wxWindow * >(argp1);
14406 if (obj1) {
14407 ecode2 = SWIG_AsVal_int(obj1, &val2);
14408 if (!SWIG_IsOK(ecode2)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14410 }
14411 arg2 = static_cast< int >(val2);
14412 }
14413 if (obj2) {
14414 {
14415 arg3 = &temp3;
14416 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14417 }
14418 }
14419 if (obj3) {
14420 {
14421 arg4 = &temp4;
14422 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14423 }
14424 }
14425 if (obj4) {
14426 ecode5 = SWIG_AsVal_long(obj4, &val5);
14427 if (!SWIG_IsOK(ecode5)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14429 }
14430 arg5 = static_cast< long >(val5);
14431 }
14432 if (obj5) {
14433 {
14434 arg6 = wxString_in_helper(obj5);
14435 if (arg6 == NULL) SWIG_fail;
14436 temp6 = true;
14437 }
14438 }
14439 {
14440 if (!wxPyCheckForApp()) SWIG_fail;
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14447 {
14448 if (temp6)
14449 delete arg6;
14450 }
14451 return resultobj;
14452 fail:
14453 {
14454 if (temp6)
14455 delete arg6;
14456 }
14457 return NULL;
14458 }
14459
14460
14461 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14462 PyObject *resultobj = 0;
14463 wxPyVListBox *result = 0 ;
14464
14465 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14466 {
14467 if (!wxPyCheckForApp()) SWIG_fail;
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (wxPyVListBox *)new wxPyVListBox();
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14474 return resultobj;
14475 fail:
14476 return NULL;
14477 }
14478
14479
14480 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj = 0;
14482 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14483 PyObject *arg2 = (PyObject *) 0 ;
14484 PyObject *arg3 = (PyObject *) 0 ;
14485 void *argp1 = 0 ;
14486 int res1 = 0 ;
14487 PyObject * obj0 = 0 ;
14488 PyObject * obj1 = 0 ;
14489 PyObject * obj2 = 0 ;
14490 char * kwnames[] = {
14491 (char *) "self",(char *) "self",(char *) "_class", NULL
14492 };
14493
14494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14496 if (!SWIG_IsOK(res1)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14498 }
14499 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14500 arg2 = obj1;
14501 arg3 = obj2;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 (arg1)->_setCallbackInfo(arg2,arg3);
14505 wxPyEndAllowThreads(__tstate);
14506 if (PyErr_Occurred()) SWIG_fail;
14507 }
14508 resultobj = SWIG_Py_Void();
14509 return resultobj;
14510 fail:
14511 return NULL;
14512 }
14513
14514
14515 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14516 PyObject *resultobj = 0;
14517 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14518 wxWindow *arg2 = (wxWindow *) 0 ;
14519 int arg3 = (int) wxID_ANY ;
14520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14522 wxSize const &arg5_defvalue = wxDefaultSize ;
14523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14524 long arg6 = (long) 0 ;
14525 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14526 wxString *arg7 = (wxString *) &arg7_defvalue ;
14527 bool result;
14528 void *argp1 = 0 ;
14529 int res1 = 0 ;
14530 void *argp2 = 0 ;
14531 int res2 = 0 ;
14532 int val3 ;
14533 int ecode3 = 0 ;
14534 wxPoint temp4 ;
14535 wxSize temp5 ;
14536 long val6 ;
14537 int ecode6 = 0 ;
14538 bool temp7 = false ;
14539 PyObject * obj0 = 0 ;
14540 PyObject * obj1 = 0 ;
14541 PyObject * obj2 = 0 ;
14542 PyObject * obj3 = 0 ;
14543 PyObject * obj4 = 0 ;
14544 PyObject * obj5 = 0 ;
14545 PyObject * obj6 = 0 ;
14546 char * kwnames[] = {
14547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14548 };
14549
14550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14552 if (!SWIG_IsOK(res1)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14554 }
14555 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14556 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14557 if (!SWIG_IsOK(res2)) {
14558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14559 }
14560 arg2 = reinterpret_cast< wxWindow * >(argp2);
14561 if (obj2) {
14562 ecode3 = SWIG_AsVal_int(obj2, &val3);
14563 if (!SWIG_IsOK(ecode3)) {
14564 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14565 }
14566 arg3 = static_cast< int >(val3);
14567 }
14568 if (obj3) {
14569 {
14570 arg4 = &temp4;
14571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14572 }
14573 }
14574 if (obj4) {
14575 {
14576 arg5 = &temp5;
14577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14578 }
14579 }
14580 if (obj5) {
14581 ecode6 = SWIG_AsVal_long(obj5, &val6);
14582 if (!SWIG_IsOK(ecode6)) {
14583 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14584 }
14585 arg6 = static_cast< long >(val6);
14586 }
14587 if (obj6) {
14588 {
14589 arg7 = wxString_in_helper(obj6);
14590 if (arg7 == NULL) SWIG_fail;
14591 temp7 = true;
14592 }
14593 }
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14602 }
14603 {
14604 if (temp7)
14605 delete arg7;
14606 }
14607 return resultobj;
14608 fail:
14609 {
14610 if (temp7)
14611 delete arg7;
14612 }
14613 return NULL;
14614 }
14615
14616
14617 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14618 PyObject *resultobj = 0;
14619 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14620 size_t result;
14621 void *argp1 = 0 ;
14622 int res1 = 0 ;
14623 PyObject *swig_obj[1] ;
14624
14625 if (!args) SWIG_fail;
14626 swig_obj[0] = args;
14627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14628 if (!SWIG_IsOK(res1)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14630 }
14631 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14635 wxPyEndAllowThreads(__tstate);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14639 return resultobj;
14640 fail:
14641 return NULL;
14642 }
14643
14644
14645 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14646 PyObject *resultobj = 0;
14647 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14648 bool result;
14649 void *argp1 = 0 ;
14650 int res1 = 0 ;
14651 PyObject *swig_obj[1] ;
14652
14653 if (!args) SWIG_fail;
14654 swig_obj[0] = args;
14655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14656 if (!SWIG_IsOK(res1)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14658 }
14659 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 return resultobj;
14670 fail:
14671 return NULL;
14672 }
14673
14674
14675 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14676 PyObject *resultobj = 0;
14677 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14678 int result;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 PyObject *swig_obj[1] ;
14682
14683 if (!args) SWIG_fail;
14684 swig_obj[0] = args;
14685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14686 if (!SWIG_IsOK(res1)) {
14687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14688 }
14689 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 resultobj = SWIG_From_int(static_cast< int >(result));
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj = 0;
14705 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14706 size_t arg2 ;
14707 bool result;
14708 void *argp1 = 0 ;
14709 int res1 = 0 ;
14710 size_t val2 ;
14711 int ecode2 = 0 ;
14712 PyObject * obj0 = 0 ;
14713 PyObject * obj1 = 0 ;
14714 char * kwnames[] = {
14715 (char *) "self",(char *) "item", NULL
14716 };
14717
14718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14720 if (!SWIG_IsOK(res1)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14722 }
14723 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14724 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14725 if (!SWIG_IsOK(ecode2)) {
14726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14727 }
14728 arg2 = static_cast< size_t >(val2);
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj = 0;
14746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14747 size_t arg2 ;
14748 bool result;
14749 void *argp1 = 0 ;
14750 int res1 = 0 ;
14751 size_t val2 ;
14752 int ecode2 = 0 ;
14753 PyObject * obj0 = 0 ;
14754 PyObject * obj1 = 0 ;
14755 char * kwnames[] = {
14756 (char *) "self",(char *) "item", NULL
14757 };
14758
14759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14761 if (!SWIG_IsOK(res1)) {
14762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14763 }
14764 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14765 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14766 if (!SWIG_IsOK(ecode2)) {
14767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14768 }
14769 arg2 = static_cast< size_t >(val2);
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 {
14777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14778 }
14779 return resultobj;
14780 fail:
14781 return NULL;
14782 }
14783
14784
14785 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14786 PyObject *resultobj = 0;
14787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14788 size_t result;
14789 void *argp1 = 0 ;
14790 int res1 = 0 ;
14791 PyObject *swig_obj[1] ;
14792
14793 if (!args) SWIG_fail;
14794 swig_obj[0] = args;
14795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14796 if (!SWIG_IsOK(res1)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14798 }
14799 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14807 return resultobj;
14808 fail:
14809 return NULL;
14810 }
14811
14812
14813 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14814 PyObject *resultobj = 0;
14815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14816 PyObject *result = 0 ;
14817 void *argp1 = 0 ;
14818 int res1 = 0 ;
14819 PyObject *swig_obj[1] ;
14820
14821 if (!args) SWIG_fail;
14822 swig_obj[0] = args;
14823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14824 if (!SWIG_IsOK(res1)) {
14825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14826 }
14827 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = result;
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj = 0;
14843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14844 unsigned long arg2 ;
14845 PyObject *result = 0 ;
14846 void *argp1 = 0 ;
14847 int res1 = 0 ;
14848 unsigned long val2 ;
14849 int ecode2 = 0 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 char * kwnames[] = {
14853 (char *) "self",(char *) "cookie", NULL
14854 };
14855
14856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14858 if (!SWIG_IsOK(res1)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14860 }
14861 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14862 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14863 if (!SWIG_IsOK(ecode2)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14865 }
14866 arg2 = static_cast< unsigned long >(val2);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = result;
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14881 PyObject *resultobj = 0;
14882 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14883 wxPoint result;
14884 void *argp1 = 0 ;
14885 int res1 = 0 ;
14886 PyObject *swig_obj[1] ;
14887
14888 if (!args) SWIG_fail;
14889 swig_obj[0] = args;
14890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14891 if (!SWIG_IsOK(res1)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14893 }
14894 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = ((wxPyVListBox const *)arg1)->GetMargins();
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14909 PyObject *resultobj = 0;
14910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14911 wxColour *result = 0 ;
14912 void *argp1 = 0 ;
14913 int res1 = 0 ;
14914 PyObject *swig_obj[1] ;
14915
14916 if (!args) SWIG_fail;
14917 swig_obj[0] = args;
14918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14919 if (!SWIG_IsOK(res1)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14921 }
14922 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 {
14926 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14927 result = (wxColour *) &_result_ref;
14928 }
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj = 0;
14941 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14942 size_t arg2 ;
14943 void *argp1 = 0 ;
14944 int res1 = 0 ;
14945 size_t val2 ;
14946 int ecode2 = 0 ;
14947 PyObject * obj0 = 0 ;
14948 PyObject * obj1 = 0 ;
14949 char * kwnames[] = {
14950 (char *) "self",(char *) "count", NULL
14951 };
14952
14953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14955 if (!SWIG_IsOK(res1)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14957 }
14958 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14959 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14960 if (!SWIG_IsOK(ecode2)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14962 }
14963 arg2 = static_cast< size_t >(val2);
14964 {
14965 PyThreadState* __tstate = wxPyBeginAllowThreads();
14966 (arg1)->SetItemCount(arg2);
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 resultobj = SWIG_Py_Void();
14971 return resultobj;
14972 fail:
14973 return NULL;
14974 }
14975
14976
14977 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14978 PyObject *resultobj = 0;
14979 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14980 void *argp1 = 0 ;
14981 int res1 = 0 ;
14982 PyObject *swig_obj[1] ;
14983
14984 if (!args) SWIG_fail;
14985 swig_obj[0] = args;
14986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14987 if (!SWIG_IsOK(res1)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14989 }
14990 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 (arg1)->Clear();
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 resultobj = SWIG_Py_Void();
14998 return resultobj;
14999 fail:
15000 return NULL;
15001 }
15002
15003
15004 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj = 0;
15006 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15007 int arg2 ;
15008 void *argp1 = 0 ;
15009 int res1 = 0 ;
15010 int val2 ;
15011 int ecode2 = 0 ;
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 char * kwnames[] = {
15015 (char *) "self",(char *) "selection", NULL
15016 };
15017
15018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15020 if (!SWIG_IsOK(res1)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15022 }
15023 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15024 ecode2 = SWIG_AsVal_int(obj1, &val2);
15025 if (!SWIG_IsOK(ecode2)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15027 }
15028 arg2 = static_cast< int >(val2);
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 (arg1)->SetSelection(arg2);
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 resultobj = SWIG_Py_Void();
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj = 0;
15044 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15045 size_t arg2 ;
15046 bool arg3 = (bool) true ;
15047 bool result;
15048 void *argp1 = 0 ;
15049 int res1 = 0 ;
15050 size_t val2 ;
15051 int ecode2 = 0 ;
15052 bool val3 ;
15053 int ecode3 = 0 ;
15054 PyObject * obj0 = 0 ;
15055 PyObject * obj1 = 0 ;
15056 PyObject * obj2 = 0 ;
15057 char * kwnames[] = {
15058 (char *) "self",(char *) "item",(char *) "select", NULL
15059 };
15060
15061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15063 if (!SWIG_IsOK(res1)) {
15064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15065 }
15066 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15067 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15068 if (!SWIG_IsOK(ecode2)) {
15069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15070 }
15071 arg2 = static_cast< size_t >(val2);
15072 if (obj2) {
15073 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15074 if (!SWIG_IsOK(ecode3)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15076 }
15077 arg3 = static_cast< bool >(val3);
15078 }
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = (bool)(arg1)->Select(arg2,arg3);
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 {
15086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15087 }
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj = 0;
15096 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15097 size_t arg2 ;
15098 size_t arg3 ;
15099 bool result;
15100 void *argp1 = 0 ;
15101 int res1 = 0 ;
15102 size_t val2 ;
15103 int ecode2 = 0 ;
15104 size_t val3 ;
15105 int ecode3 = 0 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 PyObject * obj2 = 0 ;
15109 char * kwnames[] = {
15110 (char *) "self",(char *) "from",(char *) "to", NULL
15111 };
15112
15113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15115 if (!SWIG_IsOK(res1)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15117 }
15118 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15119 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15120 if (!SWIG_IsOK(ecode2)) {
15121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15122 }
15123 arg2 = static_cast< size_t >(val2);
15124 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15125 if (!SWIG_IsOK(ecode3)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15127 }
15128 arg3 = static_cast< size_t >(val3);
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (bool)(arg1)->SelectRange(arg2,arg3);
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 {
15136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15137 }
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj = 0;
15146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15147 size_t arg2 ;
15148 void *argp1 = 0 ;
15149 int res1 = 0 ;
15150 size_t val2 ;
15151 int ecode2 = 0 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char * kwnames[] = {
15155 (char *) "self",(char *) "item", NULL
15156 };
15157
15158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15160 if (!SWIG_IsOK(res1)) {
15161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15162 }
15163 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15164 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15165 if (!SWIG_IsOK(ecode2)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15167 }
15168 arg2 = static_cast< size_t >(val2);
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->Toggle(arg2);
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 resultobj = SWIG_Py_Void();
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15183 PyObject *resultobj = 0;
15184 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15185 bool result;
15186 void *argp1 = 0 ;
15187 int res1 = 0 ;
15188 PyObject *swig_obj[1] ;
15189
15190 if (!args) SWIG_fail;
15191 swig_obj[0] = args;
15192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15193 if (!SWIG_IsOK(res1)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15195 }
15196 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15197 {
15198 PyThreadState* __tstate = wxPyBeginAllowThreads();
15199 result = (bool)(arg1)->SelectAll();
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 {
15204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15205 }
15206 return resultobj;
15207 fail:
15208 return NULL;
15209 }
15210
15211
15212 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15213 PyObject *resultobj = 0;
15214 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15215 bool result;
15216 void *argp1 = 0 ;
15217 int res1 = 0 ;
15218 PyObject *swig_obj[1] ;
15219
15220 if (!args) SWIG_fail;
15221 swig_obj[0] = args;
15222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15223 if (!SWIG_IsOK(res1)) {
15224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15225 }
15226 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (bool)(arg1)->DeselectAll();
15230 wxPyEndAllowThreads(__tstate);
15231 if (PyErr_Occurred()) SWIG_fail;
15232 }
15233 {
15234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15235 }
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj = 0;
15244 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15245 wxPoint *arg2 = 0 ;
15246 void *argp1 = 0 ;
15247 int res1 = 0 ;
15248 wxPoint temp2 ;
15249 PyObject * obj0 = 0 ;
15250 PyObject * obj1 = 0 ;
15251 char * kwnames[] = {
15252 (char *) "self",(char *) "pt", NULL
15253 };
15254
15255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15257 if (!SWIG_IsOK(res1)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15259 }
15260 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15261 {
15262 arg2 = &temp2;
15263 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15264 }
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 (arg1)->SetMargins((wxPoint const &)*arg2);
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 resultobj = SWIG_Py_Void();
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj = 0;
15280 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15281 int arg2 ;
15282 int arg3 ;
15283 void *argp1 = 0 ;
15284 int res1 = 0 ;
15285 int val2 ;
15286 int ecode2 = 0 ;
15287 int val3 ;
15288 int ecode3 = 0 ;
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 PyObject * obj2 = 0 ;
15292 char * kwnames[] = {
15293 (char *) "self",(char *) "x",(char *) "y", NULL
15294 };
15295
15296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15300 }
15301 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15302 ecode2 = SWIG_AsVal_int(obj1, &val2);
15303 if (!SWIG_IsOK(ecode2)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15305 }
15306 arg2 = static_cast< int >(val2);
15307 ecode3 = SWIG_AsVal_int(obj2, &val3);
15308 if (!SWIG_IsOK(ecode3)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15310 }
15311 arg3 = static_cast< int >(val3);
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 (arg1)->SetMargins(arg2,arg3);
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 resultobj = SWIG_Py_Void();
15319 return resultobj;
15320 fail:
15321 return NULL;
15322 }
15323
15324
15325 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15326 PyObject *resultobj = 0;
15327 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15328 wxColour *arg2 = 0 ;
15329 void *argp1 = 0 ;
15330 int res1 = 0 ;
15331 wxColour temp2 ;
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 char * kwnames[] = {
15335 (char *) "self",(char *) "col", NULL
15336 };
15337
15338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15340 if (!SWIG_IsOK(res1)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15342 }
15343 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15344 {
15345 arg2 = &temp2;
15346 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15347 }
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 resultobj = SWIG_Py_Void();
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj = 0;
15363 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15364 wxDC *arg2 = 0 ;
15365 wxRect *arg3 = 0 ;
15366 size_t arg4 ;
15367 void *argp1 = 0 ;
15368 int res1 = 0 ;
15369 void *argp2 = 0 ;
15370 int res2 = 0 ;
15371 wxRect temp3 ;
15372 size_t val4 ;
15373 int ecode4 = 0 ;
15374 PyObject * obj0 = 0 ;
15375 PyObject * obj1 = 0 ;
15376 PyObject * obj2 = 0 ;
15377 PyObject * obj3 = 0 ;
15378 char * kwnames[] = {
15379 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15380 };
15381
15382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15384 if (!SWIG_IsOK(res1)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15386 }
15387 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15388 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15389 if (!SWIG_IsOK(res2)) {
15390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15391 }
15392 if (!argp2) {
15393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15394 }
15395 arg2 = reinterpret_cast< wxDC * >(argp2);
15396 {
15397 arg3 = &temp3;
15398 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15399 }
15400 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15401 if (!SWIG_IsOK(ecode4)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15403 }
15404 arg4 = static_cast< size_t >(val4);
15405 {
15406 PyThreadState* __tstate = wxPyBeginAllowThreads();
15407 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 resultobj = SWIG_Py_Void();
15412 return resultobj;
15413 fail:
15414 return NULL;
15415 }
15416
15417
15418 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj = 0;
15420 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15421 wxDC *arg2 = 0 ;
15422 wxRect *arg3 = 0 ;
15423 size_t arg4 ;
15424 void *argp1 = 0 ;
15425 int res1 = 0 ;
15426 void *argp2 = 0 ;
15427 int res2 = 0 ;
15428 wxRect temp3 ;
15429 size_t val4 ;
15430 int ecode4 = 0 ;
15431 PyObject * obj0 = 0 ;
15432 PyObject * obj1 = 0 ;
15433 PyObject * obj2 = 0 ;
15434 PyObject * obj3 = 0 ;
15435 char * kwnames[] = {
15436 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15437 };
15438
15439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15441 if (!SWIG_IsOK(res1)) {
15442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15443 }
15444 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15445 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15446 if (!SWIG_IsOK(res2)) {
15447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15448 }
15449 if (!argp2) {
15450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15451 }
15452 arg2 = reinterpret_cast< wxDC * >(argp2);
15453 {
15454 arg3 = &temp3;
15455 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15456 }
15457 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15458 if (!SWIG_IsOK(ecode4)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15460 }
15461 arg4 = static_cast< size_t >(val4);
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15465 wxPyEndAllowThreads(__tstate);
15466 if (PyErr_Occurred()) SWIG_fail;
15467 }
15468 resultobj = SWIG_Py_Void();
15469 return resultobj;
15470 fail:
15471 return NULL;
15472 }
15473
15474
15475 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15476 PyObject *obj;
15477 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15479 return SWIG_Py_Void();
15480 }
15481
15482 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15483 return SWIG_Python_InitShadowInstance(args);
15484 }
15485
15486 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15487 PyObject *resultobj = 0;
15488 wxWindow *arg1 = (wxWindow *) 0 ;
15489 int arg2 = (int) wxID_ANY ;
15490 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15491 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15492 wxSize const &arg4_defvalue = wxDefaultSize ;
15493 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15494 long arg5 = (long) 0 ;
15495 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15496 wxString *arg6 = (wxString *) &arg6_defvalue ;
15497 wxPyHtmlListBox *result = 0 ;
15498 void *argp1 = 0 ;
15499 int res1 = 0 ;
15500 int val2 ;
15501 int ecode2 = 0 ;
15502 wxPoint temp3 ;
15503 wxSize temp4 ;
15504 long val5 ;
15505 int ecode5 = 0 ;
15506 bool temp6 = false ;
15507 PyObject * obj0 = 0 ;
15508 PyObject * obj1 = 0 ;
15509 PyObject * obj2 = 0 ;
15510 PyObject * obj3 = 0 ;
15511 PyObject * obj4 = 0 ;
15512 PyObject * obj5 = 0 ;
15513 char * kwnames[] = {
15514 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15515 };
15516
15517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15519 if (!SWIG_IsOK(res1)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15521 }
15522 arg1 = reinterpret_cast< wxWindow * >(argp1);
15523 if (obj1) {
15524 ecode2 = SWIG_AsVal_int(obj1, &val2);
15525 if (!SWIG_IsOK(ecode2)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15527 }
15528 arg2 = static_cast< int >(val2);
15529 }
15530 if (obj2) {
15531 {
15532 arg3 = &temp3;
15533 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15534 }
15535 }
15536 if (obj3) {
15537 {
15538 arg4 = &temp4;
15539 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15540 }
15541 }
15542 if (obj4) {
15543 ecode5 = SWIG_AsVal_long(obj4, &val5);
15544 if (!SWIG_IsOK(ecode5)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15546 }
15547 arg5 = static_cast< long >(val5);
15548 }
15549 if (obj5) {
15550 {
15551 arg6 = wxString_in_helper(obj5);
15552 if (arg6 == NULL) SWIG_fail;
15553 temp6 = true;
15554 }
15555 }
15556 {
15557 if (!wxPyCheckForApp()) SWIG_fail;
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15564 {
15565 if (temp6)
15566 delete arg6;
15567 }
15568 return resultobj;
15569 fail:
15570 {
15571 if (temp6)
15572 delete arg6;
15573 }
15574 return NULL;
15575 }
15576
15577
15578 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15579 PyObject *resultobj = 0;
15580 wxPyHtmlListBox *result = 0 ;
15581
15582 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15583 {
15584 if (!wxPyCheckForApp()) SWIG_fail;
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj = 0;
15599 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15600 PyObject *arg2 = (PyObject *) 0 ;
15601 PyObject *arg3 = (PyObject *) 0 ;
15602 void *argp1 = 0 ;
15603 int res1 = 0 ;
15604 PyObject * obj0 = 0 ;
15605 PyObject * obj1 = 0 ;
15606 PyObject * obj2 = 0 ;
15607 char * kwnames[] = {
15608 (char *) "self",(char *) "self",(char *) "_class", NULL
15609 };
15610
15611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15613 if (!SWIG_IsOK(res1)) {
15614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15615 }
15616 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15617 arg2 = obj1;
15618 arg3 = obj2;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 (arg1)->_setCallbackInfo(arg2,arg3);
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 resultobj = SWIG_Py_Void();
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj = 0;
15634 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15635 wxWindow *arg2 = (wxWindow *) 0 ;
15636 int arg3 = (int) wxID_ANY ;
15637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15639 wxSize const &arg5_defvalue = wxDefaultSize ;
15640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15641 long arg6 = (long) 0 ;
15642 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15643 wxString *arg7 = (wxString *) &arg7_defvalue ;
15644 bool result;
15645 void *argp1 = 0 ;
15646 int res1 = 0 ;
15647 void *argp2 = 0 ;
15648 int res2 = 0 ;
15649 int val3 ;
15650 int ecode3 = 0 ;
15651 wxPoint temp4 ;
15652 wxSize temp5 ;
15653 long val6 ;
15654 int ecode6 = 0 ;
15655 bool temp7 = false ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 PyObject * obj2 = 0 ;
15659 PyObject * obj3 = 0 ;
15660 PyObject * obj4 = 0 ;
15661 PyObject * obj5 = 0 ;
15662 PyObject * obj6 = 0 ;
15663 char * kwnames[] = {
15664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15665 };
15666
15667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15669 if (!SWIG_IsOK(res1)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15671 }
15672 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15673 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15674 if (!SWIG_IsOK(res2)) {
15675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15676 }
15677 arg2 = reinterpret_cast< wxWindow * >(argp2);
15678 if (obj2) {
15679 ecode3 = SWIG_AsVal_int(obj2, &val3);
15680 if (!SWIG_IsOK(ecode3)) {
15681 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15682 }
15683 arg3 = static_cast< int >(val3);
15684 }
15685 if (obj3) {
15686 {
15687 arg4 = &temp4;
15688 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15689 }
15690 }
15691 if (obj4) {
15692 {
15693 arg5 = &temp5;
15694 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15695 }
15696 }
15697 if (obj5) {
15698 ecode6 = SWIG_AsVal_long(obj5, &val6);
15699 if (!SWIG_IsOK(ecode6)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15701 }
15702 arg6 = static_cast< long >(val6);
15703 }
15704 if (obj6) {
15705 {
15706 arg7 = wxString_in_helper(obj6);
15707 if (arg7 == NULL) SWIG_fail;
15708 temp7 = true;
15709 }
15710 }
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 {
15718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15719 }
15720 {
15721 if (temp7)
15722 delete arg7;
15723 }
15724 return resultobj;
15725 fail:
15726 {
15727 if (temp7)
15728 delete arg7;
15729 }
15730 return NULL;
15731 }
15732
15733
15734 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj = 0;
15736 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15737 size_t arg2 ;
15738 void *argp1 = 0 ;
15739 int res1 = 0 ;
15740 size_t val2 ;
15741 int ecode2 = 0 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char * kwnames[] = {
15745 (char *) "self",(char *) "count", NULL
15746 };
15747
15748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15750 if (!SWIG_IsOK(res1)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15752 }
15753 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15754 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15755 if (!SWIG_IsOK(ecode2)) {
15756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15757 }
15758 arg2 = static_cast< size_t >(val2);
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 (arg1)->SetItemCount(arg2);
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 resultobj = SWIG_Py_Void();
15766 return resultobj;
15767 fail:
15768 return NULL;
15769 }
15770
15771
15772 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15773 PyObject *resultobj = 0;
15774 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15775 wxFileSystem *result = 0 ;
15776 void *argp1 = 0 ;
15777 int res1 = 0 ;
15778 PyObject *swig_obj[1] ;
15779
15780 if (!args) SWIG_fail;
15781 swig_obj[0] = args;
15782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15783 if (!SWIG_IsOK(res1)) {
15784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15785 }
15786 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15787 {
15788 PyThreadState* __tstate = wxPyBeginAllowThreads();
15789 {
15790 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15791 result = (wxFileSystem *) &_result_ref;
15792 }
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15797 return resultobj;
15798 fail:
15799 return NULL;
15800 }
15801
15802
15803 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj = 0;
15805 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15806 size_t arg2 ;
15807 wxHtmlLinkInfo *arg3 = 0 ;
15808 void *argp1 = 0 ;
15809 int res1 = 0 ;
15810 size_t val2 ;
15811 int ecode2 = 0 ;
15812 void *argp3 = 0 ;
15813 int res3 = 0 ;
15814 PyObject * obj0 = 0 ;
15815 PyObject * obj1 = 0 ;
15816 PyObject * obj2 = 0 ;
15817 char * kwnames[] = {
15818 (char *) "self",(char *) "n",(char *) "link", NULL
15819 };
15820
15821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15823 if (!SWIG_IsOK(res1)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15825 }
15826 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15827 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15828 if (!SWIG_IsOK(ecode2)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15830 }
15831 arg2 = static_cast< size_t >(val2);
15832 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15833 if (!SWIG_IsOK(res3)) {
15834 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15835 }
15836 if (!argp3) {
15837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15838 }
15839 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 resultobj = SWIG_Py_Void();
15847 return resultobj;
15848 fail:
15849 return NULL;
15850 }
15851
15852
15853 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15854 PyObject *obj;
15855 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15856 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15857 return SWIG_Py_Void();
15858 }
15859
15860 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15861 return SWIG_Python_InitShadowInstance(args);
15862 }
15863
15864 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15865 PyObject *resultobj = 0;
15866 wxPyTaskBarIcon *result = 0 ;
15867
15868 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15869 {
15870 if (!wxPyCheckForApp()) SWIG_fail;
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15884 PyObject *resultobj = 0;
15885 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15886 void *argp1 = 0 ;
15887 int res1 = 0 ;
15888 PyObject *swig_obj[1] ;
15889
15890 if (!args) SWIG_fail;
15891 swig_obj[0] = args;
15892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15893 if (!SWIG_IsOK(res1)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15895 }
15896 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 delete arg1;
15900
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 resultobj = SWIG_Py_Void();
15905 return resultobj;
15906 fail:
15907 return NULL;
15908 }
15909
15910
15911 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj = 0;
15913 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15914 PyObject *arg2 = (PyObject *) 0 ;
15915 PyObject *arg3 = (PyObject *) 0 ;
15916 int arg4 ;
15917 void *argp1 = 0 ;
15918 int res1 = 0 ;
15919 int val4 ;
15920 int ecode4 = 0 ;
15921 PyObject * obj0 = 0 ;
15922 PyObject * obj1 = 0 ;
15923 PyObject * obj2 = 0 ;
15924 PyObject * obj3 = 0 ;
15925 char * kwnames[] = {
15926 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15927 };
15928
15929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15931 if (!SWIG_IsOK(res1)) {
15932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15933 }
15934 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15935 arg2 = obj1;
15936 arg3 = obj2;
15937 ecode4 = SWIG_AsVal_int(obj3, &val4);
15938 if (!SWIG_IsOK(ecode4)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15940 }
15941 arg4 = static_cast< int >(val4);
15942 {
15943 PyThreadState* __tstate = wxPyBeginAllowThreads();
15944 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_Py_Void();
15949 return resultobj;
15950 fail:
15951 return NULL;
15952 }
15953
15954
15955 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15956 PyObject *resultobj = 0;
15957 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15958 void *argp1 = 0 ;
15959 int res1 = 0 ;
15960 PyObject *swig_obj[1] ;
15961
15962 if (!args) SWIG_fail;
15963 swig_obj[0] = args;
15964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15965 if (!SWIG_IsOK(res1)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15967 }
15968 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 wxPyTaskBarIcon_Destroy(arg1);
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 resultobj = SWIG_Py_Void();
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15983 PyObject *resultobj = 0;
15984 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15985 bool result;
15986 void *argp1 = 0 ;
15987 int res1 = 0 ;
15988 PyObject *swig_obj[1] ;
15989
15990 if (!args) SWIG_fail;
15991 swig_obj[0] = args;
15992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15993 if (!SWIG_IsOK(res1)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15995 }
15996 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 {
16004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16005 }
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16013 PyObject *resultobj = 0;
16014 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16015 bool result;
16016 void *argp1 = 0 ;
16017 int res1 = 0 ;
16018 PyObject *swig_obj[1] ;
16019
16020 if (!args) SWIG_fail;
16021 swig_obj[0] = args;
16022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16023 if (!SWIG_IsOK(res1)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16025 }
16026 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16027 {
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16035 }
16036 return resultobj;
16037 fail:
16038 return NULL;
16039 }
16040
16041
16042 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj = 0;
16044 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16045 wxIcon *arg2 = 0 ;
16046 wxString const &arg3_defvalue = wxPyEmptyString ;
16047 wxString *arg3 = (wxString *) &arg3_defvalue ;
16048 bool result;
16049 void *argp1 = 0 ;
16050 int res1 = 0 ;
16051 void *argp2 = 0 ;
16052 int res2 = 0 ;
16053 bool temp3 = false ;
16054 PyObject * obj0 = 0 ;
16055 PyObject * obj1 = 0 ;
16056 PyObject * obj2 = 0 ;
16057 char * kwnames[] = {
16058 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16059 };
16060
16061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16063 if (!SWIG_IsOK(res1)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16065 }
16066 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16068 if (!SWIG_IsOK(res2)) {
16069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16070 }
16071 if (!argp2) {
16072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16073 }
16074 arg2 = reinterpret_cast< wxIcon * >(argp2);
16075 if (obj2) {
16076 {
16077 arg3 = wxString_in_helper(obj2);
16078 if (arg3 == NULL) SWIG_fail;
16079 temp3 = true;
16080 }
16081 }
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 {
16089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16090 }
16091 {
16092 if (temp3)
16093 delete arg3;
16094 }
16095 return resultobj;
16096 fail:
16097 {
16098 if (temp3)
16099 delete arg3;
16100 }
16101 return NULL;
16102 }
16103
16104
16105 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16106 PyObject *resultobj = 0;
16107 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16108 bool result;
16109 void *argp1 = 0 ;
16110 int res1 = 0 ;
16111 PyObject *swig_obj[1] ;
16112
16113 if (!args) SWIG_fail;
16114 swig_obj[0] = args;
16115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16116 if (!SWIG_IsOK(res1)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16118 }
16119 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16120 {
16121 PyThreadState* __tstate = wxPyBeginAllowThreads();
16122 result = (bool)(arg1)->RemoveIcon();
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 {
16127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16128 }
16129 return resultobj;
16130 fail:
16131 return NULL;
16132 }
16133
16134
16135 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16136 PyObject *resultobj = 0;
16137 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16138 wxMenu *arg2 = (wxMenu *) 0 ;
16139 bool result;
16140 void *argp1 = 0 ;
16141 int res1 = 0 ;
16142 void *argp2 = 0 ;
16143 int res2 = 0 ;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 char * kwnames[] = {
16147 (char *) "self",(char *) "menu", NULL
16148 };
16149
16150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16152 if (!SWIG_IsOK(res1)) {
16153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16154 }
16155 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16157 if (!SWIG_IsOK(res2)) {
16158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16159 }
16160 arg2 = reinterpret_cast< wxMenu * >(argp2);
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (bool)(arg1)->PopupMenu(arg2);
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 {
16168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16169 }
16170 return resultobj;
16171 fail:
16172 return NULL;
16173 }
16174
16175
16176 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16177 PyObject *obj;
16178 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16179 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16180 return SWIG_Py_Void();
16181 }
16182
16183 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16184 return SWIG_Python_InitShadowInstance(args);
16185 }
16186
16187 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj = 0;
16189 wxEventType arg1 ;
16190 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16191 wxTaskBarIconEvent *result = 0 ;
16192 int val1 ;
16193 int ecode1 = 0 ;
16194 void *argp2 = 0 ;
16195 int res2 = 0 ;
16196 PyObject * obj0 = 0 ;
16197 PyObject * obj1 = 0 ;
16198 char * kwnames[] = {
16199 (char *) "evtType",(char *) "tbIcon", NULL
16200 };
16201
16202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16203 ecode1 = SWIG_AsVal_int(obj0, &val1);
16204 if (!SWIG_IsOK(ecode1)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16206 }
16207 arg1 = static_cast< wxEventType >(val1);
16208 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16209 if (!SWIG_IsOK(res2)) {
16210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16211 }
16212 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16220 return resultobj;
16221 fail:
16222 return NULL;
16223 }
16224
16225
16226 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16227 PyObject *obj;
16228 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16229 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16230 return SWIG_Py_Void();
16231 }
16232
16233 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16234 return SWIG_Python_InitShadowInstance(args);
16235 }
16236
16237 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16238 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16239 return 1;
16240 }
16241
16242
16243 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16244 PyObject *pyobj = 0;
16245
16246 {
16247 #if wxUSE_UNICODE
16248 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16249 #else
16250 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16251 #endif
16252 }
16253 return pyobj;
16254 }
16255
16256
16257 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16258 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16259 return 1;
16260 }
16261
16262
16263 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16264 PyObject *pyobj = 0;
16265
16266 {
16267 #if wxUSE_UNICODE
16268 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16269 #else
16270 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16271 #endif
16272 }
16273 return pyobj;
16274 }
16275
16276
16277 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16278 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16279 return 1;
16280 }
16281
16282
16283 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16284 PyObject *pyobj = 0;
16285
16286 {
16287 #if wxUSE_UNICODE
16288 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16289 #else
16290 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16291 #endif
16292 }
16293 return pyobj;
16294 }
16295
16296
16297 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16298 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16299 return 1;
16300 }
16301
16302
16303 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16304 PyObject *pyobj = 0;
16305
16306 {
16307 #if wxUSE_UNICODE
16308 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16309 #else
16310 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16311 #endif
16312 }
16313 return pyobj;
16314 }
16315
16316
16317 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16318 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16319 return 1;
16320 }
16321
16322
16323 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16324 PyObject *pyobj = 0;
16325
16326 {
16327 #if wxUSE_UNICODE
16328 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16329 #else
16330 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16331 #endif
16332 }
16333 return pyobj;
16334 }
16335
16336
16337 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16338 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16339 return 1;
16340 }
16341
16342
16343 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16344 PyObject *pyobj = 0;
16345
16346 {
16347 #if wxUSE_UNICODE
16348 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16349 #else
16350 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16351 #endif
16352 }
16353 return pyobj;
16354 }
16355
16356
16357 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16358 PyObject *resultobj = 0;
16359 wxColourData *result = 0 ;
16360
16361 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (wxColourData *)new wxColourData();
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16376 PyObject *resultobj = 0;
16377 wxColourData *arg1 = (wxColourData *) 0 ;
16378 void *argp1 = 0 ;
16379 int res1 = 0 ;
16380 PyObject *swig_obj[1] ;
16381
16382 if (!args) SWIG_fail;
16383 swig_obj[0] = args;
16384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16385 if (!SWIG_IsOK(res1)) {
16386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16387 }
16388 arg1 = reinterpret_cast< wxColourData * >(argp1);
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 delete arg1;
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 resultobj = SWIG_Py_Void();
16397 return resultobj;
16398 fail:
16399 return NULL;
16400 }
16401
16402
16403 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16404 PyObject *resultobj = 0;
16405 wxColourData *arg1 = (wxColourData *) 0 ;
16406 bool result;
16407 void *argp1 = 0 ;
16408 int res1 = 0 ;
16409 PyObject *swig_obj[1] ;
16410
16411 if (!args) SWIG_fail;
16412 swig_obj[0] = args;
16413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16414 if (!SWIG_IsOK(res1)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16416 }
16417 arg1 = reinterpret_cast< wxColourData * >(argp1);
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
16420 result = (bool)(arg1)->GetChooseFull();
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 {
16425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16426 }
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16434 PyObject *resultobj = 0;
16435 wxColourData *arg1 = (wxColourData *) 0 ;
16436 wxColour result;
16437 void *argp1 = 0 ;
16438 int res1 = 0 ;
16439 PyObject *swig_obj[1] ;
16440
16441 if (!args) SWIG_fail;
16442 swig_obj[0] = args;
16443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16444 if (!SWIG_IsOK(res1)) {
16445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16446 }
16447 arg1 = reinterpret_cast< wxColourData * >(argp1);
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (arg1)->GetColour();
16451 wxPyEndAllowThreads(__tstate);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 }
16454 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16455 return resultobj;
16456 fail:
16457 return NULL;
16458 }
16459
16460
16461 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16462 PyObject *resultobj = 0;
16463 wxColourData *arg1 = (wxColourData *) 0 ;
16464 int arg2 ;
16465 wxColour result;
16466 void *argp1 = 0 ;
16467 int res1 = 0 ;
16468 int val2 ;
16469 int ecode2 = 0 ;
16470 PyObject * obj0 = 0 ;
16471 PyObject * obj1 = 0 ;
16472 char * kwnames[] = {
16473 (char *) "self",(char *) "i", NULL
16474 };
16475
16476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16478 if (!SWIG_IsOK(res1)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16480 }
16481 arg1 = reinterpret_cast< wxColourData * >(argp1);
16482 ecode2 = SWIG_AsVal_int(obj1, &val2);
16483 if (!SWIG_IsOK(ecode2)) {
16484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16485 }
16486 arg2 = static_cast< int >(val2);
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 result = (arg1)->GetCustomColour(arg2);
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj = 0;
16502 wxColourData *arg1 = (wxColourData *) 0 ;
16503 int arg2 ;
16504 void *argp1 = 0 ;
16505 int res1 = 0 ;
16506 int val2 ;
16507 int ecode2 = 0 ;
16508 PyObject * obj0 = 0 ;
16509 PyObject * obj1 = 0 ;
16510 char * kwnames[] = {
16511 (char *) "self",(char *) "flag", NULL
16512 };
16513
16514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16516 if (!SWIG_IsOK(res1)) {
16517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16518 }
16519 arg1 = reinterpret_cast< wxColourData * >(argp1);
16520 ecode2 = SWIG_AsVal_int(obj1, &val2);
16521 if (!SWIG_IsOK(ecode2)) {
16522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16523 }
16524 arg2 = static_cast< int >(val2);
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 (arg1)->SetChooseFull(arg2);
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 resultobj = SWIG_Py_Void();
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj = 0;
16540 wxColourData *arg1 = (wxColourData *) 0 ;
16541 wxColour *arg2 = 0 ;
16542 void *argp1 = 0 ;
16543 int res1 = 0 ;
16544 wxColour temp2 ;
16545 PyObject * obj0 = 0 ;
16546 PyObject * obj1 = 0 ;
16547 char * kwnames[] = {
16548 (char *) "self",(char *) "colour", NULL
16549 };
16550
16551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16553 if (!SWIG_IsOK(res1)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16555 }
16556 arg1 = reinterpret_cast< wxColourData * >(argp1);
16557 {
16558 arg2 = &temp2;
16559 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16560 }
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 (arg1)->SetColour((wxColour const &)*arg2);
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 resultobj = SWIG_Py_Void();
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj = 0;
16576 wxColourData *arg1 = (wxColourData *) 0 ;
16577 int arg2 ;
16578 wxColour *arg3 = 0 ;
16579 void *argp1 = 0 ;
16580 int res1 = 0 ;
16581 int val2 ;
16582 int ecode2 = 0 ;
16583 wxColour temp3 ;
16584 PyObject * obj0 = 0 ;
16585 PyObject * obj1 = 0 ;
16586 PyObject * obj2 = 0 ;
16587 char * kwnames[] = {
16588 (char *) "self",(char *) "i",(char *) "colour", NULL
16589 };
16590
16591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16593 if (!SWIG_IsOK(res1)) {
16594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16595 }
16596 arg1 = reinterpret_cast< wxColourData * >(argp1);
16597 ecode2 = SWIG_AsVal_int(obj1, &val2);
16598 if (!SWIG_IsOK(ecode2)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16600 }
16601 arg2 = static_cast< int >(val2);
16602 {
16603 arg3 = &temp3;
16604 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16605 }
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 resultobj = SWIG_Py_Void();
16613 return resultobj;
16614 fail:
16615 return NULL;
16616 }
16617
16618
16619 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16620 PyObject *obj;
16621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16622 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16623 return SWIG_Py_Void();
16624 }
16625
16626 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16627 return SWIG_Python_InitShadowInstance(args);
16628 }
16629
16630 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj = 0;
16632 wxWindow *arg1 = (wxWindow *) 0 ;
16633 wxColourData *arg2 = (wxColourData *) NULL ;
16634 wxColourDialog *result = 0 ;
16635 void *argp1 = 0 ;
16636 int res1 = 0 ;
16637 void *argp2 = 0 ;
16638 int res2 = 0 ;
16639 PyObject * obj0 = 0 ;
16640 PyObject * obj1 = 0 ;
16641 char * kwnames[] = {
16642 (char *) "parent",(char *) "data", NULL
16643 };
16644
16645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16647 if (!SWIG_IsOK(res1)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16649 }
16650 arg1 = reinterpret_cast< wxWindow * >(argp1);
16651 if (obj1) {
16652 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16653 if (!SWIG_IsOK(res2)) {
16654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16655 }
16656 arg2 = reinterpret_cast< wxColourData * >(argp2);
16657 }
16658 {
16659 if (!wxPyCheckForApp()) SWIG_fail;
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16662 wxPyEndAllowThreads(__tstate);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16666 return resultobj;
16667 fail:
16668 return NULL;
16669 }
16670
16671
16672 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16673 PyObject *resultobj = 0;
16674 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16675 wxColourData *result = 0 ;
16676 void *argp1 = 0 ;
16677 int res1 = 0 ;
16678 PyObject *swig_obj[1] ;
16679
16680 if (!args) SWIG_fail;
16681 swig_obj[0] = args;
16682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16683 if (!SWIG_IsOK(res1)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16685 }
16686 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 {
16690 wxColourData &_result_ref = (arg1)->GetColourData();
16691 result = (wxColourData *) &_result_ref;
16692 }
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16697 return resultobj;
16698 fail:
16699 return NULL;
16700 }
16701
16702
16703 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16704 PyObject *obj;
16705 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16706 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16707 return SWIG_Py_Void();
16708 }
16709
16710 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16711 return SWIG_Python_InitShadowInstance(args);
16712 }
16713
16714 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16715 PyObject *resultobj = 0;
16716 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16717 wxColour const &arg2_defvalue = wxNullColour ;
16718 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16719 wxString const &arg3_defvalue = wxPyEmptyString ;
16720 wxString *arg3 = (wxString *) &arg3_defvalue ;
16721 wxColour result;
16722 void *argp1 = 0 ;
16723 int res1 = 0 ;
16724 wxColour temp2 ;
16725 bool temp3 = false ;
16726 PyObject * obj0 = 0 ;
16727 PyObject * obj1 = 0 ;
16728 PyObject * obj2 = 0 ;
16729 char * kwnames[] = {
16730 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16731 };
16732
16733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16734 if (obj0) {
16735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16736 if (!SWIG_IsOK(res1)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16738 }
16739 arg1 = reinterpret_cast< wxWindow * >(argp1);
16740 }
16741 if (obj1) {
16742 {
16743 arg2 = &temp2;
16744 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16745 }
16746 }
16747 if (obj2) {
16748 {
16749 arg3 = wxString_in_helper(obj2);
16750 if (arg3 == NULL) SWIG_fail;
16751 temp3 = true;
16752 }
16753 }
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16761 {
16762 if (temp3)
16763 delete arg3;
16764 }
16765 return resultobj;
16766 fail:
16767 {
16768 if (temp3)
16769 delete arg3;
16770 }
16771 return NULL;
16772 }
16773
16774
16775 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16776 PyObject *resultobj = 0;
16777 wxWindow *arg1 = (wxWindow *) 0 ;
16778 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16779 wxString *arg2 = (wxString *) &arg2_defvalue ;
16780 wxString const &arg3_defvalue = wxPyEmptyString ;
16781 wxString *arg3 = (wxString *) &arg3_defvalue ;
16782 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16783 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16784 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16785 wxSize const &arg6_defvalue = wxDefaultSize ;
16786 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16787 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16788 wxString *arg7 = (wxString *) &arg7_defvalue ;
16789 wxDirDialog *result = 0 ;
16790 void *argp1 = 0 ;
16791 int res1 = 0 ;
16792 bool temp2 = false ;
16793 bool temp3 = false ;
16794 long val4 ;
16795 int ecode4 = 0 ;
16796 wxPoint temp5 ;
16797 wxSize temp6 ;
16798 bool temp7 = false ;
16799 PyObject * obj0 = 0 ;
16800 PyObject * obj1 = 0 ;
16801 PyObject * obj2 = 0 ;
16802 PyObject * obj3 = 0 ;
16803 PyObject * obj4 = 0 ;
16804 PyObject * obj5 = 0 ;
16805 PyObject * obj6 = 0 ;
16806 char * kwnames[] = {
16807 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16808 };
16809
16810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16812 if (!SWIG_IsOK(res1)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16814 }
16815 arg1 = reinterpret_cast< wxWindow * >(argp1);
16816 if (obj1) {
16817 {
16818 arg2 = wxString_in_helper(obj1);
16819 if (arg2 == NULL) SWIG_fail;
16820 temp2 = true;
16821 }
16822 }
16823 if (obj2) {
16824 {
16825 arg3 = wxString_in_helper(obj2);
16826 if (arg3 == NULL) SWIG_fail;
16827 temp3 = true;
16828 }
16829 }
16830 if (obj3) {
16831 ecode4 = SWIG_AsVal_long(obj3, &val4);
16832 if (!SWIG_IsOK(ecode4)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16834 }
16835 arg4 = static_cast< long >(val4);
16836 }
16837 if (obj4) {
16838 {
16839 arg5 = &temp5;
16840 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16841 }
16842 }
16843 if (obj5) {
16844 {
16845 arg6 = &temp6;
16846 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16847 }
16848 }
16849 if (obj6) {
16850 {
16851 arg7 = wxString_in_helper(obj6);
16852 if (arg7 == NULL) SWIG_fail;
16853 temp7 = true;
16854 }
16855 }
16856 {
16857 if (!wxPyCheckForApp()) SWIG_fail;
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16860 wxPyEndAllowThreads(__tstate);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 }
16863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16864 {
16865 if (temp2)
16866 delete arg2;
16867 }
16868 {
16869 if (temp3)
16870 delete arg3;
16871 }
16872 {
16873 if (temp7)
16874 delete arg7;
16875 }
16876 return resultobj;
16877 fail:
16878 {
16879 if (temp2)
16880 delete arg2;
16881 }
16882 {
16883 if (temp3)
16884 delete arg3;
16885 }
16886 {
16887 if (temp7)
16888 delete arg7;
16889 }
16890 return NULL;
16891 }
16892
16893
16894 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16895 PyObject *resultobj = 0;
16896 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16897 wxString result;
16898 void *argp1 = 0 ;
16899 int res1 = 0 ;
16900 PyObject *swig_obj[1] ;
16901
16902 if (!args) SWIG_fail;
16903 swig_obj[0] = args;
16904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16905 if (!SWIG_IsOK(res1)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16907 }
16908 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 result = (arg1)->GetPath();
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 {
16916 #if wxUSE_UNICODE
16917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16918 #else
16919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16920 #endif
16921 }
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16929 PyObject *resultobj = 0;
16930 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16931 wxString result;
16932 void *argp1 = 0 ;
16933 int res1 = 0 ;
16934 PyObject *swig_obj[1] ;
16935
16936 if (!args) SWIG_fail;
16937 swig_obj[0] = args;
16938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16939 if (!SWIG_IsOK(res1)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16941 }
16942 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 result = (arg1)->GetMessage();
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 {
16950 #if wxUSE_UNICODE
16951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16952 #else
16953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16954 #endif
16955 }
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj = 0;
16964 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16965 wxString *arg2 = 0 ;
16966 void *argp1 = 0 ;
16967 int res1 = 0 ;
16968 bool temp2 = false ;
16969 PyObject * obj0 = 0 ;
16970 PyObject * obj1 = 0 ;
16971 char * kwnames[] = {
16972 (char *) "self",(char *) "message", NULL
16973 };
16974
16975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16977 if (!SWIG_IsOK(res1)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16979 }
16980 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16981 {
16982 arg2 = wxString_in_helper(obj1);
16983 if (arg2 == NULL) SWIG_fail;
16984 temp2 = true;
16985 }
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 (arg1)->SetMessage((wxString const &)*arg2);
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 resultobj = SWIG_Py_Void();
16993 {
16994 if (temp2)
16995 delete arg2;
16996 }
16997 return resultobj;
16998 fail:
16999 {
17000 if (temp2)
17001 delete arg2;
17002 }
17003 return NULL;
17004 }
17005
17006
17007 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj = 0;
17009 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17010 wxString *arg2 = 0 ;
17011 void *argp1 = 0 ;
17012 int res1 = 0 ;
17013 bool temp2 = false ;
17014 PyObject * obj0 = 0 ;
17015 PyObject * obj1 = 0 ;
17016 char * kwnames[] = {
17017 (char *) "self",(char *) "path", NULL
17018 };
17019
17020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17022 if (!SWIG_IsOK(res1)) {
17023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17024 }
17025 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17026 {
17027 arg2 = wxString_in_helper(obj1);
17028 if (arg2 == NULL) SWIG_fail;
17029 temp2 = true;
17030 }
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 (arg1)->SetPath((wxString const &)*arg2);
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = SWIG_Py_Void();
17038 {
17039 if (temp2)
17040 delete arg2;
17041 }
17042 return resultobj;
17043 fail:
17044 {
17045 if (temp2)
17046 delete arg2;
17047 }
17048 return NULL;
17049 }
17050
17051
17052 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17053 PyObject *obj;
17054 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17055 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17056 return SWIG_Py_Void();
17057 }
17058
17059 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17060 return SWIG_Python_InitShadowInstance(args);
17061 }
17062
17063 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj = 0;
17065 wxWindow *arg1 = (wxWindow *) 0 ;
17066 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17067 wxString *arg2 = (wxString *) &arg2_defvalue ;
17068 wxString const &arg3_defvalue = wxPyEmptyString ;
17069 wxString *arg3 = (wxString *) &arg3_defvalue ;
17070 wxString const &arg4_defvalue = wxPyEmptyString ;
17071 wxString *arg4 = (wxString *) &arg4_defvalue ;
17072 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17073 wxString *arg5 = (wxString *) &arg5_defvalue ;
17074 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17075 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17076 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17077 wxFileDialog *result = 0 ;
17078 void *argp1 = 0 ;
17079 int res1 = 0 ;
17080 bool temp2 = false ;
17081 bool temp3 = false ;
17082 bool temp4 = false ;
17083 bool temp5 = false ;
17084 long val6 ;
17085 int ecode6 = 0 ;
17086 wxPoint temp7 ;
17087 PyObject * obj0 = 0 ;
17088 PyObject * obj1 = 0 ;
17089 PyObject * obj2 = 0 ;
17090 PyObject * obj3 = 0 ;
17091 PyObject * obj4 = 0 ;
17092 PyObject * obj5 = 0 ;
17093 PyObject * obj6 = 0 ;
17094 char * kwnames[] = {
17095 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17096 };
17097
17098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17100 if (!SWIG_IsOK(res1)) {
17101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17102 }
17103 arg1 = reinterpret_cast< wxWindow * >(argp1);
17104 if (obj1) {
17105 {
17106 arg2 = wxString_in_helper(obj1);
17107 if (arg2 == NULL) SWIG_fail;
17108 temp2 = true;
17109 }
17110 }
17111 if (obj2) {
17112 {
17113 arg3 = wxString_in_helper(obj2);
17114 if (arg3 == NULL) SWIG_fail;
17115 temp3 = true;
17116 }
17117 }
17118 if (obj3) {
17119 {
17120 arg4 = wxString_in_helper(obj3);
17121 if (arg4 == NULL) SWIG_fail;
17122 temp4 = true;
17123 }
17124 }
17125 if (obj4) {
17126 {
17127 arg5 = wxString_in_helper(obj4);
17128 if (arg5 == NULL) SWIG_fail;
17129 temp5 = true;
17130 }
17131 }
17132 if (obj5) {
17133 ecode6 = SWIG_AsVal_long(obj5, &val6);
17134 if (!SWIG_IsOK(ecode6)) {
17135 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17136 }
17137 arg6 = static_cast< long >(val6);
17138 }
17139 if (obj6) {
17140 {
17141 arg7 = &temp7;
17142 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17143 }
17144 }
17145 {
17146 if (!wxPyCheckForApp()) SWIG_fail;
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17149 wxPyEndAllowThreads(__tstate);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17153 {
17154 if (temp2)
17155 delete arg2;
17156 }
17157 {
17158 if (temp3)
17159 delete arg3;
17160 }
17161 {
17162 if (temp4)
17163 delete arg4;
17164 }
17165 {
17166 if (temp5)
17167 delete arg5;
17168 }
17169 return resultobj;
17170 fail:
17171 {
17172 if (temp2)
17173 delete arg2;
17174 }
17175 {
17176 if (temp3)
17177 delete arg3;
17178 }
17179 {
17180 if (temp4)
17181 delete arg4;
17182 }
17183 {
17184 if (temp5)
17185 delete arg5;
17186 }
17187 return NULL;
17188 }
17189
17190
17191 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17192 PyObject *resultobj = 0;
17193 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17194 wxString *arg2 = 0 ;
17195 void *argp1 = 0 ;
17196 int res1 = 0 ;
17197 bool temp2 = false ;
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 char * kwnames[] = {
17201 (char *) "self",(char *) "message", NULL
17202 };
17203
17204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17206 if (!SWIG_IsOK(res1)) {
17207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17208 }
17209 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17210 {
17211 arg2 = wxString_in_helper(obj1);
17212 if (arg2 == NULL) SWIG_fail;
17213 temp2 = true;
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 (arg1)->SetMessage((wxString const &)*arg2);
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 resultobj = SWIG_Py_Void();
17222 {
17223 if (temp2)
17224 delete arg2;
17225 }
17226 return resultobj;
17227 fail:
17228 {
17229 if (temp2)
17230 delete arg2;
17231 }
17232 return NULL;
17233 }
17234
17235
17236 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj = 0;
17238 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17239 wxString *arg2 = 0 ;
17240 void *argp1 = 0 ;
17241 int res1 = 0 ;
17242 bool temp2 = false ;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 char * kwnames[] = {
17246 (char *) "self",(char *) "path", NULL
17247 };
17248
17249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17251 if (!SWIG_IsOK(res1)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17253 }
17254 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17255 {
17256 arg2 = wxString_in_helper(obj1);
17257 if (arg2 == NULL) SWIG_fail;
17258 temp2 = true;
17259 }
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 (arg1)->SetPath((wxString const &)*arg2);
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
17266 resultobj = SWIG_Py_Void();
17267 {
17268 if (temp2)
17269 delete arg2;
17270 }
17271 return resultobj;
17272 fail:
17273 {
17274 if (temp2)
17275 delete arg2;
17276 }
17277 return NULL;
17278 }
17279
17280
17281 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17282 PyObject *resultobj = 0;
17283 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17284 wxString *arg2 = 0 ;
17285 void *argp1 = 0 ;
17286 int res1 = 0 ;
17287 bool temp2 = false ;
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
17290 char * kwnames[] = {
17291 (char *) "self",(char *) "dir", NULL
17292 };
17293
17294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17296 if (!SWIG_IsOK(res1)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17298 }
17299 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17300 {
17301 arg2 = wxString_in_helper(obj1);
17302 if (arg2 == NULL) SWIG_fail;
17303 temp2 = true;
17304 }
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 (arg1)->SetDirectory((wxString const &)*arg2);
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 resultobj = SWIG_Py_Void();
17312 {
17313 if (temp2)
17314 delete arg2;
17315 }
17316 return resultobj;
17317 fail:
17318 {
17319 if (temp2)
17320 delete arg2;
17321 }
17322 return NULL;
17323 }
17324
17325
17326 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17327 PyObject *resultobj = 0;
17328 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17329 wxString *arg2 = 0 ;
17330 void *argp1 = 0 ;
17331 int res1 = 0 ;
17332 bool temp2 = false ;
17333 PyObject * obj0 = 0 ;
17334 PyObject * obj1 = 0 ;
17335 char * kwnames[] = {
17336 (char *) "self",(char *) "name", NULL
17337 };
17338
17339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17341 if (!SWIG_IsOK(res1)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17343 }
17344 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17345 {
17346 arg2 = wxString_in_helper(obj1);
17347 if (arg2 == NULL) SWIG_fail;
17348 temp2 = true;
17349 }
17350 {
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 (arg1)->SetFilename((wxString const &)*arg2);
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 resultobj = SWIG_Py_Void();
17357 {
17358 if (temp2)
17359 delete arg2;
17360 }
17361 return resultobj;
17362 fail:
17363 {
17364 if (temp2)
17365 delete arg2;
17366 }
17367 return NULL;
17368 }
17369
17370
17371 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj = 0;
17373 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17374 wxString *arg2 = 0 ;
17375 void *argp1 = 0 ;
17376 int res1 = 0 ;
17377 bool temp2 = false ;
17378 PyObject * obj0 = 0 ;
17379 PyObject * obj1 = 0 ;
17380 char * kwnames[] = {
17381 (char *) "self",(char *) "wildCard", NULL
17382 };
17383
17384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17386 if (!SWIG_IsOK(res1)) {
17387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17388 }
17389 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17390 {
17391 arg2 = wxString_in_helper(obj1);
17392 if (arg2 == NULL) SWIG_fail;
17393 temp2 = true;
17394 }
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 (arg1)->SetWildcard((wxString const &)*arg2);
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 resultobj = SWIG_Py_Void();
17402 {
17403 if (temp2)
17404 delete arg2;
17405 }
17406 return resultobj;
17407 fail:
17408 {
17409 if (temp2)
17410 delete arg2;
17411 }
17412 return NULL;
17413 }
17414
17415
17416 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj = 0;
17418 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17419 int arg2 ;
17420 void *argp1 = 0 ;
17421 int res1 = 0 ;
17422 int val2 ;
17423 int ecode2 = 0 ;
17424 PyObject * obj0 = 0 ;
17425 PyObject * obj1 = 0 ;
17426 char * kwnames[] = {
17427 (char *) "self",(char *) "filterIndex", NULL
17428 };
17429
17430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17432 if (!SWIG_IsOK(res1)) {
17433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17434 }
17435 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17436 ecode2 = SWIG_AsVal_int(obj1, &val2);
17437 if (!SWIG_IsOK(ecode2)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17439 }
17440 arg2 = static_cast< int >(val2);
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 (arg1)->SetFilterIndex(arg2);
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = SWIG_Py_Void();
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17455 PyObject *resultobj = 0;
17456 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17457 wxString result;
17458 void *argp1 = 0 ;
17459 int res1 = 0 ;
17460 PyObject *swig_obj[1] ;
17461
17462 if (!args) SWIG_fail;
17463 swig_obj[0] = args;
17464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17465 if (!SWIG_IsOK(res1)) {
17466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17467 }
17468 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 result = ((wxFileDialog const *)arg1)->GetMessage();
17472 wxPyEndAllowThreads(__tstate);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 }
17475 {
17476 #if wxUSE_UNICODE
17477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17478 #else
17479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17480 #endif
17481 }
17482 return resultobj;
17483 fail:
17484 return NULL;
17485 }
17486
17487
17488 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17489 PyObject *resultobj = 0;
17490 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17491 wxString result;
17492 void *argp1 = 0 ;
17493 int res1 = 0 ;
17494 PyObject *swig_obj[1] ;
17495
17496 if (!args) SWIG_fail;
17497 swig_obj[0] = args;
17498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17499 if (!SWIG_IsOK(res1)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17501 }
17502 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17503 {
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 result = ((wxFileDialog const *)arg1)->GetPath();
17506 wxPyEndAllowThreads(__tstate);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 }
17509 {
17510 #if wxUSE_UNICODE
17511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17512 #else
17513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17514 #endif
17515 }
17516 return resultobj;
17517 fail:
17518 return NULL;
17519 }
17520
17521
17522 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17523 PyObject *resultobj = 0;
17524 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17525 wxString result;
17526 void *argp1 = 0 ;
17527 int res1 = 0 ;
17528 PyObject *swig_obj[1] ;
17529
17530 if (!args) SWIG_fail;
17531 swig_obj[0] = args;
17532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17533 if (!SWIG_IsOK(res1)) {
17534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17535 }
17536 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 result = ((wxFileDialog const *)arg1)->GetDirectory();
17540 wxPyEndAllowThreads(__tstate);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 {
17544 #if wxUSE_UNICODE
17545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17546 #else
17547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17548 #endif
17549 }
17550 return resultobj;
17551 fail:
17552 return NULL;
17553 }
17554
17555
17556 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17557 PyObject *resultobj = 0;
17558 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17559 wxString result;
17560 void *argp1 = 0 ;
17561 int res1 = 0 ;
17562 PyObject *swig_obj[1] ;
17563
17564 if (!args) SWIG_fail;
17565 swig_obj[0] = args;
17566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17567 if (!SWIG_IsOK(res1)) {
17568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17569 }
17570 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = ((wxFileDialog const *)arg1)->GetFilename();
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 {
17578 #if wxUSE_UNICODE
17579 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17580 #else
17581 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17582 #endif
17583 }
17584 return resultobj;
17585 fail:
17586 return NULL;
17587 }
17588
17589
17590 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17591 PyObject *resultobj = 0;
17592 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17593 wxString result;
17594 void *argp1 = 0 ;
17595 int res1 = 0 ;
17596 PyObject *swig_obj[1] ;
17597
17598 if (!args) SWIG_fail;
17599 swig_obj[0] = args;
17600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17601 if (!SWIG_IsOK(res1)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17603 }
17604 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = ((wxFileDialog const *)arg1)->GetWildcard();
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612 #if wxUSE_UNICODE
17613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17614 #else
17615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17616 #endif
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17625 PyObject *resultobj = 0;
17626 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17627 int result;
17628 void *argp1 = 0 ;
17629 int res1 = 0 ;
17630 PyObject *swig_obj[1] ;
17631
17632 if (!args) SWIG_fail;
17633 swig_obj[0] = args;
17634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17635 if (!SWIG_IsOK(res1)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17637 }
17638 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 resultobj = SWIG_From_int(static_cast< int >(result));
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17653 PyObject *resultobj = 0;
17654 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17655 PyObject *result = 0 ;
17656 void *argp1 = 0 ;
17657 int res1 = 0 ;
17658 PyObject *swig_obj[1] ;
17659
17660 if (!args) SWIG_fail;
17661 swig_obj[0] = args;
17662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17665 }
17666 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 resultobj = result;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677 }
17678
17679
17680 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17681 PyObject *resultobj = 0;
17682 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17683 PyObject *result = 0 ;
17684 void *argp1 = 0 ;
17685 int res1 = 0 ;
17686 PyObject *swig_obj[1] ;
17687
17688 if (!args) SWIG_fail;
17689 swig_obj[0] = args;
17690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17691 if (!SWIG_IsOK(res1)) {
17692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17693 }
17694 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17698 wxPyEndAllowThreads(__tstate);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 resultobj = result;
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17709 PyObject *obj;
17710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17711 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17712 return SWIG_Py_Void();
17713 }
17714
17715 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17716 return SWIG_Python_InitShadowInstance(args);
17717 }
17718
17719 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17720 PyObject *resultobj = 0;
17721 wxWindow *arg1 = (wxWindow *) 0 ;
17722 wxString *arg2 = 0 ;
17723 wxString *arg3 = 0 ;
17724 int arg4 = (int) 0 ;
17725 wxString *arg5 = (wxString *) NULL ;
17726 long arg6 = (long) wxCHOICEDLG_STYLE ;
17727 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17728 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17729 wxMultiChoiceDialog *result = 0 ;
17730 void *argp1 = 0 ;
17731 int res1 = 0 ;
17732 bool temp2 = false ;
17733 bool temp3 = false ;
17734 long val6 ;
17735 int ecode6 = 0 ;
17736 wxPoint temp7 ;
17737 PyObject * obj0 = 0 ;
17738 PyObject * obj1 = 0 ;
17739 PyObject * obj2 = 0 ;
17740 PyObject * obj3 = 0 ;
17741 PyObject * obj4 = 0 ;
17742 PyObject * obj5 = 0 ;
17743 char * kwnames[] = {
17744 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17745 };
17746
17747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17749 if (!SWIG_IsOK(res1)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17751 }
17752 arg1 = reinterpret_cast< wxWindow * >(argp1);
17753 {
17754 arg2 = wxString_in_helper(obj1);
17755 if (arg2 == NULL) SWIG_fail;
17756 temp2 = true;
17757 }
17758 {
17759 arg3 = wxString_in_helper(obj2);
17760 if (arg3 == NULL) SWIG_fail;
17761 temp3 = true;
17762 }
17763 if (obj3) {
17764 {
17765 arg4 = PyList_Size(obj3);
17766 arg5 = wxString_LIST_helper(obj3);
17767 if (arg5 == NULL) SWIG_fail;
17768 }
17769 }
17770 if (obj4) {
17771 ecode6 = SWIG_AsVal_long(obj4, &val6);
17772 if (!SWIG_IsOK(ecode6)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17774 }
17775 arg6 = static_cast< long >(val6);
17776 }
17777 if (obj5) {
17778 {
17779 arg7 = &temp7;
17780 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17781 }
17782 }
17783 {
17784 if (!wxPyCheckForApp()) SWIG_fail;
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17791 {
17792 if (temp2)
17793 delete arg2;
17794 }
17795 {
17796 if (temp3)
17797 delete arg3;
17798 }
17799 {
17800 if (arg5) delete [] arg5;
17801 }
17802 return resultobj;
17803 fail:
17804 {
17805 if (temp2)
17806 delete arg2;
17807 }
17808 {
17809 if (temp3)
17810 delete arg3;
17811 }
17812 {
17813 if (arg5) delete [] arg5;
17814 }
17815 return NULL;
17816 }
17817
17818
17819 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj = 0;
17821 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17822 wxArrayInt *arg2 = 0 ;
17823 void *argp1 = 0 ;
17824 int res1 = 0 ;
17825 bool temp2 = false ;
17826 PyObject * obj0 = 0 ;
17827 PyObject * obj1 = 0 ;
17828 char * kwnames[] = {
17829 (char *) "self",(char *) "selections", NULL
17830 };
17831
17832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17834 if (!SWIG_IsOK(res1)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17836 }
17837 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17838 {
17839 if (! PySequence_Check(obj1)) {
17840 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17841 SWIG_fail;
17842 }
17843 arg2 = new wxArrayInt;
17844 temp2 = true;
17845 int i, len=PySequence_Length(obj1);
17846 for (i=0; i<len; i++) {
17847 PyObject* item = PySequence_GetItem(obj1, i);
17848 PyObject* number = PyNumber_Int(item);
17849 arg2->Add(PyInt_AS_LONG(number));
17850 Py_DECREF(item);
17851 Py_DECREF(number);
17852 }
17853 }
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = SWIG_Py_Void();
17861 {
17862 if (temp2) delete arg2;
17863 }
17864 return resultobj;
17865 fail:
17866 {
17867 if (temp2) delete arg2;
17868 }
17869 return NULL;
17870 }
17871
17872
17873 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17874 PyObject *resultobj = 0;
17875 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17876 PyObject *result = 0 ;
17877 void *argp1 = 0 ;
17878 int res1 = 0 ;
17879 PyObject *swig_obj[1] ;
17880
17881 if (!args) SWIG_fail;
17882 swig_obj[0] = args;
17883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17884 if (!SWIG_IsOK(res1)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17886 }
17887 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = result;
17895 return resultobj;
17896 fail:
17897 return NULL;
17898 }
17899
17900
17901 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17902 PyObject *obj;
17903 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17904 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17905 return SWIG_Py_Void();
17906 }
17907
17908 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17909 return SWIG_Python_InitShadowInstance(args);
17910 }
17911
17912 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17913 PyObject *resultobj = 0;
17914 wxWindow *arg1 = (wxWindow *) 0 ;
17915 wxString *arg2 = 0 ;
17916 wxString *arg3 = 0 ;
17917 int arg4 ;
17918 wxString *arg5 = (wxString *) 0 ;
17919 long arg6 = (long) wxCHOICEDLG_STYLE ;
17920 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17921 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17922 wxSingleChoiceDialog *result = 0 ;
17923 void *argp1 = 0 ;
17924 int res1 = 0 ;
17925 bool temp2 = false ;
17926 bool temp3 = false ;
17927 long val6 ;
17928 int ecode6 = 0 ;
17929 wxPoint temp7 ;
17930 PyObject * obj0 = 0 ;
17931 PyObject * obj1 = 0 ;
17932 PyObject * obj2 = 0 ;
17933 PyObject * obj3 = 0 ;
17934 PyObject * obj4 = 0 ;
17935 PyObject * obj5 = 0 ;
17936 char * kwnames[] = {
17937 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17938 };
17939
17940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17942 if (!SWIG_IsOK(res1)) {
17943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17944 }
17945 arg1 = reinterpret_cast< wxWindow * >(argp1);
17946 {
17947 arg2 = wxString_in_helper(obj1);
17948 if (arg2 == NULL) SWIG_fail;
17949 temp2 = true;
17950 }
17951 {
17952 arg3 = wxString_in_helper(obj2);
17953 if (arg3 == NULL) SWIG_fail;
17954 temp3 = true;
17955 }
17956 {
17957 arg4 = PyList_Size(obj3);
17958 arg5 = wxString_LIST_helper(obj3);
17959 if (arg5 == NULL) SWIG_fail;
17960 }
17961 if (obj4) {
17962 ecode6 = SWIG_AsVal_long(obj4, &val6);
17963 if (!SWIG_IsOK(ecode6)) {
17964 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17965 }
17966 arg6 = static_cast< long >(val6);
17967 }
17968 if (obj5) {
17969 {
17970 arg7 = &temp7;
17971 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17972 }
17973 }
17974 {
17975 if (!wxPyCheckForApp()) SWIG_fail;
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17982 {
17983 if (temp2)
17984 delete arg2;
17985 }
17986 {
17987 if (temp3)
17988 delete arg3;
17989 }
17990 {
17991 if (arg5) delete [] arg5;
17992 }
17993 return resultobj;
17994 fail:
17995 {
17996 if (temp2)
17997 delete arg2;
17998 }
17999 {
18000 if (temp3)
18001 delete arg3;
18002 }
18003 {
18004 if (arg5) delete [] arg5;
18005 }
18006 return NULL;
18007 }
18008
18009
18010 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18011 PyObject *resultobj = 0;
18012 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18013 int result;
18014 void *argp1 = 0 ;
18015 int res1 = 0 ;
18016 PyObject *swig_obj[1] ;
18017
18018 if (!args) SWIG_fail;
18019 swig_obj[0] = args;
18020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18021 if (!SWIG_IsOK(res1)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18023 }
18024 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (int)(arg1)->GetSelection();
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = SWIG_From_int(static_cast< int >(result));
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18039 PyObject *resultobj = 0;
18040 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18041 wxString result;
18042 void *argp1 = 0 ;
18043 int res1 = 0 ;
18044 PyObject *swig_obj[1] ;
18045
18046 if (!args) SWIG_fail;
18047 swig_obj[0] = args;
18048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18049 if (!SWIG_IsOK(res1)) {
18050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18051 }
18052 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (arg1)->GetStringSelection();
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 {
18060 #if wxUSE_UNICODE
18061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18062 #else
18063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18064 #endif
18065 }
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj = 0;
18074 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18075 int arg2 ;
18076 void *argp1 = 0 ;
18077 int res1 = 0 ;
18078 int val2 ;
18079 int ecode2 = 0 ;
18080 PyObject * obj0 = 0 ;
18081 PyObject * obj1 = 0 ;
18082 char * kwnames[] = {
18083 (char *) "self",(char *) "sel", NULL
18084 };
18085
18086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18088 if (!SWIG_IsOK(res1)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18090 }
18091 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18092 ecode2 = SWIG_AsVal_int(obj1, &val2);
18093 if (!SWIG_IsOK(ecode2)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18095 }
18096 arg2 = static_cast< int >(val2);
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 (arg1)->SetSelection(arg2);
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 resultobj = SWIG_Py_Void();
18104 return resultobj;
18105 fail:
18106 return NULL;
18107 }
18108
18109
18110 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18111 PyObject *obj;
18112 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18113 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18114 return SWIG_Py_Void();
18115 }
18116
18117 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18118 return SWIG_Python_InitShadowInstance(args);
18119 }
18120
18121 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj = 0;
18123 wxWindow *arg1 = (wxWindow *) 0 ;
18124 wxString *arg2 = 0 ;
18125 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18126 wxString *arg3 = (wxString *) &arg3_defvalue ;
18127 wxString const &arg4_defvalue = wxPyEmptyString ;
18128 wxString *arg4 = (wxString *) &arg4_defvalue ;
18129 long arg5 = (long) wxTextEntryDialogStyle ;
18130 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18131 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18132 wxTextEntryDialog *result = 0 ;
18133 void *argp1 = 0 ;
18134 int res1 = 0 ;
18135 bool temp2 = false ;
18136 bool temp3 = false ;
18137 bool temp4 = false ;
18138 long val5 ;
18139 int ecode5 = 0 ;
18140 wxPoint temp6 ;
18141 PyObject * obj0 = 0 ;
18142 PyObject * obj1 = 0 ;
18143 PyObject * obj2 = 0 ;
18144 PyObject * obj3 = 0 ;
18145 PyObject * obj4 = 0 ;
18146 PyObject * obj5 = 0 ;
18147 char * kwnames[] = {
18148 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18149 };
18150
18151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18153 if (!SWIG_IsOK(res1)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18155 }
18156 arg1 = reinterpret_cast< wxWindow * >(argp1);
18157 {
18158 arg2 = wxString_in_helper(obj1);
18159 if (arg2 == NULL) SWIG_fail;
18160 temp2 = true;
18161 }
18162 if (obj2) {
18163 {
18164 arg3 = wxString_in_helper(obj2);
18165 if (arg3 == NULL) SWIG_fail;
18166 temp3 = true;
18167 }
18168 }
18169 if (obj3) {
18170 {
18171 arg4 = wxString_in_helper(obj3);
18172 if (arg4 == NULL) SWIG_fail;
18173 temp4 = true;
18174 }
18175 }
18176 if (obj4) {
18177 ecode5 = SWIG_AsVal_long(obj4, &val5);
18178 if (!SWIG_IsOK(ecode5)) {
18179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18180 }
18181 arg5 = static_cast< long >(val5);
18182 }
18183 if (obj5) {
18184 {
18185 arg6 = &temp6;
18186 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18187 }
18188 }
18189 {
18190 if (!wxPyCheckForApp()) SWIG_fail;
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18197 {
18198 if (temp2)
18199 delete arg2;
18200 }
18201 {
18202 if (temp3)
18203 delete arg3;
18204 }
18205 {
18206 if (temp4)
18207 delete arg4;
18208 }
18209 return resultobj;
18210 fail:
18211 {
18212 if (temp2)
18213 delete arg2;
18214 }
18215 {
18216 if (temp3)
18217 delete arg3;
18218 }
18219 {
18220 if (temp4)
18221 delete arg4;
18222 }
18223 return NULL;
18224 }
18225
18226
18227 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18228 PyObject *resultobj = 0;
18229 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18230 wxString result;
18231 void *argp1 = 0 ;
18232 int res1 = 0 ;
18233 PyObject *swig_obj[1] ;
18234
18235 if (!args) SWIG_fail;
18236 swig_obj[0] = args;
18237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18238 if (!SWIG_IsOK(res1)) {
18239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18240 }
18241 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 result = (arg1)->GetValue();
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 {
18249 #if wxUSE_UNICODE
18250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18251 #else
18252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18253 #endif
18254 }
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj = 0;
18263 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18264 wxString *arg2 = 0 ;
18265 void *argp1 = 0 ;
18266 int res1 = 0 ;
18267 bool temp2 = false ;
18268 PyObject * obj0 = 0 ;
18269 PyObject * obj1 = 0 ;
18270 char * kwnames[] = {
18271 (char *) "self",(char *) "value", NULL
18272 };
18273
18274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18276 if (!SWIG_IsOK(res1)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18278 }
18279 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18280 {
18281 arg2 = wxString_in_helper(obj1);
18282 if (arg2 == NULL) SWIG_fail;
18283 temp2 = true;
18284 }
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 (arg1)->SetValue((wxString const &)*arg2);
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 resultobj = SWIG_Py_Void();
18292 {
18293 if (temp2)
18294 delete arg2;
18295 }
18296 return resultobj;
18297 fail:
18298 {
18299 if (temp2)
18300 delete arg2;
18301 }
18302 return NULL;
18303 }
18304
18305
18306 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18307 PyObject *obj;
18308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18309 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18310 return SWIG_Py_Void();
18311 }
18312
18313 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18314 return SWIG_Python_InitShadowInstance(args);
18315 }
18316
18317 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18318 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18319 return 1;
18320 }
18321
18322
18323 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18324 PyObject *pyobj = 0;
18325
18326 {
18327 #if wxUSE_UNICODE
18328 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18329 #else
18330 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18331 #endif
18332 }
18333 return pyobj;
18334 }
18335
18336
18337 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj = 0;
18339 wxWindow *arg1 = (wxWindow *) 0 ;
18340 wxString *arg2 = 0 ;
18341 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18342 wxString *arg3 = (wxString *) &arg3_defvalue ;
18343 wxString const &arg4_defvalue = wxPyEmptyString ;
18344 wxString *arg4 = (wxString *) &arg4_defvalue ;
18345 long arg5 = (long) wxTextEntryDialogStyle ;
18346 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18347 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18348 wxPasswordEntryDialog *result = 0 ;
18349 void *argp1 = 0 ;
18350 int res1 = 0 ;
18351 bool temp2 = false ;
18352 bool temp3 = false ;
18353 bool temp4 = false ;
18354 long val5 ;
18355 int ecode5 = 0 ;
18356 wxPoint temp6 ;
18357 PyObject * obj0 = 0 ;
18358 PyObject * obj1 = 0 ;
18359 PyObject * obj2 = 0 ;
18360 PyObject * obj3 = 0 ;
18361 PyObject * obj4 = 0 ;
18362 PyObject * obj5 = 0 ;
18363 char * kwnames[] = {
18364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18365 };
18366
18367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18369 if (!SWIG_IsOK(res1)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18371 }
18372 arg1 = reinterpret_cast< wxWindow * >(argp1);
18373 {
18374 arg2 = wxString_in_helper(obj1);
18375 if (arg2 == NULL) SWIG_fail;
18376 temp2 = true;
18377 }
18378 if (obj2) {
18379 {
18380 arg3 = wxString_in_helper(obj2);
18381 if (arg3 == NULL) SWIG_fail;
18382 temp3 = true;
18383 }
18384 }
18385 if (obj3) {
18386 {
18387 arg4 = wxString_in_helper(obj3);
18388 if (arg4 == NULL) SWIG_fail;
18389 temp4 = true;
18390 }
18391 }
18392 if (obj4) {
18393 ecode5 = SWIG_AsVal_long(obj4, &val5);
18394 if (!SWIG_IsOK(ecode5)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18396 }
18397 arg5 = static_cast< long >(val5);
18398 }
18399 if (obj5) {
18400 {
18401 arg6 = &temp6;
18402 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18403 }
18404 }
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18412 {
18413 if (temp2)
18414 delete arg2;
18415 }
18416 {
18417 if (temp3)
18418 delete arg3;
18419 }
18420 {
18421 if (temp4)
18422 delete arg4;
18423 }
18424 return resultobj;
18425 fail:
18426 {
18427 if (temp2)
18428 delete arg2;
18429 }
18430 {
18431 if (temp3)
18432 delete arg3;
18433 }
18434 {
18435 if (temp4)
18436 delete arg4;
18437 }
18438 return NULL;
18439 }
18440
18441
18442 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18443 PyObject *obj;
18444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18446 return SWIG_Py_Void();
18447 }
18448
18449 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18450 return SWIG_Python_InitShadowInstance(args);
18451 }
18452
18453 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj = 0;
18455 wxWindow *arg1 = (wxWindow *) 0 ;
18456 wxString *arg2 = 0 ;
18457 wxString *arg3 = 0 ;
18458 wxString *arg4 = 0 ;
18459 long arg5 ;
18460 long arg6 ;
18461 long arg7 ;
18462 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18463 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18464 wxNumberEntryDialog *result = 0 ;
18465 void *argp1 = 0 ;
18466 int res1 = 0 ;
18467 bool temp2 = false ;
18468 bool temp3 = false ;
18469 bool temp4 = false ;
18470 long val5 ;
18471 int ecode5 = 0 ;
18472 long val6 ;
18473 int ecode6 = 0 ;
18474 long val7 ;
18475 int ecode7 = 0 ;
18476 wxPoint temp8 ;
18477 PyObject * obj0 = 0 ;
18478 PyObject * obj1 = 0 ;
18479 PyObject * obj2 = 0 ;
18480 PyObject * obj3 = 0 ;
18481 PyObject * obj4 = 0 ;
18482 PyObject * obj5 = 0 ;
18483 PyObject * obj6 = 0 ;
18484 PyObject * obj7 = 0 ;
18485 char * kwnames[] = {
18486 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18487 };
18488
18489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18491 if (!SWIG_IsOK(res1)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18493 }
18494 arg1 = reinterpret_cast< wxWindow * >(argp1);
18495 {
18496 arg2 = wxString_in_helper(obj1);
18497 if (arg2 == NULL) SWIG_fail;
18498 temp2 = true;
18499 }
18500 {
18501 arg3 = wxString_in_helper(obj2);
18502 if (arg3 == NULL) SWIG_fail;
18503 temp3 = true;
18504 }
18505 {
18506 arg4 = wxString_in_helper(obj3);
18507 if (arg4 == NULL) SWIG_fail;
18508 temp4 = true;
18509 }
18510 ecode5 = SWIG_AsVal_long(obj4, &val5);
18511 if (!SWIG_IsOK(ecode5)) {
18512 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18513 }
18514 arg5 = static_cast< long >(val5);
18515 ecode6 = SWIG_AsVal_long(obj5, &val6);
18516 if (!SWIG_IsOK(ecode6)) {
18517 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18518 }
18519 arg6 = static_cast< long >(val6);
18520 ecode7 = SWIG_AsVal_long(obj6, &val7);
18521 if (!SWIG_IsOK(ecode7)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18523 }
18524 arg7 = static_cast< long >(val7);
18525 if (obj7) {
18526 {
18527 arg8 = &temp8;
18528 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18529 }
18530 }
18531 {
18532 if (!wxPyCheckForApp()) SWIG_fail;
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18539 {
18540 if (temp2)
18541 delete arg2;
18542 }
18543 {
18544 if (temp3)
18545 delete arg3;
18546 }
18547 {
18548 if (temp4)
18549 delete arg4;
18550 }
18551 return resultobj;
18552 fail:
18553 {
18554 if (temp2)
18555 delete arg2;
18556 }
18557 {
18558 if (temp3)
18559 delete arg3;
18560 }
18561 {
18562 if (temp4)
18563 delete arg4;
18564 }
18565 return NULL;
18566 }
18567
18568
18569 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18570 PyObject *resultobj = 0;
18571 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18572 long result;
18573 void *argp1 = 0 ;
18574 int res1 = 0 ;
18575 PyObject *swig_obj[1] ;
18576
18577 if (!args) SWIG_fail;
18578 swig_obj[0] = args;
18579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18580 if (!SWIG_IsOK(res1)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18582 }
18583 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 result = (long)(arg1)->GetValue();
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 resultobj = SWIG_From_long(static_cast< long >(result));
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18598 PyObject *obj;
18599 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18600 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18601 return SWIG_Py_Void();
18602 }
18603
18604 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18605 return SWIG_Python_InitShadowInstance(args);
18606 }
18607
18608 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18609 PyObject *resultobj = 0;
18610 wxFontData *result = 0 ;
18611
18612 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18613 {
18614 PyThreadState* __tstate = wxPyBeginAllowThreads();
18615 result = (wxFontData *)new wxFontData();
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18620 return resultobj;
18621 fail:
18622 return NULL;
18623 }
18624
18625
18626 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18627 PyObject *resultobj = 0;
18628 wxFontData *arg1 = (wxFontData *) 0 ;
18629 void *argp1 = 0 ;
18630 int res1 = 0 ;
18631 PyObject *swig_obj[1] ;
18632
18633 if (!args) SWIG_fail;
18634 swig_obj[0] = args;
18635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18636 if (!SWIG_IsOK(res1)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18638 }
18639 arg1 = reinterpret_cast< wxFontData * >(argp1);
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 delete arg1;
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 resultobj = SWIG_Py_Void();
18648 return resultobj;
18649 fail:
18650 return NULL;
18651 }
18652
18653
18654 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18655 PyObject *resultobj = 0;
18656 wxFontData *arg1 = (wxFontData *) 0 ;
18657 bool arg2 ;
18658 void *argp1 = 0 ;
18659 int res1 = 0 ;
18660 bool val2 ;
18661 int ecode2 = 0 ;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char * kwnames[] = {
18665 (char *) "self",(char *) "enable", NULL
18666 };
18667
18668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18670 if (!SWIG_IsOK(res1)) {
18671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18672 }
18673 arg1 = reinterpret_cast< wxFontData * >(argp1);
18674 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18675 if (!SWIG_IsOK(ecode2)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18677 }
18678 arg2 = static_cast< bool >(val2);
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 (arg1)->EnableEffects(arg2);
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = SWIG_Py_Void();
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18693 PyObject *resultobj = 0;
18694 wxFontData *arg1 = (wxFontData *) 0 ;
18695 bool result;
18696 void *argp1 = 0 ;
18697 int res1 = 0 ;
18698 PyObject *swig_obj[1] ;
18699
18700 if (!args) SWIG_fail;
18701 swig_obj[0] = args;
18702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18703 if (!SWIG_IsOK(res1)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18705 }
18706 arg1 = reinterpret_cast< wxFontData * >(argp1);
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->GetAllowSymbols();
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18715 }
18716 return resultobj;
18717 fail:
18718 return NULL;
18719 }
18720
18721
18722 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18723 PyObject *resultobj = 0;
18724 wxFontData *arg1 = (wxFontData *) 0 ;
18725 wxColour result;
18726 void *argp1 = 0 ;
18727 int res1 = 0 ;
18728 PyObject *swig_obj[1] ;
18729
18730 if (!args) SWIG_fail;
18731 swig_obj[0] = args;
18732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18733 if (!SWIG_IsOK(res1)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18735 }
18736 arg1 = reinterpret_cast< wxFontData * >(argp1);
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = (arg1)->GetColour();
18740 wxPyEndAllowThreads(__tstate);
18741 if (PyErr_Occurred()) SWIG_fail;
18742 }
18743 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18751 PyObject *resultobj = 0;
18752 wxFontData *arg1 = (wxFontData *) 0 ;
18753 wxFont result;
18754 void *argp1 = 0 ;
18755 int res1 = 0 ;
18756 PyObject *swig_obj[1] ;
18757
18758 if (!args) SWIG_fail;
18759 swig_obj[0] = args;
18760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18761 if (!SWIG_IsOK(res1)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18763 }
18764 arg1 = reinterpret_cast< wxFontData * >(argp1);
18765 {
18766 PyThreadState* __tstate = wxPyBeginAllowThreads();
18767 result = (arg1)->GetChosenFont();
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18779 PyObject *resultobj = 0;
18780 wxFontData *arg1 = (wxFontData *) 0 ;
18781 bool result;
18782 void *argp1 = 0 ;
18783 int res1 = 0 ;
18784 PyObject *swig_obj[1] ;
18785
18786 if (!args) SWIG_fail;
18787 swig_obj[0] = args;
18788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18789 if (!SWIG_IsOK(res1)) {
18790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18791 }
18792 arg1 = reinterpret_cast< wxFontData * >(argp1);
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = (bool)(arg1)->GetEnableEffects();
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 {
18800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18801 }
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18809 PyObject *resultobj = 0;
18810 wxFontData *arg1 = (wxFontData *) 0 ;
18811 wxFont result;
18812 void *argp1 = 0 ;
18813 int res1 = 0 ;
18814 PyObject *swig_obj[1] ;
18815
18816 if (!args) SWIG_fail;
18817 swig_obj[0] = args;
18818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18819 if (!SWIG_IsOK(res1)) {
18820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18821 }
18822 arg1 = reinterpret_cast< wxFontData * >(argp1);
18823 {
18824 PyThreadState* __tstate = wxPyBeginAllowThreads();
18825 result = (arg1)->GetInitialFont();
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18837 PyObject *resultobj = 0;
18838 wxFontData *arg1 = (wxFontData *) 0 ;
18839 bool result;
18840 void *argp1 = 0 ;
18841 int res1 = 0 ;
18842 PyObject *swig_obj[1] ;
18843
18844 if (!args) SWIG_fail;
18845 swig_obj[0] = args;
18846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18847 if (!SWIG_IsOK(res1)) {
18848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18849 }
18850 arg1 = reinterpret_cast< wxFontData * >(argp1);
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 result = (bool)(arg1)->GetShowHelp();
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 {
18858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18859 }
18860 return resultobj;
18861 fail:
18862 return NULL;
18863 }
18864
18865
18866 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj = 0;
18868 wxFontData *arg1 = (wxFontData *) 0 ;
18869 bool arg2 ;
18870 void *argp1 = 0 ;
18871 int res1 = 0 ;
18872 bool val2 ;
18873 int ecode2 = 0 ;
18874 PyObject * obj0 = 0 ;
18875 PyObject * obj1 = 0 ;
18876 char * kwnames[] = {
18877 (char *) "self",(char *) "allowSymbols", NULL
18878 };
18879
18880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18882 if (!SWIG_IsOK(res1)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18884 }
18885 arg1 = reinterpret_cast< wxFontData * >(argp1);
18886 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18887 if (!SWIG_IsOK(ecode2)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18889 }
18890 arg2 = static_cast< bool >(val2);
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 (arg1)->SetAllowSymbols(arg2);
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 resultobj = SWIG_Py_Void();
18898 return resultobj;
18899 fail:
18900 return NULL;
18901 }
18902
18903
18904 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj = 0;
18906 wxFontData *arg1 = (wxFontData *) 0 ;
18907 wxFont *arg2 = 0 ;
18908 void *argp1 = 0 ;
18909 int res1 = 0 ;
18910 void *argp2 = 0 ;
18911 int res2 = 0 ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char * kwnames[] = {
18915 (char *) "self",(char *) "font", NULL
18916 };
18917
18918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18920 if (!SWIG_IsOK(res1)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18922 }
18923 arg1 = reinterpret_cast< wxFontData * >(argp1);
18924 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18925 if (!SWIG_IsOK(res2)) {
18926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18927 }
18928 if (!argp2) {
18929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18930 }
18931 arg2 = reinterpret_cast< wxFont * >(argp2);
18932 {
18933 PyThreadState* __tstate = wxPyBeginAllowThreads();
18934 (arg1)->SetChosenFont((wxFont const &)*arg2);
18935 wxPyEndAllowThreads(__tstate);
18936 if (PyErr_Occurred()) SWIG_fail;
18937 }
18938 resultobj = SWIG_Py_Void();
18939 return resultobj;
18940 fail:
18941 return NULL;
18942 }
18943
18944
18945 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18946 PyObject *resultobj = 0;
18947 wxFontData *arg1 = (wxFontData *) 0 ;
18948 wxColour *arg2 = 0 ;
18949 void *argp1 = 0 ;
18950 int res1 = 0 ;
18951 wxColour temp2 ;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj1 = 0 ;
18954 char * kwnames[] = {
18955 (char *) "self",(char *) "colour", NULL
18956 };
18957
18958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18960 if (!SWIG_IsOK(res1)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18962 }
18963 arg1 = reinterpret_cast< wxFontData * >(argp1);
18964 {
18965 arg2 = &temp2;
18966 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18967 }
18968 {
18969 PyThreadState* __tstate = wxPyBeginAllowThreads();
18970 (arg1)->SetColour((wxColour const &)*arg2);
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 resultobj = SWIG_Py_Void();
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj = 0;
18983 wxFontData *arg1 = (wxFontData *) 0 ;
18984 wxFont *arg2 = 0 ;
18985 void *argp1 = 0 ;
18986 int res1 = 0 ;
18987 void *argp2 = 0 ;
18988 int res2 = 0 ;
18989 PyObject * obj0 = 0 ;
18990 PyObject * obj1 = 0 ;
18991 char * kwnames[] = {
18992 (char *) "self",(char *) "font", NULL
18993 };
18994
18995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18997 if (!SWIG_IsOK(res1)) {
18998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18999 }
19000 arg1 = reinterpret_cast< wxFontData * >(argp1);
19001 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19002 if (!SWIG_IsOK(res2)) {
19003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19004 }
19005 if (!argp2) {
19006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19007 }
19008 arg2 = reinterpret_cast< wxFont * >(argp2);
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 (arg1)->SetInitialFont((wxFont const &)*arg2);
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 resultobj = SWIG_Py_Void();
19016 return resultobj;
19017 fail:
19018 return NULL;
19019 }
19020
19021
19022 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj = 0;
19024 wxFontData *arg1 = (wxFontData *) 0 ;
19025 int arg2 ;
19026 int arg3 ;
19027 void *argp1 = 0 ;
19028 int res1 = 0 ;
19029 int val2 ;
19030 int ecode2 = 0 ;
19031 int val3 ;
19032 int ecode3 = 0 ;
19033 PyObject * obj0 = 0 ;
19034 PyObject * obj1 = 0 ;
19035 PyObject * obj2 = 0 ;
19036 char * kwnames[] = {
19037 (char *) "self",(char *) "min",(char *) "max", NULL
19038 };
19039
19040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19042 if (!SWIG_IsOK(res1)) {
19043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19044 }
19045 arg1 = reinterpret_cast< wxFontData * >(argp1);
19046 ecode2 = SWIG_AsVal_int(obj1, &val2);
19047 if (!SWIG_IsOK(ecode2)) {
19048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19049 }
19050 arg2 = static_cast< int >(val2);
19051 ecode3 = SWIG_AsVal_int(obj2, &val3);
19052 if (!SWIG_IsOK(ecode3)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19054 }
19055 arg3 = static_cast< int >(val3);
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->SetRange(arg2,arg3);
19059 wxPyEndAllowThreads(__tstate);
19060 if (PyErr_Occurred()) SWIG_fail;
19061 }
19062 resultobj = SWIG_Py_Void();
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj = 0;
19071 wxFontData *arg1 = (wxFontData *) 0 ;
19072 bool arg2 ;
19073 void *argp1 = 0 ;
19074 int res1 = 0 ;
19075 bool val2 ;
19076 int ecode2 = 0 ;
19077 PyObject * obj0 = 0 ;
19078 PyObject * obj1 = 0 ;
19079 char * kwnames[] = {
19080 (char *) "self",(char *) "showHelp", NULL
19081 };
19082
19083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19085 if (!SWIG_IsOK(res1)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19087 }
19088 arg1 = reinterpret_cast< wxFontData * >(argp1);
19089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19090 if (!SWIG_IsOK(ecode2)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19092 }
19093 arg2 = static_cast< bool >(val2);
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->SetShowHelp(arg2);
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 resultobj = SWIG_Py_Void();
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19108 PyObject *obj;
19109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19110 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19111 return SWIG_Py_Void();
19112 }
19113
19114 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19115 return SWIG_Python_InitShadowInstance(args);
19116 }
19117
19118 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj = 0;
19120 wxWindow *arg1 = (wxWindow *) 0 ;
19121 wxFontData *arg2 = 0 ;
19122 wxFontDialog *result = 0 ;
19123 void *argp1 = 0 ;
19124 int res1 = 0 ;
19125 void *argp2 = 0 ;
19126 int res2 = 0 ;
19127 PyObject * obj0 = 0 ;
19128 PyObject * obj1 = 0 ;
19129 char * kwnames[] = {
19130 (char *) "parent",(char *) "data", NULL
19131 };
19132
19133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19135 if (!SWIG_IsOK(res1)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19137 }
19138 arg1 = reinterpret_cast< wxWindow * >(argp1);
19139 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19140 if (!SWIG_IsOK(res2)) {
19141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19142 }
19143 if (!argp2) {
19144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19145 }
19146 arg2 = reinterpret_cast< wxFontData * >(argp2);
19147 {
19148 if (!wxPyCheckForApp()) SWIG_fail;
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19155 return resultobj;
19156 fail:
19157 return NULL;
19158 }
19159
19160
19161 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19162 PyObject *resultobj = 0;
19163 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19164 wxFontData *result = 0 ;
19165 void *argp1 = 0 ;
19166 int res1 = 0 ;
19167 PyObject *swig_obj[1] ;
19168
19169 if (!args) SWIG_fail;
19170 swig_obj[0] = args;
19171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19172 if (!SWIG_IsOK(res1)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19174 }
19175 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 {
19179 wxFontData &_result_ref = (arg1)->GetFontData();
19180 result = (wxFontData *) &_result_ref;
19181 }
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19193 PyObject *obj;
19194 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19195 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19196 return SWIG_Py_Void();
19197 }
19198
19199 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19200 return SWIG_Python_InitShadowInstance(args);
19201 }
19202
19203 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19204 PyObject *resultobj = 0;
19205 wxWindow *arg1 = (wxWindow *) NULL ;
19206 wxFont const &arg2_defvalue = wxNullFont ;
19207 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19208 wxString const &arg3_defvalue = wxPyEmptyString ;
19209 wxString *arg3 = (wxString *) &arg3_defvalue ;
19210 wxFont result;
19211 void *argp1 = 0 ;
19212 int res1 = 0 ;
19213 void *argp2 = 0 ;
19214 int res2 = 0 ;
19215 bool temp3 = false ;
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 PyObject * obj2 = 0 ;
19219 char * kwnames[] = {
19220 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19221 };
19222
19223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19224 if (obj0) {
19225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19226 if (!SWIG_IsOK(res1)) {
19227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19228 }
19229 arg1 = reinterpret_cast< wxWindow * >(argp1);
19230 }
19231 if (obj1) {
19232 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19233 if (!SWIG_IsOK(res2)) {
19234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19235 }
19236 if (!argp2) {
19237 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19238 }
19239 arg2 = reinterpret_cast< wxFont * >(argp2);
19240 }
19241 if (obj2) {
19242 {
19243 arg3 = wxString_in_helper(obj2);
19244 if (arg3 == NULL) SWIG_fail;
19245 temp3 = true;
19246 }
19247 }
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19255 {
19256 if (temp3)
19257 delete arg3;
19258 }
19259 return resultobj;
19260 fail:
19261 {
19262 if (temp3)
19263 delete arg3;
19264 }
19265 return NULL;
19266 }
19267
19268
19269 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj = 0;
19271 wxWindow *arg1 = (wxWindow *) 0 ;
19272 wxString *arg2 = 0 ;
19273 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19274 wxString *arg3 = (wxString *) &arg3_defvalue ;
19275 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19276 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19277 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19278 wxMessageDialog *result = 0 ;
19279 void *argp1 = 0 ;
19280 int res1 = 0 ;
19281 bool temp2 = false ;
19282 bool temp3 = false ;
19283 long val4 ;
19284 int ecode4 = 0 ;
19285 wxPoint temp5 ;
19286 PyObject * obj0 = 0 ;
19287 PyObject * obj1 = 0 ;
19288 PyObject * obj2 = 0 ;
19289 PyObject * obj3 = 0 ;
19290 PyObject * obj4 = 0 ;
19291 char * kwnames[] = {
19292 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19293 };
19294
19295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19297 if (!SWIG_IsOK(res1)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19299 }
19300 arg1 = reinterpret_cast< wxWindow * >(argp1);
19301 {
19302 arg2 = wxString_in_helper(obj1);
19303 if (arg2 == NULL) SWIG_fail;
19304 temp2 = true;
19305 }
19306 if (obj2) {
19307 {
19308 arg3 = wxString_in_helper(obj2);
19309 if (arg3 == NULL) SWIG_fail;
19310 temp3 = true;
19311 }
19312 }
19313 if (obj3) {
19314 ecode4 = SWIG_AsVal_long(obj3, &val4);
19315 if (!SWIG_IsOK(ecode4)) {
19316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19317 }
19318 arg4 = static_cast< long >(val4);
19319 }
19320 if (obj4) {
19321 {
19322 arg5 = &temp5;
19323 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19324 }
19325 }
19326 {
19327 if (!wxPyCheckForApp()) SWIG_fail;
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19334 {
19335 if (temp2)
19336 delete arg2;
19337 }
19338 {
19339 if (temp3)
19340 delete arg3;
19341 }
19342 return resultobj;
19343 fail:
19344 {
19345 if (temp2)
19346 delete arg2;
19347 }
19348 {
19349 if (temp3)
19350 delete arg3;
19351 }
19352 return NULL;
19353 }
19354
19355
19356 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19357 PyObject *obj;
19358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19359 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19360 return SWIG_Py_Void();
19361 }
19362
19363 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19364 return SWIG_Python_InitShadowInstance(args);
19365 }
19366
19367 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj = 0;
19369 wxString *arg1 = 0 ;
19370 wxString *arg2 = 0 ;
19371 int arg3 = (int) 100 ;
19372 wxWindow *arg4 = (wxWindow *) NULL ;
19373 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19374 wxProgressDialog *result = 0 ;
19375 bool temp1 = false ;
19376 bool temp2 = false ;
19377 int val3 ;
19378 int ecode3 = 0 ;
19379 void *argp4 = 0 ;
19380 int res4 = 0 ;
19381 int val5 ;
19382 int ecode5 = 0 ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 PyObject * obj2 = 0 ;
19386 PyObject * obj3 = 0 ;
19387 PyObject * obj4 = 0 ;
19388 char * kwnames[] = {
19389 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19390 };
19391
19392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19393 {
19394 arg1 = wxString_in_helper(obj0);
19395 if (arg1 == NULL) SWIG_fail;
19396 temp1 = true;
19397 }
19398 {
19399 arg2 = wxString_in_helper(obj1);
19400 if (arg2 == NULL) SWIG_fail;
19401 temp2 = true;
19402 }
19403 if (obj2) {
19404 ecode3 = SWIG_AsVal_int(obj2, &val3);
19405 if (!SWIG_IsOK(ecode3)) {
19406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19407 }
19408 arg3 = static_cast< int >(val3);
19409 }
19410 if (obj3) {
19411 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19412 if (!SWIG_IsOK(res4)) {
19413 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19414 }
19415 arg4 = reinterpret_cast< wxWindow * >(argp4);
19416 }
19417 if (obj4) {
19418 ecode5 = SWIG_AsVal_int(obj4, &val5);
19419 if (!SWIG_IsOK(ecode5)) {
19420 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19421 }
19422 arg5 = static_cast< int >(val5);
19423 }
19424 {
19425 if (!wxPyCheckForApp()) SWIG_fail;
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19432 {
19433 if (temp1)
19434 delete arg1;
19435 }
19436 {
19437 if (temp2)
19438 delete arg2;
19439 }
19440 return resultobj;
19441 fail:
19442 {
19443 if (temp1)
19444 delete arg1;
19445 }
19446 {
19447 if (temp2)
19448 delete arg2;
19449 }
19450 return NULL;
19451 }
19452
19453
19454 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19455 PyObject *resultobj = 0;
19456 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19457 int arg2 ;
19458 wxString const &arg3_defvalue = wxPyEmptyString ;
19459 wxString *arg3 = (wxString *) &arg3_defvalue ;
19460 bool *arg4 = (bool *) 0 ;
19461 bool result;
19462 void *argp1 = 0 ;
19463 int res1 = 0 ;
19464 int val2 ;
19465 int ecode2 = 0 ;
19466 bool temp3 = false ;
19467 bool temp4 ;
19468 int res4 = SWIG_TMPOBJ ;
19469 PyObject * obj0 = 0 ;
19470 PyObject * obj1 = 0 ;
19471 PyObject * obj2 = 0 ;
19472 char * kwnames[] = {
19473 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19474 };
19475
19476 arg4 = &temp4;
19477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19479 if (!SWIG_IsOK(res1)) {
19480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19481 }
19482 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19483 ecode2 = SWIG_AsVal_int(obj1, &val2);
19484 if (!SWIG_IsOK(ecode2)) {
19485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19486 }
19487 arg2 = static_cast< int >(val2);
19488 if (obj2) {
19489 {
19490 arg3 = wxString_in_helper(obj2);
19491 if (arg3 == NULL) SWIG_fail;
19492 temp3 = true;
19493 }
19494 }
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 {
19502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19503 }
19504 if (SWIG_IsTmpObj(res4)) {
19505 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19506 } else {
19507 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19508 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19509 }
19510 {
19511 if (temp3)
19512 delete arg3;
19513 }
19514 return resultobj;
19515 fail:
19516 {
19517 if (temp3)
19518 delete arg3;
19519 }
19520 return NULL;
19521 }
19522
19523
19524 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19525 PyObject *resultobj = 0;
19526 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19527 void *argp1 = 0 ;
19528 int res1 = 0 ;
19529 PyObject *swig_obj[1] ;
19530
19531 if (!args) SWIG_fail;
19532 swig_obj[0] = args;
19533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19534 if (!SWIG_IsOK(res1)) {
19535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19536 }
19537 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19538 {
19539 PyThreadState* __tstate = wxPyBeginAllowThreads();
19540 (arg1)->Resume();
19541 wxPyEndAllowThreads(__tstate);
19542 if (PyErr_Occurred()) SWIG_fail;
19543 }
19544 resultobj = SWIG_Py_Void();
19545 return resultobj;
19546 fail:
19547 return NULL;
19548 }
19549
19550
19551 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19552 PyObject *obj;
19553 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19554 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19555 return SWIG_Py_Void();
19556 }
19557
19558 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19559 return SWIG_Python_InitShadowInstance(args);
19560 }
19561
19562 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj = 0;
19564 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19565 int arg2 = (int) 0 ;
19566 wxFindDialogEvent *result = 0 ;
19567 int val1 ;
19568 int ecode1 = 0 ;
19569 int val2 ;
19570 int ecode2 = 0 ;
19571 PyObject * obj0 = 0 ;
19572 PyObject * obj1 = 0 ;
19573 char * kwnames[] = {
19574 (char *) "commandType",(char *) "id", NULL
19575 };
19576
19577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19578 if (obj0) {
19579 ecode1 = SWIG_AsVal_int(obj0, &val1);
19580 if (!SWIG_IsOK(ecode1)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19582 }
19583 arg1 = static_cast< wxEventType >(val1);
19584 }
19585 if (obj1) {
19586 ecode2 = SWIG_AsVal_int(obj1, &val2);
19587 if (!SWIG_IsOK(ecode2)) {
19588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19589 }
19590 arg2 = static_cast< int >(val2);
19591 }
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19599 return resultobj;
19600 fail:
19601 return NULL;
19602 }
19603
19604
19605 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19606 PyObject *resultobj = 0;
19607 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19608 int result;
19609 void *argp1 = 0 ;
19610 int res1 = 0 ;
19611 PyObject *swig_obj[1] ;
19612
19613 if (!args) SWIG_fail;
19614 swig_obj[0] = args;
19615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19616 if (!SWIG_IsOK(res1)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19618 }
19619 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = (int)(arg1)->GetFlags();
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 resultobj = SWIG_From_int(static_cast< int >(result));
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19634 PyObject *resultobj = 0;
19635 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19636 wxString *result = 0 ;
19637 void *argp1 = 0 ;
19638 int res1 = 0 ;
19639 PyObject *swig_obj[1] ;
19640
19641 if (!args) SWIG_fail;
19642 swig_obj[0] = args;
19643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19644 if (!SWIG_IsOK(res1)) {
19645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19646 }
19647 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 {
19651 wxString const &_result_ref = (arg1)->GetFindString();
19652 result = (wxString *) &_result_ref;
19653 }
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 {
19658 #if wxUSE_UNICODE
19659 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19660 #else
19661 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19662 #endif
19663 }
19664 return resultobj;
19665 fail:
19666 return NULL;
19667 }
19668
19669
19670 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19671 PyObject *resultobj = 0;
19672 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19673 wxString *result = 0 ;
19674 void *argp1 = 0 ;
19675 int res1 = 0 ;
19676 PyObject *swig_obj[1] ;
19677
19678 if (!args) SWIG_fail;
19679 swig_obj[0] = args;
19680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19681 if (!SWIG_IsOK(res1)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19683 }
19684 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19685 {
19686 PyThreadState* __tstate = wxPyBeginAllowThreads();
19687 {
19688 wxString const &_result_ref = (arg1)->GetReplaceString();
19689 result = (wxString *) &_result_ref;
19690 }
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 {
19695 #if wxUSE_UNICODE
19696 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19697 #else
19698 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19699 #endif
19700 }
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19708 PyObject *resultobj = 0;
19709 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19710 wxFindReplaceDialog *result = 0 ;
19711 void *argp1 = 0 ;
19712 int res1 = 0 ;
19713 PyObject *swig_obj[1] ;
19714
19715 if (!args) SWIG_fail;
19716 swig_obj[0] = args;
19717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19718 if (!SWIG_IsOK(res1)) {
19719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19720 }
19721 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj = 0;
19737 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19738 int arg2 ;
19739 void *argp1 = 0 ;
19740 int res1 = 0 ;
19741 int val2 ;
19742 int ecode2 = 0 ;
19743 PyObject * obj0 = 0 ;
19744 PyObject * obj1 = 0 ;
19745 char * kwnames[] = {
19746 (char *) "self",(char *) "flags", NULL
19747 };
19748
19749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19751 if (!SWIG_IsOK(res1)) {
19752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19753 }
19754 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19755 ecode2 = SWIG_AsVal_int(obj1, &val2);
19756 if (!SWIG_IsOK(ecode2)) {
19757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19758 }
19759 arg2 = static_cast< int >(val2);
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 (arg1)->SetFlags(arg2);
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 resultobj = SWIG_Py_Void();
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj = 0;
19775 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19776 wxString *arg2 = 0 ;
19777 void *argp1 = 0 ;
19778 int res1 = 0 ;
19779 bool temp2 = false ;
19780 PyObject * obj0 = 0 ;
19781 PyObject * obj1 = 0 ;
19782 char * kwnames[] = {
19783 (char *) "self",(char *) "str", NULL
19784 };
19785
19786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19788 if (!SWIG_IsOK(res1)) {
19789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19790 }
19791 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19792 {
19793 arg2 = wxString_in_helper(obj1);
19794 if (arg2 == NULL) SWIG_fail;
19795 temp2 = true;
19796 }
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 (arg1)->SetFindString((wxString const &)*arg2);
19800 wxPyEndAllowThreads(__tstate);
19801 if (PyErr_Occurred()) SWIG_fail;
19802 }
19803 resultobj = SWIG_Py_Void();
19804 {
19805 if (temp2)
19806 delete arg2;
19807 }
19808 return resultobj;
19809 fail:
19810 {
19811 if (temp2)
19812 delete arg2;
19813 }
19814 return NULL;
19815 }
19816
19817
19818 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj = 0;
19820 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19821 wxString *arg2 = 0 ;
19822 void *argp1 = 0 ;
19823 int res1 = 0 ;
19824 bool temp2 = false ;
19825 PyObject * obj0 = 0 ;
19826 PyObject * obj1 = 0 ;
19827 char * kwnames[] = {
19828 (char *) "self",(char *) "str", NULL
19829 };
19830
19831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19833 if (!SWIG_IsOK(res1)) {
19834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19835 }
19836 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19837 {
19838 arg2 = wxString_in_helper(obj1);
19839 if (arg2 == NULL) SWIG_fail;
19840 temp2 = true;
19841 }
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 (arg1)->SetReplaceString((wxString const &)*arg2);
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 resultobj = SWIG_Py_Void();
19849 {
19850 if (temp2)
19851 delete arg2;
19852 }
19853 return resultobj;
19854 fail:
19855 {
19856 if (temp2)
19857 delete arg2;
19858 }
19859 return NULL;
19860 }
19861
19862
19863 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19864 PyObject *obj;
19865 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19866 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19867 return SWIG_Py_Void();
19868 }
19869
19870 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19871 return SWIG_Python_InitShadowInstance(args);
19872 }
19873
19874 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj = 0;
19876 int arg1 = (int) 0 ;
19877 wxFindReplaceData *result = 0 ;
19878 int val1 ;
19879 int ecode1 = 0 ;
19880 PyObject * obj0 = 0 ;
19881 char * kwnames[] = {
19882 (char *) "flags", NULL
19883 };
19884
19885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19886 if (obj0) {
19887 ecode1 = SWIG_AsVal_int(obj0, &val1);
19888 if (!SWIG_IsOK(ecode1)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19890 }
19891 arg1 = static_cast< int >(val1);
19892 }
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19907 PyObject *resultobj = 0;
19908 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19909 void *argp1 = 0 ;
19910 int res1 = 0 ;
19911 PyObject *swig_obj[1] ;
19912
19913 if (!args) SWIG_fail;
19914 swig_obj[0] = args;
19915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19916 if (!SWIG_IsOK(res1)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19918 }
19919 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 delete arg1;
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = SWIG_Py_Void();
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19935 PyObject *resultobj = 0;
19936 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19937 wxString *result = 0 ;
19938 void *argp1 = 0 ;
19939 int res1 = 0 ;
19940 PyObject *swig_obj[1] ;
19941
19942 if (!args) SWIG_fail;
19943 swig_obj[0] = args;
19944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19945 if (!SWIG_IsOK(res1)) {
19946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19947 }
19948 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 {
19952 wxString const &_result_ref = (arg1)->GetFindString();
19953 result = (wxString *) &_result_ref;
19954 }
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 {
19959 #if wxUSE_UNICODE
19960 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19961 #else
19962 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19963 #endif
19964 }
19965 return resultobj;
19966 fail:
19967 return NULL;
19968 }
19969
19970
19971 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19972 PyObject *resultobj = 0;
19973 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19974 wxString *result = 0 ;
19975 void *argp1 = 0 ;
19976 int res1 = 0 ;
19977 PyObject *swig_obj[1] ;
19978
19979 if (!args) SWIG_fail;
19980 swig_obj[0] = args;
19981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19982 if (!SWIG_IsOK(res1)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19984 }
19985 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 {
19989 wxString const &_result_ref = (arg1)->GetReplaceString();
19990 result = (wxString *) &_result_ref;
19991 }
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 {
19996 #if wxUSE_UNICODE
19997 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19998 #else
19999 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20000 #endif
20001 }
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20009 PyObject *resultobj = 0;
20010 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20011 int result;
20012 void *argp1 = 0 ;
20013 int res1 = 0 ;
20014 PyObject *swig_obj[1] ;
20015
20016 if (!args) SWIG_fail;
20017 swig_obj[0] = args;
20018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20019 if (!SWIG_IsOK(res1)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20021 }
20022 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (int)(arg1)->GetFlags();
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 resultobj = SWIG_From_int(static_cast< int >(result));
20030 return resultobj;
20031 fail:
20032 return NULL;
20033 }
20034
20035
20036 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj = 0;
20038 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20039 int arg2 ;
20040 void *argp1 = 0 ;
20041 int res1 = 0 ;
20042 int val2 ;
20043 int ecode2 = 0 ;
20044 PyObject * obj0 = 0 ;
20045 PyObject * obj1 = 0 ;
20046 char * kwnames[] = {
20047 (char *) "self",(char *) "flags", NULL
20048 };
20049
20050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20052 if (!SWIG_IsOK(res1)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20054 }
20055 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20056 ecode2 = SWIG_AsVal_int(obj1, &val2);
20057 if (!SWIG_IsOK(ecode2)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20059 }
20060 arg2 = static_cast< int >(val2);
20061 {
20062 PyThreadState* __tstate = wxPyBeginAllowThreads();
20063 (arg1)->SetFlags(arg2);
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 resultobj = SWIG_Py_Void();
20068 return resultobj;
20069 fail:
20070 return NULL;
20071 }
20072
20073
20074 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj = 0;
20076 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20077 wxString *arg2 = 0 ;
20078 void *argp1 = 0 ;
20079 int res1 = 0 ;
20080 bool temp2 = false ;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083 char * kwnames[] = {
20084 (char *) "self",(char *) "str", NULL
20085 };
20086
20087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20089 if (!SWIG_IsOK(res1)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20091 }
20092 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20093 {
20094 arg2 = wxString_in_helper(obj1);
20095 if (arg2 == NULL) SWIG_fail;
20096 temp2 = true;
20097 }
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 (arg1)->SetFindString((wxString const &)*arg2);
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = SWIG_Py_Void();
20105 {
20106 if (temp2)
20107 delete arg2;
20108 }
20109 return resultobj;
20110 fail:
20111 {
20112 if (temp2)
20113 delete arg2;
20114 }
20115 return NULL;
20116 }
20117
20118
20119 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj = 0;
20121 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20122 wxString *arg2 = 0 ;
20123 void *argp1 = 0 ;
20124 int res1 = 0 ;
20125 bool temp2 = false ;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 char * kwnames[] = {
20129 (char *) "self",(char *) "str", NULL
20130 };
20131
20132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20134 if (!SWIG_IsOK(res1)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20136 }
20137 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20138 {
20139 arg2 = wxString_in_helper(obj1);
20140 if (arg2 == NULL) SWIG_fail;
20141 temp2 = true;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 (arg1)->SetReplaceString((wxString const &)*arg2);
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 resultobj = SWIG_Py_Void();
20150 {
20151 if (temp2)
20152 delete arg2;
20153 }
20154 return resultobj;
20155 fail:
20156 {
20157 if (temp2)
20158 delete arg2;
20159 }
20160 return NULL;
20161 }
20162
20163
20164 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20165 PyObject *obj;
20166 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20167 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20168 return SWIG_Py_Void();
20169 }
20170
20171 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20172 return SWIG_Python_InitShadowInstance(args);
20173 }
20174
20175 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj = 0;
20177 wxWindow *arg1 = (wxWindow *) 0 ;
20178 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20179 wxString *arg3 = 0 ;
20180 int arg4 = (int) 0 ;
20181 wxFindReplaceDialog *result = 0 ;
20182 void *argp1 = 0 ;
20183 int res1 = 0 ;
20184 void *argp2 = 0 ;
20185 int res2 = 0 ;
20186 bool temp3 = false ;
20187 int val4 ;
20188 int ecode4 = 0 ;
20189 PyObject * obj0 = 0 ;
20190 PyObject * obj1 = 0 ;
20191 PyObject * obj2 = 0 ;
20192 PyObject * obj3 = 0 ;
20193 char * kwnames[] = {
20194 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20195 };
20196
20197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20199 if (!SWIG_IsOK(res1)) {
20200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20201 }
20202 arg1 = reinterpret_cast< wxWindow * >(argp1);
20203 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20204 if (!SWIG_IsOK(res2)) {
20205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20206 }
20207 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20208 {
20209 arg3 = wxString_in_helper(obj2);
20210 if (arg3 == NULL) SWIG_fail;
20211 temp3 = true;
20212 }
20213 if (obj3) {
20214 ecode4 = SWIG_AsVal_int(obj3, &val4);
20215 if (!SWIG_IsOK(ecode4)) {
20216 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20217 }
20218 arg4 = static_cast< int >(val4);
20219 }
20220 {
20221 if (!wxPyCheckForApp()) SWIG_fail;
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
20223 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20228 {
20229 if (temp3)
20230 delete arg3;
20231 }
20232 return resultobj;
20233 fail:
20234 {
20235 if (temp3)
20236 delete arg3;
20237 }
20238 return NULL;
20239 }
20240
20241
20242 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20243 PyObject *resultobj = 0;
20244 wxFindReplaceDialog *result = 0 ;
20245
20246 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20247 {
20248 if (!wxPyCheckForApp()) SWIG_fail;
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj = 0;
20263 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20264 wxWindow *arg2 = (wxWindow *) 0 ;
20265 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20266 wxString *arg4 = 0 ;
20267 int arg5 = (int) 0 ;
20268 bool result;
20269 void *argp1 = 0 ;
20270 int res1 = 0 ;
20271 void *argp2 = 0 ;
20272 int res2 = 0 ;
20273 void *argp3 = 0 ;
20274 int res3 = 0 ;
20275 bool temp4 = false ;
20276 int val5 ;
20277 int ecode5 = 0 ;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 PyObject * obj2 = 0 ;
20281 PyObject * obj3 = 0 ;
20282 PyObject * obj4 = 0 ;
20283 char * kwnames[] = {
20284 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20285 };
20286
20287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20289 if (!SWIG_IsOK(res1)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20291 }
20292 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20293 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20294 if (!SWIG_IsOK(res2)) {
20295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20296 }
20297 arg2 = reinterpret_cast< wxWindow * >(argp2);
20298 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20299 if (!SWIG_IsOK(res3)) {
20300 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20301 }
20302 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20303 {
20304 arg4 = wxString_in_helper(obj3);
20305 if (arg4 == NULL) SWIG_fail;
20306 temp4 = true;
20307 }
20308 if (obj4) {
20309 ecode5 = SWIG_AsVal_int(obj4, &val5);
20310 if (!SWIG_IsOK(ecode5)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20312 }
20313 arg5 = static_cast< int >(val5);
20314 }
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 {
20322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20323 }
20324 {
20325 if (temp4)
20326 delete arg4;
20327 }
20328 return resultobj;
20329 fail:
20330 {
20331 if (temp4)
20332 delete arg4;
20333 }
20334 return NULL;
20335 }
20336
20337
20338 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20339 PyObject *resultobj = 0;
20340 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20341 wxFindReplaceData *result = 0 ;
20342 void *argp1 = 0 ;
20343 int res1 = 0 ;
20344 PyObject *swig_obj[1] ;
20345
20346 if (!args) SWIG_fail;
20347 swig_obj[0] = args;
20348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20349 if (!SWIG_IsOK(res1)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20351 }
20352 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 result = (wxFindReplaceData *)(arg1)->GetData();
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20360 return resultobj;
20361 fail:
20362 return NULL;
20363 }
20364
20365
20366 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj = 0;
20368 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20369 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20370 void *argp1 = 0 ;
20371 int res1 = 0 ;
20372 void *argp2 = 0 ;
20373 int res2 = 0 ;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 char * kwnames[] = {
20377 (char *) "self",(char *) "data", NULL
20378 };
20379
20380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20382 if (!SWIG_IsOK(res1)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20384 }
20385 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20386 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20387 if (!SWIG_IsOK(res2)) {
20388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20389 }
20390 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 (arg1)->SetData(arg2);
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 resultobj = SWIG_Py_Void();
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20405 PyObject *obj;
20406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20408 return SWIG_Py_Void();
20409 }
20410
20411 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20412 return SWIG_Python_InitShadowInstance(args);
20413 }
20414
20415 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20416 PyObject *resultobj = 0;
20417 wxWindow *arg1 = (wxWindow *) 0 ;
20418 int arg2 = (int) (int)-1 ;
20419 wxString const &arg3_defvalue = wxPyEmptyString ;
20420 wxString *arg3 = (wxString *) &arg3_defvalue ;
20421 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20422 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20423 wxSize const &arg5_defvalue = wxDefaultSize ;
20424 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20425 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20426 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20427 wxString *arg7 = (wxString *) &arg7_defvalue ;
20428 wxMDIParentFrame *result = 0 ;
20429 void *argp1 = 0 ;
20430 int res1 = 0 ;
20431 int val2 ;
20432 int ecode2 = 0 ;
20433 bool temp3 = false ;
20434 wxPoint temp4 ;
20435 wxSize temp5 ;
20436 long val6 ;
20437 int ecode6 = 0 ;
20438 bool temp7 = false ;
20439 PyObject * obj0 = 0 ;
20440 PyObject * obj1 = 0 ;
20441 PyObject * obj2 = 0 ;
20442 PyObject * obj3 = 0 ;
20443 PyObject * obj4 = 0 ;
20444 PyObject * obj5 = 0 ;
20445 PyObject * obj6 = 0 ;
20446 char * kwnames[] = {
20447 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20448 };
20449
20450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20452 if (!SWIG_IsOK(res1)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20454 }
20455 arg1 = reinterpret_cast< wxWindow * >(argp1);
20456 if (obj1) {
20457 ecode2 = SWIG_AsVal_int(obj1, &val2);
20458 if (!SWIG_IsOK(ecode2)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20460 }
20461 arg2 = static_cast< int >(val2);
20462 }
20463 if (obj2) {
20464 {
20465 arg3 = wxString_in_helper(obj2);
20466 if (arg3 == NULL) SWIG_fail;
20467 temp3 = true;
20468 }
20469 }
20470 if (obj3) {
20471 {
20472 arg4 = &temp4;
20473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20474 }
20475 }
20476 if (obj4) {
20477 {
20478 arg5 = &temp5;
20479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20480 }
20481 }
20482 if (obj5) {
20483 ecode6 = SWIG_AsVal_long(obj5, &val6);
20484 if (!SWIG_IsOK(ecode6)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20486 }
20487 arg6 = static_cast< long >(val6);
20488 }
20489 if (obj6) {
20490 {
20491 arg7 = wxString_in_helper(obj6);
20492 if (arg7 == NULL) SWIG_fail;
20493 temp7 = true;
20494 }
20495 }
20496 {
20497 if (!wxPyCheckForApp()) SWIG_fail;
20498 PyThreadState* __tstate = wxPyBeginAllowThreads();
20499 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20500 wxPyEndAllowThreads(__tstate);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 }
20503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20504 {
20505 if (temp3)
20506 delete arg3;
20507 }
20508 {
20509 if (temp7)
20510 delete arg7;
20511 }
20512 return resultobj;
20513 fail:
20514 {
20515 if (temp3)
20516 delete arg3;
20517 }
20518 {
20519 if (temp7)
20520 delete arg7;
20521 }
20522 return NULL;
20523 }
20524
20525
20526 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20527 PyObject *resultobj = 0;
20528 wxMDIParentFrame *result = 0 ;
20529
20530 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20531 {
20532 if (!wxPyCheckForApp()) SWIG_fail;
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj = 0;
20547 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20548 wxWindow *arg2 = (wxWindow *) 0 ;
20549 int arg3 = (int) (int)-1 ;
20550 wxString const &arg4_defvalue = wxPyEmptyString ;
20551 wxString *arg4 = (wxString *) &arg4_defvalue ;
20552 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20553 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20554 wxSize const &arg6_defvalue = wxDefaultSize ;
20555 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20556 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20557 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20558 wxString *arg8 = (wxString *) &arg8_defvalue ;
20559 bool result;
20560 void *argp1 = 0 ;
20561 int res1 = 0 ;
20562 void *argp2 = 0 ;
20563 int res2 = 0 ;
20564 int val3 ;
20565 int ecode3 = 0 ;
20566 bool temp4 = false ;
20567 wxPoint temp5 ;
20568 wxSize temp6 ;
20569 long val7 ;
20570 int ecode7 = 0 ;
20571 bool temp8 = false ;
20572 PyObject * obj0 = 0 ;
20573 PyObject * obj1 = 0 ;
20574 PyObject * obj2 = 0 ;
20575 PyObject * obj3 = 0 ;
20576 PyObject * obj4 = 0 ;
20577 PyObject * obj5 = 0 ;
20578 PyObject * obj6 = 0 ;
20579 PyObject * obj7 = 0 ;
20580 char * kwnames[] = {
20581 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20582 };
20583
20584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20586 if (!SWIG_IsOK(res1)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20588 }
20589 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20590 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20591 if (!SWIG_IsOK(res2)) {
20592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20593 }
20594 arg2 = reinterpret_cast< wxWindow * >(argp2);
20595 if (obj2) {
20596 ecode3 = SWIG_AsVal_int(obj2, &val3);
20597 if (!SWIG_IsOK(ecode3)) {
20598 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20599 }
20600 arg3 = static_cast< int >(val3);
20601 }
20602 if (obj3) {
20603 {
20604 arg4 = wxString_in_helper(obj3);
20605 if (arg4 == NULL) SWIG_fail;
20606 temp4 = true;
20607 }
20608 }
20609 if (obj4) {
20610 {
20611 arg5 = &temp5;
20612 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20613 }
20614 }
20615 if (obj5) {
20616 {
20617 arg6 = &temp6;
20618 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20619 }
20620 }
20621 if (obj6) {
20622 ecode7 = SWIG_AsVal_long(obj6, &val7);
20623 if (!SWIG_IsOK(ecode7)) {
20624 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20625 }
20626 arg7 = static_cast< long >(val7);
20627 }
20628 if (obj7) {
20629 {
20630 arg8 = wxString_in_helper(obj7);
20631 if (arg8 == NULL) SWIG_fail;
20632 temp8 = true;
20633 }
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 {
20642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20643 }
20644 {
20645 if (temp4)
20646 delete arg4;
20647 }
20648 {
20649 if (temp8)
20650 delete arg8;
20651 }
20652 return resultobj;
20653 fail:
20654 {
20655 if (temp4)
20656 delete arg4;
20657 }
20658 {
20659 if (temp8)
20660 delete arg8;
20661 }
20662 return NULL;
20663 }
20664
20665
20666 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20667 PyObject *resultobj = 0;
20668 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20669 void *argp1 = 0 ;
20670 int res1 = 0 ;
20671 PyObject *swig_obj[1] ;
20672
20673 if (!args) SWIG_fail;
20674 swig_obj[0] = args;
20675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20676 if (!SWIG_IsOK(res1)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20678 }
20679 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 (arg1)->ActivateNext();
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 resultobj = SWIG_Py_Void();
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20694 PyObject *resultobj = 0;
20695 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20696 void *argp1 = 0 ;
20697 int res1 = 0 ;
20698 PyObject *swig_obj[1] ;
20699
20700 if (!args) SWIG_fail;
20701 swig_obj[0] = args;
20702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20703 if (!SWIG_IsOK(res1)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20705 }
20706 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 (arg1)->ActivatePrevious();
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 resultobj = SWIG_Py_Void();
20714 return resultobj;
20715 fail:
20716 return NULL;
20717 }
20718
20719
20720 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20721 PyObject *resultobj = 0;
20722 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20723 void *argp1 = 0 ;
20724 int res1 = 0 ;
20725 PyObject *swig_obj[1] ;
20726
20727 if (!args) SWIG_fail;
20728 swig_obj[0] = args;
20729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20730 if (!SWIG_IsOK(res1)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20732 }
20733 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->ArrangeIcons();
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 resultobj = SWIG_Py_Void();
20741 return resultobj;
20742 fail:
20743 return NULL;
20744 }
20745
20746
20747 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20748 PyObject *resultobj = 0;
20749 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20750 void *argp1 = 0 ;
20751 int res1 = 0 ;
20752 PyObject *swig_obj[1] ;
20753
20754 if (!args) SWIG_fail;
20755 swig_obj[0] = args;
20756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20757 if (!SWIG_IsOK(res1)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20759 }
20760 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 (arg1)->Cascade();
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 resultobj = SWIG_Py_Void();
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20775 PyObject *resultobj = 0;
20776 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20777 wxMDIChildFrame *result = 0 ;
20778 void *argp1 = 0 ;
20779 int res1 = 0 ;
20780 PyObject *swig_obj[1] ;
20781
20782 if (!args) SWIG_fail;
20783 swig_obj[0] = args;
20784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20785 if (!SWIG_IsOK(res1)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20787 }
20788 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
20795 {
20796 resultobj = wxPyMake_wxObject(result, (bool)0);
20797 }
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20805 PyObject *resultobj = 0;
20806 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20807 wxMDIClientWindow *result = 0 ;
20808 void *argp1 = 0 ;
20809 int res1 = 0 ;
20810 PyObject *swig_obj[1] ;
20811
20812 if (!args) SWIG_fail;
20813 swig_obj[0] = args;
20814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20815 if (!SWIG_IsOK(res1)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20817 }
20818 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 {
20826 resultobj = wxPyMake_wxObject(result, (bool)0);
20827 }
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20835 PyObject *resultobj = 0;
20836 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20837 wxWindow *result = 0 ;
20838 void *argp1 = 0 ;
20839 int res1 = 0 ;
20840 PyObject *swig_obj[1] ;
20841
20842 if (!args) SWIG_fail;
20843 swig_obj[0] = args;
20844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20845 if (!SWIG_IsOK(res1)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20847 }
20848 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (wxWindow *)(arg1)->GetToolBar();
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
20856 resultobj = wxPyMake_wxObject(result, 0);
20857 }
20858 return resultobj;
20859 fail:
20860 return NULL;
20861 }
20862
20863
20864 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj = 0;
20866 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20867 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20868 void *argp1 = 0 ;
20869 int res1 = 0 ;
20870 int val2 ;
20871 int ecode2 = 0 ;
20872 PyObject * obj0 = 0 ;
20873 PyObject * obj1 = 0 ;
20874 char * kwnames[] = {
20875 (char *) "self",(char *) "orient", NULL
20876 };
20877
20878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20880 if (!SWIG_IsOK(res1)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20882 }
20883 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20884 if (obj1) {
20885 ecode2 = SWIG_AsVal_int(obj1, &val2);
20886 if (!SWIG_IsOK(ecode2)) {
20887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20888 }
20889 arg2 = static_cast< wxOrientation >(val2);
20890 }
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 (arg1)->Tile(arg2);
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 resultobj = SWIG_Py_Void();
20898 return resultobj;
20899 fail:
20900 return NULL;
20901 }
20902
20903
20904 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20905 PyObject *obj;
20906 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20907 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20908 return SWIG_Py_Void();
20909 }
20910
20911 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20912 return SWIG_Python_InitShadowInstance(args);
20913 }
20914
20915 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20916 PyObject *resultobj = 0;
20917 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20918 int arg2 = (int) (int)-1 ;
20919 wxString const &arg3_defvalue = wxPyEmptyString ;
20920 wxString *arg3 = (wxString *) &arg3_defvalue ;
20921 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20922 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20923 wxSize const &arg5_defvalue = wxDefaultSize ;
20924 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20925 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20926 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20927 wxString *arg7 = (wxString *) &arg7_defvalue ;
20928 wxMDIChildFrame *result = 0 ;
20929 void *argp1 = 0 ;
20930 int res1 = 0 ;
20931 int val2 ;
20932 int ecode2 = 0 ;
20933 bool temp3 = false ;
20934 wxPoint temp4 ;
20935 wxSize temp5 ;
20936 long val6 ;
20937 int ecode6 = 0 ;
20938 bool temp7 = false ;
20939 PyObject * obj0 = 0 ;
20940 PyObject * obj1 = 0 ;
20941 PyObject * obj2 = 0 ;
20942 PyObject * obj3 = 0 ;
20943 PyObject * obj4 = 0 ;
20944 PyObject * obj5 = 0 ;
20945 PyObject * obj6 = 0 ;
20946 char * kwnames[] = {
20947 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20948 };
20949
20950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20952 if (!SWIG_IsOK(res1)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20954 }
20955 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20956 if (obj1) {
20957 ecode2 = SWIG_AsVal_int(obj1, &val2);
20958 if (!SWIG_IsOK(ecode2)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20960 }
20961 arg2 = static_cast< int >(val2);
20962 }
20963 if (obj2) {
20964 {
20965 arg3 = wxString_in_helper(obj2);
20966 if (arg3 == NULL) SWIG_fail;
20967 temp3 = true;
20968 }
20969 }
20970 if (obj3) {
20971 {
20972 arg4 = &temp4;
20973 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20974 }
20975 }
20976 if (obj4) {
20977 {
20978 arg5 = &temp5;
20979 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20980 }
20981 }
20982 if (obj5) {
20983 ecode6 = SWIG_AsVal_long(obj5, &val6);
20984 if (!SWIG_IsOK(ecode6)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20986 }
20987 arg6 = static_cast< long >(val6);
20988 }
20989 if (obj6) {
20990 {
20991 arg7 = wxString_in_helper(obj6);
20992 if (arg7 == NULL) SWIG_fail;
20993 temp7 = true;
20994 }
20995 }
20996 {
20997 if (!wxPyCheckForApp()) SWIG_fail;
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21000 wxPyEndAllowThreads(__tstate);
21001 if (PyErr_Occurred()) SWIG_fail;
21002 }
21003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21004 {
21005 if (temp3)
21006 delete arg3;
21007 }
21008 {
21009 if (temp7)
21010 delete arg7;
21011 }
21012 return resultobj;
21013 fail:
21014 {
21015 if (temp3)
21016 delete arg3;
21017 }
21018 {
21019 if (temp7)
21020 delete arg7;
21021 }
21022 return NULL;
21023 }
21024
21025
21026 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21027 PyObject *resultobj = 0;
21028 wxMDIChildFrame *result = 0 ;
21029
21030 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21031 {
21032 if (!wxPyCheckForApp()) SWIG_fail;
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj = 0;
21047 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21048 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21049 int arg3 = (int) (int)-1 ;
21050 wxString const &arg4_defvalue = wxPyEmptyString ;
21051 wxString *arg4 = (wxString *) &arg4_defvalue ;
21052 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21053 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21054 wxSize const &arg6_defvalue = wxDefaultSize ;
21055 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21056 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21057 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21058 wxString *arg8 = (wxString *) &arg8_defvalue ;
21059 bool result;
21060 void *argp1 = 0 ;
21061 int res1 = 0 ;
21062 void *argp2 = 0 ;
21063 int res2 = 0 ;
21064 int val3 ;
21065 int ecode3 = 0 ;
21066 bool temp4 = false ;
21067 wxPoint temp5 ;
21068 wxSize temp6 ;
21069 long val7 ;
21070 int ecode7 = 0 ;
21071 bool temp8 = false ;
21072 PyObject * obj0 = 0 ;
21073 PyObject * obj1 = 0 ;
21074 PyObject * obj2 = 0 ;
21075 PyObject * obj3 = 0 ;
21076 PyObject * obj4 = 0 ;
21077 PyObject * obj5 = 0 ;
21078 PyObject * obj6 = 0 ;
21079 PyObject * obj7 = 0 ;
21080 char * kwnames[] = {
21081 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21082 };
21083
21084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21086 if (!SWIG_IsOK(res1)) {
21087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21088 }
21089 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21090 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21091 if (!SWIG_IsOK(res2)) {
21092 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21093 }
21094 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21095 if (obj2) {
21096 ecode3 = SWIG_AsVal_int(obj2, &val3);
21097 if (!SWIG_IsOK(ecode3)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21099 }
21100 arg3 = static_cast< int >(val3);
21101 }
21102 if (obj3) {
21103 {
21104 arg4 = wxString_in_helper(obj3);
21105 if (arg4 == NULL) SWIG_fail;
21106 temp4 = true;
21107 }
21108 }
21109 if (obj4) {
21110 {
21111 arg5 = &temp5;
21112 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21113 }
21114 }
21115 if (obj5) {
21116 {
21117 arg6 = &temp6;
21118 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21119 }
21120 }
21121 if (obj6) {
21122 ecode7 = SWIG_AsVal_long(obj6, &val7);
21123 if (!SWIG_IsOK(ecode7)) {
21124 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21125 }
21126 arg7 = static_cast< long >(val7);
21127 }
21128 if (obj7) {
21129 {
21130 arg8 = wxString_in_helper(obj7);
21131 if (arg8 == NULL) SWIG_fail;
21132 temp8 = true;
21133 }
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 {
21142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21143 }
21144 {
21145 if (temp4)
21146 delete arg4;
21147 }
21148 {
21149 if (temp8)
21150 delete arg8;
21151 }
21152 return resultobj;
21153 fail:
21154 {
21155 if (temp4)
21156 delete arg4;
21157 }
21158 {
21159 if (temp8)
21160 delete arg8;
21161 }
21162 return NULL;
21163 }
21164
21165
21166 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21167 PyObject *resultobj = 0;
21168 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21169 void *argp1 = 0 ;
21170 int res1 = 0 ;
21171 PyObject *swig_obj[1] ;
21172
21173 if (!args) SWIG_fail;
21174 swig_obj[0] = args;
21175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21176 if (!SWIG_IsOK(res1)) {
21177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21178 }
21179 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 (arg1)->Activate();
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 resultobj = SWIG_Py_Void();
21187 return resultobj;
21188 fail:
21189 return NULL;
21190 }
21191
21192
21193 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21194 PyObject *obj;
21195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21196 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21197 return SWIG_Py_Void();
21198 }
21199
21200 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21201 return SWIG_Python_InitShadowInstance(args);
21202 }
21203
21204 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj = 0;
21206 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21207 long arg2 = (long) 0 ;
21208 wxMDIClientWindow *result = 0 ;
21209 void *argp1 = 0 ;
21210 int res1 = 0 ;
21211 long val2 ;
21212 int ecode2 = 0 ;
21213 PyObject * obj0 = 0 ;
21214 PyObject * obj1 = 0 ;
21215 char * kwnames[] = {
21216 (char *) "parent",(char *) "style", NULL
21217 };
21218
21219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21221 if (!SWIG_IsOK(res1)) {
21222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21223 }
21224 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21225 if (obj1) {
21226 ecode2 = SWIG_AsVal_long(obj1, &val2);
21227 if (!SWIG_IsOK(ecode2)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21229 }
21230 arg2 = static_cast< long >(val2);
21231 }
21232 {
21233 if (!wxPyCheckForApp()) SWIG_fail;
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21240 return resultobj;
21241 fail:
21242 return NULL;
21243 }
21244
21245
21246 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21247 PyObject *resultobj = 0;
21248 wxMDIClientWindow *result = 0 ;
21249
21250 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21251 {
21252 if (!wxPyCheckForApp()) SWIG_fail;
21253 PyThreadState* __tstate = wxPyBeginAllowThreads();
21254 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21255 wxPyEndAllowThreads(__tstate);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21259 return resultobj;
21260 fail:
21261 return NULL;
21262 }
21263
21264
21265 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21266 PyObject *resultobj = 0;
21267 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21268 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21269 long arg3 = (long) 0 ;
21270 bool result;
21271 void *argp1 = 0 ;
21272 int res1 = 0 ;
21273 void *argp2 = 0 ;
21274 int res2 = 0 ;
21275 long val3 ;
21276 int ecode3 = 0 ;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 PyObject * obj2 = 0 ;
21280 char * kwnames[] = {
21281 (char *) "self",(char *) "parent",(char *) "style", NULL
21282 };
21283
21284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21286 if (!SWIG_IsOK(res1)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21288 }
21289 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21290 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21291 if (!SWIG_IsOK(res2)) {
21292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21293 }
21294 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21295 if (obj2) {
21296 ecode3 = SWIG_AsVal_long(obj2, &val3);
21297 if (!SWIG_IsOK(ecode3)) {
21298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21299 }
21300 arg3 = static_cast< long >(val3);
21301 }
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = (bool)(arg1)->Create(arg2,arg3);
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 {
21309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21310 }
21311 return resultobj;
21312 fail:
21313 return NULL;
21314 }
21315
21316
21317 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21318 PyObject *obj;
21319 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21320 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21321 return SWIG_Py_Void();
21322 }
21323
21324 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21325 return SWIG_Python_InitShadowInstance(args);
21326 }
21327
21328 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj = 0;
21330 wxWindow *arg1 = (wxWindow *) 0 ;
21331 int arg2 = (int) (int)-1 ;
21332 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21333 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21334 wxSize const &arg4_defvalue = wxDefaultSize ;
21335 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21336 long arg5 = (long) 0 ;
21337 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21338 wxString *arg6 = (wxString *) &arg6_defvalue ;
21339 wxPyWindow *result = 0 ;
21340 void *argp1 = 0 ;
21341 int res1 = 0 ;
21342 int val2 ;
21343 int ecode2 = 0 ;
21344 wxPoint temp3 ;
21345 wxSize temp4 ;
21346 long val5 ;
21347 int ecode5 = 0 ;
21348 bool temp6 = false ;
21349 PyObject * obj0 = 0 ;
21350 PyObject * obj1 = 0 ;
21351 PyObject * obj2 = 0 ;
21352 PyObject * obj3 = 0 ;
21353 PyObject * obj4 = 0 ;
21354 PyObject * obj5 = 0 ;
21355 char * kwnames[] = {
21356 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21357 };
21358
21359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21361 if (!SWIG_IsOK(res1)) {
21362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21363 }
21364 arg1 = reinterpret_cast< wxWindow * >(argp1);
21365 if (obj1) {
21366 ecode2 = SWIG_AsVal_int(obj1, &val2);
21367 if (!SWIG_IsOK(ecode2)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21369 }
21370 arg2 = static_cast< int >(val2);
21371 }
21372 if (obj2) {
21373 {
21374 arg3 = &temp3;
21375 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21376 }
21377 }
21378 if (obj3) {
21379 {
21380 arg4 = &temp4;
21381 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21382 }
21383 }
21384 if (obj4) {
21385 ecode5 = SWIG_AsVal_long(obj4, &val5);
21386 if (!SWIG_IsOK(ecode5)) {
21387 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21388 }
21389 arg5 = static_cast< long >(val5);
21390 }
21391 if (obj5) {
21392 {
21393 arg6 = wxString_in_helper(obj5);
21394 if (arg6 == NULL) SWIG_fail;
21395 temp6 = true;
21396 }
21397 }
21398 {
21399 if (!wxPyCheckForApp()) SWIG_fail;
21400 PyThreadState* __tstate = wxPyBeginAllowThreads();
21401 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21406 {
21407 if (temp6)
21408 delete arg6;
21409 }
21410 return resultobj;
21411 fail:
21412 {
21413 if (temp6)
21414 delete arg6;
21415 }
21416 return NULL;
21417 }
21418
21419
21420 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21421 PyObject *resultobj = 0;
21422 wxPyWindow *result = 0 ;
21423
21424 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21425 {
21426 if (!wxPyCheckForApp()) SWIG_fail;
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (wxPyWindow *)new wxPyWindow();
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj = 0;
21441 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21442 PyObject *arg2 = (PyObject *) 0 ;
21443 PyObject *arg3 = (PyObject *) 0 ;
21444 void *argp1 = 0 ;
21445 int res1 = 0 ;
21446 PyObject * obj0 = 0 ;
21447 PyObject * obj1 = 0 ;
21448 PyObject * obj2 = 0 ;
21449 char * kwnames[] = {
21450 (char *) "self",(char *) "self",(char *) "_class", NULL
21451 };
21452
21453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21455 if (!SWIG_IsOK(res1)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21457 }
21458 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21459 arg2 = obj1;
21460 arg3 = obj2;
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 (arg1)->_setCallbackInfo(arg2,arg3);
21464 wxPyEndAllowThreads(__tstate);
21465 if (PyErr_Occurred()) SWIG_fail;
21466 }
21467 resultobj = SWIG_Py_Void();
21468 return resultobj;
21469 fail:
21470 return NULL;
21471 }
21472
21473
21474 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj = 0;
21476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21477 wxSize *arg2 = 0 ;
21478 void *argp1 = 0 ;
21479 int res1 = 0 ;
21480 wxSize temp2 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 char * kwnames[] = {
21484 (char *) "self",(char *) "size", NULL
21485 };
21486
21487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21489 if (!SWIG_IsOK(res1)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21491 }
21492 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21493 {
21494 arg2 = &temp2;
21495 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21496 }
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 (arg1)->SetBestSize((wxSize const &)*arg2);
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 resultobj = SWIG_Py_Void();
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj = 0;
21512 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21513 wxDC *arg2 = (wxDC *) 0 ;
21514 bool result;
21515 void *argp1 = 0 ;
21516 int res1 = 0 ;
21517 void *argp2 = 0 ;
21518 int res2 = 0 ;
21519 PyObject * obj0 = 0 ;
21520 PyObject * obj1 = 0 ;
21521 char * kwnames[] = {
21522 (char *) "self",(char *) "dc", NULL
21523 };
21524
21525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21527 if (!SWIG_IsOK(res1)) {
21528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21529 }
21530 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21532 if (!SWIG_IsOK(res2)) {
21533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21534 }
21535 arg2 = reinterpret_cast< wxDC * >(argp2);
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (bool)(arg1)->DoEraseBackground(arg2);
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21544 }
21545 return resultobj;
21546 fail:
21547 return NULL;
21548 }
21549
21550
21551 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21552 PyObject *resultobj = 0;
21553 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21554 int arg2 ;
21555 int arg3 ;
21556 int arg4 ;
21557 int arg5 ;
21558 void *argp1 = 0 ;
21559 int res1 = 0 ;
21560 int val2 ;
21561 int ecode2 = 0 ;
21562 int val3 ;
21563 int ecode3 = 0 ;
21564 int val4 ;
21565 int ecode4 = 0 ;
21566 int val5 ;
21567 int ecode5 = 0 ;
21568 PyObject * obj0 = 0 ;
21569 PyObject * obj1 = 0 ;
21570 PyObject * obj2 = 0 ;
21571 PyObject * obj3 = 0 ;
21572 PyObject * obj4 = 0 ;
21573 char * kwnames[] = {
21574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21575 };
21576
21577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21579 if (!SWIG_IsOK(res1)) {
21580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21581 }
21582 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21583 ecode2 = SWIG_AsVal_int(obj1, &val2);
21584 if (!SWIG_IsOK(ecode2)) {
21585 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21586 }
21587 arg2 = static_cast< int >(val2);
21588 ecode3 = SWIG_AsVal_int(obj2, &val3);
21589 if (!SWIG_IsOK(ecode3)) {
21590 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21591 }
21592 arg3 = static_cast< int >(val3);
21593 ecode4 = SWIG_AsVal_int(obj3, &val4);
21594 if (!SWIG_IsOK(ecode4)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21596 }
21597 arg4 = static_cast< int >(val4);
21598 ecode5 = SWIG_AsVal_int(obj4, &val5);
21599 if (!SWIG_IsOK(ecode5)) {
21600 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21601 }
21602 arg5 = static_cast< int >(val5);
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21606 wxPyEndAllowThreads(__tstate);
21607 if (PyErr_Occurred()) SWIG_fail;
21608 }
21609 resultobj = SWIG_Py_Void();
21610 return resultobj;
21611 fail:
21612 return NULL;
21613 }
21614
21615
21616 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21617 PyObject *resultobj = 0;
21618 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21619 int arg2 ;
21620 int arg3 ;
21621 int arg4 ;
21622 int arg5 ;
21623 int arg6 = (int) wxSIZE_AUTO ;
21624 void *argp1 = 0 ;
21625 int res1 = 0 ;
21626 int val2 ;
21627 int ecode2 = 0 ;
21628 int val3 ;
21629 int ecode3 = 0 ;
21630 int val4 ;
21631 int ecode4 = 0 ;
21632 int val5 ;
21633 int ecode5 = 0 ;
21634 int val6 ;
21635 int ecode6 = 0 ;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 PyObject * obj2 = 0 ;
21639 PyObject * obj3 = 0 ;
21640 PyObject * obj4 = 0 ;
21641 PyObject * obj5 = 0 ;
21642 char * kwnames[] = {
21643 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21644 };
21645
21646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21648 if (!SWIG_IsOK(res1)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21650 }
21651 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21652 ecode2 = SWIG_AsVal_int(obj1, &val2);
21653 if (!SWIG_IsOK(ecode2)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21655 }
21656 arg2 = static_cast< int >(val2);
21657 ecode3 = SWIG_AsVal_int(obj2, &val3);
21658 if (!SWIG_IsOK(ecode3)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21660 }
21661 arg3 = static_cast< int >(val3);
21662 ecode4 = SWIG_AsVal_int(obj3, &val4);
21663 if (!SWIG_IsOK(ecode4)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21665 }
21666 arg4 = static_cast< int >(val4);
21667 ecode5 = SWIG_AsVal_int(obj4, &val5);
21668 if (!SWIG_IsOK(ecode5)) {
21669 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21670 }
21671 arg5 = static_cast< int >(val5);
21672 if (obj5) {
21673 ecode6 = SWIG_AsVal_int(obj5, &val6);
21674 if (!SWIG_IsOK(ecode6)) {
21675 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21676 }
21677 arg6 = static_cast< int >(val6);
21678 }
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 resultobj = SWIG_Py_Void();
21686 return resultobj;
21687 fail:
21688 return NULL;
21689 }
21690
21691
21692 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21693 PyObject *resultobj = 0;
21694 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21695 int arg2 ;
21696 int arg3 ;
21697 void *argp1 = 0 ;
21698 int res1 = 0 ;
21699 int val2 ;
21700 int ecode2 = 0 ;
21701 int val3 ;
21702 int ecode3 = 0 ;
21703 PyObject * obj0 = 0 ;
21704 PyObject * obj1 = 0 ;
21705 PyObject * obj2 = 0 ;
21706 char * kwnames[] = {
21707 (char *) "self",(char *) "width",(char *) "height", NULL
21708 };
21709
21710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21712 if (!SWIG_IsOK(res1)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21714 }
21715 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21716 ecode2 = SWIG_AsVal_int(obj1, &val2);
21717 if (!SWIG_IsOK(ecode2)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21719 }
21720 arg2 = static_cast< int >(val2);
21721 ecode3 = SWIG_AsVal_int(obj2, &val3);
21722 if (!SWIG_IsOK(ecode3)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21724 }
21725 arg3 = static_cast< int >(val3);
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 (arg1)->DoSetClientSize(arg2,arg3);
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 resultobj = SWIG_Py_Void();
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj = 0;
21741 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21742 int arg2 ;
21743 int arg3 ;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 int val2 ;
21747 int ecode2 = 0 ;
21748 int val3 ;
21749 int ecode3 = 0 ;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 PyObject * obj2 = 0 ;
21753 char * kwnames[] = {
21754 (char *) "self",(char *) "x",(char *) "y", NULL
21755 };
21756
21757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21759 if (!SWIG_IsOK(res1)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21761 }
21762 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21763 ecode2 = SWIG_AsVal_int(obj1, &val2);
21764 if (!SWIG_IsOK(ecode2)) {
21765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21766 }
21767 arg2 = static_cast< int >(val2);
21768 ecode3 = SWIG_AsVal_int(obj2, &val3);
21769 if (!SWIG_IsOK(ecode3)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21771 }
21772 arg3 = static_cast< int >(val3);
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 (arg1)->DoSetVirtualSize(arg2,arg3);
21776 wxPyEndAllowThreads(__tstate);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 }
21779 resultobj = SWIG_Py_Void();
21780 return resultobj;
21781 fail:
21782 return NULL;
21783 }
21784
21785
21786 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21787 PyObject *resultobj = 0;
21788 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21789 int *arg2 = (int *) 0 ;
21790 int *arg3 = (int *) 0 ;
21791 void *argp1 = 0 ;
21792 int res1 = 0 ;
21793 int temp2 ;
21794 int res2 = SWIG_TMPOBJ ;
21795 int temp3 ;
21796 int res3 = SWIG_TMPOBJ ;
21797 PyObject *swig_obj[1] ;
21798
21799 arg2 = &temp2;
21800 arg3 = &temp3;
21801 if (!args) SWIG_fail;
21802 swig_obj[0] = args;
21803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21804 if (!SWIG_IsOK(res1)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21806 }
21807 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 resultobj = SWIG_Py_Void();
21815 if (SWIG_IsTmpObj(res2)) {
21816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21817 } else {
21818 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21820 }
21821 if (SWIG_IsTmpObj(res3)) {
21822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21823 } else {
21824 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21826 }
21827 return resultobj;
21828 fail:
21829 return NULL;
21830 }
21831
21832
21833 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21834 PyObject *resultobj = 0;
21835 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21836 int *arg2 = (int *) 0 ;
21837 int *arg3 = (int *) 0 ;
21838 void *argp1 = 0 ;
21839 int res1 = 0 ;
21840 int temp2 ;
21841 int res2 = SWIG_TMPOBJ ;
21842 int temp3 ;
21843 int res3 = SWIG_TMPOBJ ;
21844 PyObject *swig_obj[1] ;
21845
21846 arg2 = &temp2;
21847 arg3 = &temp3;
21848 if (!args) SWIG_fail;
21849 swig_obj[0] = args;
21850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21851 if (!SWIG_IsOK(res1)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21853 }
21854 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21858 wxPyEndAllowThreads(__tstate);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 resultobj = SWIG_Py_Void();
21862 if (SWIG_IsTmpObj(res2)) {
21863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21864 } else {
21865 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21867 }
21868 if (SWIG_IsTmpObj(res3)) {
21869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21870 } else {
21871 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21872 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21873 }
21874 return resultobj;
21875 fail:
21876 return NULL;
21877 }
21878
21879
21880 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21881 PyObject *resultobj = 0;
21882 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21883 int *arg2 = (int *) 0 ;
21884 int *arg3 = (int *) 0 ;
21885 void *argp1 = 0 ;
21886 int res1 = 0 ;
21887 int temp2 ;
21888 int res2 = SWIG_TMPOBJ ;
21889 int temp3 ;
21890 int res3 = SWIG_TMPOBJ ;
21891 PyObject *swig_obj[1] ;
21892
21893 arg2 = &temp2;
21894 arg3 = &temp3;
21895 if (!args) SWIG_fail;
21896 swig_obj[0] = args;
21897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21898 if (!SWIG_IsOK(res1)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21900 }
21901 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 resultobj = SWIG_Py_Void();
21909 if (SWIG_IsTmpObj(res2)) {
21910 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21911 } else {
21912 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21913 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21914 }
21915 if (SWIG_IsTmpObj(res3)) {
21916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21917 } else {
21918 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21919 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21920 }
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21928 PyObject *resultobj = 0;
21929 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21930 wxSize result;
21931 void *argp1 = 0 ;
21932 int res1 = 0 ;
21933 PyObject *swig_obj[1] ;
21934
21935 if (!args) SWIG_fail;
21936 swig_obj[0] = args;
21937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21938 if (!SWIG_IsOK(res1)) {
21939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21940 }
21941 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21949 return resultobj;
21950 fail:
21951 return NULL;
21952 }
21953
21954
21955 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21956 PyObject *resultobj = 0;
21957 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21958 wxSize result;
21959 void *argp1 = 0 ;
21960 int res1 = 0 ;
21961 PyObject *swig_obj[1] ;
21962
21963 if (!args) SWIG_fail;
21964 swig_obj[0] = args;
21965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21966 if (!SWIG_IsOK(res1)) {
21967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21968 }
21969 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21977 return resultobj;
21978 fail:
21979 return NULL;
21980 }
21981
21982
21983 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21984 PyObject *resultobj = 0;
21985 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21986 SwigValueWrapper<wxVisualAttributes > result;
21987 void *argp1 = 0 ;
21988 int res1 = 0 ;
21989 PyObject *swig_obj[1] ;
21990
21991 if (!args) SWIG_fail;
21992 swig_obj[0] = args;
21993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21994 if (!SWIG_IsOK(res1)) {
21995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21996 }
21997 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 result = (arg1)->GetDefaultAttributes();
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22005 return resultobj;
22006 fail:
22007 return NULL;
22008 }
22009
22010
22011 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22012 PyObject *resultobj = 0;
22013 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22014 void *argp1 = 0 ;
22015 int res1 = 0 ;
22016 PyObject *swig_obj[1] ;
22017
22018 if (!args) SWIG_fail;
22019 swig_obj[0] = args;
22020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22021 if (!SWIG_IsOK(res1)) {
22022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22023 }
22024 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 (arg1)->OnInternalIdle();
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 resultobj = SWIG_Py_Void();
22032 return resultobj;
22033 fail:
22034 return NULL;
22035 }
22036
22037
22038 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22039 PyObject *obj;
22040 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22042 return SWIG_Py_Void();
22043 }
22044
22045 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22046 return SWIG_Python_InitShadowInstance(args);
22047 }
22048
22049 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22050 PyObject *resultobj = 0;
22051 wxWindow *arg1 = (wxWindow *) 0 ;
22052 int arg2 = (int) (int)-1 ;
22053 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22054 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22055 wxSize const &arg4_defvalue = wxDefaultSize ;
22056 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22057 long arg5 = (long) 0 ;
22058 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22059 wxString *arg6 = (wxString *) &arg6_defvalue ;
22060 wxPyPanel *result = 0 ;
22061 void *argp1 = 0 ;
22062 int res1 = 0 ;
22063 int val2 ;
22064 int ecode2 = 0 ;
22065 wxPoint temp3 ;
22066 wxSize temp4 ;
22067 long val5 ;
22068 int ecode5 = 0 ;
22069 bool temp6 = false ;
22070 PyObject * obj0 = 0 ;
22071 PyObject * obj1 = 0 ;
22072 PyObject * obj2 = 0 ;
22073 PyObject * obj3 = 0 ;
22074 PyObject * obj4 = 0 ;
22075 PyObject * obj5 = 0 ;
22076 char * kwnames[] = {
22077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22078 };
22079
22080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22082 if (!SWIG_IsOK(res1)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22084 }
22085 arg1 = reinterpret_cast< wxWindow * >(argp1);
22086 if (obj1) {
22087 ecode2 = SWIG_AsVal_int(obj1, &val2);
22088 if (!SWIG_IsOK(ecode2)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22090 }
22091 arg2 = static_cast< int >(val2);
22092 }
22093 if (obj2) {
22094 {
22095 arg3 = &temp3;
22096 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22097 }
22098 }
22099 if (obj3) {
22100 {
22101 arg4 = &temp4;
22102 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22103 }
22104 }
22105 if (obj4) {
22106 ecode5 = SWIG_AsVal_long(obj4, &val5);
22107 if (!SWIG_IsOK(ecode5)) {
22108 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22109 }
22110 arg5 = static_cast< long >(val5);
22111 }
22112 if (obj5) {
22113 {
22114 arg6 = wxString_in_helper(obj5);
22115 if (arg6 == NULL) SWIG_fail;
22116 temp6 = true;
22117 }
22118 }
22119 {
22120 if (!wxPyCheckForApp()) SWIG_fail;
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22127 {
22128 if (temp6)
22129 delete arg6;
22130 }
22131 return resultobj;
22132 fail:
22133 {
22134 if (temp6)
22135 delete arg6;
22136 }
22137 return NULL;
22138 }
22139
22140
22141 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22142 PyObject *resultobj = 0;
22143 wxPyPanel *result = 0 ;
22144
22145 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22146 {
22147 if (!wxPyCheckForApp()) SWIG_fail;
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 result = (wxPyPanel *)new wxPyPanel();
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj = 0;
22162 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22163 PyObject *arg2 = (PyObject *) 0 ;
22164 PyObject *arg3 = (PyObject *) 0 ;
22165 void *argp1 = 0 ;
22166 int res1 = 0 ;
22167 PyObject * obj0 = 0 ;
22168 PyObject * obj1 = 0 ;
22169 PyObject * obj2 = 0 ;
22170 char * kwnames[] = {
22171 (char *) "self",(char *) "self",(char *) "_class", NULL
22172 };
22173
22174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22176 if (!SWIG_IsOK(res1)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22178 }
22179 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22180 arg2 = obj1;
22181 arg3 = obj2;
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 (arg1)->_setCallbackInfo(arg2,arg3);
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 resultobj = SWIG_Py_Void();
22189 return resultobj;
22190 fail:
22191 return NULL;
22192 }
22193
22194
22195 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22196 PyObject *resultobj = 0;
22197 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22198 wxSize *arg2 = 0 ;
22199 void *argp1 = 0 ;
22200 int res1 = 0 ;
22201 wxSize temp2 ;
22202 PyObject * obj0 = 0 ;
22203 PyObject * obj1 = 0 ;
22204 char * kwnames[] = {
22205 (char *) "self",(char *) "size", NULL
22206 };
22207
22208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22210 if (!SWIG_IsOK(res1)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22212 }
22213 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22214 {
22215 arg2 = &temp2;
22216 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22217 }
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 (arg1)->SetBestSize((wxSize const &)*arg2);
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 resultobj = SWIG_Py_Void();
22225 return resultobj;
22226 fail:
22227 return NULL;
22228 }
22229
22230
22231 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj = 0;
22233 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22234 wxDC *arg2 = (wxDC *) 0 ;
22235 bool result;
22236 void *argp1 = 0 ;
22237 int res1 = 0 ;
22238 void *argp2 = 0 ;
22239 int res2 = 0 ;
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 char * kwnames[] = {
22243 (char *) "self",(char *) "dc", NULL
22244 };
22245
22246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22248 if (!SWIG_IsOK(res1)) {
22249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22250 }
22251 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22253 if (!SWIG_IsOK(res2)) {
22254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22255 }
22256 arg2 = reinterpret_cast< wxDC * >(argp2);
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (bool)(arg1)->DoEraseBackground(arg2);
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 {
22264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22265 }
22266 return resultobj;
22267 fail:
22268 return NULL;
22269 }
22270
22271
22272 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj = 0;
22274 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22275 int arg2 ;
22276 int arg3 ;
22277 int arg4 ;
22278 int arg5 ;
22279 void *argp1 = 0 ;
22280 int res1 = 0 ;
22281 int val2 ;
22282 int ecode2 = 0 ;
22283 int val3 ;
22284 int ecode3 = 0 ;
22285 int val4 ;
22286 int ecode4 = 0 ;
22287 int val5 ;
22288 int ecode5 = 0 ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 PyObject * obj2 = 0 ;
22292 PyObject * obj3 = 0 ;
22293 PyObject * obj4 = 0 ;
22294 char * kwnames[] = {
22295 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22296 };
22297
22298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22300 if (!SWIG_IsOK(res1)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22302 }
22303 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22304 ecode2 = SWIG_AsVal_int(obj1, &val2);
22305 if (!SWIG_IsOK(ecode2)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22307 }
22308 arg2 = static_cast< int >(val2);
22309 ecode3 = SWIG_AsVal_int(obj2, &val3);
22310 if (!SWIG_IsOK(ecode3)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22312 }
22313 arg3 = static_cast< int >(val3);
22314 ecode4 = SWIG_AsVal_int(obj3, &val4);
22315 if (!SWIG_IsOK(ecode4)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22317 }
22318 arg4 = static_cast< int >(val4);
22319 ecode5 = SWIG_AsVal_int(obj4, &val5);
22320 if (!SWIG_IsOK(ecode5)) {
22321 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22322 }
22323 arg5 = static_cast< int >(val5);
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 resultobj = SWIG_Py_Void();
22331 return resultobj;
22332 fail:
22333 return NULL;
22334 }
22335
22336
22337 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj = 0;
22339 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22340 int arg2 ;
22341 int arg3 ;
22342 int arg4 ;
22343 int arg5 ;
22344 int arg6 = (int) wxSIZE_AUTO ;
22345 void *argp1 = 0 ;
22346 int res1 = 0 ;
22347 int val2 ;
22348 int ecode2 = 0 ;
22349 int val3 ;
22350 int ecode3 = 0 ;
22351 int val4 ;
22352 int ecode4 = 0 ;
22353 int val5 ;
22354 int ecode5 = 0 ;
22355 int val6 ;
22356 int ecode6 = 0 ;
22357 PyObject * obj0 = 0 ;
22358 PyObject * obj1 = 0 ;
22359 PyObject * obj2 = 0 ;
22360 PyObject * obj3 = 0 ;
22361 PyObject * obj4 = 0 ;
22362 PyObject * obj5 = 0 ;
22363 char * kwnames[] = {
22364 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22365 };
22366
22367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22369 if (!SWIG_IsOK(res1)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22371 }
22372 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22373 ecode2 = SWIG_AsVal_int(obj1, &val2);
22374 if (!SWIG_IsOK(ecode2)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22376 }
22377 arg2 = static_cast< int >(val2);
22378 ecode3 = SWIG_AsVal_int(obj2, &val3);
22379 if (!SWIG_IsOK(ecode3)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22381 }
22382 arg3 = static_cast< int >(val3);
22383 ecode4 = SWIG_AsVal_int(obj3, &val4);
22384 if (!SWIG_IsOK(ecode4)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22386 }
22387 arg4 = static_cast< int >(val4);
22388 ecode5 = SWIG_AsVal_int(obj4, &val5);
22389 if (!SWIG_IsOK(ecode5)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22391 }
22392 arg5 = static_cast< int >(val5);
22393 if (obj5) {
22394 ecode6 = SWIG_AsVal_int(obj5, &val6);
22395 if (!SWIG_IsOK(ecode6)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22397 }
22398 arg6 = static_cast< int >(val6);
22399 }
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 resultobj = SWIG_Py_Void();
22407 return resultobj;
22408 fail:
22409 return NULL;
22410 }
22411
22412
22413 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22414 PyObject *resultobj = 0;
22415 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22416 int arg2 ;
22417 int arg3 ;
22418 void *argp1 = 0 ;
22419 int res1 = 0 ;
22420 int val2 ;
22421 int ecode2 = 0 ;
22422 int val3 ;
22423 int ecode3 = 0 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 PyObject * obj2 = 0 ;
22427 char * kwnames[] = {
22428 (char *) "self",(char *) "width",(char *) "height", NULL
22429 };
22430
22431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22433 if (!SWIG_IsOK(res1)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22435 }
22436 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22437 ecode2 = SWIG_AsVal_int(obj1, &val2);
22438 if (!SWIG_IsOK(ecode2)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22440 }
22441 arg2 = static_cast< int >(val2);
22442 ecode3 = SWIG_AsVal_int(obj2, &val3);
22443 if (!SWIG_IsOK(ecode3)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22445 }
22446 arg3 = static_cast< int >(val3);
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->DoSetClientSize(arg2,arg3);
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = SWIG_Py_Void();
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj = 0;
22462 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22463 int arg2 ;
22464 int arg3 ;
22465 void *argp1 = 0 ;
22466 int res1 = 0 ;
22467 int val2 ;
22468 int ecode2 = 0 ;
22469 int val3 ;
22470 int ecode3 = 0 ;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 PyObject * obj2 = 0 ;
22474 char * kwnames[] = {
22475 (char *) "self",(char *) "x",(char *) "y", NULL
22476 };
22477
22478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22480 if (!SWIG_IsOK(res1)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22482 }
22483 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22484 ecode2 = SWIG_AsVal_int(obj1, &val2);
22485 if (!SWIG_IsOK(ecode2)) {
22486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22487 }
22488 arg2 = static_cast< int >(val2);
22489 ecode3 = SWIG_AsVal_int(obj2, &val3);
22490 if (!SWIG_IsOK(ecode3)) {
22491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22492 }
22493 arg3 = static_cast< int >(val3);
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 (arg1)->DoSetVirtualSize(arg2,arg3);
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 resultobj = SWIG_Py_Void();
22501 return resultobj;
22502 fail:
22503 return NULL;
22504 }
22505
22506
22507 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22508 PyObject *resultobj = 0;
22509 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22510 int *arg2 = (int *) 0 ;
22511 int *arg3 = (int *) 0 ;
22512 void *argp1 = 0 ;
22513 int res1 = 0 ;
22514 int temp2 ;
22515 int res2 = SWIG_TMPOBJ ;
22516 int temp3 ;
22517 int res3 = SWIG_TMPOBJ ;
22518 PyObject *swig_obj[1] ;
22519
22520 arg2 = &temp2;
22521 arg3 = &temp3;
22522 if (!args) SWIG_fail;
22523 swig_obj[0] = args;
22524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22525 if (!SWIG_IsOK(res1)) {
22526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22527 }
22528 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 resultobj = SWIG_Py_Void();
22536 if (SWIG_IsTmpObj(res2)) {
22537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22538 } else {
22539 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22541 }
22542 if (SWIG_IsTmpObj(res3)) {
22543 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22544 } else {
22545 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22547 }
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22555 PyObject *resultobj = 0;
22556 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22557 int *arg2 = (int *) 0 ;
22558 int *arg3 = (int *) 0 ;
22559 void *argp1 = 0 ;
22560 int res1 = 0 ;
22561 int temp2 ;
22562 int res2 = SWIG_TMPOBJ ;
22563 int temp3 ;
22564 int res3 = SWIG_TMPOBJ ;
22565 PyObject *swig_obj[1] ;
22566
22567 arg2 = &temp2;
22568 arg3 = &temp3;
22569 if (!args) SWIG_fail;
22570 swig_obj[0] = args;
22571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22572 if (!SWIG_IsOK(res1)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22574 }
22575 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 resultobj = SWIG_Py_Void();
22583 if (SWIG_IsTmpObj(res2)) {
22584 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22585 } else {
22586 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22587 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22588 }
22589 if (SWIG_IsTmpObj(res3)) {
22590 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22591 } else {
22592 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22594 }
22595 return resultobj;
22596 fail:
22597 return NULL;
22598 }
22599
22600
22601 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22602 PyObject *resultobj = 0;
22603 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22604 int *arg2 = (int *) 0 ;
22605 int *arg3 = (int *) 0 ;
22606 void *argp1 = 0 ;
22607 int res1 = 0 ;
22608 int temp2 ;
22609 int res2 = SWIG_TMPOBJ ;
22610 int temp3 ;
22611 int res3 = SWIG_TMPOBJ ;
22612 PyObject *swig_obj[1] ;
22613
22614 arg2 = &temp2;
22615 arg3 = &temp3;
22616 if (!args) SWIG_fail;
22617 swig_obj[0] = args;
22618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22619 if (!SWIG_IsOK(res1)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22621 }
22622 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 resultobj = SWIG_Py_Void();
22630 if (SWIG_IsTmpObj(res2)) {
22631 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22632 } else {
22633 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22634 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22635 }
22636 if (SWIG_IsTmpObj(res3)) {
22637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22638 } else {
22639 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22641 }
22642 return resultobj;
22643 fail:
22644 return NULL;
22645 }
22646
22647
22648 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22649 PyObject *resultobj = 0;
22650 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22651 wxSize result;
22652 void *argp1 = 0 ;
22653 int res1 = 0 ;
22654 PyObject *swig_obj[1] ;
22655
22656 if (!args) SWIG_fail;
22657 swig_obj[0] = args;
22658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22659 if (!SWIG_IsOK(res1)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22661 }
22662 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22663 {
22664 PyThreadState* __tstate = wxPyBeginAllowThreads();
22665 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22666 wxPyEndAllowThreads(__tstate);
22667 if (PyErr_Occurred()) SWIG_fail;
22668 }
22669 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22670 return resultobj;
22671 fail:
22672 return NULL;
22673 }
22674
22675
22676 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22677 PyObject *resultobj = 0;
22678 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22679 wxSize result;
22680 void *argp1 = 0 ;
22681 int res1 = 0 ;
22682 PyObject *swig_obj[1] ;
22683
22684 if (!args) SWIG_fail;
22685 swig_obj[0] = args;
22686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22687 if (!SWIG_IsOK(res1)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22689 }
22690 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22691 {
22692 PyThreadState* __tstate = wxPyBeginAllowThreads();
22693 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22698 return resultobj;
22699 fail:
22700 return NULL;
22701 }
22702
22703
22704 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22705 PyObject *resultobj = 0;
22706 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22707 SwigValueWrapper<wxVisualAttributes > result;
22708 void *argp1 = 0 ;
22709 int res1 = 0 ;
22710 PyObject *swig_obj[1] ;
22711
22712 if (!args) SWIG_fail;
22713 swig_obj[0] = args;
22714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22715 if (!SWIG_IsOK(res1)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22717 }
22718 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 result = (arg1)->GetDefaultAttributes();
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22726 return resultobj;
22727 fail:
22728 return NULL;
22729 }
22730
22731
22732 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22733 PyObject *resultobj = 0;
22734 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22735 void *argp1 = 0 ;
22736 int res1 = 0 ;
22737 PyObject *swig_obj[1] ;
22738
22739 if (!args) SWIG_fail;
22740 swig_obj[0] = args;
22741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22742 if (!SWIG_IsOK(res1)) {
22743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22744 }
22745 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22746 {
22747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22748 (arg1)->OnInternalIdle();
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 resultobj = SWIG_Py_Void();
22753 return resultobj;
22754 fail:
22755 return NULL;
22756 }
22757
22758
22759 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22760 PyObject *obj;
22761 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22762 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22763 return SWIG_Py_Void();
22764 }
22765
22766 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22767 return SWIG_Python_InitShadowInstance(args);
22768 }
22769
22770 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj = 0;
22772 wxWindow *arg1 = (wxWindow *) 0 ;
22773 int arg2 = (int) (int)-1 ;
22774 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22775 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22776 wxSize const &arg4_defvalue = wxDefaultSize ;
22777 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22778 long arg5 = (long) 0 ;
22779 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22780 wxString *arg6 = (wxString *) &arg6_defvalue ;
22781 wxPyScrolledWindow *result = 0 ;
22782 void *argp1 = 0 ;
22783 int res1 = 0 ;
22784 int val2 ;
22785 int ecode2 = 0 ;
22786 wxPoint temp3 ;
22787 wxSize temp4 ;
22788 long val5 ;
22789 int ecode5 = 0 ;
22790 bool temp6 = false ;
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 PyObject * obj2 = 0 ;
22794 PyObject * obj3 = 0 ;
22795 PyObject * obj4 = 0 ;
22796 PyObject * obj5 = 0 ;
22797 char * kwnames[] = {
22798 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22799 };
22800
22801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22803 if (!SWIG_IsOK(res1)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22805 }
22806 arg1 = reinterpret_cast< wxWindow * >(argp1);
22807 if (obj1) {
22808 ecode2 = SWIG_AsVal_int(obj1, &val2);
22809 if (!SWIG_IsOK(ecode2)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22811 }
22812 arg2 = static_cast< int >(val2);
22813 }
22814 if (obj2) {
22815 {
22816 arg3 = &temp3;
22817 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22818 }
22819 }
22820 if (obj3) {
22821 {
22822 arg4 = &temp4;
22823 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22824 }
22825 }
22826 if (obj4) {
22827 ecode5 = SWIG_AsVal_long(obj4, &val5);
22828 if (!SWIG_IsOK(ecode5)) {
22829 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22830 }
22831 arg5 = static_cast< long >(val5);
22832 }
22833 if (obj5) {
22834 {
22835 arg6 = wxString_in_helper(obj5);
22836 if (arg6 == NULL) SWIG_fail;
22837 temp6 = true;
22838 }
22839 }
22840 {
22841 if (!wxPyCheckForApp()) SWIG_fail;
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22848 {
22849 if (temp6)
22850 delete arg6;
22851 }
22852 return resultobj;
22853 fail:
22854 {
22855 if (temp6)
22856 delete arg6;
22857 }
22858 return NULL;
22859 }
22860
22861
22862 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22863 PyObject *resultobj = 0;
22864 wxPyScrolledWindow *result = 0 ;
22865
22866 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22867 {
22868 if (!wxPyCheckForApp()) SWIG_fail;
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22875 return resultobj;
22876 fail:
22877 return NULL;
22878 }
22879
22880
22881 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22882 PyObject *resultobj = 0;
22883 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22884 PyObject *arg2 = (PyObject *) 0 ;
22885 PyObject *arg3 = (PyObject *) 0 ;
22886 void *argp1 = 0 ;
22887 int res1 = 0 ;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 PyObject * obj2 = 0 ;
22891 char * kwnames[] = {
22892 (char *) "self",(char *) "self",(char *) "_class", NULL
22893 };
22894
22895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22897 if (!SWIG_IsOK(res1)) {
22898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22899 }
22900 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22901 arg2 = obj1;
22902 arg3 = obj2;
22903 {
22904 PyThreadState* __tstate = wxPyBeginAllowThreads();
22905 (arg1)->_setCallbackInfo(arg2,arg3);
22906 wxPyEndAllowThreads(__tstate);
22907 if (PyErr_Occurred()) SWIG_fail;
22908 }
22909 resultobj = SWIG_Py_Void();
22910 return resultobj;
22911 fail:
22912 return NULL;
22913 }
22914
22915
22916 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22917 PyObject *resultobj = 0;
22918 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22919 wxSize *arg2 = 0 ;
22920 void *argp1 = 0 ;
22921 int res1 = 0 ;
22922 wxSize temp2 ;
22923 PyObject * obj0 = 0 ;
22924 PyObject * obj1 = 0 ;
22925 char * kwnames[] = {
22926 (char *) "self",(char *) "size", NULL
22927 };
22928
22929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22931 if (!SWIG_IsOK(res1)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22933 }
22934 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22935 {
22936 arg2 = &temp2;
22937 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22938 }
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 (arg1)->SetBestSize((wxSize const &)*arg2);
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 resultobj = SWIG_Py_Void();
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj = 0;
22954 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22955 wxDC *arg2 = (wxDC *) 0 ;
22956 bool result;
22957 void *argp1 = 0 ;
22958 int res1 = 0 ;
22959 void *argp2 = 0 ;
22960 int res2 = 0 ;
22961 PyObject * obj0 = 0 ;
22962 PyObject * obj1 = 0 ;
22963 char * kwnames[] = {
22964 (char *) "self",(char *) "dc", NULL
22965 };
22966
22967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22969 if (!SWIG_IsOK(res1)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22971 }
22972 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22974 if (!SWIG_IsOK(res2)) {
22975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22976 }
22977 arg2 = reinterpret_cast< wxDC * >(argp2);
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (bool)(arg1)->DoEraseBackground(arg2);
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
22984 {
22985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22986 }
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22994 PyObject *resultobj = 0;
22995 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22996 int arg2 ;
22997 int arg3 ;
22998 int arg4 ;
22999 int arg5 ;
23000 void *argp1 = 0 ;
23001 int res1 = 0 ;
23002 int val2 ;
23003 int ecode2 = 0 ;
23004 int val3 ;
23005 int ecode3 = 0 ;
23006 int val4 ;
23007 int ecode4 = 0 ;
23008 int val5 ;
23009 int ecode5 = 0 ;
23010 PyObject * obj0 = 0 ;
23011 PyObject * obj1 = 0 ;
23012 PyObject * obj2 = 0 ;
23013 PyObject * obj3 = 0 ;
23014 PyObject * obj4 = 0 ;
23015 char * kwnames[] = {
23016 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23017 };
23018
23019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23021 if (!SWIG_IsOK(res1)) {
23022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23023 }
23024 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23025 ecode2 = SWIG_AsVal_int(obj1, &val2);
23026 if (!SWIG_IsOK(ecode2)) {
23027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23028 }
23029 arg2 = static_cast< int >(val2);
23030 ecode3 = SWIG_AsVal_int(obj2, &val3);
23031 if (!SWIG_IsOK(ecode3)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23033 }
23034 arg3 = static_cast< int >(val3);
23035 ecode4 = SWIG_AsVal_int(obj3, &val4);
23036 if (!SWIG_IsOK(ecode4)) {
23037 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23038 }
23039 arg4 = static_cast< int >(val4);
23040 ecode5 = SWIG_AsVal_int(obj4, &val5);
23041 if (!SWIG_IsOK(ecode5)) {
23042 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23043 }
23044 arg5 = static_cast< int >(val5);
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 resultobj = SWIG_Py_Void();
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj = 0;
23060 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23061 int arg2 ;
23062 int arg3 ;
23063 int arg4 ;
23064 int arg5 ;
23065 int arg6 = (int) wxSIZE_AUTO ;
23066 void *argp1 = 0 ;
23067 int res1 = 0 ;
23068 int val2 ;
23069 int ecode2 = 0 ;
23070 int val3 ;
23071 int ecode3 = 0 ;
23072 int val4 ;
23073 int ecode4 = 0 ;
23074 int val5 ;
23075 int ecode5 = 0 ;
23076 int val6 ;
23077 int ecode6 = 0 ;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 PyObject * obj2 = 0 ;
23081 PyObject * obj3 = 0 ;
23082 PyObject * obj4 = 0 ;
23083 PyObject * obj5 = 0 ;
23084 char * kwnames[] = {
23085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23086 };
23087
23088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23090 if (!SWIG_IsOK(res1)) {
23091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23092 }
23093 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23094 ecode2 = SWIG_AsVal_int(obj1, &val2);
23095 if (!SWIG_IsOK(ecode2)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23097 }
23098 arg2 = static_cast< int >(val2);
23099 ecode3 = SWIG_AsVal_int(obj2, &val3);
23100 if (!SWIG_IsOK(ecode3)) {
23101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23102 }
23103 arg3 = static_cast< int >(val3);
23104 ecode4 = SWIG_AsVal_int(obj3, &val4);
23105 if (!SWIG_IsOK(ecode4)) {
23106 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23107 }
23108 arg4 = static_cast< int >(val4);
23109 ecode5 = SWIG_AsVal_int(obj4, &val5);
23110 if (!SWIG_IsOK(ecode5)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23112 }
23113 arg5 = static_cast< int >(val5);
23114 if (obj5) {
23115 ecode6 = SWIG_AsVal_int(obj5, &val6);
23116 if (!SWIG_IsOK(ecode6)) {
23117 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23118 }
23119 arg6 = static_cast< int >(val6);
23120 }
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 resultobj = SWIG_Py_Void();
23128 return resultobj;
23129 fail:
23130 return NULL;
23131 }
23132
23133
23134 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23135 PyObject *resultobj = 0;
23136 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23137 int arg2 ;
23138 int arg3 ;
23139 void *argp1 = 0 ;
23140 int res1 = 0 ;
23141 int val2 ;
23142 int ecode2 = 0 ;
23143 int val3 ;
23144 int ecode3 = 0 ;
23145 PyObject * obj0 = 0 ;
23146 PyObject * obj1 = 0 ;
23147 PyObject * obj2 = 0 ;
23148 char * kwnames[] = {
23149 (char *) "self",(char *) "width",(char *) "height", NULL
23150 };
23151
23152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23154 if (!SWIG_IsOK(res1)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23156 }
23157 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23158 ecode2 = SWIG_AsVal_int(obj1, &val2);
23159 if (!SWIG_IsOK(ecode2)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23161 }
23162 arg2 = static_cast< int >(val2);
23163 ecode3 = SWIG_AsVal_int(obj2, &val3);
23164 if (!SWIG_IsOK(ecode3)) {
23165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23166 }
23167 arg3 = static_cast< int >(val3);
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->DoSetClientSize(arg2,arg3);
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_Py_Void();
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23182 PyObject *resultobj = 0;
23183 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23184 int arg2 ;
23185 int arg3 ;
23186 void *argp1 = 0 ;
23187 int res1 = 0 ;
23188 int val2 ;
23189 int ecode2 = 0 ;
23190 int val3 ;
23191 int ecode3 = 0 ;
23192 PyObject * obj0 = 0 ;
23193 PyObject * obj1 = 0 ;
23194 PyObject * obj2 = 0 ;
23195 char * kwnames[] = {
23196 (char *) "self",(char *) "x",(char *) "y", NULL
23197 };
23198
23199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23201 if (!SWIG_IsOK(res1)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23203 }
23204 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23205 ecode2 = SWIG_AsVal_int(obj1, &val2);
23206 if (!SWIG_IsOK(ecode2)) {
23207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23208 }
23209 arg2 = static_cast< int >(val2);
23210 ecode3 = SWIG_AsVal_int(obj2, &val3);
23211 if (!SWIG_IsOK(ecode3)) {
23212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23213 }
23214 arg3 = static_cast< int >(val3);
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
23217 (arg1)->DoSetVirtualSize(arg2,arg3);
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = SWIG_Py_Void();
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23229 PyObject *resultobj = 0;
23230 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23231 int *arg2 = (int *) 0 ;
23232 int *arg3 = (int *) 0 ;
23233 void *argp1 = 0 ;
23234 int res1 = 0 ;
23235 int temp2 ;
23236 int res2 = SWIG_TMPOBJ ;
23237 int temp3 ;
23238 int res3 = SWIG_TMPOBJ ;
23239 PyObject *swig_obj[1] ;
23240
23241 arg2 = &temp2;
23242 arg3 = &temp3;
23243 if (!args) SWIG_fail;
23244 swig_obj[0] = args;
23245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23246 if (!SWIG_IsOK(res1)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23248 }
23249 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23250 {
23251 PyThreadState* __tstate = wxPyBeginAllowThreads();
23252 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 resultobj = SWIG_Py_Void();
23257 if (SWIG_IsTmpObj(res2)) {
23258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23259 } else {
23260 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23262 }
23263 if (SWIG_IsTmpObj(res3)) {
23264 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23265 } else {
23266 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23267 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23268 }
23269 return resultobj;
23270 fail:
23271 return NULL;
23272 }
23273
23274
23275 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23276 PyObject *resultobj = 0;
23277 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23278 int *arg2 = (int *) 0 ;
23279 int *arg3 = (int *) 0 ;
23280 void *argp1 = 0 ;
23281 int res1 = 0 ;
23282 int temp2 ;
23283 int res2 = SWIG_TMPOBJ ;
23284 int temp3 ;
23285 int res3 = SWIG_TMPOBJ ;
23286 PyObject *swig_obj[1] ;
23287
23288 arg2 = &temp2;
23289 arg3 = &temp3;
23290 if (!args) SWIG_fail;
23291 swig_obj[0] = args;
23292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23293 if (!SWIG_IsOK(res1)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23295 }
23296 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 resultobj = SWIG_Py_Void();
23304 if (SWIG_IsTmpObj(res2)) {
23305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23306 } else {
23307 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23309 }
23310 if (SWIG_IsTmpObj(res3)) {
23311 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23312 } else {
23313 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23314 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23315 }
23316 return resultobj;
23317 fail:
23318 return NULL;
23319 }
23320
23321
23322 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23323 PyObject *resultobj = 0;
23324 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23325 int *arg2 = (int *) 0 ;
23326 int *arg3 = (int *) 0 ;
23327 void *argp1 = 0 ;
23328 int res1 = 0 ;
23329 int temp2 ;
23330 int res2 = SWIG_TMPOBJ ;
23331 int temp3 ;
23332 int res3 = SWIG_TMPOBJ ;
23333 PyObject *swig_obj[1] ;
23334
23335 arg2 = &temp2;
23336 arg3 = &temp3;
23337 if (!args) SWIG_fail;
23338 swig_obj[0] = args;
23339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23340 if (!SWIG_IsOK(res1)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23342 }
23343 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 resultobj = SWIG_Py_Void();
23351 if (SWIG_IsTmpObj(res2)) {
23352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23353 } else {
23354 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23356 }
23357 if (SWIG_IsTmpObj(res3)) {
23358 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23359 } else {
23360 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23362 }
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23370 PyObject *resultobj = 0;
23371 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23372 wxSize result;
23373 void *argp1 = 0 ;
23374 int res1 = 0 ;
23375 PyObject *swig_obj[1] ;
23376
23377 if (!args) SWIG_fail;
23378 swig_obj[0] = args;
23379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23380 if (!SWIG_IsOK(res1)) {
23381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23382 }
23383 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23391 return resultobj;
23392 fail:
23393 return NULL;
23394 }
23395
23396
23397 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23398 PyObject *resultobj = 0;
23399 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23400 wxSize result;
23401 void *argp1 = 0 ;
23402 int res1 = 0 ;
23403 PyObject *swig_obj[1] ;
23404
23405 if (!args) SWIG_fail;
23406 swig_obj[0] = args;
23407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23408 if (!SWIG_IsOK(res1)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23410 }
23411 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23412 {
23413 PyThreadState* __tstate = wxPyBeginAllowThreads();
23414 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23426 PyObject *resultobj = 0;
23427 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23428 SwigValueWrapper<wxVisualAttributes > 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_wxPyScrolledWindow, 0 | 0 );
23436 if (!SWIG_IsOK(res1)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23438 }
23439 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23440 {
23441 PyThreadState* __tstate = wxPyBeginAllowThreads();
23442 result = (arg1)->GetDefaultAttributes();
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23454 PyObject *resultobj = 0;
23455 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23456 void *argp1 = 0 ;
23457 int res1 = 0 ;
23458 PyObject *swig_obj[1] ;
23459
23460 if (!args) SWIG_fail;
23461 swig_obj[0] = args;
23462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23463 if (!SWIG_IsOK(res1)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23465 }
23466 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23467 {
23468 PyThreadState* __tstate = wxPyBeginAllowThreads();
23469 (arg1)->OnInternalIdle();
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 resultobj = SWIG_Py_Void();
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23481 PyObject *obj;
23482 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23483 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23484 return SWIG_Py_Void();
23485 }
23486
23487 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23488 return SWIG_Python_InitShadowInstance(args);
23489 }
23490
23491 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23492 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23493 return 1;
23494 }
23495
23496
23497 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23498 PyObject *pyobj = 0;
23499
23500 {
23501 #if wxUSE_UNICODE
23502 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23503 #else
23504 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23505 #endif
23506 }
23507 return pyobj;
23508 }
23509
23510
23511 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23512 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23513 return 1;
23514 }
23515
23516
23517 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23518 PyObject *pyobj = 0;
23519
23520 {
23521 #if wxUSE_UNICODE
23522 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23523 #else
23524 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23525 #endif
23526 }
23527 return pyobj;
23528 }
23529
23530
23531 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23532 PyObject *resultobj = 0;
23533 wxPrintData *result = 0 ;
23534
23535 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = (wxPrintData *)new wxPrintData();
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23550 PyObject *resultobj = 0;
23551 wxPrintData *arg1 = 0 ;
23552 wxPrintData *result = 0 ;
23553 void *argp1 = 0 ;
23554 int res1 = 0 ;
23555
23556 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23558 if (!SWIG_IsOK(res1)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23560 }
23561 if (!argp1) {
23562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23563 }
23564 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23565 {
23566 PyThreadState* __tstate = wxPyBeginAllowThreads();
23567 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23579 int argc;
23580 PyObject *argv[2];
23581
23582 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23583 --argc;
23584 if (argc == 0) {
23585 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23586 }
23587 if (argc == 1) {
23588 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23589 }
23590
23591 fail:
23592 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23593 return NULL;
23594 }
23595
23596
23597 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23598 PyObject *resultobj = 0;
23599 wxPrintData *arg1 = (wxPrintData *) 0 ;
23600 void *argp1 = 0 ;
23601 int res1 = 0 ;
23602 PyObject *swig_obj[1] ;
23603
23604 if (!args) SWIG_fail;
23605 swig_obj[0] = args;
23606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23607 if (!SWIG_IsOK(res1)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23609 }
23610 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 delete arg1;
23614
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_Py_Void();
23619 return resultobj;
23620 fail:
23621 return NULL;
23622 }
23623
23624
23625 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23626 PyObject *resultobj = 0;
23627 wxPrintData *arg1 = (wxPrintData *) 0 ;
23628 int result;
23629 void *argp1 = 0 ;
23630 int res1 = 0 ;
23631 PyObject *swig_obj[1] ;
23632
23633 if (!args) SWIG_fail;
23634 swig_obj[0] = args;
23635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23636 if (!SWIG_IsOK(res1)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23638 }
23639 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (int)(arg1)->GetNoCopies();
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 resultobj = SWIG_From_int(static_cast< int >(result));
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23654 PyObject *resultobj = 0;
23655 wxPrintData *arg1 = (wxPrintData *) 0 ;
23656 bool result;
23657 void *argp1 = 0 ;
23658 int res1 = 0 ;
23659 PyObject *swig_obj[1] ;
23660
23661 if (!args) SWIG_fail;
23662 swig_obj[0] = args;
23663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23664 if (!SWIG_IsOK(res1)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23666 }
23667 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (bool)(arg1)->GetCollate();
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23684 PyObject *resultobj = 0;
23685 wxPrintData *arg1 = (wxPrintData *) 0 ;
23686 int result;
23687 void *argp1 = 0 ;
23688 int res1 = 0 ;
23689 PyObject *swig_obj[1] ;
23690
23691 if (!args) SWIG_fail;
23692 swig_obj[0] = args;
23693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23694 if (!SWIG_IsOK(res1)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23696 }
23697 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 result = (int)(arg1)->GetOrientation();
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 resultobj = SWIG_From_int(static_cast< int >(result));
23705 return resultobj;
23706 fail:
23707 return NULL;
23708 }
23709
23710
23711 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23712 PyObject *resultobj = 0;
23713 wxPrintData *arg1 = (wxPrintData *) 0 ;
23714 bool result;
23715 void *argp1 = 0 ;
23716 int res1 = 0 ;
23717 PyObject *swig_obj[1] ;
23718
23719 if (!args) SWIG_fail;
23720 swig_obj[0] = args;
23721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23722 if (!SWIG_IsOK(res1)) {
23723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23724 }
23725 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23726 {
23727 PyThreadState* __tstate = wxPyBeginAllowThreads();
23728 result = (bool)(arg1)->Ok();
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 {
23733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23734 }
23735 return resultobj;
23736 fail:
23737 return NULL;
23738 }
23739
23740
23741 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23742 PyObject *resultobj = 0;
23743 wxPrintData *arg1 = (wxPrintData *) 0 ;
23744 wxString *result = 0 ;
23745 void *argp1 = 0 ;
23746 int res1 = 0 ;
23747 PyObject *swig_obj[1] ;
23748
23749 if (!args) SWIG_fail;
23750 swig_obj[0] = args;
23751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23752 if (!SWIG_IsOK(res1)) {
23753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23754 }
23755 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 {
23759 wxString const &_result_ref = (arg1)->GetPrinterName();
23760 result = (wxString *) &_result_ref;
23761 }
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 {
23766 #if wxUSE_UNICODE
23767 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23768 #else
23769 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23770 #endif
23771 }
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23779 PyObject *resultobj = 0;
23780 wxPrintData *arg1 = (wxPrintData *) 0 ;
23781 bool result;
23782 void *argp1 = 0 ;
23783 int res1 = 0 ;
23784 PyObject *swig_obj[1] ;
23785
23786 if (!args) SWIG_fail;
23787 swig_obj[0] = args;
23788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23789 if (!SWIG_IsOK(res1)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23791 }
23792 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 result = (bool)(arg1)->GetColour();
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 {
23800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23801 }
23802 return resultobj;
23803 fail:
23804 return NULL;
23805 }
23806
23807
23808 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23809 PyObject *resultobj = 0;
23810 wxPrintData *arg1 = (wxPrintData *) 0 ;
23811 wxDuplexMode result;
23812 void *argp1 = 0 ;
23813 int res1 = 0 ;
23814 PyObject *swig_obj[1] ;
23815
23816 if (!args) SWIG_fail;
23817 swig_obj[0] = args;
23818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23819 if (!SWIG_IsOK(res1)) {
23820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23821 }
23822 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 result = (wxDuplexMode)(arg1)->GetDuplex();
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 resultobj = SWIG_From_int(static_cast< int >(result));
23830 return resultobj;
23831 fail:
23832 return NULL;
23833 }
23834
23835
23836 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23837 PyObject *resultobj = 0;
23838 wxPrintData *arg1 = (wxPrintData *) 0 ;
23839 wxPaperSize result;
23840 void *argp1 = 0 ;
23841 int res1 = 0 ;
23842 PyObject *swig_obj[1] ;
23843
23844 if (!args) SWIG_fail;
23845 swig_obj[0] = args;
23846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23847 if (!SWIG_IsOK(res1)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23849 }
23850 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 result = (wxPaperSize)(arg1)->GetPaperId();
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 resultobj = SWIG_From_int(static_cast< int >(result));
23858 return resultobj;
23859 fail:
23860 return NULL;
23861 }
23862
23863
23864 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23865 PyObject *resultobj = 0;
23866 wxPrintData *arg1 = (wxPrintData *) 0 ;
23867 wxSize *result = 0 ;
23868 void *argp1 = 0 ;
23869 int res1 = 0 ;
23870 PyObject *swig_obj[1] ;
23871
23872 if (!args) SWIG_fail;
23873 swig_obj[0] = args;
23874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23875 if (!SWIG_IsOK(res1)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 }
23878 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 {
23882 wxSize const &_result_ref = (arg1)->GetPaperSize();
23883 result = (wxSize *) &_result_ref;
23884 }
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23889 return resultobj;
23890 fail:
23891 return NULL;
23892 }
23893
23894
23895 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23896 PyObject *resultobj = 0;
23897 wxPrintData *arg1 = (wxPrintData *) 0 ;
23898 int result;
23899 void *argp1 = 0 ;
23900 int res1 = 0 ;
23901 PyObject *swig_obj[1] ;
23902
23903 if (!args) SWIG_fail;
23904 swig_obj[0] = args;
23905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23906 if (!SWIG_IsOK(res1)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23908 }
23909 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 result = (int)(arg1)->GetQuality();
23913 wxPyEndAllowThreads(__tstate);
23914 if (PyErr_Occurred()) SWIG_fail;
23915 }
23916 resultobj = SWIG_From_int(static_cast< int >(result));
23917 return resultobj;
23918 fail:
23919 return NULL;
23920 }
23921
23922
23923 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23924 PyObject *resultobj = 0;
23925 wxPrintData *arg1 = (wxPrintData *) 0 ;
23926 wxPrintBin result;
23927 void *argp1 = 0 ;
23928 int res1 = 0 ;
23929 PyObject *swig_obj[1] ;
23930
23931 if (!args) SWIG_fail;
23932 swig_obj[0] = args;
23933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23934 if (!SWIG_IsOK(res1)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23936 }
23937 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (wxPrintBin)(arg1)->GetBin();
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 resultobj = SWIG_From_int(static_cast< int >(result));
23945 return resultobj;
23946 fail:
23947 return NULL;
23948 }
23949
23950
23951 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23952 PyObject *resultobj = 0;
23953 wxPrintData *arg1 = (wxPrintData *) 0 ;
23954 wxPrintMode result;
23955 void *argp1 = 0 ;
23956 int res1 = 0 ;
23957 PyObject *swig_obj[1] ;
23958
23959 if (!args) SWIG_fail;
23960 swig_obj[0] = args;
23961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23962 if (!SWIG_IsOK(res1)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23964 }
23965 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 resultobj = SWIG_From_int(static_cast< int >(result));
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj = 0;
23981 wxPrintData *arg1 = (wxPrintData *) 0 ;
23982 int arg2 ;
23983 void *argp1 = 0 ;
23984 int res1 = 0 ;
23985 int val2 ;
23986 int ecode2 = 0 ;
23987 PyObject * obj0 = 0 ;
23988 PyObject * obj1 = 0 ;
23989 char * kwnames[] = {
23990 (char *) "self",(char *) "v", NULL
23991 };
23992
23993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23995 if (!SWIG_IsOK(res1)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23997 }
23998 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23999 ecode2 = SWIG_AsVal_int(obj1, &val2);
24000 if (!SWIG_IsOK(ecode2)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24002 }
24003 arg2 = static_cast< int >(val2);
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 (arg1)->SetNoCopies(arg2);
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 resultobj = SWIG_Py_Void();
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj = 0;
24019 wxPrintData *arg1 = (wxPrintData *) 0 ;
24020 bool arg2 ;
24021 void *argp1 = 0 ;
24022 int res1 = 0 ;
24023 bool val2 ;
24024 int ecode2 = 0 ;
24025 PyObject * obj0 = 0 ;
24026 PyObject * obj1 = 0 ;
24027 char * kwnames[] = {
24028 (char *) "self",(char *) "flag", NULL
24029 };
24030
24031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24033 if (!SWIG_IsOK(res1)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24035 }
24036 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24037 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24038 if (!SWIG_IsOK(ecode2)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24040 }
24041 arg2 = static_cast< bool >(val2);
24042 {
24043 PyThreadState* __tstate = wxPyBeginAllowThreads();
24044 (arg1)->SetCollate(arg2);
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 resultobj = SWIG_Py_Void();
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj = 0;
24057 wxPrintData *arg1 = (wxPrintData *) 0 ;
24058 int arg2 ;
24059 void *argp1 = 0 ;
24060 int res1 = 0 ;
24061 int val2 ;
24062 int ecode2 = 0 ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 char * kwnames[] = {
24066 (char *) "self",(char *) "orient", NULL
24067 };
24068
24069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24071 if (!SWIG_IsOK(res1)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24073 }
24074 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24075 ecode2 = SWIG_AsVal_int(obj1, &val2);
24076 if (!SWIG_IsOK(ecode2)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24078 }
24079 arg2 = static_cast< int >(val2);
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 (arg1)->SetOrientation(arg2);
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_Py_Void();
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24094 PyObject *resultobj = 0;
24095 wxPrintData *arg1 = (wxPrintData *) 0 ;
24096 wxString *arg2 = 0 ;
24097 void *argp1 = 0 ;
24098 int res1 = 0 ;
24099 bool temp2 = false ;
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
24102 char * kwnames[] = {
24103 (char *) "self",(char *) "name", NULL
24104 };
24105
24106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24108 if (!SWIG_IsOK(res1)) {
24109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24110 }
24111 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24112 {
24113 arg2 = wxString_in_helper(obj1);
24114 if (arg2 == NULL) SWIG_fail;
24115 temp2 = true;
24116 }
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 (arg1)->SetPrinterName((wxString const &)*arg2);
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 resultobj = SWIG_Py_Void();
24124 {
24125 if (temp2)
24126 delete arg2;
24127 }
24128 return resultobj;
24129 fail:
24130 {
24131 if (temp2)
24132 delete arg2;
24133 }
24134 return NULL;
24135 }
24136
24137
24138 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj = 0;
24140 wxPrintData *arg1 = (wxPrintData *) 0 ;
24141 bool arg2 ;
24142 void *argp1 = 0 ;
24143 int res1 = 0 ;
24144 bool val2 ;
24145 int ecode2 = 0 ;
24146 PyObject * obj0 = 0 ;
24147 PyObject * obj1 = 0 ;
24148 char * kwnames[] = {
24149 (char *) "self",(char *) "colour", NULL
24150 };
24151
24152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24154 if (!SWIG_IsOK(res1)) {
24155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24156 }
24157 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24158 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24159 if (!SWIG_IsOK(ecode2)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24161 }
24162 arg2 = static_cast< bool >(val2);
24163 {
24164 PyThreadState* __tstate = wxPyBeginAllowThreads();
24165 (arg1)->SetColour(arg2);
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 resultobj = SWIG_Py_Void();
24170 return resultobj;
24171 fail:
24172 return NULL;
24173 }
24174
24175
24176 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24177 PyObject *resultobj = 0;
24178 wxPrintData *arg1 = (wxPrintData *) 0 ;
24179 wxDuplexMode arg2 ;
24180 void *argp1 = 0 ;
24181 int res1 = 0 ;
24182 int val2 ;
24183 int ecode2 = 0 ;
24184 PyObject * obj0 = 0 ;
24185 PyObject * obj1 = 0 ;
24186 char * kwnames[] = {
24187 (char *) "self",(char *) "duplex", NULL
24188 };
24189
24190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24192 if (!SWIG_IsOK(res1)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24194 }
24195 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24196 ecode2 = SWIG_AsVal_int(obj1, &val2);
24197 if (!SWIG_IsOK(ecode2)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24199 }
24200 arg2 = static_cast< wxDuplexMode >(val2);
24201 {
24202 PyThreadState* __tstate = wxPyBeginAllowThreads();
24203 (arg1)->SetDuplex(arg2);
24204 wxPyEndAllowThreads(__tstate);
24205 if (PyErr_Occurred()) SWIG_fail;
24206 }
24207 resultobj = SWIG_Py_Void();
24208 return resultobj;
24209 fail:
24210 return NULL;
24211 }
24212
24213
24214 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24215 PyObject *resultobj = 0;
24216 wxPrintData *arg1 = (wxPrintData *) 0 ;
24217 wxPaperSize arg2 ;
24218 void *argp1 = 0 ;
24219 int res1 = 0 ;
24220 int val2 ;
24221 int ecode2 = 0 ;
24222 PyObject * obj0 = 0 ;
24223 PyObject * obj1 = 0 ;
24224 char * kwnames[] = {
24225 (char *) "self",(char *) "sizeId", NULL
24226 };
24227
24228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24230 if (!SWIG_IsOK(res1)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24232 }
24233 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24234 ecode2 = SWIG_AsVal_int(obj1, &val2);
24235 if (!SWIG_IsOK(ecode2)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24237 }
24238 arg2 = static_cast< wxPaperSize >(val2);
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 (arg1)->SetPaperId(arg2);
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 resultobj = SWIG_Py_Void();
24246 return resultobj;
24247 fail:
24248 return NULL;
24249 }
24250
24251
24252 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj = 0;
24254 wxPrintData *arg1 = (wxPrintData *) 0 ;
24255 wxSize *arg2 = 0 ;
24256 void *argp1 = 0 ;
24257 int res1 = 0 ;
24258 wxSize temp2 ;
24259 PyObject * obj0 = 0 ;
24260 PyObject * obj1 = 0 ;
24261 char * kwnames[] = {
24262 (char *) "self",(char *) "sz", NULL
24263 };
24264
24265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24267 if (!SWIG_IsOK(res1)) {
24268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24269 }
24270 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24271 {
24272 arg2 = &temp2;
24273 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24274 }
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 (arg1)->SetPaperSize((wxSize const &)*arg2);
24278 wxPyEndAllowThreads(__tstate);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 resultobj = SWIG_Py_Void();
24282 return resultobj;
24283 fail:
24284 return NULL;
24285 }
24286
24287
24288 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj = 0;
24290 wxPrintData *arg1 = (wxPrintData *) 0 ;
24291 int arg2 ;
24292 void *argp1 = 0 ;
24293 int res1 = 0 ;
24294 int val2 ;
24295 int ecode2 = 0 ;
24296 PyObject * obj0 = 0 ;
24297 PyObject * obj1 = 0 ;
24298 char * kwnames[] = {
24299 (char *) "self",(char *) "quality", NULL
24300 };
24301
24302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24304 if (!SWIG_IsOK(res1)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24306 }
24307 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24308 ecode2 = SWIG_AsVal_int(obj1, &val2);
24309 if (!SWIG_IsOK(ecode2)) {
24310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24311 }
24312 arg2 = static_cast< int >(val2);
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 (arg1)->SetQuality(arg2);
24316 wxPyEndAllowThreads(__tstate);
24317 if (PyErr_Occurred()) SWIG_fail;
24318 }
24319 resultobj = SWIG_Py_Void();
24320 return resultobj;
24321 fail:
24322 return NULL;
24323 }
24324
24325
24326 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24327 PyObject *resultobj = 0;
24328 wxPrintData *arg1 = (wxPrintData *) 0 ;
24329 wxPrintBin arg2 ;
24330 void *argp1 = 0 ;
24331 int res1 = 0 ;
24332 int val2 ;
24333 int ecode2 = 0 ;
24334 PyObject * obj0 = 0 ;
24335 PyObject * obj1 = 0 ;
24336 char * kwnames[] = {
24337 (char *) "self",(char *) "bin", NULL
24338 };
24339
24340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24342 if (!SWIG_IsOK(res1)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24344 }
24345 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24346 ecode2 = SWIG_AsVal_int(obj1, &val2);
24347 if (!SWIG_IsOK(ecode2)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24349 }
24350 arg2 = static_cast< wxPrintBin >(val2);
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 (arg1)->SetBin(arg2);
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 resultobj = SWIG_Py_Void();
24358 return resultobj;
24359 fail:
24360 return NULL;
24361 }
24362
24363
24364 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj = 0;
24366 wxPrintData *arg1 = (wxPrintData *) 0 ;
24367 wxPrintMode arg2 ;
24368 void *argp1 = 0 ;
24369 int res1 = 0 ;
24370 int val2 ;
24371 int ecode2 = 0 ;
24372 PyObject * obj0 = 0 ;
24373 PyObject * obj1 = 0 ;
24374 char * kwnames[] = {
24375 (char *) "self",(char *) "printMode", NULL
24376 };
24377
24378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24380 if (!SWIG_IsOK(res1)) {
24381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24382 }
24383 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24384 ecode2 = SWIG_AsVal_int(obj1, &val2);
24385 if (!SWIG_IsOK(ecode2)) {
24386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24387 }
24388 arg2 = static_cast< wxPrintMode >(val2);
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->SetPrintMode(arg2);
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 resultobj = SWIG_Py_Void();
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24403 PyObject *resultobj = 0;
24404 wxPrintData *arg1 = (wxPrintData *) 0 ;
24405 wxString result;
24406 void *argp1 = 0 ;
24407 int res1 = 0 ;
24408 PyObject *swig_obj[1] ;
24409
24410 if (!args) SWIG_fail;
24411 swig_obj[0] = args;
24412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24413 if (!SWIG_IsOK(res1)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24415 }
24416 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = ((wxPrintData const *)arg1)->GetFilename();
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 {
24424 #if wxUSE_UNICODE
24425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24426 #else
24427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24428 #endif
24429 }
24430 return resultobj;
24431 fail:
24432 return NULL;
24433 }
24434
24435
24436 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24437 PyObject *resultobj = 0;
24438 wxPrintData *arg1 = (wxPrintData *) 0 ;
24439 wxString *arg2 = 0 ;
24440 void *argp1 = 0 ;
24441 int res1 = 0 ;
24442 bool temp2 = false ;
24443 PyObject * obj0 = 0 ;
24444 PyObject * obj1 = 0 ;
24445 char * kwnames[] = {
24446 (char *) "self",(char *) "filename", NULL
24447 };
24448
24449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24451 if (!SWIG_IsOK(res1)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24453 }
24454 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24455 {
24456 arg2 = wxString_in_helper(obj1);
24457 if (arg2 == NULL) SWIG_fail;
24458 temp2 = true;
24459 }
24460 {
24461 PyThreadState* __tstate = wxPyBeginAllowThreads();
24462 (arg1)->SetFilename((wxString const &)*arg2);
24463 wxPyEndAllowThreads(__tstate);
24464 if (PyErr_Occurred()) SWIG_fail;
24465 }
24466 resultobj = SWIG_Py_Void();
24467 {
24468 if (temp2)
24469 delete arg2;
24470 }
24471 return resultobj;
24472 fail:
24473 {
24474 if (temp2)
24475 delete arg2;
24476 }
24477 return NULL;
24478 }
24479
24480
24481 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24482 PyObject *resultobj = 0;
24483 wxPrintData *arg1 = (wxPrintData *) 0 ;
24484 PyObject *result = 0 ;
24485 void *argp1 = 0 ;
24486 int res1 = 0 ;
24487 PyObject *swig_obj[1] ;
24488
24489 if (!args) SWIG_fail;
24490 swig_obj[0] = args;
24491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24492 if (!SWIG_IsOK(res1)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24494 }
24495 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 resultobj = result;
24503 return resultobj;
24504 fail:
24505 return NULL;
24506 }
24507
24508
24509 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = 0;
24511 wxPrintData *arg1 = (wxPrintData *) 0 ;
24512 PyObject *arg2 = (PyObject *) 0 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 PyObject * obj0 = 0 ;
24516 PyObject * obj1 = 0 ;
24517 char * kwnames[] = {
24518 (char *) "self",(char *) "data", NULL
24519 };
24520
24521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24523 if (!SWIG_IsOK(res1)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24525 }
24526 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24527 arg2 = obj1;
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 wxPrintData_SetPrivData(arg1,arg2);
24531 wxPyEndAllowThreads(__tstate);
24532 if (PyErr_Occurred()) SWIG_fail;
24533 }
24534 resultobj = SWIG_Py_Void();
24535 return resultobj;
24536 fail:
24537 return NULL;
24538 }
24539
24540
24541 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24542 PyObject *obj;
24543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24545 return SWIG_Py_Void();
24546 }
24547
24548 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24549 return SWIG_Python_InitShadowInstance(args);
24550 }
24551
24552 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24553 PyObject *resultobj = 0;
24554 wxPageSetupDialogData *result = 0 ;
24555
24556 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24564 return resultobj;
24565 fail:
24566 return NULL;
24567 }
24568
24569
24570 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24571 PyObject *resultobj = 0;
24572 wxPageSetupDialogData *arg1 = 0 ;
24573 wxPageSetupDialogData *result = 0 ;
24574 void *argp1 = 0 ;
24575 int res1 = 0 ;
24576
24577 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24579 if (!SWIG_IsOK(res1)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24581 }
24582 if (!argp1) {
24583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24584 }
24585 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24586 {
24587 PyThreadState* __tstate = wxPyBeginAllowThreads();
24588 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24600 PyObject *resultobj = 0;
24601 wxPrintData *arg1 = 0 ;
24602 wxPageSetupDialogData *result = 0 ;
24603 void *argp1 = 0 ;
24604 int res1 = 0 ;
24605
24606 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24608 if (!SWIG_IsOK(res1)) {
24609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24610 }
24611 if (!argp1) {
24612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24613 }
24614 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24622 return resultobj;
24623 fail:
24624 return NULL;
24625 }
24626
24627
24628 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24629 int argc;
24630 PyObject *argv[2];
24631
24632 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24633 --argc;
24634 if (argc == 0) {
24635 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24636 }
24637 if (argc == 1) {
24638 int _v = 0;
24639 {
24640 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24641 _v = SWIG_CheckState(res);
24642 }
24643 if (!_v) goto check_2;
24644 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24645 }
24646 check_2:
24647
24648 if (argc == 1) {
24649 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24650 }
24651
24652 fail:
24653 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24654 return NULL;
24655 }
24656
24657
24658 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24659 PyObject *resultobj = 0;
24660 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24661 void *argp1 = 0 ;
24662 int res1 = 0 ;
24663 PyObject *swig_obj[1] ;
24664
24665 if (!args) SWIG_fail;
24666 swig_obj[0] = args;
24667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24668 if (!SWIG_IsOK(res1)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24670 }
24671 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 delete arg1;
24675
24676 wxPyEndAllowThreads(__tstate);
24677 if (PyErr_Occurred()) SWIG_fail;
24678 }
24679 resultobj = SWIG_Py_Void();
24680 return resultobj;
24681 fail:
24682 return NULL;
24683 }
24684
24685
24686 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24687 PyObject *resultobj = 0;
24688 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24689 bool arg2 ;
24690 void *argp1 = 0 ;
24691 int res1 = 0 ;
24692 bool val2 ;
24693 int ecode2 = 0 ;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char * kwnames[] = {
24697 (char *) "self",(char *) "flag", NULL
24698 };
24699
24700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24702 if (!SWIG_IsOK(res1)) {
24703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24704 }
24705 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24707 if (!SWIG_IsOK(ecode2)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24709 }
24710 arg2 = static_cast< bool >(val2);
24711 {
24712 PyThreadState* __tstate = wxPyBeginAllowThreads();
24713 (arg1)->EnableHelp(arg2);
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 resultobj = SWIG_Py_Void();
24718 return resultobj;
24719 fail:
24720 return NULL;
24721 }
24722
24723
24724 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj = 0;
24726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24727 bool arg2 ;
24728 void *argp1 = 0 ;
24729 int res1 = 0 ;
24730 bool val2 ;
24731 int ecode2 = 0 ;
24732 PyObject * obj0 = 0 ;
24733 PyObject * obj1 = 0 ;
24734 char * kwnames[] = {
24735 (char *) "self",(char *) "flag", NULL
24736 };
24737
24738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24740 if (!SWIG_IsOK(res1)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24742 }
24743 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24744 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24745 if (!SWIG_IsOK(ecode2)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24747 }
24748 arg2 = static_cast< bool >(val2);
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 (arg1)->EnableMargins(arg2);
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 resultobj = SWIG_Py_Void();
24756 return resultobj;
24757 fail:
24758 return NULL;
24759 }
24760
24761
24762 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj = 0;
24764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24765 bool arg2 ;
24766 void *argp1 = 0 ;
24767 int res1 = 0 ;
24768 bool val2 ;
24769 int ecode2 = 0 ;
24770 PyObject * obj0 = 0 ;
24771 PyObject * obj1 = 0 ;
24772 char * kwnames[] = {
24773 (char *) "self",(char *) "flag", NULL
24774 };
24775
24776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24778 if (!SWIG_IsOK(res1)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24780 }
24781 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24783 if (!SWIG_IsOK(ecode2)) {
24784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24785 }
24786 arg2 = static_cast< bool >(val2);
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 (arg1)->EnableOrientation(arg2);
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 resultobj = SWIG_Py_Void();
24794 return resultobj;
24795 fail:
24796 return NULL;
24797 }
24798
24799
24800 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24801 PyObject *resultobj = 0;
24802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24803 bool arg2 ;
24804 void *argp1 = 0 ;
24805 int res1 = 0 ;
24806 bool val2 ;
24807 int ecode2 = 0 ;
24808 PyObject * obj0 = 0 ;
24809 PyObject * obj1 = 0 ;
24810 char * kwnames[] = {
24811 (char *) "self",(char *) "flag", NULL
24812 };
24813
24814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24816 if (!SWIG_IsOK(res1)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24818 }
24819 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24820 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24821 if (!SWIG_IsOK(ecode2)) {
24822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24823 }
24824 arg2 = static_cast< bool >(val2);
24825 {
24826 PyThreadState* __tstate = wxPyBeginAllowThreads();
24827 (arg1)->EnablePaper(arg2);
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 resultobj = SWIG_Py_Void();
24832 return resultobj;
24833 fail:
24834 return NULL;
24835 }
24836
24837
24838 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj = 0;
24840 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24841 bool arg2 ;
24842 void *argp1 = 0 ;
24843 int res1 = 0 ;
24844 bool val2 ;
24845 int ecode2 = 0 ;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 char * kwnames[] = {
24849 (char *) "self",(char *) "flag", NULL
24850 };
24851
24852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24854 if (!SWIG_IsOK(res1)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24856 }
24857 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24858 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24859 if (!SWIG_IsOK(ecode2)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24861 }
24862 arg2 = static_cast< bool >(val2);
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 (arg1)->EnablePrinter(arg2);
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 resultobj = SWIG_Py_Void();
24870 return resultobj;
24871 fail:
24872 return NULL;
24873 }
24874
24875
24876 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24877 PyObject *resultobj = 0;
24878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24879 bool result;
24880 void *argp1 = 0 ;
24881 int res1 = 0 ;
24882 PyObject *swig_obj[1] ;
24883
24884 if (!args) SWIG_fail;
24885 swig_obj[0] = args;
24886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24887 if (!SWIG_IsOK(res1)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24889 }
24890 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 result = (bool)(arg1)->GetDefaultMinMargins();
24894 wxPyEndAllowThreads(__tstate);
24895 if (PyErr_Occurred()) SWIG_fail;
24896 }
24897 {
24898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24899 }
24900 return resultobj;
24901 fail:
24902 return NULL;
24903 }
24904
24905
24906 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24907 PyObject *resultobj = 0;
24908 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24909 bool result;
24910 void *argp1 = 0 ;
24911 int res1 = 0 ;
24912 PyObject *swig_obj[1] ;
24913
24914 if (!args) SWIG_fail;
24915 swig_obj[0] = args;
24916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24917 if (!SWIG_IsOK(res1)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24919 }
24920 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 result = (bool)(arg1)->GetEnableMargins();
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 {
24928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24929 }
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24937 PyObject *resultobj = 0;
24938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24939 bool result;
24940 void *argp1 = 0 ;
24941 int res1 = 0 ;
24942 PyObject *swig_obj[1] ;
24943
24944 if (!args) SWIG_fail;
24945 swig_obj[0] = args;
24946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24947 if (!SWIG_IsOK(res1)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24949 }
24950 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (bool)(arg1)->GetEnableOrientation();
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 {
24958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24959 }
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24967 PyObject *resultobj = 0;
24968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24969 bool result;
24970 void *argp1 = 0 ;
24971 int res1 = 0 ;
24972 PyObject *swig_obj[1] ;
24973
24974 if (!args) SWIG_fail;
24975 swig_obj[0] = args;
24976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24977 if (!SWIG_IsOK(res1)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24979 }
24980 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24981 {
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (bool)(arg1)->GetEnablePaper();
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 {
24988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24989 }
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24997 PyObject *resultobj = 0;
24998 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24999 bool result;
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_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25009 }
25010 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 result = (bool)(arg1)->GetEnablePrinter();
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 {
25018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25019 }
25020 return resultobj;
25021 fail:
25022 return NULL;
25023 }
25024
25025
25026 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25027 PyObject *resultobj = 0;
25028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25029 bool result;
25030 void *argp1 = 0 ;
25031 int res1 = 0 ;
25032 PyObject *swig_obj[1] ;
25033
25034 if (!args) SWIG_fail;
25035 swig_obj[0] = args;
25036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25037 if (!SWIG_IsOK(res1)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25039 }
25040 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (bool)(arg1)->GetEnableHelp();
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 {
25048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25057 PyObject *resultobj = 0;
25058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25059 bool result;
25060 void *argp1 = 0 ;
25061 int res1 = 0 ;
25062 PyObject *swig_obj[1] ;
25063
25064 if (!args) SWIG_fail;
25065 swig_obj[0] = args;
25066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25067 if (!SWIG_IsOK(res1)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25069 }
25070 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25071 {
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 result = (bool)(arg1)->GetDefaultInfo();
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 {
25078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25079 }
25080 return resultobj;
25081 fail:
25082 return NULL;
25083 }
25084
25085
25086 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25087 PyObject *resultobj = 0;
25088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25089 wxPoint result;
25090 void *argp1 = 0 ;
25091 int res1 = 0 ;
25092 PyObject *swig_obj[1] ;
25093
25094 if (!args) SWIG_fail;
25095 swig_obj[0] = args;
25096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25097 if (!SWIG_IsOK(res1)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25099 }
25100 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (arg1)->GetMarginTopLeft();
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25108 return resultobj;
25109 fail:
25110 return NULL;
25111 }
25112
25113
25114 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25115 PyObject *resultobj = 0;
25116 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25117 wxPoint result;
25118 void *argp1 = 0 ;
25119 int res1 = 0 ;
25120 PyObject *swig_obj[1] ;
25121
25122 if (!args) SWIG_fail;
25123 swig_obj[0] = args;
25124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25125 if (!SWIG_IsOK(res1)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25127 }
25128 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25129 {
25130 PyThreadState* __tstate = wxPyBeginAllowThreads();
25131 result = (arg1)->GetMarginBottomRight();
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25143 PyObject *resultobj = 0;
25144 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25145 wxPoint result;
25146 void *argp1 = 0 ;
25147 int res1 = 0 ;
25148 PyObject *swig_obj[1] ;
25149
25150 if (!args) SWIG_fail;
25151 swig_obj[0] = args;
25152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25153 if (!SWIG_IsOK(res1)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25155 }
25156 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25157 {
25158 PyThreadState* __tstate = wxPyBeginAllowThreads();
25159 result = (arg1)->GetMinMarginTopLeft();
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25164 return resultobj;
25165 fail:
25166 return NULL;
25167 }
25168
25169
25170 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25171 PyObject *resultobj = 0;
25172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25173 wxPoint result;
25174 void *argp1 = 0 ;
25175 int res1 = 0 ;
25176 PyObject *swig_obj[1] ;
25177
25178 if (!args) SWIG_fail;
25179 swig_obj[0] = args;
25180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25181 if (!SWIG_IsOK(res1)) {
25182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25183 }
25184 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25185 {
25186 PyThreadState* __tstate = wxPyBeginAllowThreads();
25187 result = (arg1)->GetMinMarginBottomRight();
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25192 return resultobj;
25193 fail:
25194 return NULL;
25195 }
25196
25197
25198 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25199 PyObject *resultobj = 0;
25200 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25201 wxPaperSize result;
25202 void *argp1 = 0 ;
25203 int res1 = 0 ;
25204 PyObject *swig_obj[1] ;
25205
25206 if (!args) SWIG_fail;
25207 swig_obj[0] = args;
25208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25209 if (!SWIG_IsOK(res1)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25211 }
25212 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = (wxPaperSize)(arg1)->GetPaperId();
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 resultobj = SWIG_From_int(static_cast< int >(result));
25220 return resultobj;
25221 fail:
25222 return NULL;
25223 }
25224
25225
25226 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25227 PyObject *resultobj = 0;
25228 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25229 wxSize result;
25230 void *argp1 = 0 ;
25231 int res1 = 0 ;
25232 PyObject *swig_obj[1] ;
25233
25234 if (!args) SWIG_fail;
25235 swig_obj[0] = args;
25236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25237 if (!SWIG_IsOK(res1)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25239 }
25240 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25241 {
25242 PyThreadState* __tstate = wxPyBeginAllowThreads();
25243 result = (arg1)->GetPaperSize();
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25248 return resultobj;
25249 fail:
25250 return NULL;
25251 }
25252
25253
25254 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25255 PyObject *resultobj = 0;
25256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25257 wxPrintData *result = 0 ;
25258 void *argp1 = 0 ;
25259 int res1 = 0 ;
25260 PyObject *swig_obj[1] ;
25261
25262 if (!args) SWIG_fail;
25263 swig_obj[0] = args;
25264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25265 if (!SWIG_IsOK(res1)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25267 }
25268 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 {
25272 wxPrintData &_result_ref = (arg1)->GetPrintData();
25273 result = (wxPrintData *) &_result_ref;
25274 }
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25279 return resultobj;
25280 fail:
25281 return NULL;
25282 }
25283
25284
25285 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25286 PyObject *resultobj = 0;
25287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25288 bool result;
25289 void *argp1 = 0 ;
25290 int res1 = 0 ;
25291 PyObject *swig_obj[1] ;
25292
25293 if (!args) SWIG_fail;
25294 swig_obj[0] = args;
25295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25296 if (!SWIG_IsOK(res1)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25298 }
25299 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25300 {
25301 PyThreadState* __tstate = wxPyBeginAllowThreads();
25302 result = (bool)(arg1)->Ok();
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 {
25307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25308 }
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj = 0;
25317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25318 bool arg2 ;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 bool val2 ;
25322 int ecode2 = 0 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char * kwnames[] = {
25326 (char *) "self",(char *) "flag", NULL
25327 };
25328
25329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25331 if (!SWIG_IsOK(res1)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25333 }
25334 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25336 if (!SWIG_IsOK(ecode2)) {
25337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25338 }
25339 arg2 = static_cast< bool >(val2);
25340 {
25341 PyThreadState* __tstate = wxPyBeginAllowThreads();
25342 (arg1)->SetDefaultInfo(arg2);
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 resultobj = SWIG_Py_Void();
25347 return resultobj;
25348 fail:
25349 return NULL;
25350 }
25351
25352
25353 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj = 0;
25355 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25356 bool arg2 ;
25357 void *argp1 = 0 ;
25358 int res1 = 0 ;
25359 bool val2 ;
25360 int ecode2 = 0 ;
25361 PyObject * obj0 = 0 ;
25362 PyObject * obj1 = 0 ;
25363 char * kwnames[] = {
25364 (char *) "self",(char *) "flag", NULL
25365 };
25366
25367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25369 if (!SWIG_IsOK(res1)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25371 }
25372 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25373 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25374 if (!SWIG_IsOK(ecode2)) {
25375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25376 }
25377 arg2 = static_cast< bool >(val2);
25378 {
25379 PyThreadState* __tstate = wxPyBeginAllowThreads();
25380 (arg1)->SetDefaultMinMargins(arg2);
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 resultobj = SWIG_Py_Void();
25385 return resultobj;
25386 fail:
25387 return NULL;
25388 }
25389
25390
25391 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25392 PyObject *resultobj = 0;
25393 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25394 wxPoint *arg2 = 0 ;
25395 void *argp1 = 0 ;
25396 int res1 = 0 ;
25397 wxPoint temp2 ;
25398 PyObject * obj0 = 0 ;
25399 PyObject * obj1 = 0 ;
25400 char * kwnames[] = {
25401 (char *) "self",(char *) "pt", NULL
25402 };
25403
25404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25406 if (!SWIG_IsOK(res1)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25408 }
25409 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25410 {
25411 arg2 = &temp2;
25412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25413 }
25414 {
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 resultobj = SWIG_Py_Void();
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj = 0;
25429 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25430 wxPoint *arg2 = 0 ;
25431 void *argp1 = 0 ;
25432 int res1 = 0 ;
25433 wxPoint temp2 ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char * kwnames[] = {
25437 (char *) "self",(char *) "pt", NULL
25438 };
25439
25440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25442 if (!SWIG_IsOK(res1)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25444 }
25445 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25446 {
25447 arg2 = &temp2;
25448 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 resultobj = SWIG_Py_Void();
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25464 PyObject *resultobj = 0;
25465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25466 wxPoint *arg2 = 0 ;
25467 void *argp1 = 0 ;
25468 int res1 = 0 ;
25469 wxPoint temp2 ;
25470 PyObject * obj0 = 0 ;
25471 PyObject * obj1 = 0 ;
25472 char * kwnames[] = {
25473 (char *) "self",(char *) "pt", NULL
25474 };
25475
25476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25478 if (!SWIG_IsOK(res1)) {
25479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25480 }
25481 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25482 {
25483 arg2 = &temp2;
25484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25485 }
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 resultobj = SWIG_Py_Void();
25493 return resultobj;
25494 fail:
25495 return NULL;
25496 }
25497
25498
25499 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25500 PyObject *resultobj = 0;
25501 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25502 wxPoint *arg2 = 0 ;
25503 void *argp1 = 0 ;
25504 int res1 = 0 ;
25505 wxPoint temp2 ;
25506 PyObject * obj0 = 0 ;
25507 PyObject * obj1 = 0 ;
25508 char * kwnames[] = {
25509 (char *) "self",(char *) "pt", NULL
25510 };
25511
25512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25514 if (!SWIG_IsOK(res1)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25516 }
25517 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25518 {
25519 arg2 = &temp2;
25520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25521 }
25522 {
25523 PyThreadState* __tstate = wxPyBeginAllowThreads();
25524 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
25528 resultobj = SWIG_Py_Void();
25529 return resultobj;
25530 fail:
25531 return NULL;
25532 }
25533
25534
25535 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25536 PyObject *resultobj = 0;
25537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25538 wxPaperSize arg2 ;
25539 void *argp1 = 0 ;
25540 int res1 = 0 ;
25541 int val2 ;
25542 int ecode2 = 0 ;
25543 PyObject * obj0 = 0 ;
25544 PyObject * obj1 = 0 ;
25545 char * kwnames[] = {
25546 (char *) "self",(char *) "id", NULL
25547 };
25548
25549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25551 if (!SWIG_IsOK(res1)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25553 }
25554 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25555 ecode2 = SWIG_AsVal_int(obj1, &val2);
25556 if (!SWIG_IsOK(ecode2)) {
25557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25558 }
25559 arg2 = static_cast< wxPaperSize >(val2);
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 (arg1)->SetPaperId(arg2);
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 resultobj = SWIG_Py_Void();
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj = 0;
25575 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25576 wxSize *arg2 = 0 ;
25577 void *argp1 = 0 ;
25578 int res1 = 0 ;
25579 wxSize temp2 ;
25580 PyObject * obj0 = 0 ;
25581 PyObject * obj1 = 0 ;
25582 char * kwnames[] = {
25583 (char *) "self",(char *) "size", NULL
25584 };
25585
25586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25588 if (!SWIG_IsOK(res1)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25590 }
25591 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25592 {
25593 arg2 = &temp2;
25594 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25595 }
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 (arg1)->SetPaperSize((wxSize const &)*arg2);
25599 wxPyEndAllowThreads(__tstate);
25600 if (PyErr_Occurred()) SWIG_fail;
25601 }
25602 resultobj = SWIG_Py_Void();
25603 return resultobj;
25604 fail:
25605 return NULL;
25606 }
25607
25608
25609 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25610 PyObject *resultobj = 0;
25611 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25612 wxPrintData *arg2 = 0 ;
25613 void *argp1 = 0 ;
25614 int res1 = 0 ;
25615 void *argp2 = 0 ;
25616 int res2 = 0 ;
25617 PyObject * obj0 = 0 ;
25618 PyObject * obj1 = 0 ;
25619 char * kwnames[] = {
25620 (char *) "self",(char *) "printData", NULL
25621 };
25622
25623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25625 if (!SWIG_IsOK(res1)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25627 }
25628 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25629 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25630 if (!SWIG_IsOK(res2)) {
25631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25632 }
25633 if (!argp2) {
25634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25635 }
25636 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25640 wxPyEndAllowThreads(__tstate);
25641 if (PyErr_Occurred()) SWIG_fail;
25642 }
25643 resultobj = SWIG_Py_Void();
25644 return resultobj;
25645 fail:
25646 return NULL;
25647 }
25648
25649
25650 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25651 PyObject *resultobj = 0;
25652 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25653 void *argp1 = 0 ;
25654 int res1 = 0 ;
25655 PyObject *swig_obj[1] ;
25656
25657 if (!args) SWIG_fail;
25658 swig_obj[0] = args;
25659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25660 if (!SWIG_IsOK(res1)) {
25661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25662 }
25663 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25664 {
25665 PyThreadState* __tstate = wxPyBeginAllowThreads();
25666 (arg1)->CalculateIdFromPaperSize();
25667 wxPyEndAllowThreads(__tstate);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 resultobj = SWIG_Py_Void();
25671 return resultobj;
25672 fail:
25673 return NULL;
25674 }
25675
25676
25677 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25678 PyObject *resultobj = 0;
25679 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25680 void *argp1 = 0 ;
25681 int res1 = 0 ;
25682 PyObject *swig_obj[1] ;
25683
25684 if (!args) SWIG_fail;
25685 swig_obj[0] = args;
25686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25687 if (!SWIG_IsOK(res1)) {
25688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25689 }
25690 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 (arg1)->CalculatePaperSizeFromId();
25694 wxPyEndAllowThreads(__tstate);
25695 if (PyErr_Occurred()) SWIG_fail;
25696 }
25697 resultobj = SWIG_Py_Void();
25698 return resultobj;
25699 fail:
25700 return NULL;
25701 }
25702
25703
25704 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25705 PyObject *obj;
25706 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25708 return SWIG_Py_Void();
25709 }
25710
25711 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25712 return SWIG_Python_InitShadowInstance(args);
25713 }
25714
25715 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25716 PyObject *resultobj = 0;
25717 wxWindow *arg1 = (wxWindow *) 0 ;
25718 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25719 wxPageSetupDialog *result = 0 ;
25720 void *argp1 = 0 ;
25721 int res1 = 0 ;
25722 void *argp2 = 0 ;
25723 int res2 = 0 ;
25724 PyObject * obj0 = 0 ;
25725 PyObject * obj1 = 0 ;
25726 char * kwnames[] = {
25727 (char *) "parent",(char *) "data", NULL
25728 };
25729
25730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25732 if (!SWIG_IsOK(res1)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25734 }
25735 arg1 = reinterpret_cast< wxWindow * >(argp1);
25736 if (obj1) {
25737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25738 if (!SWIG_IsOK(res2)) {
25739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25740 }
25741 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25742 }
25743 {
25744 if (!wxPyCheckForApp()) SWIG_fail;
25745 PyThreadState* __tstate = wxPyBeginAllowThreads();
25746 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25747 wxPyEndAllowThreads(__tstate);
25748 if (PyErr_Occurred()) SWIG_fail;
25749 }
25750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25751 return resultobj;
25752 fail:
25753 return NULL;
25754 }
25755
25756
25757 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25758 PyObject *resultobj = 0;
25759 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25760 void *argp1 = 0 ;
25761 int res1 = 0 ;
25762 PyObject *swig_obj[1] ;
25763
25764 if (!args) SWIG_fail;
25765 swig_obj[0] = args;
25766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25767 if (!SWIG_IsOK(res1)) {
25768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25769 }
25770 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25771 {
25772 PyThreadState* __tstate = wxPyBeginAllowThreads();
25773 delete arg1;
25774
25775 wxPyEndAllowThreads(__tstate);
25776 if (PyErr_Occurred()) SWIG_fail;
25777 }
25778 resultobj = SWIG_Py_Void();
25779 return resultobj;
25780 fail:
25781 return NULL;
25782 }
25783
25784
25785 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25786 PyObject *resultobj = 0;
25787 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25788 wxPageSetupDialogData *result = 0 ;
25789 void *argp1 = 0 ;
25790 int res1 = 0 ;
25791 PyObject *swig_obj[1] ;
25792
25793 if (!args) SWIG_fail;
25794 swig_obj[0] = args;
25795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25796 if (!SWIG_IsOK(res1)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25798 }
25799 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25800 {
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 {
25803 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25804 result = (wxPageSetupDialogData *) &_result_ref;
25805 }
25806 wxPyEndAllowThreads(__tstate);
25807 if (PyErr_Occurred()) SWIG_fail;
25808 }
25809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25810 return resultobj;
25811 fail:
25812 return NULL;
25813 }
25814
25815
25816 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25817 PyObject *resultobj = 0;
25818 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25819 wxPageSetupDialogData *result = 0 ;
25820 void *argp1 = 0 ;
25821 int res1 = 0 ;
25822 PyObject *swig_obj[1] ;
25823
25824 if (!args) SWIG_fail;
25825 swig_obj[0] = args;
25826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25827 if (!SWIG_IsOK(res1)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25829 }
25830 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 {
25834 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25835 result = (wxPageSetupDialogData *) &_result_ref;
25836 }
25837 wxPyEndAllowThreads(__tstate);
25838 if (PyErr_Occurred()) SWIG_fail;
25839 }
25840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25841 return resultobj;
25842 fail:
25843 return NULL;
25844 }
25845
25846
25847 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25848 PyObject *resultobj = 0;
25849 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25850 int result;
25851 void *argp1 = 0 ;
25852 int res1 = 0 ;
25853 PyObject *swig_obj[1] ;
25854
25855 if (!args) SWIG_fail;
25856 swig_obj[0] = args;
25857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25858 if (!SWIG_IsOK(res1)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25860 }
25861 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25862 {
25863 PyThreadState* __tstate = wxPyBeginAllowThreads();
25864 result = (int)(arg1)->ShowModal();
25865 wxPyEndAllowThreads(__tstate);
25866 if (PyErr_Occurred()) SWIG_fail;
25867 }
25868 resultobj = SWIG_From_int(static_cast< int >(result));
25869 return resultobj;
25870 fail:
25871 return NULL;
25872 }
25873
25874
25875 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25876 PyObject *obj;
25877 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25879 return SWIG_Py_Void();
25880 }
25881
25882 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25883 return SWIG_Python_InitShadowInstance(args);
25884 }
25885
25886 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25887 PyObject *resultobj = 0;
25888 wxPrintDialogData *result = 0 ;
25889
25890 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25891 {
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 result = (wxPrintDialogData *)new wxPrintDialogData();
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25905 PyObject *resultobj = 0;
25906 wxPrintData *arg1 = 0 ;
25907 wxPrintDialogData *result = 0 ;
25908 void *argp1 = 0 ;
25909 int res1 = 0 ;
25910
25911 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25913 if (!SWIG_IsOK(res1)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25915 }
25916 if (!argp1) {
25917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25918 }
25919 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25923 wxPyEndAllowThreads(__tstate);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25927 return resultobj;
25928 fail:
25929 return NULL;
25930 }
25931
25932
25933 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25934 PyObject *resultobj = 0;
25935 wxPrintDialogData *arg1 = 0 ;
25936 wxPrintDialogData *result = 0 ;
25937 void *argp1 = 0 ;
25938 int res1 = 0 ;
25939
25940 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25942 if (!SWIG_IsOK(res1)) {
25943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25944 }
25945 if (!argp1) {
25946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25947 }
25948 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25952 wxPyEndAllowThreads(__tstate);
25953 if (PyErr_Occurred()) SWIG_fail;
25954 }
25955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25956 return resultobj;
25957 fail:
25958 return NULL;
25959 }
25960
25961
25962 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25963 int argc;
25964 PyObject *argv[2];
25965
25966 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25967 --argc;
25968 if (argc == 0) {
25969 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25970 }
25971 if (argc == 1) {
25972 int _v = 0;
25973 {
25974 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25975 _v = SWIG_CheckState(res);
25976 }
25977 if (!_v) goto check_2;
25978 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25979 }
25980 check_2:
25981
25982 if (argc == 1) {
25983 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25984 }
25985
25986 fail:
25987 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25988 return NULL;
25989 }
25990
25991
25992 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25993 PyObject *resultobj = 0;
25994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25995 void *argp1 = 0 ;
25996 int res1 = 0 ;
25997 PyObject *swig_obj[1] ;
25998
25999 if (!args) SWIG_fail;
26000 swig_obj[0] = args;
26001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26002 if (!SWIG_IsOK(res1)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26004 }
26005 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 delete arg1;
26009
26010 wxPyEndAllowThreads(__tstate);
26011 if (PyErr_Occurred()) SWIG_fail;
26012 }
26013 resultobj = SWIG_Py_Void();
26014 return resultobj;
26015 fail:
26016 return NULL;
26017 }
26018
26019
26020 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26021 PyObject *resultobj = 0;
26022 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26023 int result;
26024 void *argp1 = 0 ;
26025 int res1 = 0 ;
26026 PyObject *swig_obj[1] ;
26027
26028 if (!args) SWIG_fail;
26029 swig_obj[0] = args;
26030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26031 if (!SWIG_IsOK(res1)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26033 }
26034 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 resultobj = SWIG_From_int(static_cast< int >(result));
26042 return resultobj;
26043 fail:
26044 return NULL;
26045 }
26046
26047
26048 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26049 PyObject *resultobj = 0;
26050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26051 int result;
26052 void *argp1 = 0 ;
26053 int res1 = 0 ;
26054 PyObject *swig_obj[1] ;
26055
26056 if (!args) SWIG_fail;
26057 swig_obj[0] = args;
26058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26059 if (!SWIG_IsOK(res1)) {
26060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26061 }
26062 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 resultobj = SWIG_From_int(static_cast< int >(result));
26070 return resultobj;
26071 fail:
26072 return NULL;
26073 }
26074
26075
26076 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26077 PyObject *resultobj = 0;
26078 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26079 int result;
26080 void *argp1 = 0 ;
26081 int res1 = 0 ;
26082 PyObject *swig_obj[1] ;
26083
26084 if (!args) SWIG_fail;
26085 swig_obj[0] = args;
26086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26087 if (!SWIG_IsOK(res1)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26089 }
26090 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26091 {
26092 PyThreadState* __tstate = wxPyBeginAllowThreads();
26093 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 resultobj = SWIG_From_int(static_cast< int >(result));
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26105 PyObject *resultobj = 0;
26106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26107 int result;
26108 void *argp1 = 0 ;
26109 int res1 = 0 ;
26110 PyObject *swig_obj[1] ;
26111
26112 if (!args) SWIG_fail;
26113 swig_obj[0] = args;
26114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26115 if (!SWIG_IsOK(res1)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26117 }
26118 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 resultobj = SWIG_From_int(static_cast< int >(result));
26126 return resultobj;
26127 fail:
26128 return NULL;
26129 }
26130
26131
26132 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26133 PyObject *resultobj = 0;
26134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26135 int result;
26136 void *argp1 = 0 ;
26137 int res1 = 0 ;
26138 PyObject *swig_obj[1] ;
26139
26140 if (!args) SWIG_fail;
26141 swig_obj[0] = args;
26142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26143 if (!SWIG_IsOK(res1)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26145 }
26146 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26150 wxPyEndAllowThreads(__tstate);
26151 if (PyErr_Occurred()) SWIG_fail;
26152 }
26153 resultobj = SWIG_From_int(static_cast< int >(result));
26154 return resultobj;
26155 fail:
26156 return NULL;
26157 }
26158
26159
26160 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26161 PyObject *resultobj = 0;
26162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26163 bool result;
26164 void *argp1 = 0 ;
26165 int res1 = 0 ;
26166 PyObject *swig_obj[1] ;
26167
26168 if (!args) SWIG_fail;
26169 swig_obj[0] = args;
26170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26171 if (!SWIG_IsOK(res1)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26173 }
26174 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 {
26182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26183 }
26184 return resultobj;
26185 fail:
26186 return NULL;
26187 }
26188
26189
26190 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26191 PyObject *resultobj = 0;
26192 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26193 bool result;
26194 void *argp1 = 0 ;
26195 int res1 = 0 ;
26196 PyObject *swig_obj[1] ;
26197
26198 if (!args) SWIG_fail;
26199 swig_obj[0] = args;
26200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26201 if (!SWIG_IsOK(res1)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26203 }
26204 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 {
26212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26213 }
26214 return resultobj;
26215 fail:
26216 return NULL;
26217 }
26218
26219
26220 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26221 PyObject *resultobj = 0;
26222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26223 bool result;
26224 void *argp1 = 0 ;
26225 int res1 = 0 ;
26226 PyObject *swig_obj[1] ;
26227
26228 if (!args) SWIG_fail;
26229 swig_obj[0] = args;
26230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26231 if (!SWIG_IsOK(res1)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26233 }
26234 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26238 wxPyEndAllowThreads(__tstate);
26239 if (PyErr_Occurred()) SWIG_fail;
26240 }
26241 {
26242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26243 }
26244 return resultobj;
26245 fail:
26246 return NULL;
26247 }
26248
26249
26250 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26251 PyObject *resultobj = 0;
26252 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26253 bool result;
26254 void *argp1 = 0 ;
26255 int res1 = 0 ;
26256 PyObject *swig_obj[1] ;
26257
26258 if (!args) SWIG_fail;
26259 swig_obj[0] = args;
26260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26261 if (!SWIG_IsOK(res1)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26263 }
26264 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 {
26272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26273 }
26274 return resultobj;
26275 fail:
26276 return NULL;
26277 }
26278
26279
26280 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26281 PyObject *resultobj = 0;
26282 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26283 int arg2 ;
26284 void *argp1 = 0 ;
26285 int res1 = 0 ;
26286 int val2 ;
26287 int ecode2 = 0 ;
26288 PyObject * obj0 = 0 ;
26289 PyObject * obj1 = 0 ;
26290 char * kwnames[] = {
26291 (char *) "self",(char *) "v", NULL
26292 };
26293
26294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26296 if (!SWIG_IsOK(res1)) {
26297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26298 }
26299 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26300 ecode2 = SWIG_AsVal_int(obj1, &val2);
26301 if (!SWIG_IsOK(ecode2)) {
26302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26303 }
26304 arg2 = static_cast< int >(val2);
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 (arg1)->SetFromPage(arg2);
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 resultobj = SWIG_Py_Void();
26312 return resultobj;
26313 fail:
26314 return NULL;
26315 }
26316
26317
26318 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26319 PyObject *resultobj = 0;
26320 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26321 int arg2 ;
26322 void *argp1 = 0 ;
26323 int res1 = 0 ;
26324 int val2 ;
26325 int ecode2 = 0 ;
26326 PyObject * obj0 = 0 ;
26327 PyObject * obj1 = 0 ;
26328 char * kwnames[] = {
26329 (char *) "self",(char *) "v", NULL
26330 };
26331
26332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26334 if (!SWIG_IsOK(res1)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26336 }
26337 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26338 ecode2 = SWIG_AsVal_int(obj1, &val2);
26339 if (!SWIG_IsOK(ecode2)) {
26340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26341 }
26342 arg2 = static_cast< int >(val2);
26343 {
26344 PyThreadState* __tstate = wxPyBeginAllowThreads();
26345 (arg1)->SetToPage(arg2);
26346 wxPyEndAllowThreads(__tstate);
26347 if (PyErr_Occurred()) SWIG_fail;
26348 }
26349 resultobj = SWIG_Py_Void();
26350 return resultobj;
26351 fail:
26352 return NULL;
26353 }
26354
26355
26356 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26357 PyObject *resultobj = 0;
26358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26359 int arg2 ;
26360 void *argp1 = 0 ;
26361 int res1 = 0 ;
26362 int val2 ;
26363 int ecode2 = 0 ;
26364 PyObject * obj0 = 0 ;
26365 PyObject * obj1 = 0 ;
26366 char * kwnames[] = {
26367 (char *) "self",(char *) "v", NULL
26368 };
26369
26370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26372 if (!SWIG_IsOK(res1)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26374 }
26375 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26376 ecode2 = SWIG_AsVal_int(obj1, &val2);
26377 if (!SWIG_IsOK(ecode2)) {
26378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26379 }
26380 arg2 = static_cast< int >(val2);
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 (arg1)->SetMinPage(arg2);
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 resultobj = SWIG_Py_Void();
26388 return resultobj;
26389 fail:
26390 return NULL;
26391 }
26392
26393
26394 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26395 PyObject *resultobj = 0;
26396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26397 int arg2 ;
26398 void *argp1 = 0 ;
26399 int res1 = 0 ;
26400 int val2 ;
26401 int ecode2 = 0 ;
26402 PyObject * obj0 = 0 ;
26403 PyObject * obj1 = 0 ;
26404 char * kwnames[] = {
26405 (char *) "self",(char *) "v", NULL
26406 };
26407
26408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26410 if (!SWIG_IsOK(res1)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26412 }
26413 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26414 ecode2 = SWIG_AsVal_int(obj1, &val2);
26415 if (!SWIG_IsOK(ecode2)) {
26416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26417 }
26418 arg2 = static_cast< int >(val2);
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 (arg1)->SetMaxPage(arg2);
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 resultobj = SWIG_Py_Void();
26426 return resultobj;
26427 fail:
26428 return NULL;
26429 }
26430
26431
26432 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26433 PyObject *resultobj = 0;
26434 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26435 int arg2 ;
26436 void *argp1 = 0 ;
26437 int res1 = 0 ;
26438 int val2 ;
26439 int ecode2 = 0 ;
26440 PyObject * obj0 = 0 ;
26441 PyObject * obj1 = 0 ;
26442 char * kwnames[] = {
26443 (char *) "self",(char *) "v", NULL
26444 };
26445
26446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26448 if (!SWIG_IsOK(res1)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26450 }
26451 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26452 ecode2 = SWIG_AsVal_int(obj1, &val2);
26453 if (!SWIG_IsOK(ecode2)) {
26454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26455 }
26456 arg2 = static_cast< int >(val2);
26457 {
26458 PyThreadState* __tstate = wxPyBeginAllowThreads();
26459 (arg1)->SetNoCopies(arg2);
26460 wxPyEndAllowThreads(__tstate);
26461 if (PyErr_Occurred()) SWIG_fail;
26462 }
26463 resultobj = SWIG_Py_Void();
26464 return resultobj;
26465 fail:
26466 return NULL;
26467 }
26468
26469
26470 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26471 PyObject *resultobj = 0;
26472 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26473 bool arg2 ;
26474 void *argp1 = 0 ;
26475 int res1 = 0 ;
26476 bool val2 ;
26477 int ecode2 = 0 ;
26478 PyObject * obj0 = 0 ;
26479 PyObject * obj1 = 0 ;
26480 char * kwnames[] = {
26481 (char *) "self",(char *) "flag", NULL
26482 };
26483
26484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26486 if (!SWIG_IsOK(res1)) {
26487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26488 }
26489 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26490 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26491 if (!SWIG_IsOK(ecode2)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26493 }
26494 arg2 = static_cast< bool >(val2);
26495 {
26496 PyThreadState* __tstate = wxPyBeginAllowThreads();
26497 (arg1)->SetAllPages(arg2);
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 resultobj = SWIG_Py_Void();
26502 return resultobj;
26503 fail:
26504 return NULL;
26505 }
26506
26507
26508 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj = 0;
26510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26511 bool arg2 ;
26512 void *argp1 = 0 ;
26513 int res1 = 0 ;
26514 bool val2 ;
26515 int ecode2 = 0 ;
26516 PyObject * obj0 = 0 ;
26517 PyObject * obj1 = 0 ;
26518 char * kwnames[] = {
26519 (char *) "self",(char *) "flag", NULL
26520 };
26521
26522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26524 if (!SWIG_IsOK(res1)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26526 }
26527 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26528 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26529 if (!SWIG_IsOK(ecode2)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26531 }
26532 arg2 = static_cast< bool >(val2);
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 (arg1)->SetSelection(arg2);
26536 wxPyEndAllowThreads(__tstate);
26537 if (PyErr_Occurred()) SWIG_fail;
26538 }
26539 resultobj = SWIG_Py_Void();
26540 return resultobj;
26541 fail:
26542 return NULL;
26543 }
26544
26545
26546 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26547 PyObject *resultobj = 0;
26548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26549 bool arg2 ;
26550 void *argp1 = 0 ;
26551 int res1 = 0 ;
26552 bool val2 ;
26553 int ecode2 = 0 ;
26554 PyObject * obj0 = 0 ;
26555 PyObject * obj1 = 0 ;
26556 char * kwnames[] = {
26557 (char *) "self",(char *) "flag", NULL
26558 };
26559
26560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26562 if (!SWIG_IsOK(res1)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26564 }
26565 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26566 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26567 if (!SWIG_IsOK(ecode2)) {
26568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26569 }
26570 arg2 = static_cast< bool >(val2);
26571 {
26572 PyThreadState* __tstate = wxPyBeginAllowThreads();
26573 (arg1)->SetCollate(arg2);
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 resultobj = SWIG_Py_Void();
26578 return resultobj;
26579 fail:
26580 return NULL;
26581 }
26582
26583
26584 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26585 PyObject *resultobj = 0;
26586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26587 bool arg2 ;
26588 void *argp1 = 0 ;
26589 int res1 = 0 ;
26590 bool val2 ;
26591 int ecode2 = 0 ;
26592 PyObject * obj0 = 0 ;
26593 PyObject * obj1 = 0 ;
26594 char * kwnames[] = {
26595 (char *) "self",(char *) "flag", NULL
26596 };
26597
26598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26600 if (!SWIG_IsOK(res1)) {
26601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26602 }
26603 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26605 if (!SWIG_IsOK(ecode2)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26607 }
26608 arg2 = static_cast< bool >(val2);
26609 {
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 (arg1)->SetPrintToFile(arg2);
26612 wxPyEndAllowThreads(__tstate);
26613 if (PyErr_Occurred()) SWIG_fail;
26614 }
26615 resultobj = SWIG_Py_Void();
26616 return resultobj;
26617 fail:
26618 return NULL;
26619 }
26620
26621
26622 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26623 PyObject *resultobj = 0;
26624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26625 bool arg2 ;
26626 void *argp1 = 0 ;
26627 int res1 = 0 ;
26628 bool val2 ;
26629 int ecode2 = 0 ;
26630 PyObject * obj0 = 0 ;
26631 PyObject * obj1 = 0 ;
26632 char * kwnames[] = {
26633 (char *) "self",(char *) "flag", NULL
26634 };
26635
26636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26638 if (!SWIG_IsOK(res1)) {
26639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26640 }
26641 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26642 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26643 if (!SWIG_IsOK(ecode2)) {
26644 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26645 }
26646 arg2 = static_cast< bool >(val2);
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 (arg1)->EnablePrintToFile(arg2);
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 resultobj = SWIG_Py_Void();
26654 return resultobj;
26655 fail:
26656 return NULL;
26657 }
26658
26659
26660 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26661 PyObject *resultobj = 0;
26662 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26663 bool arg2 ;
26664 void *argp1 = 0 ;
26665 int res1 = 0 ;
26666 bool val2 ;
26667 int ecode2 = 0 ;
26668 PyObject * obj0 = 0 ;
26669 PyObject * obj1 = 0 ;
26670 char * kwnames[] = {
26671 (char *) "self",(char *) "flag", NULL
26672 };
26673
26674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26676 if (!SWIG_IsOK(res1)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26678 }
26679 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26680 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26681 if (!SWIG_IsOK(ecode2)) {
26682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26683 }
26684 arg2 = static_cast< bool >(val2);
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->EnableSelection(arg2);
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 resultobj = SWIG_Py_Void();
26692 return resultobj;
26693 fail:
26694 return NULL;
26695 }
26696
26697
26698 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26699 PyObject *resultobj = 0;
26700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26701 bool arg2 ;
26702 void *argp1 = 0 ;
26703 int res1 = 0 ;
26704 bool val2 ;
26705 int ecode2 = 0 ;
26706 PyObject * obj0 = 0 ;
26707 PyObject * obj1 = 0 ;
26708 char * kwnames[] = {
26709 (char *) "self",(char *) "flag", NULL
26710 };
26711
26712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26714 if (!SWIG_IsOK(res1)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26716 }
26717 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26718 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26719 if (!SWIG_IsOK(ecode2)) {
26720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26721 }
26722 arg2 = static_cast< bool >(val2);
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 (arg1)->EnablePageNumbers(arg2);
26726 wxPyEndAllowThreads(__tstate);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 }
26729 resultobj = SWIG_Py_Void();
26730 return resultobj;
26731 fail:
26732 return NULL;
26733 }
26734
26735
26736 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26737 PyObject *resultobj = 0;
26738 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26739 bool arg2 ;
26740 void *argp1 = 0 ;
26741 int res1 = 0 ;
26742 bool val2 ;
26743 int ecode2 = 0 ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 char * kwnames[] = {
26747 (char *) "self",(char *) "flag", NULL
26748 };
26749
26750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26752 if (!SWIG_IsOK(res1)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26754 }
26755 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26756 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26757 if (!SWIG_IsOK(ecode2)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26759 }
26760 arg2 = static_cast< bool >(val2);
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 (arg1)->EnableHelp(arg2);
26764 wxPyEndAllowThreads(__tstate);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 }
26767 resultobj = SWIG_Py_Void();
26768 return resultobj;
26769 fail:
26770 return NULL;
26771 }
26772
26773
26774 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26775 PyObject *resultobj = 0;
26776 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26777 bool result;
26778 void *argp1 = 0 ;
26779 int res1 = 0 ;
26780 PyObject *swig_obj[1] ;
26781
26782 if (!args) SWIG_fail;
26783 swig_obj[0] = args;
26784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26785 if (!SWIG_IsOK(res1)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26787 }
26788 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26789 {
26790 PyThreadState* __tstate = wxPyBeginAllowThreads();
26791 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 {
26796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26797 }
26798 return resultobj;
26799 fail:
26800 return NULL;
26801 }
26802
26803
26804 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26805 PyObject *resultobj = 0;
26806 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26807 bool result;
26808 void *argp1 = 0 ;
26809 int res1 = 0 ;
26810 PyObject *swig_obj[1] ;
26811
26812 if (!args) SWIG_fail;
26813 swig_obj[0] = args;
26814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26815 if (!SWIG_IsOK(res1)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26817 }
26818 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26822 wxPyEndAllowThreads(__tstate);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 {
26826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26827 }
26828 return resultobj;
26829 fail:
26830 return NULL;
26831 }
26832
26833
26834 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26835 PyObject *resultobj = 0;
26836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26837 bool result;
26838 void *argp1 = 0 ;
26839 int res1 = 0 ;
26840 PyObject *swig_obj[1] ;
26841
26842 if (!args) SWIG_fail;
26843 swig_obj[0] = args;
26844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26845 if (!SWIG_IsOK(res1)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26847 }
26848 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26857 }
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26865 PyObject *resultobj = 0;
26866 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26867 bool result;
26868 void *argp1 = 0 ;
26869 int res1 = 0 ;
26870 PyObject *swig_obj[1] ;
26871
26872 if (!args) SWIG_fail;
26873 swig_obj[0] = args;
26874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26875 if (!SWIG_IsOK(res1)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26877 }
26878 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26879 {
26880 PyThreadState* __tstate = wxPyBeginAllowThreads();
26881 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26887 }
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26895 PyObject *resultobj = 0;
26896 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26897 bool result;
26898 void *argp1 = 0 ;
26899 int res1 = 0 ;
26900 PyObject *swig_obj[1] ;
26901
26902 if (!args) SWIG_fail;
26903 swig_obj[0] = args;
26904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26905 if (!SWIG_IsOK(res1)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26907 }
26908 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26912 wxPyEndAllowThreads(__tstate);
26913 if (PyErr_Occurred()) SWIG_fail;
26914 }
26915 {
26916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26917 }
26918 return resultobj;
26919 fail:
26920 return NULL;
26921 }
26922
26923
26924 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26925 PyObject *resultobj = 0;
26926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26927 wxPrintData *result = 0 ;
26928 void *argp1 = 0 ;
26929 int res1 = 0 ;
26930 PyObject *swig_obj[1] ;
26931
26932 if (!args) SWIG_fail;
26933 swig_obj[0] = args;
26934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26935 if (!SWIG_IsOK(res1)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26937 }
26938 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26939 {
26940 PyThreadState* __tstate = wxPyBeginAllowThreads();
26941 {
26942 wxPrintData &_result_ref = (arg1)->GetPrintData();
26943 result = (wxPrintData *) &_result_ref;
26944 }
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26949 return resultobj;
26950 fail:
26951 return NULL;
26952 }
26953
26954
26955 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26958 wxPrintData *arg2 = 0 ;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 void *argp2 = 0 ;
26962 int res2 = 0 ;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 char * kwnames[] = {
26966 (char *) "self",(char *) "printData", NULL
26967 };
26968
26969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26973 }
26974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26975 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26976 if (!SWIG_IsOK(res2)) {
26977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26978 }
26979 if (!argp2) {
26980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26981 }
26982 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26983 {
26984 PyThreadState* __tstate = wxPyBeginAllowThreads();
26985 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26986 wxPyEndAllowThreads(__tstate);
26987 if (PyErr_Occurred()) SWIG_fail;
26988 }
26989 resultobj = SWIG_Py_Void();
26990 return resultobj;
26991 fail:
26992 return NULL;
26993 }
26994
26995
26996 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26997 PyObject *obj;
26998 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26999 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27000 return SWIG_Py_Void();
27001 }
27002
27003 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27004 return SWIG_Python_InitShadowInstance(args);
27005 }
27006
27007 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27008 PyObject *resultobj = 0;
27009 wxWindow *arg1 = (wxWindow *) 0 ;
27010 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27011 wxPrintDialog *result = 0 ;
27012 void *argp1 = 0 ;
27013 int res1 = 0 ;
27014 void *argp2 = 0 ;
27015 int res2 = 0 ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 char * kwnames[] = {
27019 (char *) "parent",(char *) "data", NULL
27020 };
27021
27022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27024 if (!SWIG_IsOK(res1)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27026 }
27027 arg1 = reinterpret_cast< wxWindow * >(argp1);
27028 if (obj1) {
27029 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27030 if (!SWIG_IsOK(res2)) {
27031 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27032 }
27033 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27034 }
27035 {
27036 if (!wxPyCheckForApp()) SWIG_fail;
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27043 return resultobj;
27044 fail:
27045 return NULL;
27046 }
27047
27048
27049 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27050 PyObject *resultobj = 0;
27051 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27052 void *argp1 = 0 ;
27053 int res1 = 0 ;
27054 PyObject *swig_obj[1] ;
27055
27056 if (!args) SWIG_fail;
27057 swig_obj[0] = args;
27058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27059 if (!SWIG_IsOK(res1)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27061 }
27062 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27063 {
27064 PyThreadState* __tstate = wxPyBeginAllowThreads();
27065 delete arg1;
27066
27067 wxPyEndAllowThreads(__tstate);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 resultobj = SWIG_Py_Void();
27071 return resultobj;
27072 fail:
27073 return NULL;
27074 }
27075
27076
27077 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27078 PyObject *resultobj = 0;
27079 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27080 int result;
27081 void *argp1 = 0 ;
27082 int res1 = 0 ;
27083 PyObject *swig_obj[1] ;
27084
27085 if (!args) SWIG_fail;
27086 swig_obj[0] = args;
27087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27088 if (!SWIG_IsOK(res1)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27090 }
27091 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27092 {
27093 PyThreadState* __tstate = wxPyBeginAllowThreads();
27094 result = (int)(arg1)->ShowModal();
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 resultobj = SWIG_From_int(static_cast< int >(result));
27099 return resultobj;
27100 fail:
27101 return NULL;
27102 }
27103
27104
27105 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27106 PyObject *resultobj = 0;
27107 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27108 wxPrintDialogData *result = 0 ;
27109 void *argp1 = 0 ;
27110 int res1 = 0 ;
27111 PyObject *swig_obj[1] ;
27112
27113 if (!args) SWIG_fail;
27114 swig_obj[0] = args;
27115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27116 if (!SWIG_IsOK(res1)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27118 }
27119 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 {
27123 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27124 result = (wxPrintDialogData *) &_result_ref;
27125 }
27126 wxPyEndAllowThreads(__tstate);
27127 if (PyErr_Occurred()) SWIG_fail;
27128 }
27129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27130 return resultobj;
27131 fail:
27132 return NULL;
27133 }
27134
27135
27136 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27137 PyObject *resultobj = 0;
27138 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27139 wxPrintData *result = 0 ;
27140 void *argp1 = 0 ;
27141 int res1 = 0 ;
27142 PyObject *swig_obj[1] ;
27143
27144 if (!args) SWIG_fail;
27145 swig_obj[0] = args;
27146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27147 if (!SWIG_IsOK(res1)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27149 }
27150 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27151 {
27152 PyThreadState* __tstate = wxPyBeginAllowThreads();
27153 {
27154 wxPrintData &_result_ref = (arg1)->GetPrintData();
27155 result = (wxPrintData *) &_result_ref;
27156 }
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27168 PyObject *resultobj = 0;
27169 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27170 wxDC *result = 0 ;
27171 void *argp1 = 0 ;
27172 int res1 = 0 ;
27173 PyObject *swig_obj[1] ;
27174
27175 if (!args) SWIG_fail;
27176 swig_obj[0] = args;
27177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27178 if (!SWIG_IsOK(res1)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27180 }
27181 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27182 {
27183 PyThreadState* __tstate = wxPyBeginAllowThreads();
27184 result = (wxDC *)(arg1)->GetPrintDC();
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 {
27189 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27190 }
27191 return resultobj;
27192 fail:
27193 return NULL;
27194 }
27195
27196
27197 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27198 PyObject *obj;
27199 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27200 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27201 return SWIG_Py_Void();
27202 }
27203
27204 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27205 return SWIG_Python_InitShadowInstance(args);
27206 }
27207
27208 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27209 PyObject *resultobj = 0;
27210 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27211 wxPrinter *result = 0 ;
27212 void *argp1 = 0 ;
27213 int res1 = 0 ;
27214 PyObject * obj0 = 0 ;
27215 char * kwnames[] = {
27216 (char *) "data", NULL
27217 };
27218
27219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27220 if (obj0) {
27221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27222 if (!SWIG_IsOK(res1)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27224 }
27225 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27226 }
27227 {
27228 if (!wxPyCheckForApp()) SWIG_fail;
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (wxPrinter *)new wxPrinter(arg1);
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27235 return resultobj;
27236 fail:
27237 return NULL;
27238 }
27239
27240
27241 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27242 PyObject *resultobj = 0;
27243 wxPrinter *arg1 = (wxPrinter *) 0 ;
27244 void *argp1 = 0 ;
27245 int res1 = 0 ;
27246 PyObject *swig_obj[1] ;
27247
27248 if (!args) SWIG_fail;
27249 swig_obj[0] = args;
27250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27251 if (!SWIG_IsOK(res1)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27253 }
27254 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27255 {
27256 PyThreadState* __tstate = wxPyBeginAllowThreads();
27257 delete arg1;
27258
27259 wxPyEndAllowThreads(__tstate);
27260 if (PyErr_Occurred()) SWIG_fail;
27261 }
27262 resultobj = SWIG_Py_Void();
27263 return resultobj;
27264 fail:
27265 return NULL;
27266 }
27267
27268
27269 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27270 PyObject *resultobj = 0;
27271 wxPrinter *arg1 = (wxPrinter *) 0 ;
27272 wxWindow *arg2 = (wxWindow *) 0 ;
27273 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27274 wxWindow *result = 0 ;
27275 void *argp1 = 0 ;
27276 int res1 = 0 ;
27277 void *argp2 = 0 ;
27278 int res2 = 0 ;
27279 void *argp3 = 0 ;
27280 int res3 = 0 ;
27281 PyObject * obj0 = 0 ;
27282 PyObject * obj1 = 0 ;
27283 PyObject * obj2 = 0 ;
27284 char * kwnames[] = {
27285 (char *) "self",(char *) "parent",(char *) "printout", NULL
27286 };
27287
27288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27290 if (!SWIG_IsOK(res1)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27292 }
27293 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27295 if (!SWIG_IsOK(res2)) {
27296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27297 }
27298 arg2 = reinterpret_cast< wxWindow * >(argp2);
27299 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27300 if (!SWIG_IsOK(res3)) {
27301 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27302 }
27303 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27304 {
27305 PyThreadState* __tstate = wxPyBeginAllowThreads();
27306 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 {
27311 resultobj = wxPyMake_wxObject(result, 0);
27312 }
27313 return resultobj;
27314 fail:
27315 return NULL;
27316 }
27317
27318
27319 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27320 PyObject *resultobj = 0;
27321 wxPrinter *arg1 = (wxPrinter *) 0 ;
27322 wxWindow *arg2 = (wxWindow *) 0 ;
27323 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27324 wxString *arg4 = 0 ;
27325 void *argp1 = 0 ;
27326 int res1 = 0 ;
27327 void *argp2 = 0 ;
27328 int res2 = 0 ;
27329 void *argp3 = 0 ;
27330 int res3 = 0 ;
27331 bool temp4 = false ;
27332 PyObject * obj0 = 0 ;
27333 PyObject * obj1 = 0 ;
27334 PyObject * obj2 = 0 ;
27335 PyObject * obj3 = 0 ;
27336 char * kwnames[] = {
27337 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27338 };
27339
27340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27342 if (!SWIG_IsOK(res1)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27344 }
27345 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27346 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27347 if (!SWIG_IsOK(res2)) {
27348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27349 }
27350 arg2 = reinterpret_cast< wxWindow * >(argp2);
27351 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27352 if (!SWIG_IsOK(res3)) {
27353 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27354 }
27355 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27356 {
27357 arg4 = wxString_in_helper(obj3);
27358 if (arg4 == NULL) SWIG_fail;
27359 temp4 = true;
27360 }
27361 {
27362 PyThreadState* __tstate = wxPyBeginAllowThreads();
27363 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27364 wxPyEndAllowThreads(__tstate);
27365 if (PyErr_Occurred()) SWIG_fail;
27366 }
27367 resultobj = SWIG_Py_Void();
27368 {
27369 if (temp4)
27370 delete arg4;
27371 }
27372 return resultobj;
27373 fail:
27374 {
27375 if (temp4)
27376 delete arg4;
27377 }
27378 return NULL;
27379 }
27380
27381
27382 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27383 PyObject *resultobj = 0;
27384 wxPrinter *arg1 = (wxPrinter *) 0 ;
27385 wxWindow *arg2 = (wxWindow *) 0 ;
27386 bool result;
27387 void *argp1 = 0 ;
27388 int res1 = 0 ;
27389 void *argp2 = 0 ;
27390 int res2 = 0 ;
27391 PyObject * obj0 = 0 ;
27392 PyObject * obj1 = 0 ;
27393 char * kwnames[] = {
27394 (char *) "self",(char *) "parent", NULL
27395 };
27396
27397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27399 if (!SWIG_IsOK(res1)) {
27400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27401 }
27402 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27403 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27404 if (!SWIG_IsOK(res2)) {
27405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27406 }
27407 arg2 = reinterpret_cast< wxWindow * >(argp2);
27408 {
27409 PyThreadState* __tstate = wxPyBeginAllowThreads();
27410 result = (bool)(arg1)->Setup(arg2);
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 {
27415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27416 }
27417 return resultobj;
27418 fail:
27419 return NULL;
27420 }
27421
27422
27423 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27424 PyObject *resultobj = 0;
27425 wxPrinter *arg1 = (wxPrinter *) 0 ;
27426 wxWindow *arg2 = (wxWindow *) 0 ;
27427 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27428 bool arg4 = (bool) true ;
27429 bool result;
27430 void *argp1 = 0 ;
27431 int res1 = 0 ;
27432 void *argp2 = 0 ;
27433 int res2 = 0 ;
27434 void *argp3 = 0 ;
27435 int res3 = 0 ;
27436 bool val4 ;
27437 int ecode4 = 0 ;
27438 PyObject * obj0 = 0 ;
27439 PyObject * obj1 = 0 ;
27440 PyObject * obj2 = 0 ;
27441 PyObject * obj3 = 0 ;
27442 char * kwnames[] = {
27443 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27444 };
27445
27446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27448 if (!SWIG_IsOK(res1)) {
27449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27450 }
27451 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27452 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27453 if (!SWIG_IsOK(res2)) {
27454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27455 }
27456 arg2 = reinterpret_cast< wxWindow * >(argp2);
27457 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27458 if (!SWIG_IsOK(res3)) {
27459 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27460 }
27461 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27462 if (obj3) {
27463 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27464 if (!SWIG_IsOK(ecode4)) {
27465 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27466 }
27467 arg4 = static_cast< bool >(val4);
27468 }
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27472 wxPyEndAllowThreads(__tstate);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 {
27476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27477 }
27478 return resultobj;
27479 fail:
27480 return NULL;
27481 }
27482
27483
27484 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27485 PyObject *resultobj = 0;
27486 wxPrinter *arg1 = (wxPrinter *) 0 ;
27487 wxWindow *arg2 = (wxWindow *) 0 ;
27488 wxDC *result = 0 ;
27489 void *argp1 = 0 ;
27490 int res1 = 0 ;
27491 void *argp2 = 0 ;
27492 int res2 = 0 ;
27493 PyObject * obj0 = 0 ;
27494 PyObject * obj1 = 0 ;
27495 char * kwnames[] = {
27496 (char *) "self",(char *) "parent", NULL
27497 };
27498
27499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27501 if (!SWIG_IsOK(res1)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27503 }
27504 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27506 if (!SWIG_IsOK(res2)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27508 }
27509 arg2 = reinterpret_cast< wxWindow * >(argp2);
27510 {
27511 PyThreadState* __tstate = wxPyBeginAllowThreads();
27512 result = (wxDC *)(arg1)->PrintDialog(arg2);
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 {
27517 resultobj = wxPyMake_wxObject(result, (bool)0);
27518 }
27519 return resultobj;
27520 fail:
27521 return NULL;
27522 }
27523
27524
27525 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27526 PyObject *resultobj = 0;
27527 wxPrinter *arg1 = (wxPrinter *) 0 ;
27528 wxPrintDialogData *result = 0 ;
27529 void *argp1 = 0 ;
27530 int res1 = 0 ;
27531 PyObject *swig_obj[1] ;
27532
27533 if (!args) SWIG_fail;
27534 swig_obj[0] = args;
27535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27536 if (!SWIG_IsOK(res1)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27538 }
27539 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27540 {
27541 PyThreadState* __tstate = wxPyBeginAllowThreads();
27542 {
27543 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27544 result = (wxPrintDialogData *) &_result_ref;
27545 }
27546 wxPyEndAllowThreads(__tstate);
27547 if (PyErr_Occurred()) SWIG_fail;
27548 }
27549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27550 return resultobj;
27551 fail:
27552 return NULL;
27553 }
27554
27555
27556 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27557 PyObject *resultobj = 0;
27558 wxPrinter *arg1 = (wxPrinter *) 0 ;
27559 bool result;
27560 void *argp1 = 0 ;
27561 int res1 = 0 ;
27562 PyObject *swig_obj[1] ;
27563
27564 if (!args) SWIG_fail;
27565 swig_obj[0] = args;
27566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27567 if (!SWIG_IsOK(res1)) {
27568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27569 }
27570 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27571 {
27572 PyThreadState* __tstate = wxPyBeginAllowThreads();
27573 result = (bool)(arg1)->GetAbort();
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 {
27578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27579 }
27580 return resultobj;
27581 fail:
27582 return NULL;
27583 }
27584
27585
27586 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27587 PyObject *resultobj = 0;
27588 wxPrinterError result;
27589
27590 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 result = (wxPrinterError)wxPrinter::GetLastError();
27594 wxPyEndAllowThreads(__tstate);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 }
27597 resultobj = SWIG_From_int(static_cast< int >(result));
27598 return resultobj;
27599 fail:
27600 return NULL;
27601 }
27602
27603
27604 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27605 PyObject *obj;
27606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27607 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27608 return SWIG_Py_Void();
27609 }
27610
27611 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27612 return SWIG_Python_InitShadowInstance(args);
27613 }
27614
27615 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27616 PyObject *resultobj = 0;
27617 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27618 wxString *arg1 = (wxString *) &arg1_defvalue ;
27619 wxPyPrintout *result = 0 ;
27620 bool temp1 = false ;
27621 PyObject * obj0 = 0 ;
27622 char * kwnames[] = {
27623 (char *) "title", NULL
27624 };
27625
27626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27627 if (obj0) {
27628 {
27629 arg1 = wxString_in_helper(obj0);
27630 if (arg1 == NULL) SWIG_fail;
27631 temp1 = true;
27632 }
27633 }
27634 {
27635 if (!wxPyCheckForApp()) SWIG_fail;
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27638 wxPyEndAllowThreads(__tstate);
27639 if (PyErr_Occurred()) SWIG_fail;
27640 }
27641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27642 {
27643 if (temp1)
27644 delete arg1;
27645 }
27646 return resultobj;
27647 fail:
27648 {
27649 if (temp1)
27650 delete arg1;
27651 }
27652 return NULL;
27653 }
27654
27655
27656 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27657 PyObject *resultobj = 0;
27658 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27659 void *argp1 = 0 ;
27660 int res1 = 0 ;
27661 PyObject *swig_obj[1] ;
27662
27663 if (!args) SWIG_fail;
27664 swig_obj[0] = args;
27665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27666 if (!SWIG_IsOK(res1)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27668 }
27669 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 delete arg1;
27673
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 resultobj = SWIG_Py_Void();
27678 return resultobj;
27679 fail:
27680 return NULL;
27681 }
27682
27683
27684 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27685 PyObject *resultobj = 0;
27686 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27687 PyObject *arg2 = (PyObject *) 0 ;
27688 PyObject *arg3 = (PyObject *) 0 ;
27689 void *argp1 = 0 ;
27690 int res1 = 0 ;
27691 PyObject * obj0 = 0 ;
27692 PyObject * obj1 = 0 ;
27693 PyObject * obj2 = 0 ;
27694 char * kwnames[] = {
27695 (char *) "self",(char *) "self",(char *) "_class", NULL
27696 };
27697
27698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27700 if (!SWIG_IsOK(res1)) {
27701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27702 }
27703 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27704 arg2 = obj1;
27705 arg3 = obj2;
27706 {
27707 PyThreadState* __tstate = wxPyBeginAllowThreads();
27708 (arg1)->_setCallbackInfo(arg2,arg3);
27709 wxPyEndAllowThreads(__tstate);
27710 if (PyErr_Occurred()) SWIG_fail;
27711 }
27712 resultobj = SWIG_Py_Void();
27713 return resultobj;
27714 fail:
27715 return NULL;
27716 }
27717
27718
27719 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27720 PyObject *resultobj = 0;
27721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27722 wxString result;
27723 void *argp1 = 0 ;
27724 int res1 = 0 ;
27725 PyObject *swig_obj[1] ;
27726
27727 if (!args) SWIG_fail;
27728 swig_obj[0] = args;
27729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27730 if (!SWIG_IsOK(res1)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27732 }
27733 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27734 {
27735 PyThreadState* __tstate = wxPyBeginAllowThreads();
27736 result = ((wxPyPrintout const *)arg1)->GetTitle();
27737 wxPyEndAllowThreads(__tstate);
27738 if (PyErr_Occurred()) SWIG_fail;
27739 }
27740 {
27741 #if wxUSE_UNICODE
27742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27743 #else
27744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27745 #endif
27746 }
27747 return resultobj;
27748 fail:
27749 return NULL;
27750 }
27751
27752
27753 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27754 PyObject *resultobj = 0;
27755 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27756 wxDC *result = 0 ;
27757 void *argp1 = 0 ;
27758 int res1 = 0 ;
27759 PyObject *swig_obj[1] ;
27760
27761 if (!args) SWIG_fail;
27762 swig_obj[0] = args;
27763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27764 if (!SWIG_IsOK(res1)) {
27765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27766 }
27767 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 result = (wxDC *)(arg1)->GetDC();
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 {
27775 resultobj = wxPyMake_wxObject(result, (bool)0);
27776 }
27777 return resultobj;
27778 fail:
27779 return NULL;
27780 }
27781
27782
27783 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27784 PyObject *resultobj = 0;
27785 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27786 wxDC *arg2 = (wxDC *) 0 ;
27787 void *argp1 = 0 ;
27788 int res1 = 0 ;
27789 void *argp2 = 0 ;
27790 int res2 = 0 ;
27791 PyObject * obj0 = 0 ;
27792 PyObject * obj1 = 0 ;
27793 char * kwnames[] = {
27794 (char *) "self",(char *) "dc", NULL
27795 };
27796
27797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27799 if (!SWIG_IsOK(res1)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27801 }
27802 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27803 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27804 if (!SWIG_IsOK(res2)) {
27805 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27806 }
27807 arg2 = reinterpret_cast< wxDC * >(argp2);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 (arg1)->SetDC(arg2);
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 resultobj = SWIG_Py_Void();
27815 return resultobj;
27816 fail:
27817 return NULL;
27818 }
27819
27820
27821 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27822 PyObject *resultobj = 0;
27823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27824 int arg2 ;
27825 int arg3 ;
27826 void *argp1 = 0 ;
27827 int res1 = 0 ;
27828 int val2 ;
27829 int ecode2 = 0 ;
27830 int val3 ;
27831 int ecode3 = 0 ;
27832 PyObject * obj0 = 0 ;
27833 PyObject * obj1 = 0 ;
27834 PyObject * obj2 = 0 ;
27835 char * kwnames[] = {
27836 (char *) "self",(char *) "w",(char *) "h", NULL
27837 };
27838
27839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27841 if (!SWIG_IsOK(res1)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27843 }
27844 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27845 ecode2 = SWIG_AsVal_int(obj1, &val2);
27846 if (!SWIG_IsOK(ecode2)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27848 }
27849 arg2 = static_cast< int >(val2);
27850 ecode3 = SWIG_AsVal_int(obj2, &val3);
27851 if (!SWIG_IsOK(ecode3)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27853 }
27854 arg3 = static_cast< int >(val3);
27855 {
27856 PyThreadState* __tstate = wxPyBeginAllowThreads();
27857 (arg1)->SetPageSizePixels(arg2,arg3);
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 resultobj = SWIG_Py_Void();
27862 return resultobj;
27863 fail:
27864 return NULL;
27865 }
27866
27867
27868 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27869 PyObject *resultobj = 0;
27870 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27871 int *arg2 = (int *) 0 ;
27872 int *arg3 = (int *) 0 ;
27873 void *argp1 = 0 ;
27874 int res1 = 0 ;
27875 int temp2 ;
27876 int res2 = SWIG_TMPOBJ ;
27877 int temp3 ;
27878 int res3 = SWIG_TMPOBJ ;
27879 PyObject *swig_obj[1] ;
27880
27881 arg2 = &temp2;
27882 arg3 = &temp3;
27883 if (!args) SWIG_fail;
27884 swig_obj[0] = args;
27885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27886 if (!SWIG_IsOK(res1)) {
27887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27888 }
27889 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27890 {
27891 PyThreadState* __tstate = wxPyBeginAllowThreads();
27892 (arg1)->GetPageSizePixels(arg2,arg3);
27893 wxPyEndAllowThreads(__tstate);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 resultobj = SWIG_Py_Void();
27897 if (SWIG_IsTmpObj(res2)) {
27898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27899 } else {
27900 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27902 }
27903 if (SWIG_IsTmpObj(res3)) {
27904 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27905 } else {
27906 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27907 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27908 }
27909 return resultobj;
27910 fail:
27911 return NULL;
27912 }
27913
27914
27915 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27916 PyObject *resultobj = 0;
27917 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27918 int arg2 ;
27919 int arg3 ;
27920 void *argp1 = 0 ;
27921 int res1 = 0 ;
27922 int val2 ;
27923 int ecode2 = 0 ;
27924 int val3 ;
27925 int ecode3 = 0 ;
27926 PyObject * obj0 = 0 ;
27927 PyObject * obj1 = 0 ;
27928 PyObject * obj2 = 0 ;
27929 char * kwnames[] = {
27930 (char *) "self",(char *) "w",(char *) "h", NULL
27931 };
27932
27933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27935 if (!SWIG_IsOK(res1)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27937 }
27938 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27939 ecode2 = SWIG_AsVal_int(obj1, &val2);
27940 if (!SWIG_IsOK(ecode2)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27942 }
27943 arg2 = static_cast< int >(val2);
27944 ecode3 = SWIG_AsVal_int(obj2, &val3);
27945 if (!SWIG_IsOK(ecode3)) {
27946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27947 }
27948 arg3 = static_cast< int >(val3);
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 (arg1)->SetPageSizeMM(arg2,arg3);
27952 wxPyEndAllowThreads(__tstate);
27953 if (PyErr_Occurred()) SWIG_fail;
27954 }
27955 resultobj = SWIG_Py_Void();
27956 return resultobj;
27957 fail:
27958 return NULL;
27959 }
27960
27961
27962 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27963 PyObject *resultobj = 0;
27964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27965 int *arg2 = (int *) 0 ;
27966 int *arg3 = (int *) 0 ;
27967 void *argp1 = 0 ;
27968 int res1 = 0 ;
27969 int temp2 ;
27970 int res2 = SWIG_TMPOBJ ;
27971 int temp3 ;
27972 int res3 = SWIG_TMPOBJ ;
27973 PyObject *swig_obj[1] ;
27974
27975 arg2 = &temp2;
27976 arg3 = &temp3;
27977 if (!args) SWIG_fail;
27978 swig_obj[0] = args;
27979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27980 if (!SWIG_IsOK(res1)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27982 }
27983 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27984 {
27985 PyThreadState* __tstate = wxPyBeginAllowThreads();
27986 (arg1)->GetPageSizeMM(arg2,arg3);
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 resultobj = SWIG_Py_Void();
27991 if (SWIG_IsTmpObj(res2)) {
27992 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27993 } else {
27994 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27995 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27996 }
27997 if (SWIG_IsTmpObj(res3)) {
27998 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27999 } else {
28000 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28001 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28002 }
28003 return resultobj;
28004 fail:
28005 return NULL;
28006 }
28007
28008
28009 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28010 PyObject *resultobj = 0;
28011 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28012 int arg2 ;
28013 int arg3 ;
28014 void *argp1 = 0 ;
28015 int res1 = 0 ;
28016 int val2 ;
28017 int ecode2 = 0 ;
28018 int val3 ;
28019 int ecode3 = 0 ;
28020 PyObject * obj0 = 0 ;
28021 PyObject * obj1 = 0 ;
28022 PyObject * obj2 = 0 ;
28023 char * kwnames[] = {
28024 (char *) "self",(char *) "x",(char *) "y", NULL
28025 };
28026
28027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28029 if (!SWIG_IsOK(res1)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28031 }
28032 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28033 ecode2 = SWIG_AsVal_int(obj1, &val2);
28034 if (!SWIG_IsOK(ecode2)) {
28035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28036 }
28037 arg2 = static_cast< int >(val2);
28038 ecode3 = SWIG_AsVal_int(obj2, &val3);
28039 if (!SWIG_IsOK(ecode3)) {
28040 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28041 }
28042 arg3 = static_cast< int >(val3);
28043 {
28044 PyThreadState* __tstate = wxPyBeginAllowThreads();
28045 (arg1)->SetPPIScreen(arg2,arg3);
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 resultobj = SWIG_Py_Void();
28050 return resultobj;
28051 fail:
28052 return NULL;
28053 }
28054
28055
28056 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28057 PyObject *resultobj = 0;
28058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28059 int *arg2 = (int *) 0 ;
28060 int *arg3 = (int *) 0 ;
28061 void *argp1 = 0 ;
28062 int res1 = 0 ;
28063 int temp2 ;
28064 int res2 = SWIG_TMPOBJ ;
28065 int temp3 ;
28066 int res3 = SWIG_TMPOBJ ;
28067 PyObject *swig_obj[1] ;
28068
28069 arg2 = &temp2;
28070 arg3 = &temp3;
28071 if (!args) SWIG_fail;
28072 swig_obj[0] = args;
28073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28074 if (!SWIG_IsOK(res1)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28076 }
28077 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28078 {
28079 PyThreadState* __tstate = wxPyBeginAllowThreads();
28080 (arg1)->GetPPIScreen(arg2,arg3);
28081 wxPyEndAllowThreads(__tstate);
28082 if (PyErr_Occurred()) SWIG_fail;
28083 }
28084 resultobj = SWIG_Py_Void();
28085 if (SWIG_IsTmpObj(res2)) {
28086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28087 } else {
28088 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28090 }
28091 if (SWIG_IsTmpObj(res3)) {
28092 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28093 } else {
28094 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28095 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28096 }
28097 return resultobj;
28098 fail:
28099 return NULL;
28100 }
28101
28102
28103 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28104 PyObject *resultobj = 0;
28105 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28106 int arg2 ;
28107 int arg3 ;
28108 void *argp1 = 0 ;
28109 int res1 = 0 ;
28110 int val2 ;
28111 int ecode2 = 0 ;
28112 int val3 ;
28113 int ecode3 = 0 ;
28114 PyObject * obj0 = 0 ;
28115 PyObject * obj1 = 0 ;
28116 PyObject * obj2 = 0 ;
28117 char * kwnames[] = {
28118 (char *) "self",(char *) "x",(char *) "y", NULL
28119 };
28120
28121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28123 if (!SWIG_IsOK(res1)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28125 }
28126 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28127 ecode2 = SWIG_AsVal_int(obj1, &val2);
28128 if (!SWIG_IsOK(ecode2)) {
28129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28130 }
28131 arg2 = static_cast< int >(val2);
28132 ecode3 = SWIG_AsVal_int(obj2, &val3);
28133 if (!SWIG_IsOK(ecode3)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28135 }
28136 arg3 = static_cast< int >(val3);
28137 {
28138 PyThreadState* __tstate = wxPyBeginAllowThreads();
28139 (arg1)->SetPPIPrinter(arg2,arg3);
28140 wxPyEndAllowThreads(__tstate);
28141 if (PyErr_Occurred()) SWIG_fail;
28142 }
28143 resultobj = SWIG_Py_Void();
28144 return resultobj;
28145 fail:
28146 return NULL;
28147 }
28148
28149
28150 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(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 void *argp1 = 0 ;
28156 int res1 = 0 ;
28157 int temp2 ;
28158 int res2 = SWIG_TMPOBJ ;
28159 int temp3 ;
28160 int res3 = SWIG_TMPOBJ ;
28161 PyObject *swig_obj[1] ;
28162
28163 arg2 = &temp2;
28164 arg3 = &temp3;
28165 if (!args) SWIG_fail;
28166 swig_obj[0] = args;
28167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28168 if (!SWIG_IsOK(res1)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28170 }
28171 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28172 {
28173 PyThreadState* __tstate = wxPyBeginAllowThreads();
28174 (arg1)->GetPPIPrinter(arg2,arg3);
28175 wxPyEndAllowThreads(__tstate);
28176 if (PyErr_Occurred()) SWIG_fail;
28177 }
28178 resultobj = SWIG_Py_Void();
28179 if (SWIG_IsTmpObj(res2)) {
28180 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28181 } else {
28182 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28183 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28184 }
28185 if (SWIG_IsTmpObj(res3)) {
28186 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28187 } else {
28188 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28189 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28190 }
28191 return resultobj;
28192 fail:
28193 return NULL;
28194 }
28195
28196
28197 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28198 PyObject *resultobj = 0;
28199 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28200 bool result;
28201 void *argp1 = 0 ;
28202 int res1 = 0 ;
28203 PyObject *swig_obj[1] ;
28204
28205 if (!args) SWIG_fail;
28206 swig_obj[0] = args;
28207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28208 if (!SWIG_IsOK(res1)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28210 }
28211 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28212 {
28213 PyThreadState* __tstate = wxPyBeginAllowThreads();
28214 result = (bool)(arg1)->IsPreview();
28215 wxPyEndAllowThreads(__tstate);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 {
28219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28220 }
28221 return resultobj;
28222 fail:
28223 return NULL;
28224 }
28225
28226
28227 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28228 PyObject *resultobj = 0;
28229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28230 bool arg2 ;
28231 void *argp1 = 0 ;
28232 int res1 = 0 ;
28233 bool val2 ;
28234 int ecode2 = 0 ;
28235 PyObject * obj0 = 0 ;
28236 PyObject * obj1 = 0 ;
28237 char * kwnames[] = {
28238 (char *) "self",(char *) "p", NULL
28239 };
28240
28241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28243 if (!SWIG_IsOK(res1)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28245 }
28246 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28247 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28248 if (!SWIG_IsOK(ecode2)) {
28249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28250 }
28251 arg2 = static_cast< bool >(val2);
28252 {
28253 PyThreadState* __tstate = wxPyBeginAllowThreads();
28254 (arg1)->SetIsPreview(arg2);
28255 wxPyEndAllowThreads(__tstate);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 }
28258 resultobj = SWIG_Py_Void();
28259 return resultobj;
28260 fail:
28261 return NULL;
28262 }
28263
28264
28265 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28266 PyObject *resultobj = 0;
28267 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28268 int arg2 ;
28269 int arg3 ;
28270 bool result;
28271 void *argp1 = 0 ;
28272 int res1 = 0 ;
28273 int val2 ;
28274 int ecode2 = 0 ;
28275 int val3 ;
28276 int ecode3 = 0 ;
28277 PyObject * obj0 = 0 ;
28278 PyObject * obj1 = 0 ;
28279 PyObject * obj2 = 0 ;
28280 char * kwnames[] = {
28281 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28282 };
28283
28284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28286 if (!SWIG_IsOK(res1)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28288 }
28289 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28290 ecode2 = SWIG_AsVal_int(obj1, &val2);
28291 if (!SWIG_IsOK(ecode2)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28293 }
28294 arg2 = static_cast< int >(val2);
28295 ecode3 = SWIG_AsVal_int(obj2, &val3);
28296 if (!SWIG_IsOK(ecode3)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28298 }
28299 arg3 = static_cast< int >(val3);
28300 {
28301 PyThreadState* __tstate = wxPyBeginAllowThreads();
28302 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28303 wxPyEndAllowThreads(__tstate);
28304 if (PyErr_Occurred()) SWIG_fail;
28305 }
28306 {
28307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28308 }
28309 return resultobj;
28310 fail:
28311 return NULL;
28312 }
28313
28314
28315 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28316 PyObject *resultobj = 0;
28317 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28318 void *argp1 = 0 ;
28319 int res1 = 0 ;
28320 PyObject *swig_obj[1] ;
28321
28322 if (!args) SWIG_fail;
28323 swig_obj[0] = args;
28324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28325 if (!SWIG_IsOK(res1)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28327 }
28328 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28329 {
28330 PyThreadState* __tstate = wxPyBeginAllowThreads();
28331 (arg1)->OnEndDocument();
28332 wxPyEndAllowThreads(__tstate);
28333 if (PyErr_Occurred()) SWIG_fail;
28334 }
28335 resultobj = SWIG_Py_Void();
28336 return resultobj;
28337 fail:
28338 return NULL;
28339 }
28340
28341
28342 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28343 PyObject *resultobj = 0;
28344 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28345 void *argp1 = 0 ;
28346 int res1 = 0 ;
28347 PyObject *swig_obj[1] ;
28348
28349 if (!args) SWIG_fail;
28350 swig_obj[0] = args;
28351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28352 if (!SWIG_IsOK(res1)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28354 }
28355 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28356 {
28357 PyThreadState* __tstate = wxPyBeginAllowThreads();
28358 (arg1)->OnBeginPrinting();
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 resultobj = SWIG_Py_Void();
28363 return resultobj;
28364 fail:
28365 return NULL;
28366 }
28367
28368
28369 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28370 PyObject *resultobj = 0;
28371 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28372 void *argp1 = 0 ;
28373 int res1 = 0 ;
28374 PyObject *swig_obj[1] ;
28375
28376 if (!args) SWIG_fail;
28377 swig_obj[0] = args;
28378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28379 if (!SWIG_IsOK(res1)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28381 }
28382 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->OnEndPrinting();
28386 wxPyEndAllowThreads(__tstate);
28387 if (PyErr_Occurred()) SWIG_fail;
28388 }
28389 resultobj = SWIG_Py_Void();
28390 return resultobj;
28391 fail:
28392 return NULL;
28393 }
28394
28395
28396 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28397 PyObject *resultobj = 0;
28398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28399 void *argp1 = 0 ;
28400 int res1 = 0 ;
28401 PyObject *swig_obj[1] ;
28402
28403 if (!args) SWIG_fail;
28404 swig_obj[0] = args;
28405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28406 if (!SWIG_IsOK(res1)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28408 }
28409 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28410 {
28411 PyThreadState* __tstate = wxPyBeginAllowThreads();
28412 (arg1)->OnPreparePrinting();
28413 wxPyEndAllowThreads(__tstate);
28414 if (PyErr_Occurred()) SWIG_fail;
28415 }
28416 resultobj = SWIG_Py_Void();
28417 return resultobj;
28418 fail:
28419 return NULL;
28420 }
28421
28422
28423 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28424 PyObject *resultobj = 0;
28425 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28426 int arg2 ;
28427 bool result;
28428 void *argp1 = 0 ;
28429 int res1 = 0 ;
28430 int val2 ;
28431 int ecode2 = 0 ;
28432 PyObject * obj0 = 0 ;
28433 PyObject * obj1 = 0 ;
28434 char * kwnames[] = {
28435 (char *) "self",(char *) "page", NULL
28436 };
28437
28438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28440 if (!SWIG_IsOK(res1)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28442 }
28443 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28444 ecode2 = SWIG_AsVal_int(obj1, &val2);
28445 if (!SWIG_IsOK(ecode2)) {
28446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28447 }
28448 arg2 = static_cast< int >(val2);
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = (bool)(arg1)->HasPage(arg2);
28452 wxPyEndAllowThreads(__tstate);
28453 if (PyErr_Occurred()) SWIG_fail;
28454 }
28455 {
28456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28457 }
28458 return resultobj;
28459 fail:
28460 return NULL;
28461 }
28462
28463
28464 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28465 PyObject *resultobj = 0;
28466 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28467 int *arg2 = (int *) 0 ;
28468 int *arg3 = (int *) 0 ;
28469 int *arg4 = (int *) 0 ;
28470 int *arg5 = (int *) 0 ;
28471 void *argp1 = 0 ;
28472 int res1 = 0 ;
28473 int temp2 ;
28474 int res2 = SWIG_TMPOBJ ;
28475 int temp3 ;
28476 int res3 = SWIG_TMPOBJ ;
28477 int temp4 ;
28478 int res4 = SWIG_TMPOBJ ;
28479 int temp5 ;
28480 int res5 = SWIG_TMPOBJ ;
28481 PyObject *swig_obj[1] ;
28482
28483 arg2 = &temp2;
28484 arg3 = &temp3;
28485 arg4 = &temp4;
28486 arg5 = &temp5;
28487 if (!args) SWIG_fail;
28488 swig_obj[0] = args;
28489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28490 if (!SWIG_IsOK(res1)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28492 }
28493 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28494 {
28495 PyThreadState* __tstate = wxPyBeginAllowThreads();
28496 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28497 wxPyEndAllowThreads(__tstate);
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 resultobj = SWIG_Py_Void();
28501 if (SWIG_IsTmpObj(res2)) {
28502 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28503 } else {
28504 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28505 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28506 }
28507 if (SWIG_IsTmpObj(res3)) {
28508 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28509 } else {
28510 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28511 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28512 }
28513 if (SWIG_IsTmpObj(res4)) {
28514 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28515 } else {
28516 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28517 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28518 }
28519 if (SWIG_IsTmpObj(res5)) {
28520 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28521 } else {
28522 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28523 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28524 }
28525 return resultobj;
28526 fail:
28527 return NULL;
28528 }
28529
28530
28531 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28532 PyObject *obj;
28533 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28534 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28535 return SWIG_Py_Void();
28536 }
28537
28538 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28539 return SWIG_Python_InitShadowInstance(args);
28540 }
28541
28542 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28543 PyObject *resultobj = 0;
28544 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28545 wxWindow *arg2 = (wxWindow *) 0 ;
28546 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28547 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28548 wxSize const &arg4_defvalue = wxDefaultSize ;
28549 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28550 long arg5 = (long) 0 ;
28551 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28552 wxString *arg6 = (wxString *) &arg6_defvalue ;
28553 wxPreviewCanvas *result = 0 ;
28554 void *argp1 = 0 ;
28555 int res1 = 0 ;
28556 void *argp2 = 0 ;
28557 int res2 = 0 ;
28558 wxPoint temp3 ;
28559 wxSize temp4 ;
28560 long val5 ;
28561 int ecode5 = 0 ;
28562 bool temp6 = false ;
28563 PyObject * obj0 = 0 ;
28564 PyObject * obj1 = 0 ;
28565 PyObject * obj2 = 0 ;
28566 PyObject * obj3 = 0 ;
28567 PyObject * obj4 = 0 ;
28568 PyObject * obj5 = 0 ;
28569 char * kwnames[] = {
28570 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28571 };
28572
28573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28575 if (!SWIG_IsOK(res1)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28577 }
28578 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28580 if (!SWIG_IsOK(res2)) {
28581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28582 }
28583 arg2 = reinterpret_cast< wxWindow * >(argp2);
28584 if (obj2) {
28585 {
28586 arg3 = &temp3;
28587 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28588 }
28589 }
28590 if (obj3) {
28591 {
28592 arg4 = &temp4;
28593 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28594 }
28595 }
28596 if (obj4) {
28597 ecode5 = SWIG_AsVal_long(obj4, &val5);
28598 if (!SWIG_IsOK(ecode5)) {
28599 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28600 }
28601 arg5 = static_cast< long >(val5);
28602 }
28603 if (obj5) {
28604 {
28605 arg6 = wxString_in_helper(obj5);
28606 if (arg6 == NULL) SWIG_fail;
28607 temp6 = true;
28608 }
28609 }
28610 {
28611 if (!wxPyCheckForApp()) SWIG_fail;
28612 PyThreadState* __tstate = wxPyBeginAllowThreads();
28613 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28614 wxPyEndAllowThreads(__tstate);
28615 if (PyErr_Occurred()) SWIG_fail;
28616 }
28617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28618 {
28619 if (temp6)
28620 delete arg6;
28621 }
28622 return resultobj;
28623 fail:
28624 {
28625 if (temp6)
28626 delete arg6;
28627 }
28628 return NULL;
28629 }
28630
28631
28632 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28633 PyObject *obj;
28634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28635 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28636 return SWIG_Py_Void();
28637 }
28638
28639 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28640 return SWIG_Python_InitShadowInstance(args);
28641 }
28642
28643 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28644 PyObject *resultobj = 0;
28645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28646 wxFrame *arg2 = (wxFrame *) 0 ;
28647 wxString *arg3 = 0 ;
28648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28650 wxSize const &arg5_defvalue = wxDefaultSize ;
28651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28652 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28653 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28654 wxString *arg7 = (wxString *) &arg7_defvalue ;
28655 wxPreviewFrame *result = 0 ;
28656 int res1 = 0 ;
28657 void *argp2 = 0 ;
28658 int res2 = 0 ;
28659 bool temp3 = false ;
28660 wxPoint temp4 ;
28661 wxSize temp5 ;
28662 long val6 ;
28663 int ecode6 = 0 ;
28664 bool temp7 = false ;
28665 PyObject * obj0 = 0 ;
28666 PyObject * obj1 = 0 ;
28667 PyObject * obj2 = 0 ;
28668 PyObject * obj3 = 0 ;
28669 PyObject * obj4 = 0 ;
28670 PyObject * obj5 = 0 ;
28671 PyObject * obj6 = 0 ;
28672 char * kwnames[] = {
28673 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28674 };
28675
28676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28677 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28678 if (!SWIG_IsOK(res1)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28680 }
28681 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28682 if (!SWIG_IsOK(res2)) {
28683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28684 }
28685 arg2 = reinterpret_cast< wxFrame * >(argp2);
28686 {
28687 arg3 = wxString_in_helper(obj2);
28688 if (arg3 == NULL) SWIG_fail;
28689 temp3 = true;
28690 }
28691 if (obj3) {
28692 {
28693 arg4 = &temp4;
28694 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28695 }
28696 }
28697 if (obj4) {
28698 {
28699 arg5 = &temp5;
28700 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28701 }
28702 }
28703 if (obj5) {
28704 ecode6 = SWIG_AsVal_long(obj5, &val6);
28705 if (!SWIG_IsOK(ecode6)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28707 }
28708 arg6 = static_cast< long >(val6);
28709 }
28710 if (obj6) {
28711 {
28712 arg7 = wxString_in_helper(obj6);
28713 if (arg7 == NULL) SWIG_fail;
28714 temp7 = true;
28715 }
28716 }
28717 {
28718 if (!wxPyCheckForApp()) SWIG_fail;
28719 PyThreadState* __tstate = wxPyBeginAllowThreads();
28720 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28721 wxPyEndAllowThreads(__tstate);
28722 if (PyErr_Occurred()) SWIG_fail;
28723 }
28724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28725 {
28726 if (temp3)
28727 delete arg3;
28728 }
28729 {
28730 if (temp7)
28731 delete arg7;
28732 }
28733 return resultobj;
28734 fail:
28735 {
28736 if (temp3)
28737 delete arg3;
28738 }
28739 {
28740 if (temp7)
28741 delete arg7;
28742 }
28743 return NULL;
28744 }
28745
28746
28747 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28748 PyObject *resultobj = 0;
28749 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28750 void *argp1 = 0 ;
28751 int res1 = 0 ;
28752 PyObject *swig_obj[1] ;
28753
28754 if (!args) SWIG_fail;
28755 swig_obj[0] = args;
28756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28757 if (!SWIG_IsOK(res1)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28759 }
28760 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28761 {
28762 PyThreadState* __tstate = wxPyBeginAllowThreads();
28763 (arg1)->Initialize();
28764 wxPyEndAllowThreads(__tstate);
28765 if (PyErr_Occurred()) SWIG_fail;
28766 }
28767 resultobj = SWIG_Py_Void();
28768 return resultobj;
28769 fail:
28770 return NULL;
28771 }
28772
28773
28774 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28775 PyObject *resultobj = 0;
28776 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28777 void *argp1 = 0 ;
28778 int res1 = 0 ;
28779 PyObject *swig_obj[1] ;
28780
28781 if (!args) SWIG_fail;
28782 swig_obj[0] = args;
28783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28784 if (!SWIG_IsOK(res1)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28786 }
28787 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 (arg1)->CreateControlBar();
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 resultobj = SWIG_Py_Void();
28795 return resultobj;
28796 fail:
28797 return NULL;
28798 }
28799
28800
28801 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28802 PyObject *resultobj = 0;
28803 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28804 void *argp1 = 0 ;
28805 int res1 = 0 ;
28806 PyObject *swig_obj[1] ;
28807
28808 if (!args) SWIG_fail;
28809 swig_obj[0] = args;
28810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28811 if (!SWIG_IsOK(res1)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28813 }
28814 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28815 {
28816 PyThreadState* __tstate = wxPyBeginAllowThreads();
28817 (arg1)->CreateCanvas();
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 resultobj = SWIG_Py_Void();
28822 return resultobj;
28823 fail:
28824 return NULL;
28825 }
28826
28827
28828 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28829 PyObject *resultobj = 0;
28830 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28831 wxPreviewControlBar *result = 0 ;
28832 void *argp1 = 0 ;
28833 int res1 = 0 ;
28834 PyObject *swig_obj[1] ;
28835
28836 if (!args) SWIG_fail;
28837 swig_obj[0] = args;
28838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28839 if (!SWIG_IsOK(res1)) {
28840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28841 }
28842 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
28845 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28846 wxPyEndAllowThreads(__tstate);
28847 if (PyErr_Occurred()) SWIG_fail;
28848 }
28849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28850 return resultobj;
28851 fail:
28852 return NULL;
28853 }
28854
28855
28856 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28857 PyObject *obj;
28858 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28860 return SWIG_Py_Void();
28861 }
28862
28863 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28864 return SWIG_Python_InitShadowInstance(args);
28865 }
28866
28867 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28868 PyObject *resultobj = 0;
28869 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28870 long arg2 ;
28871 wxWindow *arg3 = (wxWindow *) 0 ;
28872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28874 wxSize const &arg5_defvalue = wxDefaultSize ;
28875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28876 long arg6 = (long) wxTAB_TRAVERSAL ;
28877 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28878 wxString *arg7 = (wxString *) &arg7_defvalue ;
28879 wxPreviewControlBar *result = 0 ;
28880 void *argp1 = 0 ;
28881 int res1 = 0 ;
28882 long val2 ;
28883 int ecode2 = 0 ;
28884 void *argp3 = 0 ;
28885 int res3 = 0 ;
28886 wxPoint temp4 ;
28887 wxSize temp5 ;
28888 long val6 ;
28889 int ecode6 = 0 ;
28890 bool temp7 = false ;
28891 PyObject * obj0 = 0 ;
28892 PyObject * obj1 = 0 ;
28893 PyObject * obj2 = 0 ;
28894 PyObject * obj3 = 0 ;
28895 PyObject * obj4 = 0 ;
28896 PyObject * obj5 = 0 ;
28897 PyObject * obj6 = 0 ;
28898 char * kwnames[] = {
28899 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28900 };
28901
28902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28904 if (!SWIG_IsOK(res1)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28906 }
28907 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28908 ecode2 = SWIG_AsVal_long(obj1, &val2);
28909 if (!SWIG_IsOK(ecode2)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28911 }
28912 arg2 = static_cast< long >(val2);
28913 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28914 if (!SWIG_IsOK(res3)) {
28915 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28916 }
28917 arg3 = reinterpret_cast< wxWindow * >(argp3);
28918 if (obj3) {
28919 {
28920 arg4 = &temp4;
28921 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28922 }
28923 }
28924 if (obj4) {
28925 {
28926 arg5 = &temp5;
28927 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28928 }
28929 }
28930 if (obj5) {
28931 ecode6 = SWIG_AsVal_long(obj5, &val6);
28932 if (!SWIG_IsOK(ecode6)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28934 }
28935 arg6 = static_cast< long >(val6);
28936 }
28937 if (obj6) {
28938 {
28939 arg7 = wxString_in_helper(obj6);
28940 if (arg7 == NULL) SWIG_fail;
28941 temp7 = true;
28942 }
28943 }
28944 {
28945 if (!wxPyCheckForApp()) SWIG_fail;
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28948 wxPyEndAllowThreads(__tstate);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28952 {
28953 if (temp7)
28954 delete arg7;
28955 }
28956 return resultobj;
28957 fail:
28958 {
28959 if (temp7)
28960 delete arg7;
28961 }
28962 return NULL;
28963 }
28964
28965
28966 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28967 PyObject *resultobj = 0;
28968 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28969 int result;
28970 void *argp1 = 0 ;
28971 int res1 = 0 ;
28972 PyObject *swig_obj[1] ;
28973
28974 if (!args) SWIG_fail;
28975 swig_obj[0] = args;
28976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28977 if (!SWIG_IsOK(res1)) {
28978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28979 }
28980 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28981 {
28982 PyThreadState* __tstate = wxPyBeginAllowThreads();
28983 result = (int)(arg1)->GetZoomControl();
28984 wxPyEndAllowThreads(__tstate);
28985 if (PyErr_Occurred()) SWIG_fail;
28986 }
28987 resultobj = SWIG_From_int(static_cast< int >(result));
28988 return resultobj;
28989 fail:
28990 return NULL;
28991 }
28992
28993
28994 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28995 PyObject *resultobj = 0;
28996 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28997 int arg2 ;
28998 void *argp1 = 0 ;
28999 int res1 = 0 ;
29000 int val2 ;
29001 int ecode2 = 0 ;
29002 PyObject * obj0 = 0 ;
29003 PyObject * obj1 = 0 ;
29004 char * kwnames[] = {
29005 (char *) "self",(char *) "zoom", NULL
29006 };
29007
29008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29010 if (!SWIG_IsOK(res1)) {
29011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29012 }
29013 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29014 ecode2 = SWIG_AsVal_int(obj1, &val2);
29015 if (!SWIG_IsOK(ecode2)) {
29016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29017 }
29018 arg2 = static_cast< int >(val2);
29019 {
29020 PyThreadState* __tstate = wxPyBeginAllowThreads();
29021 (arg1)->SetZoomControl(arg2);
29022 wxPyEndAllowThreads(__tstate);
29023 if (PyErr_Occurred()) SWIG_fail;
29024 }
29025 resultobj = SWIG_Py_Void();
29026 return resultobj;
29027 fail:
29028 return NULL;
29029 }
29030
29031
29032 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29033 PyObject *resultobj = 0;
29034 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29035 wxPrintPreview *result = 0 ;
29036 void *argp1 = 0 ;
29037 int res1 = 0 ;
29038 PyObject *swig_obj[1] ;
29039
29040 if (!args) SWIG_fail;
29041 swig_obj[0] = args;
29042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29043 if (!SWIG_IsOK(res1)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29045 }
29046 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29047 {
29048 PyThreadState* __tstate = wxPyBeginAllowThreads();
29049 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29050 wxPyEndAllowThreads(__tstate);
29051 if (PyErr_Occurred()) SWIG_fail;
29052 }
29053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29054 return resultobj;
29055 fail:
29056 return NULL;
29057 }
29058
29059
29060 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29061 PyObject *resultobj = 0;
29062 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29063 void *argp1 = 0 ;
29064 int res1 = 0 ;
29065 PyObject *swig_obj[1] ;
29066
29067 if (!args) SWIG_fail;
29068 swig_obj[0] = args;
29069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29070 if (!SWIG_IsOK(res1)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29072 }
29073 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29074 {
29075 PyThreadState* __tstate = wxPyBeginAllowThreads();
29076 (arg1)->OnNext();
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 resultobj = SWIG_Py_Void();
29081 return resultobj;
29082 fail:
29083 return NULL;
29084 }
29085
29086
29087 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29088 PyObject *resultobj = 0;
29089 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29090 void *argp1 = 0 ;
29091 int res1 = 0 ;
29092 PyObject *swig_obj[1] ;
29093
29094 if (!args) SWIG_fail;
29095 swig_obj[0] = args;
29096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29097 if (!SWIG_IsOK(res1)) {
29098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29099 }
29100 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 (arg1)->OnPrevious();
29104 wxPyEndAllowThreads(__tstate);
29105 if (PyErr_Occurred()) SWIG_fail;
29106 }
29107 resultobj = SWIG_Py_Void();
29108 return resultobj;
29109 fail:
29110 return NULL;
29111 }
29112
29113
29114 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29115 PyObject *resultobj = 0;
29116 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29117 void *argp1 = 0 ;
29118 int res1 = 0 ;
29119 PyObject *swig_obj[1] ;
29120
29121 if (!args) SWIG_fail;
29122 swig_obj[0] = args;
29123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29124 if (!SWIG_IsOK(res1)) {
29125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29126 }
29127 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29128 {
29129 PyThreadState* __tstate = wxPyBeginAllowThreads();
29130 (arg1)->OnFirst();
29131 wxPyEndAllowThreads(__tstate);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 }
29134 resultobj = SWIG_Py_Void();
29135 return resultobj;
29136 fail:
29137 return NULL;
29138 }
29139
29140
29141 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29142 PyObject *resultobj = 0;
29143 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29144 void *argp1 = 0 ;
29145 int res1 = 0 ;
29146 PyObject *swig_obj[1] ;
29147
29148 if (!args) SWIG_fail;
29149 swig_obj[0] = args;
29150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29151 if (!SWIG_IsOK(res1)) {
29152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29153 }
29154 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29155 {
29156 PyThreadState* __tstate = wxPyBeginAllowThreads();
29157 (arg1)->OnLast();
29158 wxPyEndAllowThreads(__tstate);
29159 if (PyErr_Occurred()) SWIG_fail;
29160 }
29161 resultobj = SWIG_Py_Void();
29162 return resultobj;
29163 fail:
29164 return NULL;
29165 }
29166
29167
29168 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29169 PyObject *resultobj = 0;
29170 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29171 void *argp1 = 0 ;
29172 int res1 = 0 ;
29173 PyObject *swig_obj[1] ;
29174
29175 if (!args) SWIG_fail;
29176 swig_obj[0] = args;
29177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29178 if (!SWIG_IsOK(res1)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29180 }
29181 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29182 {
29183 PyThreadState* __tstate = wxPyBeginAllowThreads();
29184 (arg1)->OnGoto();
29185 wxPyEndAllowThreads(__tstate);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 }
29188 resultobj = SWIG_Py_Void();
29189 return resultobj;
29190 fail:
29191 return NULL;
29192 }
29193
29194
29195 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29196 PyObject *obj;
29197 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29199 return SWIG_Py_Void();
29200 }
29201
29202 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29203 return SWIG_Python_InitShadowInstance(args);
29204 }
29205
29206 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29207 PyObject *resultobj = 0;
29208 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29209 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29210 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29211 wxPrintPreview *result = 0 ;
29212 int res1 = 0 ;
29213 int res2 = 0 ;
29214 void *argp3 = 0 ;
29215 int res3 = 0 ;
29216
29217 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29218 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29219 if (!SWIG_IsOK(res1)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29221 }
29222 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29223 if (!SWIG_IsOK(res2)) {
29224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29225 }
29226 if (swig_obj[2]) {
29227 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29228 if (!SWIG_IsOK(res3)) {
29229 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29230 }
29231 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29232 }
29233 {
29234 if (!wxPyCheckForApp()) SWIG_fail;
29235 PyThreadState* __tstate = wxPyBeginAllowThreads();
29236 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29237 wxPyEndAllowThreads(__tstate);
29238 if (PyErr_Occurred()) SWIG_fail;
29239 }
29240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29241 return resultobj;
29242 fail:
29243 return NULL;
29244 }
29245
29246
29247 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29248 PyObject *resultobj = 0;
29249 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29250 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29251 wxPrintData *arg3 = (wxPrintData *) 0 ;
29252 wxPrintPreview *result = 0 ;
29253 int res1 = 0 ;
29254 int res2 = 0 ;
29255 void *argp3 = 0 ;
29256 int res3 = 0 ;
29257
29258 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29259 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29260 if (!SWIG_IsOK(res1)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29262 }
29263 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29264 if (!SWIG_IsOK(res2)) {
29265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29266 }
29267 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29268 if (!SWIG_IsOK(res3)) {
29269 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29270 }
29271 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29272 {
29273 if (!wxPyCheckForApp()) SWIG_fail;
29274 PyThreadState* __tstate = wxPyBeginAllowThreads();
29275 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29276 wxPyEndAllowThreads(__tstate);
29277 if (PyErr_Occurred()) SWIG_fail;
29278 }
29279 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29280 return resultobj;
29281 fail:
29282 return NULL;
29283 }
29284
29285
29286 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29287 int argc;
29288 PyObject *argv[4];
29289
29290 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29291 --argc;
29292 if ((argc >= 2) && (argc <= 3)) {
29293 int _v = 0;
29294 if (argc > 2) {
29295 {
29296 void *vptr = 0;
29297 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29298 _v = SWIG_CheckState(res);
29299 }
29300 if (!_v) goto check_1;
29301 }
29302 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29303 }
29304 check_1:
29305
29306 if (argc == 3) {
29307 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29308 }
29309
29310 fail:
29311 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29312 return NULL;
29313 }
29314
29315
29316 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29317 PyObject *resultobj = 0;
29318 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29319 void *argp1 = 0 ;
29320 int res1 = 0 ;
29321 PyObject *swig_obj[1] ;
29322
29323 if (!args) SWIG_fail;
29324 swig_obj[0] = args;
29325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29326 if (!SWIG_IsOK(res1)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29328 }
29329 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29330 {
29331 PyThreadState* __tstate = wxPyBeginAllowThreads();
29332 delete arg1;
29333
29334 wxPyEndAllowThreads(__tstate);
29335 if (PyErr_Occurred()) SWIG_fail;
29336 }
29337 resultobj = SWIG_Py_Void();
29338 return resultobj;
29339 fail:
29340 return NULL;
29341 }
29342
29343
29344 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29345 PyObject *resultobj = 0;
29346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29347 int arg2 ;
29348 bool result;
29349 void *argp1 = 0 ;
29350 int res1 = 0 ;
29351 int val2 ;
29352 int ecode2 = 0 ;
29353 PyObject * obj0 = 0 ;
29354 PyObject * obj1 = 0 ;
29355 char * kwnames[] = {
29356 (char *) "self",(char *) "pageNum", NULL
29357 };
29358
29359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29361 if (!SWIG_IsOK(res1)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29363 }
29364 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29365 ecode2 = SWIG_AsVal_int(obj1, &val2);
29366 if (!SWIG_IsOK(ecode2)) {
29367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29368 }
29369 arg2 = static_cast< int >(val2);
29370 {
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
29372 result = (bool)(arg1)->SetCurrentPage(arg2);
29373 wxPyEndAllowThreads(__tstate);
29374 if (PyErr_Occurred()) SWIG_fail;
29375 }
29376 {
29377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29378 }
29379 return resultobj;
29380 fail:
29381 return NULL;
29382 }
29383
29384
29385 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29386 PyObject *resultobj = 0;
29387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29388 int result;
29389 void *argp1 = 0 ;
29390 int res1 = 0 ;
29391 PyObject *swig_obj[1] ;
29392
29393 if (!args) SWIG_fail;
29394 swig_obj[0] = args;
29395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29396 if (!SWIG_IsOK(res1)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29398 }
29399 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29400 {
29401 PyThreadState* __tstate = wxPyBeginAllowThreads();
29402 result = (int)(arg1)->GetCurrentPage();
29403 wxPyEndAllowThreads(__tstate);
29404 if (PyErr_Occurred()) SWIG_fail;
29405 }
29406 resultobj = SWIG_From_int(static_cast< int >(result));
29407 return resultobj;
29408 fail:
29409 return NULL;
29410 }
29411
29412
29413 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29414 PyObject *resultobj = 0;
29415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29416 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29417 void *argp1 = 0 ;
29418 int res1 = 0 ;
29419 int res2 = 0 ;
29420 PyObject * obj0 = 0 ;
29421 PyObject * obj1 = 0 ;
29422 char * kwnames[] = {
29423 (char *) "self",(char *) "printout", NULL
29424 };
29425
29426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29428 if (!SWIG_IsOK(res1)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29430 }
29431 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29432 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29433 if (!SWIG_IsOK(res2)) {
29434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29435 }
29436 {
29437 PyThreadState* __tstate = wxPyBeginAllowThreads();
29438 (arg1)->SetPrintout(arg2);
29439 wxPyEndAllowThreads(__tstate);
29440 if (PyErr_Occurred()) SWIG_fail;
29441 }
29442 resultobj = SWIG_Py_Void();
29443 return resultobj;
29444 fail:
29445 return NULL;
29446 }
29447
29448
29449 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29450 PyObject *resultobj = 0;
29451 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29452 wxPyPrintout *result = 0 ;
29453 void *argp1 = 0 ;
29454 int res1 = 0 ;
29455 PyObject *swig_obj[1] ;
29456
29457 if (!args) SWIG_fail;
29458 swig_obj[0] = args;
29459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29460 if (!SWIG_IsOK(res1)) {
29461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29462 }
29463 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29464 {
29465 PyThreadState* __tstate = wxPyBeginAllowThreads();
29466 result = (wxPyPrintout *)(arg1)->GetPrintout();
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 {
29471 resultobj = wxPyMake_wxObject(result, 0);
29472 }
29473 return resultobj;
29474 fail:
29475 return NULL;
29476 }
29477
29478
29479 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29480 PyObject *resultobj = 0;
29481 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29482 wxPyPrintout *result = 0 ;
29483 void *argp1 = 0 ;
29484 int res1 = 0 ;
29485 PyObject *swig_obj[1] ;
29486
29487 if (!args) SWIG_fail;
29488 swig_obj[0] = args;
29489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29490 if (!SWIG_IsOK(res1)) {
29491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29492 }
29493 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29494 {
29495 PyThreadState* __tstate = wxPyBeginAllowThreads();
29496 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29497 wxPyEndAllowThreads(__tstate);
29498 if (PyErr_Occurred()) SWIG_fail;
29499 }
29500 {
29501 resultobj = wxPyMake_wxObject(result, 0);
29502 }
29503 return resultobj;
29504 fail:
29505 return NULL;
29506 }
29507
29508
29509 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29510 PyObject *resultobj = 0;
29511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29512 wxFrame *arg2 = (wxFrame *) 0 ;
29513 void *argp1 = 0 ;
29514 int res1 = 0 ;
29515 void *argp2 = 0 ;
29516 int res2 = 0 ;
29517 PyObject * obj0 = 0 ;
29518 PyObject * obj1 = 0 ;
29519 char * kwnames[] = {
29520 (char *) "self",(char *) "frame", NULL
29521 };
29522
29523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29525 if (!SWIG_IsOK(res1)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29527 }
29528 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29530 if (!SWIG_IsOK(res2)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29532 }
29533 arg2 = reinterpret_cast< wxFrame * >(argp2);
29534 {
29535 PyThreadState* __tstate = wxPyBeginAllowThreads();
29536 (arg1)->SetFrame(arg2);
29537 wxPyEndAllowThreads(__tstate);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 }
29540 resultobj = SWIG_Py_Void();
29541 return resultobj;
29542 fail:
29543 return NULL;
29544 }
29545
29546
29547 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29548 PyObject *resultobj = 0;
29549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29550 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29551 void *argp1 = 0 ;
29552 int res1 = 0 ;
29553 void *argp2 = 0 ;
29554 int res2 = 0 ;
29555 PyObject * obj0 = 0 ;
29556 PyObject * obj1 = 0 ;
29557 char * kwnames[] = {
29558 (char *) "self",(char *) "canvas", NULL
29559 };
29560
29561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29563 if (!SWIG_IsOK(res1)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29565 }
29566 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29568 if (!SWIG_IsOK(res2)) {
29569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29570 }
29571 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29572 {
29573 PyThreadState* __tstate = wxPyBeginAllowThreads();
29574 (arg1)->SetCanvas(arg2);
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
29578 resultobj = SWIG_Py_Void();
29579 return resultobj;
29580 fail:
29581 return NULL;
29582 }
29583
29584
29585 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29586 PyObject *resultobj = 0;
29587 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29588 wxFrame *result = 0 ;
29589 void *argp1 = 0 ;
29590 int res1 = 0 ;
29591 PyObject *swig_obj[1] ;
29592
29593 if (!args) SWIG_fail;
29594 swig_obj[0] = args;
29595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29596 if (!SWIG_IsOK(res1)) {
29597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29598 }
29599 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (wxFrame *)(arg1)->GetFrame();
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 {
29607 resultobj = wxPyMake_wxObject(result, 0);
29608 }
29609 return resultobj;
29610 fail:
29611 return NULL;
29612 }
29613
29614
29615 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29616 PyObject *resultobj = 0;
29617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29618 wxPreviewCanvas *result = 0 ;
29619 void *argp1 = 0 ;
29620 int res1 = 0 ;
29621 PyObject *swig_obj[1] ;
29622
29623 if (!args) SWIG_fail;
29624 swig_obj[0] = args;
29625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29626 if (!SWIG_IsOK(res1)) {
29627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29628 }
29629 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29630 {
29631 PyThreadState* __tstate = wxPyBeginAllowThreads();
29632 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29633 wxPyEndAllowThreads(__tstate);
29634 if (PyErr_Occurred()) SWIG_fail;
29635 }
29636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29637 return resultobj;
29638 fail:
29639 return NULL;
29640 }
29641
29642
29643 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29644 PyObject *resultobj = 0;
29645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29646 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29647 wxDC *arg3 = 0 ;
29648 bool result;
29649 void *argp1 = 0 ;
29650 int res1 = 0 ;
29651 void *argp2 = 0 ;
29652 int res2 = 0 ;
29653 void *argp3 = 0 ;
29654 int res3 = 0 ;
29655 PyObject * obj0 = 0 ;
29656 PyObject * obj1 = 0 ;
29657 PyObject * obj2 = 0 ;
29658 char * kwnames[] = {
29659 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29660 };
29661
29662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29664 if (!SWIG_IsOK(res1)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29666 }
29667 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29668 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29669 if (!SWIG_IsOK(res2)) {
29670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29671 }
29672 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29673 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29674 if (!SWIG_IsOK(res3)) {
29675 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29676 }
29677 if (!argp3) {
29678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29679 }
29680 arg3 = reinterpret_cast< wxDC * >(argp3);
29681 {
29682 PyThreadState* __tstate = wxPyBeginAllowThreads();
29683 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29684 wxPyEndAllowThreads(__tstate);
29685 if (PyErr_Occurred()) SWIG_fail;
29686 }
29687 {
29688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29689 }
29690 return resultobj;
29691 fail:
29692 return NULL;
29693 }
29694
29695
29696 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29697 PyObject *resultobj = 0;
29698 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29699 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29700 wxDC *arg3 = 0 ;
29701 bool result;
29702 void *argp1 = 0 ;
29703 int res1 = 0 ;
29704 void *argp2 = 0 ;
29705 int res2 = 0 ;
29706 void *argp3 = 0 ;
29707 int res3 = 0 ;
29708 PyObject * obj0 = 0 ;
29709 PyObject * obj1 = 0 ;
29710 PyObject * obj2 = 0 ;
29711 char * kwnames[] = {
29712 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29713 };
29714
29715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29717 if (!SWIG_IsOK(res1)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29719 }
29720 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29721 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29722 if (!SWIG_IsOK(res2)) {
29723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29724 }
29725 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29726 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29727 if (!SWIG_IsOK(res3)) {
29728 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29729 }
29730 if (!argp3) {
29731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29732 }
29733 arg3 = reinterpret_cast< wxDC * >(argp3);
29734 {
29735 PyThreadState* __tstate = wxPyBeginAllowThreads();
29736 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29737 wxPyEndAllowThreads(__tstate);
29738 if (PyErr_Occurred()) SWIG_fail;
29739 }
29740 {
29741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29742 }
29743 return resultobj;
29744 fail:
29745 return NULL;
29746 }
29747
29748
29749 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29750 PyObject *resultobj = 0;
29751 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29752 int arg2 ;
29753 bool result;
29754 void *argp1 = 0 ;
29755 int res1 = 0 ;
29756 int val2 ;
29757 int ecode2 = 0 ;
29758 PyObject * obj0 = 0 ;
29759 PyObject * obj1 = 0 ;
29760 char * kwnames[] = {
29761 (char *) "self",(char *) "pageNum", NULL
29762 };
29763
29764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29766 if (!SWIG_IsOK(res1)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29768 }
29769 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29770 ecode2 = SWIG_AsVal_int(obj1, &val2);
29771 if (!SWIG_IsOK(ecode2)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29773 }
29774 arg2 = static_cast< int >(val2);
29775 {
29776 PyThreadState* __tstate = wxPyBeginAllowThreads();
29777 result = (bool)(arg1)->RenderPage(arg2);
29778 wxPyEndAllowThreads(__tstate);
29779 if (PyErr_Occurred()) SWIG_fail;
29780 }
29781 {
29782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29783 }
29784 return resultobj;
29785 fail:
29786 return NULL;
29787 }
29788
29789
29790 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29791 PyObject *resultobj = 0;
29792 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29793 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29794 void *argp1 = 0 ;
29795 int res1 = 0 ;
29796 void *argp2 = 0 ;
29797 int res2 = 0 ;
29798 PyObject * obj0 = 0 ;
29799 PyObject * obj1 = 0 ;
29800 char * kwnames[] = {
29801 (char *) "self",(char *) "canvas", NULL
29802 };
29803
29804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29806 if (!SWIG_IsOK(res1)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29808 }
29809 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29810 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29811 if (!SWIG_IsOK(res2)) {
29812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29813 }
29814 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29815 {
29816 PyThreadState* __tstate = wxPyBeginAllowThreads();
29817 (arg1)->AdjustScrollbars(arg2);
29818 wxPyEndAllowThreads(__tstate);
29819 if (PyErr_Occurred()) SWIG_fail;
29820 }
29821 resultobj = SWIG_Py_Void();
29822 return resultobj;
29823 fail:
29824 return NULL;
29825 }
29826
29827
29828 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29829 PyObject *resultobj = 0;
29830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29831 wxPrintDialogData *result = 0 ;
29832 void *argp1 = 0 ;
29833 int res1 = 0 ;
29834 PyObject *swig_obj[1] ;
29835
29836 if (!args) SWIG_fail;
29837 swig_obj[0] = args;
29838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29839 if (!SWIG_IsOK(res1)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29841 }
29842 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29843 {
29844 PyThreadState* __tstate = wxPyBeginAllowThreads();
29845 {
29846 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29847 result = (wxPrintDialogData *) &_result_ref;
29848 }
29849 wxPyEndAllowThreads(__tstate);
29850 if (PyErr_Occurred()) SWIG_fail;
29851 }
29852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29853 return resultobj;
29854 fail:
29855 return NULL;
29856 }
29857
29858
29859 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29860 PyObject *resultobj = 0;
29861 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29862 int arg2 ;
29863 void *argp1 = 0 ;
29864 int res1 = 0 ;
29865 int val2 ;
29866 int ecode2 = 0 ;
29867 PyObject * obj0 = 0 ;
29868 PyObject * obj1 = 0 ;
29869 char * kwnames[] = {
29870 (char *) "self",(char *) "percent", NULL
29871 };
29872
29873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29875 if (!SWIG_IsOK(res1)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29877 }
29878 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29879 ecode2 = SWIG_AsVal_int(obj1, &val2);
29880 if (!SWIG_IsOK(ecode2)) {
29881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29882 }
29883 arg2 = static_cast< int >(val2);
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 (arg1)->SetZoom(arg2);
29887 wxPyEndAllowThreads(__tstate);
29888 if (PyErr_Occurred()) SWIG_fail;
29889 }
29890 resultobj = SWIG_Py_Void();
29891 return resultobj;
29892 fail:
29893 return NULL;
29894 }
29895
29896
29897 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29898 PyObject *resultobj = 0;
29899 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29900 int result;
29901 void *argp1 = 0 ;
29902 int res1 = 0 ;
29903 PyObject *swig_obj[1] ;
29904
29905 if (!args) SWIG_fail;
29906 swig_obj[0] = args;
29907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29908 if (!SWIG_IsOK(res1)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29910 }
29911 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (int)(arg1)->GetZoom();
29915 wxPyEndAllowThreads(__tstate);
29916 if (PyErr_Occurred()) SWIG_fail;
29917 }
29918 resultobj = SWIG_From_int(static_cast< int >(result));
29919 return resultobj;
29920 fail:
29921 return NULL;
29922 }
29923
29924
29925 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29926 PyObject *resultobj = 0;
29927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29928 int result;
29929 void *argp1 = 0 ;
29930 int res1 = 0 ;
29931 PyObject *swig_obj[1] ;
29932
29933 if (!args) SWIG_fail;
29934 swig_obj[0] = args;
29935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29936 if (!SWIG_IsOK(res1)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29938 }
29939 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
29942 result = (int)(arg1)->GetMaxPage();
29943 wxPyEndAllowThreads(__tstate);
29944 if (PyErr_Occurred()) SWIG_fail;
29945 }
29946 resultobj = SWIG_From_int(static_cast< int >(result));
29947 return resultobj;
29948 fail:
29949 return NULL;
29950 }
29951
29952
29953 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29954 PyObject *resultobj = 0;
29955 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29956 int result;
29957 void *argp1 = 0 ;
29958 int res1 = 0 ;
29959 PyObject *swig_obj[1] ;
29960
29961 if (!args) SWIG_fail;
29962 swig_obj[0] = args;
29963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29964 if (!SWIG_IsOK(res1)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29966 }
29967 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29968 {
29969 PyThreadState* __tstate = wxPyBeginAllowThreads();
29970 result = (int)(arg1)->GetMinPage();
29971 wxPyEndAllowThreads(__tstate);
29972 if (PyErr_Occurred()) SWIG_fail;
29973 }
29974 resultobj = SWIG_From_int(static_cast< int >(result));
29975 return resultobj;
29976 fail:
29977 return NULL;
29978 }
29979
29980
29981 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29982 PyObject *resultobj = 0;
29983 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29984 bool result;
29985 void *argp1 = 0 ;
29986 int res1 = 0 ;
29987 PyObject *swig_obj[1] ;
29988
29989 if (!args) SWIG_fail;
29990 swig_obj[0] = args;
29991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29992 if (!SWIG_IsOK(res1)) {
29993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29994 }
29995 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29996 {
29997 PyThreadState* __tstate = wxPyBeginAllowThreads();
29998 result = (bool)(arg1)->Ok();
29999 wxPyEndAllowThreads(__tstate);
30000 if (PyErr_Occurred()) SWIG_fail;
30001 }
30002 {
30003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30004 }
30005 return resultobj;
30006 fail:
30007 return NULL;
30008 }
30009
30010
30011 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30012 PyObject *resultobj = 0;
30013 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30014 bool arg2 ;
30015 void *argp1 = 0 ;
30016 int res1 = 0 ;
30017 bool val2 ;
30018 int ecode2 = 0 ;
30019 PyObject * obj0 = 0 ;
30020 PyObject * obj1 = 0 ;
30021 char * kwnames[] = {
30022 (char *) "self",(char *) "ok", NULL
30023 };
30024
30025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30027 if (!SWIG_IsOK(res1)) {
30028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30029 }
30030 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30031 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30032 if (!SWIG_IsOK(ecode2)) {
30033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30034 }
30035 arg2 = static_cast< bool >(val2);
30036 {
30037 PyThreadState* __tstate = wxPyBeginAllowThreads();
30038 (arg1)->SetOk(arg2);
30039 wxPyEndAllowThreads(__tstate);
30040 if (PyErr_Occurred()) SWIG_fail;
30041 }
30042 resultobj = SWIG_Py_Void();
30043 return resultobj;
30044 fail:
30045 return NULL;
30046 }
30047
30048
30049 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30050 PyObject *resultobj = 0;
30051 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30052 bool arg2 ;
30053 bool result;
30054 void *argp1 = 0 ;
30055 int res1 = 0 ;
30056 bool val2 ;
30057 int ecode2 = 0 ;
30058 PyObject * obj0 = 0 ;
30059 PyObject * obj1 = 0 ;
30060 char * kwnames[] = {
30061 (char *) "self",(char *) "interactive", NULL
30062 };
30063
30064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30066 if (!SWIG_IsOK(res1)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30068 }
30069 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30070 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30071 if (!SWIG_IsOK(ecode2)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30073 }
30074 arg2 = static_cast< bool >(val2);
30075 {
30076 PyThreadState* __tstate = wxPyBeginAllowThreads();
30077 result = (bool)(arg1)->Print(arg2);
30078 wxPyEndAllowThreads(__tstate);
30079 if (PyErr_Occurred()) SWIG_fail;
30080 }
30081 {
30082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30083 }
30084 return resultobj;
30085 fail:
30086 return NULL;
30087 }
30088
30089
30090 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30091 PyObject *resultobj = 0;
30092 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30093 void *argp1 = 0 ;
30094 int res1 = 0 ;
30095 PyObject *swig_obj[1] ;
30096
30097 if (!args) SWIG_fail;
30098 swig_obj[0] = args;
30099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30100 if (!SWIG_IsOK(res1)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30102 }
30103 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30104 {
30105 PyThreadState* __tstate = wxPyBeginAllowThreads();
30106 (arg1)->DetermineScaling();
30107 wxPyEndAllowThreads(__tstate);
30108 if (PyErr_Occurred()) SWIG_fail;
30109 }
30110 resultobj = SWIG_Py_Void();
30111 return resultobj;
30112 fail:
30113 return NULL;
30114 }
30115
30116
30117 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30118 PyObject *obj;
30119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30121 return SWIG_Py_Void();
30122 }
30123
30124 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30125 return SWIG_Python_InitShadowInstance(args);
30126 }
30127
30128 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30129 PyObject *resultobj = 0;
30130 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30131 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30132 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30133 wxPyPrintPreview *result = 0 ;
30134 int res1 = 0 ;
30135 int res2 = 0 ;
30136 void *argp3 = 0 ;
30137 int res3 = 0 ;
30138
30139 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30140 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30141 if (!SWIG_IsOK(res1)) {
30142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30143 }
30144 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30145 if (!SWIG_IsOK(res2)) {
30146 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30147 }
30148 if (swig_obj[2]) {
30149 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30150 if (!SWIG_IsOK(res3)) {
30151 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30152 }
30153 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30154 }
30155 {
30156 if (!wxPyCheckForApp()) SWIG_fail;
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30163 return resultobj;
30164 fail:
30165 return NULL;
30166 }
30167
30168
30169 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30170 PyObject *resultobj = 0;
30171 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30172 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30173 wxPrintData *arg3 = (wxPrintData *) 0 ;
30174 wxPyPrintPreview *result = 0 ;
30175 int res1 = 0 ;
30176 int res2 = 0 ;
30177 void *argp3 = 0 ;
30178 int res3 = 0 ;
30179
30180 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30181 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30182 if (!SWIG_IsOK(res1)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30184 }
30185 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30186 if (!SWIG_IsOK(res2)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30188 }
30189 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30190 if (!SWIG_IsOK(res3)) {
30191 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30192 }
30193 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30194 {
30195 if (!wxPyCheckForApp()) SWIG_fail;
30196 PyThreadState* __tstate = wxPyBeginAllowThreads();
30197 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30198 wxPyEndAllowThreads(__tstate);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 }
30201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30202 return resultobj;
30203 fail:
30204 return NULL;
30205 }
30206
30207
30208 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30209 int argc;
30210 PyObject *argv[4];
30211
30212 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30213 --argc;
30214 if ((argc >= 2) && (argc <= 3)) {
30215 int _v = 0;
30216 if (argc > 2) {
30217 {
30218 void *vptr = 0;
30219 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30220 _v = SWIG_CheckState(res);
30221 }
30222 if (!_v) goto check_1;
30223 }
30224 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30225 }
30226 check_1:
30227
30228 if (argc == 3) {
30229 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30230 }
30231
30232 fail:
30233 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30234 return NULL;
30235 }
30236
30237
30238 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30239 PyObject *resultobj = 0;
30240 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30241 PyObject *arg2 = (PyObject *) 0 ;
30242 PyObject *arg3 = (PyObject *) 0 ;
30243 void *argp1 = 0 ;
30244 int res1 = 0 ;
30245 PyObject * obj0 = 0 ;
30246 PyObject * obj1 = 0 ;
30247 PyObject * obj2 = 0 ;
30248 char * kwnames[] = {
30249 (char *) "self",(char *) "self",(char *) "_class", NULL
30250 };
30251
30252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30254 if (!SWIG_IsOK(res1)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30256 }
30257 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30258 arg2 = obj1;
30259 arg3 = obj2;
30260 {
30261 PyThreadState* __tstate = wxPyBeginAllowThreads();
30262 (arg1)->_setCallbackInfo(arg2,arg3);
30263 wxPyEndAllowThreads(__tstate);
30264 if (PyErr_Occurred()) SWIG_fail;
30265 }
30266 resultobj = SWIG_Py_Void();
30267 return resultobj;
30268 fail:
30269 return NULL;
30270 }
30271
30272
30273 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30274 PyObject *obj;
30275 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30276 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30277 return SWIG_Py_Void();
30278 }
30279
30280 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30281 return SWIG_Python_InitShadowInstance(args);
30282 }
30283
30284 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30285 PyObject *resultobj = 0;
30286 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30287 wxFrame *arg2 = (wxFrame *) 0 ;
30288 wxString *arg3 = 0 ;
30289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30291 wxSize const &arg5_defvalue = wxDefaultSize ;
30292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30293 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30294 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30295 wxString *arg7 = (wxString *) &arg7_defvalue ;
30296 wxPyPreviewFrame *result = 0 ;
30297 void *argp1 = 0 ;
30298 int res1 = 0 ;
30299 void *argp2 = 0 ;
30300 int res2 = 0 ;
30301 bool temp3 = false ;
30302 wxPoint temp4 ;
30303 wxSize temp5 ;
30304 long val6 ;
30305 int ecode6 = 0 ;
30306 bool temp7 = false ;
30307 PyObject * obj0 = 0 ;
30308 PyObject * obj1 = 0 ;
30309 PyObject * obj2 = 0 ;
30310 PyObject * obj3 = 0 ;
30311 PyObject * obj4 = 0 ;
30312 PyObject * obj5 = 0 ;
30313 PyObject * obj6 = 0 ;
30314 char * kwnames[] = {
30315 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30316 };
30317
30318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30320 if (!SWIG_IsOK(res1)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30322 }
30323 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30324 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30325 if (!SWIG_IsOK(res2)) {
30326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30327 }
30328 arg2 = reinterpret_cast< wxFrame * >(argp2);
30329 {
30330 arg3 = wxString_in_helper(obj2);
30331 if (arg3 == NULL) SWIG_fail;
30332 temp3 = true;
30333 }
30334 if (obj3) {
30335 {
30336 arg4 = &temp4;
30337 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30338 }
30339 }
30340 if (obj4) {
30341 {
30342 arg5 = &temp5;
30343 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30344 }
30345 }
30346 if (obj5) {
30347 ecode6 = SWIG_AsVal_long(obj5, &val6);
30348 if (!SWIG_IsOK(ecode6)) {
30349 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30350 }
30351 arg6 = static_cast< long >(val6);
30352 }
30353 if (obj6) {
30354 {
30355 arg7 = wxString_in_helper(obj6);
30356 if (arg7 == NULL) SWIG_fail;
30357 temp7 = true;
30358 }
30359 }
30360 {
30361 if (!wxPyCheckForApp()) SWIG_fail;
30362 PyThreadState* __tstate = wxPyBeginAllowThreads();
30363 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30368 {
30369 if (temp3)
30370 delete arg3;
30371 }
30372 {
30373 if (temp7)
30374 delete arg7;
30375 }
30376 return resultobj;
30377 fail:
30378 {
30379 if (temp3)
30380 delete arg3;
30381 }
30382 {
30383 if (temp7)
30384 delete arg7;
30385 }
30386 return NULL;
30387 }
30388
30389
30390 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30391 PyObject *resultobj = 0;
30392 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30393 PyObject *arg2 = (PyObject *) 0 ;
30394 PyObject *arg3 = (PyObject *) 0 ;
30395 void *argp1 = 0 ;
30396 int res1 = 0 ;
30397 PyObject * obj0 = 0 ;
30398 PyObject * obj1 = 0 ;
30399 PyObject * obj2 = 0 ;
30400 char * kwnames[] = {
30401 (char *) "self",(char *) "self",(char *) "_class", NULL
30402 };
30403
30404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30406 if (!SWIG_IsOK(res1)) {
30407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30408 }
30409 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30410 arg2 = obj1;
30411 arg3 = obj2;
30412 {
30413 PyThreadState* __tstate = wxPyBeginAllowThreads();
30414 (arg1)->_setCallbackInfo(arg2,arg3);
30415 wxPyEndAllowThreads(__tstate);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 }
30418 resultobj = SWIG_Py_Void();
30419 return resultobj;
30420 fail:
30421 return NULL;
30422 }
30423
30424
30425 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30426 PyObject *resultobj = 0;
30427 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30428 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30429 void *argp1 = 0 ;
30430 int res1 = 0 ;
30431 void *argp2 = 0 ;
30432 int res2 = 0 ;
30433 PyObject * obj0 = 0 ;
30434 PyObject * obj1 = 0 ;
30435 char * kwnames[] = {
30436 (char *) "self",(char *) "canvas", NULL
30437 };
30438
30439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30441 if (!SWIG_IsOK(res1)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30443 }
30444 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30445 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30446 if (!SWIG_IsOK(res2)) {
30447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30448 }
30449 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30450 {
30451 PyThreadState* __tstate = wxPyBeginAllowThreads();
30452 (arg1)->SetPreviewCanvas(arg2);
30453 wxPyEndAllowThreads(__tstate);
30454 if (PyErr_Occurred()) SWIG_fail;
30455 }
30456 resultobj = SWIG_Py_Void();
30457 return resultobj;
30458 fail:
30459 return NULL;
30460 }
30461
30462
30463 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30464 PyObject *resultobj = 0;
30465 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30466 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30467 void *argp1 = 0 ;
30468 int res1 = 0 ;
30469 void *argp2 = 0 ;
30470 int res2 = 0 ;
30471 PyObject * obj0 = 0 ;
30472 PyObject * obj1 = 0 ;
30473 char * kwnames[] = {
30474 (char *) "self",(char *) "bar", NULL
30475 };
30476
30477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30479 if (!SWIG_IsOK(res1)) {
30480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30481 }
30482 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30483 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30484 if (!SWIG_IsOK(res2)) {
30485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30486 }
30487 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30488 {
30489 PyThreadState* __tstate = wxPyBeginAllowThreads();
30490 (arg1)->SetControlBar(arg2);
30491 wxPyEndAllowThreads(__tstate);
30492 if (PyErr_Occurred()) SWIG_fail;
30493 }
30494 resultobj = SWIG_Py_Void();
30495 return resultobj;
30496 fail:
30497 return NULL;
30498 }
30499
30500
30501 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30502 PyObject *resultobj = 0;
30503 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30504 void *argp1 = 0 ;
30505 int res1 = 0 ;
30506 PyObject *swig_obj[1] ;
30507
30508 if (!args) SWIG_fail;
30509 swig_obj[0] = args;
30510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30511 if (!SWIG_IsOK(res1)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30513 }
30514 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30515 {
30516 PyThreadState* __tstate = wxPyBeginAllowThreads();
30517 (arg1)->Initialize();
30518 wxPyEndAllowThreads(__tstate);
30519 if (PyErr_Occurred()) SWIG_fail;
30520 }
30521 resultobj = SWIG_Py_Void();
30522 return resultobj;
30523 fail:
30524 return NULL;
30525 }
30526
30527
30528 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30529 PyObject *resultobj = 0;
30530 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30531 void *argp1 = 0 ;
30532 int res1 = 0 ;
30533 PyObject *swig_obj[1] ;
30534
30535 if (!args) SWIG_fail;
30536 swig_obj[0] = args;
30537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30538 if (!SWIG_IsOK(res1)) {
30539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30540 }
30541 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 (arg1)->CreateCanvas();
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 resultobj = SWIG_Py_Void();
30549 return resultobj;
30550 fail:
30551 return NULL;
30552 }
30553
30554
30555 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30556 PyObject *resultobj = 0;
30557 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30558 void *argp1 = 0 ;
30559 int res1 = 0 ;
30560 PyObject *swig_obj[1] ;
30561
30562 if (!args) SWIG_fail;
30563 swig_obj[0] = args;
30564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30565 if (!SWIG_IsOK(res1)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30567 }
30568 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30569 {
30570 PyThreadState* __tstate = wxPyBeginAllowThreads();
30571 (arg1)->CreateControlBar();
30572 wxPyEndAllowThreads(__tstate);
30573 if (PyErr_Occurred()) SWIG_fail;
30574 }
30575 resultobj = SWIG_Py_Void();
30576 return resultobj;
30577 fail:
30578 return NULL;
30579 }
30580
30581
30582 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30583 PyObject *obj;
30584 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30585 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30586 return SWIG_Py_Void();
30587 }
30588
30589 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30590 return SWIG_Python_InitShadowInstance(args);
30591 }
30592
30593 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30594 PyObject *resultobj = 0;
30595 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30596 long arg2 ;
30597 wxWindow *arg3 = (wxWindow *) 0 ;
30598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30600 wxSize const &arg5_defvalue = wxDefaultSize ;
30601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30602 long arg6 = (long) 0 ;
30603 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30604 wxString *arg7 = (wxString *) &arg7_defvalue ;
30605 wxPyPreviewControlBar *result = 0 ;
30606 void *argp1 = 0 ;
30607 int res1 = 0 ;
30608 long val2 ;
30609 int ecode2 = 0 ;
30610 void *argp3 = 0 ;
30611 int res3 = 0 ;
30612 wxPoint temp4 ;
30613 wxSize temp5 ;
30614 long val6 ;
30615 int ecode6 = 0 ;
30616 bool temp7 = false ;
30617 PyObject * obj0 = 0 ;
30618 PyObject * obj1 = 0 ;
30619 PyObject * obj2 = 0 ;
30620 PyObject * obj3 = 0 ;
30621 PyObject * obj4 = 0 ;
30622 PyObject * obj5 = 0 ;
30623 PyObject * obj6 = 0 ;
30624 char * kwnames[] = {
30625 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30626 };
30627
30628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30630 if (!SWIG_IsOK(res1)) {
30631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30632 }
30633 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30634 ecode2 = SWIG_AsVal_long(obj1, &val2);
30635 if (!SWIG_IsOK(ecode2)) {
30636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30637 }
30638 arg2 = static_cast< long >(val2);
30639 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30640 if (!SWIG_IsOK(res3)) {
30641 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30642 }
30643 arg3 = reinterpret_cast< wxWindow * >(argp3);
30644 if (obj3) {
30645 {
30646 arg4 = &temp4;
30647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30648 }
30649 }
30650 if (obj4) {
30651 {
30652 arg5 = &temp5;
30653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30654 }
30655 }
30656 if (obj5) {
30657 ecode6 = SWIG_AsVal_long(obj5, &val6);
30658 if (!SWIG_IsOK(ecode6)) {
30659 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30660 }
30661 arg6 = static_cast< long >(val6);
30662 }
30663 if (obj6) {
30664 {
30665 arg7 = wxString_in_helper(obj6);
30666 if (arg7 == NULL) SWIG_fail;
30667 temp7 = true;
30668 }
30669 }
30670 {
30671 if (!wxPyCheckForApp()) SWIG_fail;
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30674 wxPyEndAllowThreads(__tstate);
30675 if (PyErr_Occurred()) SWIG_fail;
30676 }
30677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30678 {
30679 if (temp7)
30680 delete arg7;
30681 }
30682 return resultobj;
30683 fail:
30684 {
30685 if (temp7)
30686 delete arg7;
30687 }
30688 return NULL;
30689 }
30690
30691
30692 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30693 PyObject *resultobj = 0;
30694 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30695 PyObject *arg2 = (PyObject *) 0 ;
30696 PyObject *arg3 = (PyObject *) 0 ;
30697 void *argp1 = 0 ;
30698 int res1 = 0 ;
30699 PyObject * obj0 = 0 ;
30700 PyObject * obj1 = 0 ;
30701 PyObject * obj2 = 0 ;
30702 char * kwnames[] = {
30703 (char *) "self",(char *) "self",(char *) "_class", NULL
30704 };
30705
30706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30708 if (!SWIG_IsOK(res1)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30710 }
30711 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30712 arg2 = obj1;
30713 arg3 = obj2;
30714 {
30715 PyThreadState* __tstate = wxPyBeginAllowThreads();
30716 (arg1)->_setCallbackInfo(arg2,arg3);
30717 wxPyEndAllowThreads(__tstate);
30718 if (PyErr_Occurred()) SWIG_fail;
30719 }
30720 resultobj = SWIG_Py_Void();
30721 return resultobj;
30722 fail:
30723 return NULL;
30724 }
30725
30726
30727 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30728 PyObject *resultobj = 0;
30729 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30730 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30731 void *argp1 = 0 ;
30732 int res1 = 0 ;
30733 void *argp2 = 0 ;
30734 int res2 = 0 ;
30735 PyObject * obj0 = 0 ;
30736 PyObject * obj1 = 0 ;
30737 char * kwnames[] = {
30738 (char *) "self",(char *) "preview", NULL
30739 };
30740
30741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30743 if (!SWIG_IsOK(res1)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30745 }
30746 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30747 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30748 if (!SWIG_IsOK(res2)) {
30749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30750 }
30751 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30752 {
30753 PyThreadState* __tstate = wxPyBeginAllowThreads();
30754 (arg1)->SetPrintPreview(arg2);
30755 wxPyEndAllowThreads(__tstate);
30756 if (PyErr_Occurred()) SWIG_fail;
30757 }
30758 resultobj = SWIG_Py_Void();
30759 return resultobj;
30760 fail:
30761 return NULL;
30762 }
30763
30764
30765 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30766 PyObject *resultobj = 0;
30767 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30768 void *argp1 = 0 ;
30769 int res1 = 0 ;
30770 PyObject *swig_obj[1] ;
30771
30772 if (!args) SWIG_fail;
30773 swig_obj[0] = args;
30774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30775 if (!SWIG_IsOK(res1)) {
30776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30777 }
30778 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30779 {
30780 PyThreadState* __tstate = wxPyBeginAllowThreads();
30781 (arg1)->CreateButtons();
30782 wxPyEndAllowThreads(__tstate);
30783 if (PyErr_Occurred()) SWIG_fail;
30784 }
30785 resultobj = SWIG_Py_Void();
30786 return resultobj;
30787 fail:
30788 return NULL;
30789 }
30790
30791
30792 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30793 PyObject *resultobj = 0;
30794 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30795 int arg2 ;
30796 void *argp1 = 0 ;
30797 int res1 = 0 ;
30798 int val2 ;
30799 int ecode2 = 0 ;
30800 PyObject * obj0 = 0 ;
30801 PyObject * obj1 = 0 ;
30802 char * kwnames[] = {
30803 (char *) "self",(char *) "zoom", NULL
30804 };
30805
30806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30808 if (!SWIG_IsOK(res1)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30810 }
30811 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30812 ecode2 = SWIG_AsVal_int(obj1, &val2);
30813 if (!SWIG_IsOK(ecode2)) {
30814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30815 }
30816 arg2 = static_cast< int >(val2);
30817 {
30818 PyThreadState* __tstate = wxPyBeginAllowThreads();
30819 (arg1)->SetZoomControl(arg2);
30820 wxPyEndAllowThreads(__tstate);
30821 if (PyErr_Occurred()) SWIG_fail;
30822 }
30823 resultobj = SWIG_Py_Void();
30824 return resultobj;
30825 fail:
30826 return NULL;
30827 }
30828
30829
30830 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30831 PyObject *obj;
30832 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30833 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30834 return SWIG_Py_Void();
30835 }
30836
30837 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30838 return SWIG_Python_InitShadowInstance(args);
30839 }
30840
30841 static PyMethodDef SwigMethods[] = {
30842 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30844 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30846 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30848 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30849 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30851 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30858 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30860 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30862 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30863 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30864 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30865 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30866 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30869 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30871 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30874 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30875 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30877 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30878 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30879 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30880 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30881 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30882 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30886 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30888 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30889 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30891 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30893 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30895 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
30897 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
30898 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30899 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
30901 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30902 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30904 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30906 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30908 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30909 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30911 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30912 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30917 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30918 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30920 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30925 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30926 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30928 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30931 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30933 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30935 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30938 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30939 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30940 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30943 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30944 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30945 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30946 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30947 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30948 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30949 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30950 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30952 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30953 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30954 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30956 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30957 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30958 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30959 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30960 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30962 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30965 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30966 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30974 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30975 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30977 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30978 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30980 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30982 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30983 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30985 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30986 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30991 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30992 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30995 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30996 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30997 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30998 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31000 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31002 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31004 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31006 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31008 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31009 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31010 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31012 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31013 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31014 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31015 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31016 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31017 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31018 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31019 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31020 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31027 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31028 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31029 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31030 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31032 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31033 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31036 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31037 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31039 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31040 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31041 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31044 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31046 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31048 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31049 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31050 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31053 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31055 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31057 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31059 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31061 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31062 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31063 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31066 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31068 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31069 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31070 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31071 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31072 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31073 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31074 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31075 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31079 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31080 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31081 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31082 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31086 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31087 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31089 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31090 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31091 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31093 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31094 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31095 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31098 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31099 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31100 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31102 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31111 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31112 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31113 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31114 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31116 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31117 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31120 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31121 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31122 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31123 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31124 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31126 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31127 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31128 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31131 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31132 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31133 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31134 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31135 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31137 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31142 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31143 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31147 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31149 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31150 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31152 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31155 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31156 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31158 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31159 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31160 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31161 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31163 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31164 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31165 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31167 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31169 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31170 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31172 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31173 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31174 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31175 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31176 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31177 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31182 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31183 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31185 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31186 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31187 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31190 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31191 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31194 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31195 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31203 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31204 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31205 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31206 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31207 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31208 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31209 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31210 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31211 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31212 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31215 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31216 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31217 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31219 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31220 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31222 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31223 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31225 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31226 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31227 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31228 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31230 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31231 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31232 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31233 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31234 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31235 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31236 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31237 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31239 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31240 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31241 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31242 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31243 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31244 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31251 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31252 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31254 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31255 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31256 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31259 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31260 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31263 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31264 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31265 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31266 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31267 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31268 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31269 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31270 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31271 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31274 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31275 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31276 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31277 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31278 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31279 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31280 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31284 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31285 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31287 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31289 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31291 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31292 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31293 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31294 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31296 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31297 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31298 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31299 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31300 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31301 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31302 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31304 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31305 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31307 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31309 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31310 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31311 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31313 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31315 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31316 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31318 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31326 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31327 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31328 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31329 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31330 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31331 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31332 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31333 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31334 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31336 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31344 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31345 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31346 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31347 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31348 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31349 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31350 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31351 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31352 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31354 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31362 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31363 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31364 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31365 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31366 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31367 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31368 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31369 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31370 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31371 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31372 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31373 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31374 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31375 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31376 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31377 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31378 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31379 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31380 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31381 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31382 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31383 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31384 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31396 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31398 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31400 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31401 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31402 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31403 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31409 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31410 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31411 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31412 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31413 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31414 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31415 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31416 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31417 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31418 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31419 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31420 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31421 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31422 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31423 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31433 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31434 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31435 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31436 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31438 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31439 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31440 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31441 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31442 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31443 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31444 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31445 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31446 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31447 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31448 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31449 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31450 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31451 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31452 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31453 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31454 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31468 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31469 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31470 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31471 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31472 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31473 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31475 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31476 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31478 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31479 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31480 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31481 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31482 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31483 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31484 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31486 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31492 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31493 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31494 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31495 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31496 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31498 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31500 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31501 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31504 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31506 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31508 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31510 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31511 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31513 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31514 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31515 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31516 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31517 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31519 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31520 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31521 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31523 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31524 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31526 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31527 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31528 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31529 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31530 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31531 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31533 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31535 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31536 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31537 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31538 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31539 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31540 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31541 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31542 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31543 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31544 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31546 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31548 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31549 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31552 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31553 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31558 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31560 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31561 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31562 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31563 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31566 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31567 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31568 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31569 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31571 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31572 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31577 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31578 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31579 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31580 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31581 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31585 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31587 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31588 { NULL, NULL, 0, NULL }
31589 };
31590
31591
31592 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31593
31594 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31595 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31596 }
31597 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31598 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31599 }
31600 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31601 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31602 }
31603 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31604 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31605 }
31606 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31607 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31608 }
31609 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31610 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31611 }
31612 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31613 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31614 }
31615 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31616 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31617 }
31618 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31619 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31620 }
31621 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31622 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31623 }
31624 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31625 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31626 }
31627 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31628 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31629 }
31630 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31631 return (void *)((wxEvent *) ((wxPyEvent *) x));
31632 }
31633 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31634 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31635 }
31636 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31637 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31638 }
31639 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31640 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31641 }
31642 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31643 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31644 }
31645 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31646 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31647 }
31648 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31649 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31650 }
31651 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31652 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31653 }
31654 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31655 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31656 }
31657 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31658 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31659 }
31660 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31661 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31662 }
31663 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31664 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31665 }
31666 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31667 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31668 }
31669 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31670 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31671 }
31672 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31673 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31674 }
31675 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31676 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31677 }
31678 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31679 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31680 }
31681 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31682 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31683 }
31684 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31685 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31686 }
31687 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31688 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31689 }
31690 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31691 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31692 }
31693 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31694 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31695 }
31696 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31697 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31698 }
31699 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31700 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31701 }
31702 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31703 return (void *)((wxEvent *) ((wxShowEvent *) x));
31704 }
31705 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31706 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31707 }
31708 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31709 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31710 }
31711 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31712 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31713 }
31714 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31715 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31716 }
31717 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31718 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31719 }
31720 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31721 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31722 }
31723 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31724 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31725 }
31726 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31727 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31728 }
31729 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31730 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31731 }
31732 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31734 }
31735 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31737 }
31738 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31739 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31740 }
31741 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31742 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31743 }
31744 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31745 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31746 }
31747 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31748 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31749 }
31750 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31751 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31752 }
31753 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31754 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31755 }
31756 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31757 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31758 }
31759 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31760 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31761 }
31762 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31764 }
31765 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31767 }
31768 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31770 }
31771 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31773 }
31774 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31775 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31776 }
31777 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31778 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31779 }
31780 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31781 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31782 }
31783 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31784 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31785 }
31786 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31787 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31788 }
31789 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31790 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31791 }
31792 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31793 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31794 }
31795 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31796 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31797 }
31798 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31799 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31800 }
31801 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31802 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31803 }
31804 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31805 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31806 }
31807 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31808 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31809 }
31810 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31811 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31812 }
31813 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31814 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31815 }
31816 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31817 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31818 }
31819 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31820 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31821 }
31822 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31823 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31824 }
31825 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31826 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31827 }
31828 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31829 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31830 }
31831 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31832 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31833 }
31834 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31835 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31836 }
31837 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31838 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31839 }
31840 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31841 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31842 }
31843 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31844 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31845 }
31846 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31847 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31848 }
31849 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31850 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31851 }
31852 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31853 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31854 }
31855 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31856 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31857 }
31858 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31859 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31860 }
31861 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31862 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31863 }
31864 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31865 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31866 }
31867 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31868 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31869 }
31870 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31872 }
31873 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31875 }
31876 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31878 }
31879 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31881 }
31882 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31883 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31884 }
31885 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31886 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31887 }
31888 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31889 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31890 }
31891 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31892 return (void *)((wxFrame *) ((wxTipWindow *) x));
31893 }
31894 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31895 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31896 }
31897 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31898 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31899 }
31900 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31901 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31902 }
31903 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31904 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31905 }
31906 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31907 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31908 }
31909 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31911 }
31912 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31914 }
31915 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31917 }
31918 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31920 }
31921 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31923 }
31924 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) ((wxSizerItem *) x));
31926 }
31927 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31929 }
31930 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31932 }
31933 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31935 }
31936 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31938 }
31939 static void *_p_wxSizerTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) ((wxSizer *) x));
31941 }
31942 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31944 }
31945 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31947 }
31948 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31950 }
31951 static void *_p_wxEventTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) ((wxEvent *) x));
31953 }
31954 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) ((wxFontData *) x));
31956 }
31957 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) ((wxPrintData *) x));
31959 }
31960 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31962 }
31963 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31965 }
31966 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31968 }
31969 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31971 }
31972 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31974 }
31975 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31977 }
31978 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31980 }
31981 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31983 }
31984 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31986 }
31987 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31989 }
31990 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31992 }
31993 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31995 }
31996 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31998 }
31999 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32001 }
32002 static void *_p_wxControlTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32004 }
32005 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32007 }
32008 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32010 }
32011 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) ((wxFSFile *) x));
32013 }
32014 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32016 }
32017 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32019 }
32020 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32022 }
32023 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) ((wxColourData *) x));
32025 }
32026 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32028 }
32029 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32031 }
32032 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32034 }
32035 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32037 }
32038 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32040 }
32041 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32043 }
32044 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32046 }
32047 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32049 }
32050 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32052 }
32053 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32055 }
32056 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32058 }
32059 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32061 }
32062 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32064 }
32065 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32067 }
32068 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) ((wxPrinter *) x));
32070 }
32071 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) ((wxMenuItem *) x));
32073 }
32074 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32076 }
32077 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32079 }
32080 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32082 }
32083 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32085 }
32086 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32088 }
32089 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32091 }
32092 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32094 }
32095 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32097 }
32098 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32100 }
32101 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32103 }
32104 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32106 }
32107 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32109 }
32110 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32112 }
32113 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32115 }
32116 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32118 }
32119 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32121 }
32122 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32124 }
32125 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32127 }
32128 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32130 }
32131 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) ((wxImageHandler *) x));
32133 }
32134 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32136 }
32137 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32139 }
32140 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) ((wxEvtHandler *) x));
32142 }
32143 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32145 }
32146 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32148 }
32149 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32151 }
32152 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32154 }
32155 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32157 }
32158 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32160 }
32161 static void *_p_wxImageTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) ((wxImage *) x));
32163 }
32164 static void *_p_wxFrameTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32166 }
32167 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) ((wxPyPrintout *) x));
32169 }
32170 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32172 }
32173 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32175 }
32176 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32178 }
32179 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32181 }
32182 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32183 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32184 }
32185 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32186 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32187 }
32188 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32189 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32190 }
32191 static void *_p_wxWindowTo_p_wxObject(void *x) {
32192 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32193 }
32194 static void *_p_wxMenuTo_p_wxObject(void *x) {
32195 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32196 }
32197 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32199 }
32200 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32202 }
32203 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32205 }
32206 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32208 }
32209 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32211 }
32212 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32214 }
32215 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32217 }
32218 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32220 }
32221 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32223 }
32224 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32226 }
32227 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32229 }
32230 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32232 }
32233 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32235 }
32236 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32237 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32238 }
32239 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32240 return (void *)((wxObject *) ((wxPrintPreview *) x));
32241 }
32242 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32243 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32244 }
32245 static void *_p_wxPanelTo_p_wxObject(void *x) {
32246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32247 }
32248 static void *_p_wxDialogTo_p_wxObject(void *x) {
32249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32250 }
32251 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32253 }
32254 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32256 }
32257 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32259 }
32260 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32261 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32262 }
32263 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32264 return (void *)((wxObject *) ((wxPrintDialog *) x));
32265 }
32266 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32267 return (void *)((wxObject *) ((wxFileSystem *) x));
32268 }
32269 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32270 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32271 }
32272 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32273 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32274 }
32275 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32276 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32277 }
32278 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32279 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32280 }
32281 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32282 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32283 }
32284 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32285 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32286 }
32287 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32288 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32289 }
32290 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32291 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32292 }
32293 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32295 }
32296 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32298 }
32299 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32300 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32301 }
32302 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32303 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32304 }
32305 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32306 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32307 }
32308 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32310 }
32311 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32312 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32313 }
32314 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32315 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32316 }
32317 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32318 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32319 }
32320 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32321 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32322 }
32323 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32324 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32325 }
32326 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32327 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32328 }
32329 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32330 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32331 }
32332 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32333 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32334 }
32335 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32336 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32337 }
32338 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32339 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32340 }
32341 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32342 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32343 }
32344 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32345 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32346 }
32347 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32348 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32349 }
32350 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32351 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32352 }
32353 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32354 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32355 }
32356 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32357 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32358 }
32359 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32360 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32361 }
32362 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32363 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32364 }
32365 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32366 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32367 }
32368 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32369 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32370 }
32371 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32372 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32373 }
32374 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32375 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32376 }
32377 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32378 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32379 }
32380 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32381 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32382 }
32383 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32384 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32385 }
32386 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32387 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32388 }
32389 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32390 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32391 }
32392 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32393 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32394 }
32395 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32396 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32397 }
32398 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32400 }
32401 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32403 }
32404 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32405 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32406 }
32407 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32408 return (void *)((wxWindow *) ((wxMenuBar *) x));
32409 }
32410 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32411 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32412 }
32413 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32415 }
32416 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32417 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32418 }
32419 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32420 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32421 }
32422 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32423 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32424 }
32425 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32426 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32427 }
32428 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32429 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32430 }
32431 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32432 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32433 }
32434 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32435 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32436 }
32437 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32438 return (void *)((wxWindow *) ((wxPanel *) x));
32439 }
32440 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32441 return (void *)((wxWindow *) ((wxStatusBar *) x));
32442 }
32443 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32444 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32445 }
32446 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32447 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32448 }
32449 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32450 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32451 }
32452 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32453 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32454 }
32455 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32456 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32457 }
32458 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32459 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32460 }
32461 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32462 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32463 }
32464 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32465 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32466 }
32467 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32468 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32469 }
32470 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32471 return (void *)((wxWindow *) ((wxSashWindow *) x));
32472 }
32473 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32474 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32475 }
32476 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32477 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32478 }
32479 static void *_p_wxControlTo_p_wxWindow(void *x) {
32480 return (void *)((wxWindow *) ((wxControl *) x));
32481 }
32482 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32483 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32484 }
32485 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32486 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32487 }
32488 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32489 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32490 }
32491 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32492 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32493 }
32494 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32495 return (void *)((wxWindow *) ((wxPyWindow *) x));
32496 }
32497 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32498 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32499 }
32500 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32501 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32502 }
32503 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32504 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32505 }
32506 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32507 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32508 }
32509 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32510 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32511 }
32512 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32513 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32514 }
32515 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32516 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32517 }
32518 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32519 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32520 }
32521 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32523 }
32524 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32525 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32526 }
32527 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32528 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32529 }
32530 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32531 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32532 }
32533 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32534 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32535 }
32536 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32537 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32538 }
32539 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32540 return (void *)((wxDialog *) ((wxColourDialog *) x));
32541 }
32542 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32543 return (void *)((wxDialog *) ((wxDirDialog *) x));
32544 }
32545 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32546 return (void *)((wxDialog *) ((wxFontDialog *) x));
32547 }
32548 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32549 return (void *)((wxDialog *) ((wxFileDialog *) x));
32550 }
32551 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32552 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32553 }
32554 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32555 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32556 }
32557 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32558 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32559 }
32560 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32561 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32562 }
32563 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32564 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32565 }
32566 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32567 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32568 }
32569 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32570 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32571 }
32572 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32573 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32574 }
32575 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32576 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32577 }
32578 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32579 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32580 }
32581 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32582 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32583 }
32584 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32585 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32586 }
32587 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32588 return (void *)((wxPanel *) ((wxPyPanel *) x));
32589 }
32590 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32591 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32592 }
32593 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32594 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32595 }
32596 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32597 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32598 }
32599 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32600 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32601 }
32602 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32603 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32604 }
32605 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32606 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32607 }
32608 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32609 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32610 }
32611 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32612 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32613 }
32614 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32615 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32616 }
32617 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32618 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32619 }
32620 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32621 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32622 }
32623 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32624 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32625 }
32626 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32627 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32628 }
32629 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32630 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32631 }
32632 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32633 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32634 }
32635 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32636 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32637 }
32638 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32639 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32640 }
32641 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32643 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};
32644 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32672 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32673 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32674 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32676 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32801 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32802 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32803 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32804 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32805
32806 static swig_type_info *swig_type_initial[] = {
32807 &_swigt__p_bool,
32808 &_swigt__p_char,
32809 &_swigt__p_form_ops_t,
32810 &_swigt__p_int,
32811 &_swigt__p_unsigned_char,
32812 &_swigt__p_unsigned_int,
32813 &_swigt__p_unsigned_long,
32814 &_swigt__p_wxANIHandler,
32815 &_swigt__p_wxAcceleratorTable,
32816 &_swigt__p_wxActivateEvent,
32817 &_swigt__p_wxArrayInt,
32818 &_swigt__p_wxBMPHandler,
32819 &_swigt__p_wxBitmap,
32820 &_swigt__p_wxBoxSizer,
32821 &_swigt__p_wxCURHandler,
32822 &_swigt__p_wxCalculateLayoutEvent,
32823 &_swigt__p_wxChildFocusEvent,
32824 &_swigt__p_wxClipboardTextEvent,
32825 &_swigt__p_wxCloseEvent,
32826 &_swigt__p_wxColour,
32827 &_swigt__p_wxColourData,
32828 &_swigt__p_wxColourDialog,
32829 &_swigt__p_wxCommandEvent,
32830 &_swigt__p_wxContextMenuEvent,
32831 &_swigt__p_wxControl,
32832 &_swigt__p_wxControlWithItems,
32833 &_swigt__p_wxDC,
32834 &_swigt__p_wxDateEvent,
32835 &_swigt__p_wxDialog,
32836 &_swigt__p_wxDirDialog,
32837 &_swigt__p_wxDisplayChangedEvent,
32838 &_swigt__p_wxDropFilesEvent,
32839 &_swigt__p_wxDuplexMode,
32840 &_swigt__p_wxEraseEvent,
32841 &_swigt__p_wxEvent,
32842 &_swigt__p_wxEvtHandler,
32843 &_swigt__p_wxFSFile,
32844 &_swigt__p_wxFileDialog,
32845 &_swigt__p_wxFileSystem,
32846 &_swigt__p_wxFindDialogEvent,
32847 &_swigt__p_wxFindReplaceData,
32848 &_swigt__p_wxFindReplaceDialog,
32849 &_swigt__p_wxFlexGridSizer,
32850 &_swigt__p_wxFocusEvent,
32851 &_swigt__p_wxFont,
32852 &_swigt__p_wxFontData,
32853 &_swigt__p_wxFontDialog,
32854 &_swigt__p_wxFrame,
32855 &_swigt__p_wxGBSizerItem,
32856 &_swigt__p_wxGIFHandler,
32857 &_swigt__p_wxGridBagSizer,
32858 &_swigt__p_wxGridSizer,
32859 &_swigt__p_wxHtmlLinkInfo,
32860 &_swigt__p_wxICOHandler,
32861 &_swigt__p_wxIcon,
32862 &_swigt__p_wxIconBundle,
32863 &_swigt__p_wxIconizeEvent,
32864 &_swigt__p_wxIdleEvent,
32865 &_swigt__p_wxImage,
32866 &_swigt__p_wxImageHandler,
32867 &_swigt__p_wxIndividualLayoutConstraint,
32868 &_swigt__p_wxInitDialogEvent,
32869 &_swigt__p_wxJPEGHandler,
32870 &_swigt__p_wxKeyEvent,
32871 &_swigt__p_wxLayoutAlgorithm,
32872 &_swigt__p_wxLayoutConstraints,
32873 &_swigt__p_wxMDIChildFrame,
32874 &_swigt__p_wxMDIClientWindow,
32875 &_swigt__p_wxMDIParentFrame,
32876 &_swigt__p_wxMaximizeEvent,
32877 &_swigt__p_wxMenu,
32878 &_swigt__p_wxMenuBar,
32879 &_swigt__p_wxMenuEvent,
32880 &_swigt__p_wxMenuItem,
32881 &_swigt__p_wxMessageDialog,
32882 &_swigt__p_wxMiniFrame,
32883 &_swigt__p_wxMouseCaptureChangedEvent,
32884 &_swigt__p_wxMouseEvent,
32885 &_swigt__p_wxMoveEvent,
32886 &_swigt__p_wxMultiChoiceDialog,
32887 &_swigt__p_wxNavigationKeyEvent,
32888 &_swigt__p_wxNcPaintEvent,
32889 &_swigt__p_wxNotifyEvent,
32890 &_swigt__p_wxNumberEntryDialog,
32891 &_swigt__p_wxObject,
32892 &_swigt__p_wxPCXHandler,
32893 &_swigt__p_wxPNGHandler,
32894 &_swigt__p_wxPNMHandler,
32895 &_swigt__p_wxPageSetupDialog,
32896 &_swigt__p_wxPageSetupDialogData,
32897 &_swigt__p_wxPaintEvent,
32898 &_swigt__p_wxPaletteChangedEvent,
32899 &_swigt__p_wxPanel,
32900 &_swigt__p_wxPaperSize,
32901 &_swigt__p_wxPasswordEntryDialog,
32902 &_swigt__p_wxPoint,
32903 &_swigt__p_wxPopupWindow,
32904 &_swigt__p_wxPreviewCanvas,
32905 &_swigt__p_wxPreviewControlBar,
32906 &_swigt__p_wxPreviewFrame,
32907 &_swigt__p_wxPrintData,
32908 &_swigt__p_wxPrintDialog,
32909 &_swigt__p_wxPrintDialogData,
32910 &_swigt__p_wxPrintPreview,
32911 &_swigt__p_wxPrinter,
32912 &_swigt__p_wxProgressDialog,
32913 &_swigt__p_wxPyApp,
32914 &_swigt__p_wxPyCommandEvent,
32915 &_swigt__p_wxPyEvent,
32916 &_swigt__p_wxPyHtmlListBox,
32917 &_swigt__p_wxPyImageHandler,
32918 &_swigt__p_wxPyPanel,
32919 &_swigt__p_wxPyPopupTransientWindow,
32920 &_swigt__p_wxPyPreviewControlBar,
32921 &_swigt__p_wxPyPreviewFrame,
32922 &_swigt__p_wxPyPrintPreview,
32923 &_swigt__p_wxPyPrintout,
32924 &_swigt__p_wxPyScrolledWindow,
32925 &_swigt__p_wxPySizer,
32926 &_swigt__p_wxPyTaskBarIcon,
32927 &_swigt__p_wxPyVListBox,
32928 &_swigt__p_wxPyVScrolledWindow,
32929 &_swigt__p_wxPyValidator,
32930 &_swigt__p_wxPyWindow,
32931 &_swigt__p_wxQueryLayoutInfoEvent,
32932 &_swigt__p_wxQueryNewPaletteEvent,
32933 &_swigt__p_wxRect,
32934 &_swigt__p_wxRegion,
32935 &_swigt__p_wxSashEvent,
32936 &_swigt__p_wxSashLayoutWindow,
32937 &_swigt__p_wxSashWindow,
32938 &_swigt__p_wxScrollEvent,
32939 &_swigt__p_wxScrollWinEvent,
32940 &_swigt__p_wxScrolledWindow,
32941 &_swigt__p_wxSetCursorEvent,
32942 &_swigt__p_wxShowEvent,
32943 &_swigt__p_wxSingleChoiceDialog,
32944 &_swigt__p_wxSize,
32945 &_swigt__p_wxSizeEvent,
32946 &_swigt__p_wxSizer,
32947 &_swigt__p_wxSizerItem,
32948 &_swigt__p_wxSplashScreen,
32949 &_swigt__p_wxSplashScreenWindow,
32950 &_swigt__p_wxSplitterEvent,
32951 &_swigt__p_wxSplitterWindow,
32952 &_swigt__p_wxStaticBoxSizer,
32953 &_swigt__p_wxStatusBar,
32954 &_swigt__p_wxStdDialogButtonSizer,
32955 &_swigt__p_wxString,
32956 &_swigt__p_wxSysColourChangedEvent,
32957 &_swigt__p_wxTIFFHandler,
32958 &_swigt__p_wxTaskBarIcon,
32959 &_swigt__p_wxTaskBarIconEvent,
32960 &_swigt__p_wxTextEntryDialog,
32961 &_swigt__p_wxTipWindow,
32962 &_swigt__p_wxToolBar,
32963 &_swigt__p_wxTopLevelWindow,
32964 &_swigt__p_wxUpdateUIEvent,
32965 &_swigt__p_wxValidator,
32966 &_swigt__p_wxVisualAttributes,
32967 &_swigt__p_wxWindow,
32968 &_swigt__p_wxWindowCreateEvent,
32969 &_swigt__p_wxWindowDestroyEvent,
32970 &_swigt__p_wxXPMHandler,
32971 };
32972
32973 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33053 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}};
33054 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
33084 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33086 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}};
33087 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33092 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}};
33093 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}};
33094 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33097 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}};
33098 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33100 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33109 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}};
33110 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}};
33111 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33115 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33117 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}};
33118 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33119 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}};
33120 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33129 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33130 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33131 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}};
33132 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33133 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33134 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
33135 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33136 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33137
33138 static swig_cast_info *swig_cast_initial[] = {
33139 _swigc__p_bool,
33140 _swigc__p_char,
33141 _swigc__p_form_ops_t,
33142 _swigc__p_int,
33143 _swigc__p_unsigned_char,
33144 _swigc__p_unsigned_int,
33145 _swigc__p_unsigned_long,
33146 _swigc__p_wxANIHandler,
33147 _swigc__p_wxAcceleratorTable,
33148 _swigc__p_wxActivateEvent,
33149 _swigc__p_wxArrayInt,
33150 _swigc__p_wxBMPHandler,
33151 _swigc__p_wxBitmap,
33152 _swigc__p_wxBoxSizer,
33153 _swigc__p_wxCURHandler,
33154 _swigc__p_wxCalculateLayoutEvent,
33155 _swigc__p_wxChildFocusEvent,
33156 _swigc__p_wxClipboardTextEvent,
33157 _swigc__p_wxCloseEvent,
33158 _swigc__p_wxColour,
33159 _swigc__p_wxColourData,
33160 _swigc__p_wxColourDialog,
33161 _swigc__p_wxCommandEvent,
33162 _swigc__p_wxContextMenuEvent,
33163 _swigc__p_wxControl,
33164 _swigc__p_wxControlWithItems,
33165 _swigc__p_wxDC,
33166 _swigc__p_wxDateEvent,
33167 _swigc__p_wxDialog,
33168 _swigc__p_wxDirDialog,
33169 _swigc__p_wxDisplayChangedEvent,
33170 _swigc__p_wxDropFilesEvent,
33171 _swigc__p_wxDuplexMode,
33172 _swigc__p_wxEraseEvent,
33173 _swigc__p_wxEvent,
33174 _swigc__p_wxEvtHandler,
33175 _swigc__p_wxFSFile,
33176 _swigc__p_wxFileDialog,
33177 _swigc__p_wxFileSystem,
33178 _swigc__p_wxFindDialogEvent,
33179 _swigc__p_wxFindReplaceData,
33180 _swigc__p_wxFindReplaceDialog,
33181 _swigc__p_wxFlexGridSizer,
33182 _swigc__p_wxFocusEvent,
33183 _swigc__p_wxFont,
33184 _swigc__p_wxFontData,
33185 _swigc__p_wxFontDialog,
33186 _swigc__p_wxFrame,
33187 _swigc__p_wxGBSizerItem,
33188 _swigc__p_wxGIFHandler,
33189 _swigc__p_wxGridBagSizer,
33190 _swigc__p_wxGridSizer,
33191 _swigc__p_wxHtmlLinkInfo,
33192 _swigc__p_wxICOHandler,
33193 _swigc__p_wxIcon,
33194 _swigc__p_wxIconBundle,
33195 _swigc__p_wxIconizeEvent,
33196 _swigc__p_wxIdleEvent,
33197 _swigc__p_wxImage,
33198 _swigc__p_wxImageHandler,
33199 _swigc__p_wxIndividualLayoutConstraint,
33200 _swigc__p_wxInitDialogEvent,
33201 _swigc__p_wxJPEGHandler,
33202 _swigc__p_wxKeyEvent,
33203 _swigc__p_wxLayoutAlgorithm,
33204 _swigc__p_wxLayoutConstraints,
33205 _swigc__p_wxMDIChildFrame,
33206 _swigc__p_wxMDIClientWindow,
33207 _swigc__p_wxMDIParentFrame,
33208 _swigc__p_wxMaximizeEvent,
33209 _swigc__p_wxMenu,
33210 _swigc__p_wxMenuBar,
33211 _swigc__p_wxMenuEvent,
33212 _swigc__p_wxMenuItem,
33213 _swigc__p_wxMessageDialog,
33214 _swigc__p_wxMiniFrame,
33215 _swigc__p_wxMouseCaptureChangedEvent,
33216 _swigc__p_wxMouseEvent,
33217 _swigc__p_wxMoveEvent,
33218 _swigc__p_wxMultiChoiceDialog,
33219 _swigc__p_wxNavigationKeyEvent,
33220 _swigc__p_wxNcPaintEvent,
33221 _swigc__p_wxNotifyEvent,
33222 _swigc__p_wxNumberEntryDialog,
33223 _swigc__p_wxObject,
33224 _swigc__p_wxPCXHandler,
33225 _swigc__p_wxPNGHandler,
33226 _swigc__p_wxPNMHandler,
33227 _swigc__p_wxPageSetupDialog,
33228 _swigc__p_wxPageSetupDialogData,
33229 _swigc__p_wxPaintEvent,
33230 _swigc__p_wxPaletteChangedEvent,
33231 _swigc__p_wxPanel,
33232 _swigc__p_wxPaperSize,
33233 _swigc__p_wxPasswordEntryDialog,
33234 _swigc__p_wxPoint,
33235 _swigc__p_wxPopupWindow,
33236 _swigc__p_wxPreviewCanvas,
33237 _swigc__p_wxPreviewControlBar,
33238 _swigc__p_wxPreviewFrame,
33239 _swigc__p_wxPrintData,
33240 _swigc__p_wxPrintDialog,
33241 _swigc__p_wxPrintDialogData,
33242 _swigc__p_wxPrintPreview,
33243 _swigc__p_wxPrinter,
33244 _swigc__p_wxProgressDialog,
33245 _swigc__p_wxPyApp,
33246 _swigc__p_wxPyCommandEvent,
33247 _swigc__p_wxPyEvent,
33248 _swigc__p_wxPyHtmlListBox,
33249 _swigc__p_wxPyImageHandler,
33250 _swigc__p_wxPyPanel,
33251 _swigc__p_wxPyPopupTransientWindow,
33252 _swigc__p_wxPyPreviewControlBar,
33253 _swigc__p_wxPyPreviewFrame,
33254 _swigc__p_wxPyPrintPreview,
33255 _swigc__p_wxPyPrintout,
33256 _swigc__p_wxPyScrolledWindow,
33257 _swigc__p_wxPySizer,
33258 _swigc__p_wxPyTaskBarIcon,
33259 _swigc__p_wxPyVListBox,
33260 _swigc__p_wxPyVScrolledWindow,
33261 _swigc__p_wxPyValidator,
33262 _swigc__p_wxPyWindow,
33263 _swigc__p_wxQueryLayoutInfoEvent,
33264 _swigc__p_wxQueryNewPaletteEvent,
33265 _swigc__p_wxRect,
33266 _swigc__p_wxRegion,
33267 _swigc__p_wxSashEvent,
33268 _swigc__p_wxSashLayoutWindow,
33269 _swigc__p_wxSashWindow,
33270 _swigc__p_wxScrollEvent,
33271 _swigc__p_wxScrollWinEvent,
33272 _swigc__p_wxScrolledWindow,
33273 _swigc__p_wxSetCursorEvent,
33274 _swigc__p_wxShowEvent,
33275 _swigc__p_wxSingleChoiceDialog,
33276 _swigc__p_wxSize,
33277 _swigc__p_wxSizeEvent,
33278 _swigc__p_wxSizer,
33279 _swigc__p_wxSizerItem,
33280 _swigc__p_wxSplashScreen,
33281 _swigc__p_wxSplashScreenWindow,
33282 _swigc__p_wxSplitterEvent,
33283 _swigc__p_wxSplitterWindow,
33284 _swigc__p_wxStaticBoxSizer,
33285 _swigc__p_wxStatusBar,
33286 _swigc__p_wxStdDialogButtonSizer,
33287 _swigc__p_wxString,
33288 _swigc__p_wxSysColourChangedEvent,
33289 _swigc__p_wxTIFFHandler,
33290 _swigc__p_wxTaskBarIcon,
33291 _swigc__p_wxTaskBarIconEvent,
33292 _swigc__p_wxTextEntryDialog,
33293 _swigc__p_wxTipWindow,
33294 _swigc__p_wxToolBar,
33295 _swigc__p_wxTopLevelWindow,
33296 _swigc__p_wxUpdateUIEvent,
33297 _swigc__p_wxValidator,
33298 _swigc__p_wxVisualAttributes,
33299 _swigc__p_wxWindow,
33300 _swigc__p_wxWindowCreateEvent,
33301 _swigc__p_wxWindowDestroyEvent,
33302 _swigc__p_wxXPMHandler,
33303 };
33304
33305
33306 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33307
33308 static swig_const_info swig_const_table[] = {
33309 {0, 0, 0, 0.0, 0, 0}};
33310
33311 #ifdef __cplusplus
33312 }
33313 #endif
33314 /* -----------------------------------------------------------------------------
33315 * Type initialization:
33316 * This problem is tough by the requirement that no dynamic
33317 * memory is used. Also, since swig_type_info structures store pointers to
33318 * swig_cast_info structures and swig_cast_info structures store pointers back
33319 * to swig_type_info structures, we need some lookup code at initialization.
33320 * The idea is that swig generates all the structures that are needed.
33321 * The runtime then collects these partially filled structures.
33322 * The SWIG_InitializeModule function takes these initial arrays out of
33323 * swig_module, and does all the lookup, filling in the swig_module.types
33324 * array with the correct data and linking the correct swig_cast_info
33325 * structures together.
33326 *
33327 * The generated swig_type_info structures are assigned staticly to an initial
33328 * array. We just loop though that array, and handle each type individually.
33329 * First we lookup if this type has been already loaded, and if so, use the
33330 * loaded structure instead of the generated one. Then we have to fill in the
33331 * cast linked list. The cast data is initially stored in something like a
33332 * two-dimensional array. Each row corresponds to a type (there are the same
33333 * number of rows as there are in the swig_type_initial array). Each entry in
33334 * a column is one of the swig_cast_info structures for that type.
33335 * The cast_initial array is actually an array of arrays, because each row has
33336 * a variable number of columns. So to actually build the cast linked list,
33337 * we find the array of casts associated with the type, and loop through it
33338 * adding the casts to the list. The one last trick we need to do is making
33339 * sure the type pointer in the swig_cast_info struct is correct.
33340 *
33341 * First off, we lookup the cast->type name to see if it is already loaded.
33342 * There are three cases to handle:
33343 * 1) If the cast->type has already been loaded AND the type we are adding
33344 * casting info to has not been loaded (it is in this module), THEN we
33345 * replace the cast->type pointer with the type pointer that has already
33346 * been loaded.
33347 * 2) If BOTH types (the one we are adding casting info to, and the
33348 * cast->type) are loaded, THEN the cast info has already been loaded by
33349 * the previous module so we just ignore it.
33350 * 3) Finally, if cast->type has not already been loaded, then we add that
33351 * swig_cast_info to the linked list (because the cast->type) pointer will
33352 * be correct.
33353 * ----------------------------------------------------------------------------- */
33354
33355 #ifdef __cplusplus
33356 extern "C" {
33357 #if 0
33358 } /* c-mode */
33359 #endif
33360 #endif
33361
33362 #if 0
33363 #define SWIGRUNTIME_DEBUG
33364 #endif
33365
33366 SWIGRUNTIME void
33367 SWIG_InitializeModule(void *clientdata) {
33368 size_t i;
33369 swig_module_info *module_head;
33370 static int init_run = 0;
33371
33372 clientdata = clientdata;
33373
33374 if (init_run) return;
33375 init_run = 1;
33376
33377 /* Initialize the swig_module */
33378 swig_module.type_initial = swig_type_initial;
33379 swig_module.cast_initial = swig_cast_initial;
33380
33381 /* Try and load any already created modules */
33382 module_head = SWIG_GetModule(clientdata);
33383 if (module_head) {
33384 swig_module.next = module_head->next;
33385 module_head->next = &swig_module;
33386 } else {
33387 /* This is the first module loaded */
33388 swig_module.next = &swig_module;
33389 SWIG_SetModule(clientdata, &swig_module);
33390 }
33391
33392 /* Now work on filling in swig_module.types */
33393 #ifdef SWIGRUNTIME_DEBUG
33394 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33395 #endif
33396 for (i = 0; i < swig_module.size; ++i) {
33397 swig_type_info *type = 0;
33398 swig_type_info *ret;
33399 swig_cast_info *cast;
33400
33401 #ifdef SWIGRUNTIME_DEBUG
33402 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33403 #endif
33404
33405 /* if there is another module already loaded */
33406 if (swig_module.next != &swig_module) {
33407 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33408 }
33409 if (type) {
33410 /* Overwrite clientdata field */
33411 #ifdef SWIGRUNTIME_DEBUG
33412 printf("SWIG_InitializeModule: found type %s\n", type->name);
33413 #endif
33414 if (swig_module.type_initial[i]->clientdata) {
33415 type->clientdata = swig_module.type_initial[i]->clientdata;
33416 #ifdef SWIGRUNTIME_DEBUG
33417 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33418 #endif
33419 }
33420 } else {
33421 type = swig_module.type_initial[i];
33422 }
33423
33424 /* Insert casting types */
33425 cast = swig_module.cast_initial[i];
33426 while (cast->type) {
33427 /* Don't need to add information already in the list */
33428 ret = 0;
33429 #ifdef SWIGRUNTIME_DEBUG
33430 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33431 #endif
33432 if (swig_module.next != &swig_module) {
33433 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33434 #ifdef SWIGRUNTIME_DEBUG
33435 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33436 #endif
33437 }
33438 if (ret) {
33439 if (type == swig_module.type_initial[i]) {
33440 #ifdef SWIGRUNTIME_DEBUG
33441 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33442 #endif
33443 cast->type = ret;
33444 ret = 0;
33445 } else {
33446 /* Check for casting already in the list */
33447 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33448 #ifdef SWIGRUNTIME_DEBUG
33449 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33450 #endif
33451 if (!ocast) ret = 0;
33452 }
33453 }
33454
33455 if (!ret) {
33456 #ifdef SWIGRUNTIME_DEBUG
33457 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33458 #endif
33459 if (type->cast) {
33460 type->cast->prev = cast;
33461 cast->next = type->cast;
33462 }
33463 type->cast = cast;
33464 }
33465 cast++;
33466 }
33467 /* Set entry in modules->types array equal to the type */
33468 swig_module.types[i] = type;
33469 }
33470 swig_module.types[i] = 0;
33471
33472 #ifdef SWIGRUNTIME_DEBUG
33473 printf("**** SWIG_InitializeModule: Cast List ******\n");
33474 for (i = 0; i < swig_module.size; ++i) {
33475 int j = 0;
33476 swig_cast_info *cast = swig_module.cast_initial[i];
33477 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33478 while (cast->type) {
33479 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33480 cast++;
33481 ++j;
33482 }
33483 printf("---- Total casts: %d\n",j);
33484 }
33485 printf("**** SWIG_InitializeModule: Cast List ******\n");
33486 #endif
33487 }
33488
33489 /* This function will propagate the clientdata field of type to
33490 * any new swig_type_info structures that have been added into the list
33491 * of equivalent types. It is like calling
33492 * SWIG_TypeClientData(type, clientdata) a second time.
33493 */
33494 SWIGRUNTIME void
33495 SWIG_PropagateClientData(void) {
33496 size_t i;
33497 swig_cast_info *equiv;
33498 static int init_run = 0;
33499
33500 if (init_run) return;
33501 init_run = 1;
33502
33503 for (i = 0; i < swig_module.size; i++) {
33504 if (swig_module.types[i]->clientdata) {
33505 equiv = swig_module.types[i]->cast;
33506 while (equiv) {
33507 if (!equiv->converter) {
33508 if (equiv->type && !equiv->type->clientdata)
33509 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33510 }
33511 equiv = equiv->next;
33512 }
33513 }
33514 }
33515 }
33516
33517 #ifdef __cplusplus
33518 #if 0
33519 {
33520 /* c-mode */
33521 #endif
33522 }
33523 #endif
33524
33525
33526
33527 #ifdef __cplusplus
33528 extern "C" {
33529 #endif
33530
33531 /* Python-specific SWIG API */
33532 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33533 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33534 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33535
33536 /* -----------------------------------------------------------------------------
33537 * global variable support code.
33538 * ----------------------------------------------------------------------------- */
33539
33540 typedef struct swig_globalvar {
33541 char *name; /* Name of global variable */
33542 PyObject *(*get_attr)(void); /* Return the current value */
33543 int (*set_attr)(PyObject *); /* Set the value */
33544 struct swig_globalvar *next;
33545 } swig_globalvar;
33546
33547 typedef struct swig_varlinkobject {
33548 PyObject_HEAD
33549 swig_globalvar *vars;
33550 } swig_varlinkobject;
33551
33552 SWIGINTERN PyObject *
33553 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33554 return PyString_FromString("<Swig global variables>");
33555 }
33556
33557 SWIGINTERN PyObject *
33558 swig_varlink_str(swig_varlinkobject *v) {
33559 PyObject *str = PyString_FromString("(");
33560 swig_globalvar *var;
33561 for (var = v->vars; var; var=var->next) {
33562 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33563 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33564 }
33565 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33566 return str;
33567 }
33568
33569 SWIGINTERN int
33570 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33571 PyObject *str = swig_varlink_str(v);
33572 fprintf(fp,"Swig global variables ");
33573 fprintf(fp,"%s\n", PyString_AsString(str));
33574 Py_DECREF(str);
33575 return 0;
33576 }
33577
33578 SWIGINTERN void
33579 swig_varlink_dealloc(swig_varlinkobject *v) {
33580 swig_globalvar *var = v->vars;
33581 while (var) {
33582 swig_globalvar *n = var->next;
33583 free(var->name);
33584 free(var);
33585 var = n;
33586 }
33587 }
33588
33589 SWIGINTERN PyObject *
33590 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33591 PyObject *res = NULL;
33592 swig_globalvar *var = v->vars;
33593 while (var) {
33594 if (strcmp(var->name,n) == 0) {
33595 res = (*var->get_attr)();
33596 break;
33597 }
33598 var = var->next;
33599 }
33600 if (res == NULL && !PyErr_Occurred()) {
33601 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33602 }
33603 return res;
33604 }
33605
33606 SWIGINTERN int
33607 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33608 int res = 1;
33609 swig_globalvar *var = v->vars;
33610 while (var) {
33611 if (strcmp(var->name,n) == 0) {
33612 res = (*var->set_attr)(p);
33613 break;
33614 }
33615 var = var->next;
33616 }
33617 if (res == 1 && !PyErr_Occurred()) {
33618 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33619 }
33620 return res;
33621 }
33622
33623 SWIGINTERN PyTypeObject*
33624 swig_varlink_type(void) {
33625 static char varlink__doc__[] = "Swig var link object";
33626 static PyTypeObject varlink_type;
33627 static int type_init = 0;
33628 if (!type_init) {
33629 const PyTypeObject tmp
33630 = {
33631 PyObject_HEAD_INIT(NULL)
33632 0, /* Number of items in variable part (ob_size) */
33633 (char *)"swigvarlink", /* Type name (tp_name) */
33634 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33635 0, /* Itemsize (tp_itemsize) */
33636 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33637 (printfunc) swig_varlink_print, /* Print (tp_print) */
33638 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33639 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33640 0, /* tp_compare */
33641 (reprfunc) swig_varlink_repr, /* tp_repr */
33642 0, /* tp_as_number */
33643 0, /* tp_as_sequence */
33644 0, /* tp_as_mapping */
33645 0, /* tp_hash */
33646 0, /* tp_call */
33647 (reprfunc)swig_varlink_str, /* tp_str */
33648 0, /* tp_getattro */
33649 0, /* tp_setattro */
33650 0, /* tp_as_buffer */
33651 0, /* tp_flags */
33652 varlink__doc__, /* tp_doc */
33653 0, /* tp_traverse */
33654 0, /* tp_clear */
33655 0, /* tp_richcompare */
33656 0, /* tp_weaklistoffset */
33657 #if PY_VERSION_HEX >= 0x02020000
33658 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33659 #endif
33660 #if PY_VERSION_HEX >= 0x02030000
33661 0, /* tp_del */
33662 #endif
33663 #ifdef COUNT_ALLOCS
33664 0,0,0,0 /* tp_alloc -> tp_next */
33665 #endif
33666 };
33667 varlink_type = tmp;
33668 varlink_type.ob_type = &PyType_Type;
33669 type_init = 1;
33670 }
33671 return &varlink_type;
33672 }
33673
33674 /* Create a variable linking object for use later */
33675 SWIGINTERN PyObject *
33676 SWIG_Python_newvarlink(void) {
33677 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33678 if (result) {
33679 result->vars = 0;
33680 }
33681 return ((PyObject*) result);
33682 }
33683
33684 SWIGINTERN void
33685 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33686 swig_varlinkobject *v = (swig_varlinkobject *) p;
33687 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33688 if (gv) {
33689 size_t size = strlen(name)+1;
33690 gv->name = (char *)malloc(size);
33691 if (gv->name) {
33692 strncpy(gv->name,name,size);
33693 gv->get_attr = get_attr;
33694 gv->set_attr = set_attr;
33695 gv->next = v->vars;
33696 }
33697 }
33698 v->vars = gv;
33699 }
33700
33701 SWIGINTERN PyObject *
33702 SWIG_globals() {
33703 static PyObject *_SWIG_globals = 0;
33704 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33705 return _SWIG_globals;
33706 }
33707
33708 /* -----------------------------------------------------------------------------
33709 * constants/methods manipulation
33710 * ----------------------------------------------------------------------------- */
33711
33712 /* Install Constants */
33713 SWIGINTERN void
33714 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33715 PyObject *obj = 0;
33716 size_t i;
33717 for (i = 0; constants[i].type; ++i) {
33718 switch(constants[i].type) {
33719 case SWIG_PY_POINTER:
33720 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33721 break;
33722 case SWIG_PY_BINARY:
33723 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33724 break;
33725 default:
33726 obj = 0;
33727 break;
33728 }
33729 if (obj) {
33730 PyDict_SetItemString(d, constants[i].name, obj);
33731 Py_DECREF(obj);
33732 }
33733 }
33734 }
33735
33736 /* -----------------------------------------------------------------------------*/
33737 /* Fix SwigMethods to carry the callback ptrs when needed */
33738 /* -----------------------------------------------------------------------------*/
33739
33740 SWIGINTERN void
33741 SWIG_Python_FixMethods(PyMethodDef *methods,
33742 swig_const_info *const_table,
33743 swig_type_info **types,
33744 swig_type_info **types_initial) {
33745 size_t i;
33746 for (i = 0; methods[i].ml_name; ++i) {
33747 const char *c = methods[i].ml_doc;
33748 if (c && (c = strstr(c, "swig_ptr: "))) {
33749 int j;
33750 swig_const_info *ci = 0;
33751 const char *name = c + 10;
33752 for (j = 0; const_table[j].type; ++j) {
33753 if (strncmp(const_table[j].name, name,
33754 strlen(const_table[j].name)) == 0) {
33755 ci = &(const_table[j]);
33756 break;
33757 }
33758 }
33759 if (ci) {
33760 size_t shift = (ci->ptype) - types;
33761 swig_type_info *ty = types_initial[shift];
33762 size_t ldoc = (c - methods[i].ml_doc);
33763 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33764 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33765 if (ndoc) {
33766 char *buff = ndoc;
33767 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33768 if (ptr) {
33769 strncpy(buff, methods[i].ml_doc, ldoc);
33770 buff += ldoc;
33771 strncpy(buff, "swig_ptr: ", 10);
33772 buff += 10;
33773 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33774 methods[i].ml_doc = ndoc;
33775 }
33776 }
33777 }
33778 }
33779 }
33780 }
33781
33782 #ifdef __cplusplus
33783 }
33784 #endif
33785
33786 /* -----------------------------------------------------------------------------*
33787 * Partial Init method
33788 * -----------------------------------------------------------------------------*/
33789
33790 #ifdef __cplusplus
33791 extern "C"
33792 #endif
33793 SWIGEXPORT void SWIG_init(void) {
33794 PyObject *m, *d;
33795
33796 /* Fix SwigMethods to carry the callback ptrs when needed */
33797 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33798
33799 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33800 d = PyModule_GetDict(m);
33801
33802 SWIG_InitializeModule(0);
33803 SWIG_InstallConstants(d,swig_const_table);
33804
33805
33806 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33807 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33808 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33809 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33810 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33811 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33812 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33813 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33814 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33815 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33816 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33817 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33818 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33819 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33820 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33821 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33822 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33823 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33824 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33825 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33826 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33827 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33828 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33829 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33830 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33831 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33832 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33833 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33834 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33835 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33836 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33837 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33838 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33839 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33840 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33841 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33842 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33843 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33844 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33845 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33846 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33847 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33848 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33849 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33850 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33851 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33852 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33853 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33854 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33855 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33856 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33857 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33858 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33859 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33860 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33861 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33862 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33863 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33864 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33865 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33866 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33867 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33868 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33869 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33870 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33871 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33872 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33873 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33874 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33875 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33876 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33877 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33878 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33879 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33880 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33881 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33882 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33883 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33884 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33885 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33886 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33887 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33888 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33889 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33890 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33891 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33892 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33893 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33894 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33895 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33896 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33897 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33898 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33899 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33900 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33901 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33902 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33903 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33904 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33905 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33906 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33907 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33908
33909 // Map renamed classes back to their common name for OOR
33910 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33911 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33912 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33913
33914 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33915 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33916 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33917 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33918 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33919 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33920 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33921 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33922 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33923 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33924 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33925 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33926 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33927 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33928 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33929 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33930 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33931 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33932 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33933 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33934 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33935 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33936 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33937 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33938 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33939 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33940 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33941 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33942 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33943 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
33944 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33945 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33946 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33947 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33948 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33949 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33950 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33951 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33952 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33953 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33954 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33955 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33956 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33957 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33958 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33959 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33960 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33961 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33962 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33963 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33964 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33965 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33966 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33967 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33968 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33969 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33970 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33971 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33972 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33973 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33974 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33975 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33976 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33977 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33978 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33979 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33980 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33981 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33982 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33983 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33984 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33985 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33986 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33987 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33988 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33989 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33990 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33991 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33992 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33993 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33994 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33995 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33996 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33997 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33998 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33999 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34000 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34001 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34002 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34003 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34004 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34005 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34006 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34007 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34008 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34009 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34010
34011 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34012
34013 }
34014